Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 4bea4a5

Browse files
committed
Feedback
1 parent 5d84204 commit 4bea4a5

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

shell/platform/windows/compositor_opengl.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ bool CompositorOpenGL::CollectBackingStore(const FlutterBackingStore* store) {
7878

7979
bool CompositorOpenGL::Present(const FlutterLayer** layers,
8080
size_t layers_count) {
81+
// TODO: Support compositing layers and platform views.
82+
// See: https://github.com/flutter/flutter/issues/31713
8183
FML_DCHECK(is_initialized_);
8284
FML_DCHECK(layers_count == 1);
8385
FML_DCHECK(layers[0]->type == kFlutterLayerContentTypeBackingStore);

shell/platform/windows/compositor_opengl_unittests.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ class CompositorOpenGLTest : public WindowsTest {
9696

9797
engine_ = builder.Build();
9898
EngineModifier modifier(engine_.get());
99-
modifier.SetSurfaceManager(surface_manager.release());
99+
modifier.SetSurfaceManager(std::move(surface_manager));
100100
}
101101

102102
void UseEngineWithView() {

shell/platform/windows/compositor_software.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ bool CompositorSoftware::CollectBackingStore(const FlutterBackingStore* store) {
3939

4040
bool CompositorSoftware::Present(const FlutterLayer** layers,
4141
size_t layers_count) {
42+
// TODO: Support compositing layers and platform views.
43+
// See: https://github.com/flutter/flutter/issues/31713
4244
FML_DCHECK(layers_count == 1);
4345
FML_DCHECK(layers[0]->type == kFlutterLayerContentTypeBackingStore);
4446
FML_DCHECK(layers[0]->backing_store->type ==

0 commit comments

Comments
 (0)