Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(622)

Unified Diff: gpu/ipc/service/direct_composition_surface_win.h

Issue 2766423003: Allow creating opaque swapchains in DirectCompositionSurfaceWin (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: gpu/ipc/service/direct_composition_surface_win.h
diff --git a/gpu/ipc/service/direct_composition_surface_win.h b/gpu/ipc/service/direct_composition_surface_win.h
index f514f9c2d04aa85c935f9efc48b92bd6a578c389..aedd10109b7bcd648f54d35b0edcc683411f3857 100644
--- a/gpu/ipc/service/direct_composition_surface_win.h
+++ b/gpu/ipc/service/direct_composition_surface_win.h
@@ -106,6 +106,7 @@ class GPU_EXPORT DirectCompositionSurfaceWin : public gl::GLSurfaceEGL {
gfx::Size size_ = gfx::Size(1, 1);
bool first_swap_ = true;
bool enable_dc_layers_ = false;
+ bool has_alpha_ = true;
std::unique_ptr<gfx::VSyncProvider> vsync_provider_;
std::vector<Overlay> pending_overlays_;
gfx::Rect swap_rect_;
« no previous file with comments | « no previous file | gpu/ipc/service/direct_composition_surface_win.cc » ('j') | gpu/ipc/service/direct_composition_surface_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698