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

Unified Diff: ui/ozone/platform/cast/gl_surface_cast.h

Issue 2302393002: Support swap damage rect using eglSwapBuffersWithDamageKHR (Closed)
Patch Set: Added new SwapBuffersWithDamage entry point Created 4 years, 3 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/ozone/platform/cast/gl_surface_cast.h
diff --git a/ui/ozone/platform/cast/gl_surface_cast.h b/ui/ozone/platform/cast/gl_surface_cast.h
index 036f6797181929246403c2aaa0112bc59bda5977..d369bed4e4f5b101e28b5c3d31d7442b23f1f2d6 100644
--- a/ui/ozone/platform/cast/gl_surface_cast.h
+++ b/ui/ozone/platform/cast/gl_surface_cast.h
@@ -23,6 +23,7 @@ class GLSurfaceCast : public gl::NativeViewGLSurfaceEGL {
// gl::GLSurface:
gfx::SwapResult SwapBuffers() override;
+ gfx::SwapResult PostSubBuffer(int x, int y, int width, int height) override;
piman 2016/09/07 17:19:41 Did you mean to implement SwapBuffersWithDamage?
halliwell 2016/09/08 04:21:34 Yes, forgot to update this.
bool Resize(const gfx::Size& size,
float scale_factor,
bool has_alpha) override;

Powered by Google App Engine
This is Rietveld 408576698