Flutter Engine Uber Docs
Docs for the entire Flutter Engine repo.
Loading...
Searching...
No Matches
embedder_test_backingstore_producer_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_BACKINGSTORE_PRODUCER_VULKAN_H_
6
#define FLUTTER_SHELL_PLATFORM_EMBEDDER_TESTS_EMBEDDER_TEST_BACKINGSTORE_PRODUCER_VULKAN_H_
7
8
#include "
flutter/shell/platform/embedder/tests/embedder_test_backingstore_producer.h
"
9
10
#include "
flutter/testing/test_vulkan_context.h
"
11
12
namespace
flutter::testing
{
13
14
class
EmbedderTestBackingStoreProducerVulkan
15
:
public
EmbedderTestBackingStoreProducer
{
16
public
:
17
EmbedderTestBackingStoreProducerVulkan
(sk_sp<GrDirectContext> context,
18
RenderTargetType
type
);
19
20
virtual
~EmbedderTestBackingStoreProducerVulkan
();
21
22
bool
Create
(
const
FlutterBackingStoreConfig
* config,
23
FlutterBackingStore
* backing_store_out)
override
;
24
25
sk_sp<SkSurface>
GetSurface
(
26
const
FlutterBackingStore
* backing_store)
const override
;
27
28
sk_sp<SkImage>
MakeImageSnapshot
(
29
const
FlutterBackingStore
* backing_store)
const override
;
30
31
private
:
32
fml::RefPtr<TestVulkanContext>
test_vulkan_context_;
33
34
FML_DISALLOW_COPY_AND_ASSIGN
(
EmbedderTestBackingStoreProducerVulkan
);
35
};
36
37
}
// namespace flutter::testing
38
39
#endif
// FLUTTER_SHELL_PLATFORM_EMBEDDER_TESTS_EMBEDDER_TEST_BACKINGSTORE_PRODUCER_VULKAN_H_
type
GLenum type
Definition
blit_command_gles.cc:153
flutter::testing::EmbedderTestBackingStoreProducer
Definition
embedder_test_backingstore_producer.h:18
flutter::testing::EmbedderTestBackingStoreProducer::RenderTargetType
RenderTargetType
Definition
embedder_test_backingstore_producer.h:20
flutter::testing::EmbedderTestBackingStoreProducerVulkan
Definition
embedder_test_backingstore_producer_vulkan.h:15
flutter::testing::EmbedderTestBackingStoreProducerVulkan::GetSurface
sk_sp< SkSurface > GetSurface(const FlutterBackingStore *backing_store) const override
Definition
embedder_test_backingstore_producer_vulkan.cc:106
flutter::testing::EmbedderTestBackingStoreProducerVulkan::MakeImageSnapshot
sk_sp< SkImage > MakeImageSnapshot(const FlutterBackingStore *backing_store) const override
Definition
embedder_test_backingstore_producer_vulkan.cc:112
flutter::testing::EmbedderTestBackingStoreProducerVulkan::~EmbedderTestBackingStoreProducerVulkan
virtual ~EmbedderTestBackingStoreProducerVulkan()
flutter::testing::EmbedderTestBackingStoreProducerVulkan::Create
bool Create(const FlutterBackingStoreConfig *config, FlutterBackingStore *backing_store_out) override
Definition
embedder_test_backingstore_producer_vulkan.cc:32
fml::RefPtr
Definition
ref_ptr.h:65
embedder_test_backingstore_producer.h
FML_DISALLOW_COPY_AND_ASSIGN
#define FML_DISALLOW_COPY_AND_ASSIGN(TypeName)
Definition
macros.h:27
flutter::testing
Definition
native_assets_unittests.cc:10
FlutterBackingStoreConfig
Definition
embedder.h:2089
FlutterBackingStore
Definition
embedder.h:2063
test_vulkan_context.h
shell
platform
embedder
tests
embedder_test_backingstore_producer_vulkan.h
Generated on Tue Dec 2 2025 04:46:42 for Flutter Engine Uber Docs by
1.9.8