Chromium Code Reviews| 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(); |
| } |