Flutter Engine Uber Docs
Docs for the entire Flutter Engine repo.
Loading...
Searching...
No Matches
vulkan_screenshotter.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_IMPELLER_TESTING_VULKAN_VULKAN_SCREENSHOTTER_H_
6
#define FLUTTER_IMPELLER_TESTING_VULKAN_VULKAN_SCREENSHOTTER_H_
7
8
#include "
flutter/impeller/testing/screenshotter.h
"
9
10
namespace
impeller
{
11
namespace
testing {
12
13
/// Converts `Picture`s and `DisplayList`s to `MetalScreenshot`s with the
14
/// playground backend.
15
class
VulkanScreenshotter
:
public
Screenshotter
{
16
public
:
17
explicit
VulkanScreenshotter
();
18
19
static
std::unique_ptr<Screenshot>
MakeScreenshot
(
20
const
std::shared_ptr<Context>&
context
,
21
const
std::shared_ptr<Texture>&
texture
);
22
23
std::unique_ptr<Screenshot>
MakeScreenshot
(
24
const
AiksContext
& aiks_context,
25
const
std::shared_ptr<Texture>&
texture
)
override
;
26
};
27
28
}
// namespace testing
29
}
// namespace impeller
30
31
#endif
// FLUTTER_IMPELLER_TESTING_VULKAN_VULKAN_SCREENSHOTTER_H_
impeller::AiksContext
Definition
aiks_context.h:20
impeller::testing::Screenshotter
Definition
screenshotter.h:16
impeller::testing::VulkanScreenshotter
Definition
vulkan_screenshotter.h:15
impeller::testing::VulkanScreenshotter::MakeScreenshot
static std::unique_ptr< Screenshot > MakeScreenshot(const std::shared_ptr< Context > &context, const std::shared_ptr< Texture > &texture)
Definition
vulkan_screenshotter.mm:85
impeller::testing::VulkanScreenshotter::VulkanScreenshotter
VulkanScreenshotter()
Definition
vulkan_screenshotter.mm:83
texture
FlTexture * texture
Definition
mock_texture_registrar.cc:24
impeller
Definition
texture.h:16
context
std::shared_ptr< ContextGLES > context
Definition
render_pass_gles_unittests.cc:74
screenshotter.h
impeller
testing
vulkan
vulkan_screenshotter.h
Generated on Fri Jul 24 2026 07:12:35 for Flutter Engine Uber Docs by
1.9.8