Flutter Engine
 
Loading...
Searching...
No Matches
embedder_test_compositor_metal.h
Go to the documentation of this file.
1// Copyright 2013 The Flutter Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef FLUTTER_SHELL_PLATFORM_EMBEDDER_TESTS_EMBEDDER_TEST_COMPOSITOR_METAL_H_
6#define FLUTTER_SHELL_PLATFORM_EMBEDDER_TESTS_EMBEDDER_TEST_COMPOSITOR_METAL_H_
7
11
12namespace flutter {
13namespace testing {
14
16 public:
18 sk_sp<GrDirectContext> context);
19
21
24 FlutterSoftwarePixelFormat software_pixfmt) override;
25
26 private:
27 bool UpdateOffscrenComposition(const FlutterLayer** layers,
28 size_t layers_count) override;
29
31};
32
33} // namespace testing
34} // namespace flutter
35
36#endif // FLUTTER_SHELL_PLATFORM_EMBEDDER_TESTS_EMBEDDER_TEST_COMPOSITOR_METAL_H_
GLenum type
void SetRenderTargetType(EmbedderTestBackingStoreProducer::RenderTargetType type, FlutterSoftwarePixelFormat software_pixfmt) override
FlutterSoftwarePixelFormat
Definition embedder.h:450
const FlutterLayer size_t layers_count
const FlutterLayer ** layers
#define FML_DISALLOW_COPY_AND_ASSIGN(TypeName)
Definition macros.h:27