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

Unified Diff: ui/gl/gl_image_ozone_native_pixmap.cc

Issue 1513283002: Add support to send optimal format as part of ScheduleOverlayPlane (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update cmd_buffer_functions Created 5 years 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_image_ozone_native_pixmap.h ('k') | ui/gl/gl_image_stub.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_image_ozone_native_pixmap.cc
diff --git a/ui/gl/gl_image_ozone_native_pixmap.cc b/ui/gl/gl_image_ozone_native_pixmap.cc
index 818426178aea6fa8af3f49e92d0251fed0f445fc..24ad0bb024d677a2e8779e55883bfa249743e41c 100644
--- a/ui/gl/gl_image_ozone_native_pixmap.cc
+++ b/ui/gl/gl_image_ozone_native_pixmap.cc
@@ -140,14 +140,14 @@ void GLImageOzoneNativePixmap::Destroy(bool have_context) {
gl::GLImageEGL::Destroy(have_context);
}
-bool GLImageOzoneNativePixmap::ScheduleOverlayPlane(AcceleratedWidget widget,
- int z_order,
- OverlayTransform transform,
- const Rect& bounds_rect,
- const RectF& crop_rect) {
+bool GLImageOzoneNativePixmap::ScheduleOverlayPlane(
+ AcceleratedWidget widget, int z_order, OverlayTransform transform,
+ gfx::BufferFormat storage_format, const Rect& bounds_rect,
+ const RectF& crop_rect, bool handle_scaling) {
DCHECK(pixmap_);
- return pixmap_->ScheduleOverlayPlane(widget, z_order, transform, bounds_rect,
- crop_rect);
+ return pixmap_->ScheduleOverlayPlane(widget, z_order, transform,
+ storage_format, bounds_rect,
+ crop_rect, handle_scaling);
}
void GLImageOzoneNativePixmap::OnMemoryDump(
« no previous file with comments | « ui/gl/gl_image_ozone_native_pixmap.h ('k') | ui/gl/gl_image_stub.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698