Flutter Engine
The Flutter Engine
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
12namespace flutter {
13namespace testing {
14
16 public:
19
21
22 private:
23 bool UpdateOffscrenComposition(const FlutterLayer** layers,
24 size_t layers_count) override;
25
26 FML_DISALLOW_COPY_AND_ASSIGN(EmbedderTestCompositorVulkan);
27};
28
29} // namespace testing
30} // namespace flutter
31
32#endif // FLUTTER_SHELL_PLATFORM_EMBEDDER_TESTS_EMBEDDER_TEST_COMPOSITOR_VULKAN_H_
EmbedderTestCompositorVulkan(SkISize surface_size, sk_sp< GrDirectContext > context)
Definition: SkSize.h:16