| Index: ui/gl/gl_surface.cc
|
| diff --git a/ui/gl/gl_surface.cc b/ui/gl/gl_surface.cc
|
| index 70f2207150e1915546efe462b716a17e5eae0697..7b29a7d1576d38f4fb000198f95207a22e672eb4 100644
|
| --- a/ui/gl/gl_surface.cc
|
| +++ b/ui/gl/gl_surface.cc
|
| @@ -52,7 +52,7 @@ bool GLSurface::DeferDraws() {
|
| return false;
|
| }
|
|
|
| -bool GLSurface::SupportsSwapBuffersWithDamage() {
|
| +bool GLSurface::SupportsSwapBuffersWithBounds() {
|
| return false;
|
| }
|
|
|
| @@ -76,10 +76,8 @@ void GLSurface::SwapBuffersAsync(const SwapCompletionCallback& callback) {
|
| NOTREACHED();
|
| }
|
|
|
| -gfx::SwapResult GLSurface::SwapBuffersWithDamage(int x,
|
| - int y,
|
| - int width,
|
| - int height) {
|
| +gfx::SwapResult GLSurface::SwapBuffersWithBounds(
|
| + const std::vector<gfx::Rect>& rects) {
|
| return gfx::SwapResult::SWAP_FAILED;
|
| }
|
|
|
| @@ -241,11 +239,9 @@ void GLSurfaceAdapter::SwapBuffersAsync(
|
| surface_->SwapBuffersAsync(callback);
|
| }
|
|
|
| -gfx::SwapResult GLSurfaceAdapter::SwapBuffersWithDamage(int x,
|
| - int y,
|
| - int width,
|
| - int height) {
|
| - return surface_->SwapBuffersWithDamage(x, y, width, height);
|
| +gfx::SwapResult GLSurfaceAdapter::SwapBuffersWithBounds(
|
| + const std::vector<gfx::Rect>& rects) {
|
| + return surface_->SwapBuffersWithBounds(rects);
|
| }
|
|
|
| gfx::SwapResult GLSurfaceAdapter::PostSubBuffer(int x,
|
| @@ -273,8 +269,8 @@ void GLSurfaceAdapter::CommitOverlayPlanesAsync(
|
| surface_->CommitOverlayPlanesAsync(callback);
|
| }
|
|
|
| -bool GLSurfaceAdapter::SupportsSwapBuffersWithDamage() {
|
| - return surface_->SupportsSwapBuffersWithDamage();
|
| +bool GLSurfaceAdapter::SupportsSwapBuffersWithBounds() {
|
| + return surface_->SupportsSwapBuffersWithBounds();
|
| }
|
|
|
| bool GLSurfaceAdapter::SupportsPostSubBuffer() {
|
|
|