Flutter Engine
The Flutter Engine
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_WINDOWS_COMPOSITOR_SOFTWARE_H_
6#define FLUTTER_SHELL_PLATFORM_WINDOWS_COMPOSITOR_SOFTWARE_H_
7
8#include "flutter/fml/macros.h"
9#include "flutter/shell/platform/embedder/embedder.h"
10#include "flutter/shell/platform/windows/compositor.h"
11#include "flutter/shell/platform/windows/flutter_windows_engine.h"
12
13namespace flutter {
14
15// Enables the Flutter engine to render content on Windows using software
16// rasterization and bitmaps.
18 public:
20
21 /// |Compositor|
23 FlutterBackingStore* result) override;
24 /// |Compositor|
25 bool CollectBackingStore(const FlutterBackingStore* store) override;
26
27 /// |Compositor|
28 bool Present(FlutterWindowsView* view,
29 const FlutterLayer** layers,
30 size_t layers_count) override;
31
32 private:
33 FML_DISALLOW_COPY_AND_ASSIGN(CompositorSoftware);
34};
35
36} // namespace flutter
37
38#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_COMPOSITOR_SOFTWARE_H_
SI void store(P *ptr, const T &val)
bool CollectBackingStore(const FlutterBackingStore *store) override
|Compositor|
bool Present(FlutterWindowsView *view, const FlutterLayer **layers, size_t layers_count) override
|Compositor|
bool CreateBackingStore(const FlutterBackingStoreConfig &config, FlutterBackingStore *result) override
|Compositor|
GAsyncResult * result