Flutter Engine Uber Docs
Docs for the entire Flutter Engine repo.
 
Loading...
Searching...
No Matches
vulkan_golden_screenshotter.mm
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
6
9#define GLFW_INCLUDE_NONE
10#include "third_party/glfw/include/GLFW/glfw3.h"
11
12namespace impeller {
13namespace testing {
14
16 const std::unique_ptr<PlaygroundImpl>& playground)
17 : playground_(playground) {
18 FML_CHECK(playground_);
19}
20
22
24 const AiksContext& aiks_context,
25 const std::shared_ptr<Texture>& texture) {
27 texture);
28}
29
33
34} // namespace testing
35} // namespace impeller
std::shared_ptr< Context > GetContext() const
std::unique_ptr< Screenshot > MakeScreenshot(const AiksContext &aiks_context, const std::shared_ptr< Texture > &texture) override
VulkanGoldenScreenshotter(const std::unique_ptr< PlaygroundImpl > &playground)
static std::unique_ptr< Screenshot > MakeScreenshot(const std::shared_ptr< Context > &context, const std::shared_ptr< Texture > &texture)
#define FML_CHECK(condition)
Definition logging.h:104
FlTexture * texture