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

Unified Diff: ui/gl/gl_surface.h

Issue 2933453002: Always use DirectCompositionSurfaceWin when using DirectComposition (Closed)
Patch Set: post-review fixes Created 3 years, 5 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
« no previous file with comments | « gpu/ipc/service/image_transport_surface_win.cc ('k') | ui/gl/gl_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_surface.h
diff --git a/ui/gl/gl_surface.h b/ui/gl/gl_surface.h
index 5261d7c3b0b2241a7f263fe6c13a85db4ee53035..bc6eda1da75c041834274192d88e3065e8cb9d18 100644
--- a/ui/gl/gl_surface.h
+++ b/ui/gl/gl_surface.h
@@ -213,6 +213,8 @@ class GL_EXPORT GLSurface : public base::RefCounted<GLSurface> {
virtual bool SupportsDCLayers() const;
+ virtual bool UseOverlaysForVideo() const;
+
// Set the rectangle that will be drawn into on the surface.
virtual bool SetDrawRectangle(const gfx::Rect& rect);
@@ -298,6 +300,7 @@ class GL_EXPORT GLSurfaceAdapter : public GLSurface {
bool FlipsVertically() const override;
bool BuffersFlipped() const override;
bool SupportsDCLayers() const override;
+ bool UseOverlaysForVideo() const override;
bool SetDrawRectangle(const gfx::Rect& rect) override;
gfx::Vector2d GetDrawOffset() const override;
void WaitForSnapshotRendering() override;
« no previous file with comments | « gpu/ipc/service/image_transport_surface_win.cc ('k') | ui/gl/gl_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698