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

Unified Diff: ui/gl/gl_surface_egl.h

Issue 1084173004: Adding status to swap complete (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: copy/paste error Created 5 years, 7 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: ui/gl/gl_surface_egl.h
diff --git a/ui/gl/gl_surface_egl.h b/ui/gl/gl_surface_egl.h
index 21669d74bb7f25fed815618c829620832494d650..a89fec6244d7a1fc0dd67504787ca452d6b8127d 100644
--- a/ui/gl/gl_surface_egl.h
+++ b/ui/gl/gl_surface_egl.h
@@ -68,11 +68,11 @@ class GL_EXPORT NativeViewGLSurfaceEGL : public GLSurfaceEGL {
bool Resize(const gfx::Size& size) override;
bool Recreate() override;
bool IsOffscreen() override;
- bool SwapBuffers() override;
+ gfx::SwapResult SwapBuffers() override;
gfx::Size GetSize() override;
EGLSurface GetHandle() override;
bool SupportsPostSubBuffer() override;
- bool PostSubBuffer(int x, int y, int width, int height) override;
+ gfx::SwapResult PostSubBuffer(int x, int y, int width, int height) override;
VSyncProvider* GetVSyncProvider() override;
// Create a NativeViewGLSurfaceEGL with an externally provided VSyncProvider.
@@ -118,7 +118,7 @@ class GL_EXPORT PbufferGLSurfaceEGL : public GLSurfaceEGL {
bool Initialize() override;
void Destroy() override;
bool IsOffscreen() override;
- bool SwapBuffers() override;
+ gfx::SwapResult SwapBuffers() override;
gfx::Size GetSize() override;
bool Resize(const gfx::Size& size) override;
EGLSurface GetHandle() override;
@@ -147,7 +147,7 @@ class GL_EXPORT SurfacelessEGL : public GLSurfaceEGL {
void Destroy() override;
bool IsOffscreen() override;
bool IsSurfaceless() const override;
- bool SwapBuffers() override;
+ gfx::SwapResult SwapBuffers() override;
gfx::Size GetSize() override;
bool Resize(const gfx::Size& size) override;
EGLSurface GetHandle() override;
« ui/gfx/swap_result.h ('K') | « ui/gl/gl_surface.cc ('k') | ui/gl/gl_surface_egl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698