Flutter Engine
Loading...
Searching...
No Matches
embedder_test_compositor_vulkan.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_VULKAN_H_
6
#define FLUTTER_SHELL_PLATFORM_EMBEDDER_TESTS_EMBEDDER_TEST_COMPOSITOR_VULKAN_H_
7
8
#include "
flutter/fml/macros.h
"
9
#include "
flutter/shell/platform/embedder/embedder.h
"
10
#include "
flutter/shell/platform/embedder/tests/embedder_test_compositor.h
"
11
12
namespace
flutter
{
13
namespace
testing {
14
15
class
EmbedderTestCompositorVulkan
:
public
EmbedderTestCompositor
{
16
public
:
17
EmbedderTestCompositorVulkan
(
DlISize
surface_size,
18
sk_sp<GrDirectContext> context);
19
20
~EmbedderTestCompositorVulkan
()
override
;
21
22
void
SetRenderTargetType
(
23
EmbedderTestBackingStoreProducer::RenderTargetType
type
,
24
FlutterSoftwarePixelFormat
software_pixfmt)
override
;
25
26
private
:
27
bool
UpdateOffscrenComposition(
const
FlutterLayer
**
layers
,
28
size_t
layers_count
)
override
;
29
30
FML_DISALLOW_COPY_AND_ASSIGN
(
EmbedderTestCompositorVulkan
);
31
};
32
33
}
// namespace testing
34
}
// namespace flutter
35
36
#endif
// FLUTTER_SHELL_PLATFORM_EMBEDDER_TESTS_EMBEDDER_TEST_COMPOSITOR_VULKAN_H_
type
GLenum type
Definition
blit_command_gles.cc:153
flutter::testing::EmbedderTestBackingStoreProducer::RenderTargetType
RenderTargetType
Definition
embedder_test_backingstore_producer.h:20
flutter::testing::EmbedderTestCompositor
Definition
embedder_test_compositor.h:20
flutter::testing::EmbedderTestCompositorVulkan
Definition
embedder_test_compositor_vulkan.h:15
flutter::testing::EmbedderTestCompositorVulkan::SetRenderTargetType
void SetRenderTargetType(EmbedderTestBackingStoreProducer::RenderTargetType type, FlutterSoftwarePixelFormat software_pixfmt) override
Definition
embedder_test_compositor_vulkan.cc:25
flutter::testing::EmbedderTestCompositorVulkan::~EmbedderTestCompositorVulkan
~EmbedderTestCompositorVulkan() override
embedder.h
FlutterSoftwarePixelFormat
FlutterSoftwarePixelFormat
Definition
embedder.h:450
embedder_test_compositor.h
layers_count
const FlutterLayer size_t layers_count
Definition
fl_compositor_software.cc:33
layers
const FlutterLayer ** layers
Definition
fl_compositor_software.cc:32
macros.h
FML_DISALLOW_COPY_AND_ASSIGN
#define FML_DISALLOW_COPY_AND_ASSIGN(TypeName)
Definition
macros.h:27
flutter
Definition
asset_manager.cc:10
FlutterLayer
Definition
embedder.h:2129
impeller::TSize
Definition
size.h:25
shell
platform
embedder
tests
embedder_test_compositor_vulkan.h
Generated on Thu Nov 6 2025 16:11:27 for Flutter Engine by
1.9.8