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

Unified Diff: ui/gl/gl_surface.cc

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 | « ui/gl/gl_surface.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_surface.cc
diff --git a/ui/gl/gl_surface.cc b/ui/gl/gl_surface.cc
index 676719029742060beef9a6294d55581a3ee993d6..205fcd6c47ff89954327490f886bfd6cf48c98f4 100644
--- a/ui/gl/gl_surface.cc
+++ b/ui/gl/gl_surface.cc
@@ -182,6 +182,10 @@ bool GLSurface::SupportsDCLayers() const {
return false;
}
+bool GLSurface::UseOverlaysForVideo() const {
+ return false;
+}
+
bool GLSurface::SetDrawRectangle(const gfx::Rect& rect) {
return false;
}
@@ -391,6 +395,10 @@ bool GLSurfaceAdapter::SupportsDCLayers() const {
return surface_->SupportsDCLayers();
}
+bool GLSurfaceAdapter::UseOverlaysForVideo() const {
+ return surface_->UseOverlaysForVideo();
+}
+
bool GLSurfaceAdapter::SetDrawRectangle(const gfx::Rect& rect) {
return surface_->SetDrawRectangle(rect);
}
« no previous file with comments | « ui/gl/gl_surface.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698