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

Unified Diff: ui/gl/gl_surface.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_surface.h ('k') | ui/gl/gl_surface_egl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_surface.cc
diff --git a/ui/gl/gl_surface.cc b/ui/gl/gl_surface.cc
index b69e93bfe964af2ccb2bb11080389ba2d6bd7845..15ebfeee8ac8bcf0dcf4c4afa552281d1bdc14b0 100644
--- a/ui/gl/gl_surface.cc
+++ b/ui/gl/gl_surface.cc
@@ -193,9 +193,11 @@ VSyncProvider* GLSurface::GetVSyncProvider() {
bool GLSurface::ScheduleOverlayPlane(int z_order,
OverlayTransform transform,
+ gfx::BufferFormat storage_format,
gl::GLImage* image,
const Rect& bounds_rect,
- const RectF& crop_rect) {
+ const RectF& crop_rect,
+ bool handle_scaling) {
NOTIMPLEMENTED();
return false;
}
@@ -361,11 +363,14 @@ VSyncProvider* GLSurfaceAdapter::GetVSyncProvider() {
bool GLSurfaceAdapter::ScheduleOverlayPlane(int z_order,
OverlayTransform transform,
+ gfx::BufferFormat storage_format,
gl::GLImage* image,
const Rect& bounds_rect,
- const RectF& crop_rect) {
+ const RectF& crop_rect,
+ bool handle_scaling) {
return surface_->ScheduleOverlayPlane(
- z_order, transform, image, bounds_rect, crop_rect);
+ z_order, transform, storage_format, image, bounds_rect, crop_rect,
+ handle_scaling);
}
bool GLSurfaceAdapter::IsSurfaceless() const {
« no previous file with comments | « ui/gl/gl_surface.h ('k') | ui/gl/gl_surface_egl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698