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

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

Issue 2302393002: Support swap damage rect using eglSwapBuffersWithDamageKHR (Closed)
Patch Set: Add to Capabilities 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..383e341adc28d2ea97e40a426c29ca8b35440c23 100644
--- a/ui/ozone/platform/cast/gl_surface_cast.h
+++ b/ui/ozone/platform/cast/gl_surface_cast.h
@@ -23,6 +23,10 @@ class GLSurfaceCast : public gl::NativeViewGLSurfaceEGL {
// gl::GLSurface:
gfx::SwapResult SwapBuffers() override;
+ gfx::SwapResult SwapBuffersWithDamage(int x,
+ int y,
+ int width,
+ int height) override;
bool Resize(const gfx::Size& size,
float scale_factor,
bool has_alpha) override;

Powered by Google App Engine
This is Rietveld 408576698