| Index: ui/gl/gl_surface_egl.cc
|
| diff --git a/ui/gl/gl_surface_egl.cc b/ui/gl/gl_surface_egl.cc
|
| index 976052a2f4602ad05430fb227670fdda2897bd30..c64e0b8a080b6d9872d941c2400d20199d12b72c 100644
|
| --- a/ui/gl/gl_surface_egl.cc
|
| +++ b/ui/gl/gl_surface_egl.cc
|
| @@ -785,17 +785,18 @@ VSyncProvider* NativeViewGLSurfaceEGL::GetVSyncProvider() {
|
| return vsync_provider_.get();
|
| }
|
|
|
| -bool NativeViewGLSurfaceEGL::ScheduleOverlayPlane(int z_order,
|
| - OverlayTransform transform,
|
| - gl::GLImage* image,
|
| - const Rect& bounds_rect,
|
| - const RectF& crop_rect) {
|
| +bool NativeViewGLSurfaceEGL::ScheduleOverlayPlane(
|
| + int z_order, OverlayTransform transform,
|
| + gfx::BufferFormat storage_format, gl::GLImage* image,
|
| + const Rect& bounds_rect, const RectF& crop_rect,
|
| + bool handle_scaling) {
|
| #if !defined(OS_ANDROID)
|
| NOTIMPLEMENTED();
|
| return false;
|
| #else
|
| pending_overlays_.push_back(
|
| - GLSurfaceOverlay(z_order, transform, image, bounds_rect, crop_rect));
|
| + GLSurfaceOverlay(z_order, transform, storage_format, image, bounds_rect,
|
| + crop_rect, handle_scaling));
|
| return true;
|
| #endif
|
| }
|
|
|