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

Unified Diff: ui/gl/gl_surface_egl.cc

Issue 1477593002: gpu: Initial implementation of CommitOverlayPlanes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@add-cop-command
Patch Set: typo Created 5 years, 1 month 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_egl.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_egl.cc
diff --git a/ui/gl/gl_surface_egl.cc b/ui/gl/gl_surface_egl.cc
index 7c36984843a7eadbf12da2bf7c3ec969542a492e..0da838d0789aa1bcc285553890c4d01f9924fadd 100644
--- a/ui/gl/gl_surface_egl.cc
+++ b/ui/gl/gl_surface_egl.cc
@@ -731,6 +731,14 @@ gfx::SwapResult NativeViewGLSurfaceEGL::PostSubBuffer(int x,
return gfx::SwapResult::SWAP_ACK;
}
+bool NativeViewGLSurfaceEGL::SupportsCommitOverlayPlanes() {
+ return true;
piman 2015/11/25 06:49:28 This is not right for GLSurfaceOzoneEGL, which inh
watk 2015/11/25 21:10:13 Oops, I didn't really mean to include this change.
+}
+
+gfx::SwapResult NativeViewGLSurfaceEGL::CommitOverlayPlanes() {
+ return gfx::SwapResult::SWAP_ACK;
piman 2015/11/25 06:49:28 It feels like the planes should be scheduled only
watk 2015/11/25 21:10:13 Yeah, I can do that (removed for this CL). I think
+}
+
VSyncProvider* NativeViewGLSurfaceEGL::GetVSyncProvider() {
return vsync_provider_.get();
}
« no previous file with comments | « ui/gl/gl_surface_egl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698