Flutter Engine
The Flutter Engine
shell
platform
embedder
tests
embedder_test_compositor_software.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_SOFTWARE_H_
6
#define FLUTTER_SHELL_PLATFORM_EMBEDDER_TESTS_EMBEDDER_TEST_COMPOSITOR_SOFTWARE_H_
7
8
#include "flutter/shell/platform/embedder/tests/embedder_test_compositor.h"
9
10
namespace
flutter
{
11
namespace
testing {
12
13
class
EmbedderTestCompositorSoftware
:
public
EmbedderTestCompositor
{
14
public
:
15
explicit
EmbedderTestCompositorSoftware
(
SkISize
surface_size);
16
17
~EmbedderTestCompositorSoftware
()
override
;
18
19
private
:
20
bool
UpdateOffscrenComposition(
const
FlutterLayer
** layers,
21
size_t
layers_count);
22
23
FML_DISALLOW_COPY_AND_ASSIGN(
EmbedderTestCompositorSoftware
);
24
};
25
26
}
// namespace testing
27
}
// namespace flutter
28
29
#endif
// FLUTTER_SHELL_PLATFORM_EMBEDDER_TESTS_EMBEDDER_TEST_COMPOSITOR_SOFTWARE_H_
flutter::testing::EmbedderTestCompositorSoftware
Definition:
embedder_test_compositor_software.h:13
flutter::testing::EmbedderTestCompositorSoftware::~EmbedderTestCompositorSoftware
~EmbedderTestCompositorSoftware() override
flutter::testing::EmbedderTestCompositorSoftware::EmbedderTestCompositorSoftware
EmbedderTestCompositorSoftware(SkISize surface_size)
Definition:
embedder_test_compositor_software.cc:14
flutter::testing::EmbedderTestCompositor
Definition:
embedder_test_compositor.h:19
flutter
Definition:
asset_manager.cc:10
FlutterLayer
Definition:
embedder.h:1819
SkISize
Definition:
SkSize.h:16
Generated on Sun Jun 23 2024 21:55:15 for Flutter Engine by
1.9.4