| // Copyright 2013 The Flutter Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef FLUTTER_SHELL_PLATFORM_EMBEDDER_TESTS_EMBEDDER_TEST_COMPOSITOR_SOFTWARE_H_ |
| #define FLUTTER_SHELL_PLATFORM_EMBEDDER_TESTS_EMBEDDER_TEST_COMPOSITOR_SOFTWARE_H_ |
| |
| #include "flutter/shell/platform/embedder/tests/embedder_test_compositor.h" |
| |
| namespace flutter { |
| namespace testing { |
| |
| class EmbedderTestCompositorSoftware : public EmbedderTestCompositor { |
| public: |
| EmbedderTestCompositorSoftware(SkISize surface_size); |
| |
| ~EmbedderTestCompositorSoftware() override; |
| |
| private: |
| bool UpdateOffscrenComposition(const FlutterLayer** layers, |
| size_t layers_count); |
| |
| FML_DISALLOW_COPY_AND_ASSIGN(EmbedderTestCompositorSoftware); |
| }; |
| |
| } // namespace testing |
| } // namespace flutter |
| |
| #endif // FLUTTER_SHELL_PLATFORM_EMBEDDER_TESTS_EMBEDDER_TEST_COMPOSITOR_SOFTWARE_H_ |