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

Unified Diff: ui/gl/gl_surface_egl.h

Issue 2673473002: Rename SwapBuffersWithDamage to SwapBuffersWithBounds (Closed)
Patch Set: fix windows compile warning Created 3 years, 10 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
« no previous file with comments | « ui/gl/gl_surface.cc ('k') | ui/gl/gl_surface_egl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_surface_egl.h
diff --git a/ui/gl/gl_surface_egl.h b/ui/gl/gl_surface_egl.h
index 6e003f88c4839b1efee3470fc474a7bfd7e3af66..cf10a1c6aa905cb2d432dfe7944e92af31a808ae 100644
--- a/ui/gl/gl_surface_egl.h
+++ b/ui/gl/gl_surface_egl.h
@@ -122,12 +122,7 @@ class GL_EXPORT NativeViewGLSurfaceEGL : public GLSurfaceEGL {
gfx::SwapResult SwapBuffers() override;
gfx::Size GetSize() override;
EGLSurface GetHandle() override;
- bool SupportsSwapBuffersWithDamage() override;
bool SupportsPostSubBuffer() override;
- gfx::SwapResult SwapBuffersWithDamage(int x,
- int y,
- int width,
- int height) override;
gfx::SwapResult PostSubBuffer(int x, int y, int width, int height) override;
bool SupportsCommitOverlayPlanes() override;
gfx::SwapResult CommitOverlayPlanes() override;
@@ -155,6 +150,7 @@ class GL_EXPORT NativeViewGLSurfaceEGL : public GLSurfaceEGL {
bool enable_fixed_size_angle_;
void OnSetSwapInterval(int interval) override;
+ gfx::SwapResult SwapBuffersWithDamage(const std::vector<int>& rects);
private:
// Commit the |pending_overlays_| and clear the vector. Returns false if any
« no previous file with comments | « 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