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

Unified Diff: content/common/gpu/image_transport_surface_overlay_mac.mm

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
Index: content/common/gpu/image_transport_surface_overlay_mac.mm
diff --git a/content/common/gpu/image_transport_surface_overlay_mac.mm b/content/common/gpu/image_transport_surface_overlay_mac.mm
index e4fb3e86c777bc9cf7a75cc306a3c54f6aa56a9d..4d526d63e91368d660e8b80dcc2d0623934dc656 100644
--- a/content/common/gpu/image_transport_surface_overlay_mac.mm
+++ b/content/common/gpu/image_transport_surface_overlay_mac.mm
@@ -736,9 +736,11 @@ bool ImageTransportSurfaceOverlayMac::SetBackbufferAllocation(bool allocated) {
bool ImageTransportSurfaceOverlayMac::ScheduleOverlayPlane(
int z_order,
gfx::OverlayTransform transform,
+ gfx::BufferFormat storage_format,
gl::GLImage* image,
const gfx::Rect& pixel_frame_rect,
- const gfx::RectF& crop_rect) {
+ const gfx::RectF& crop_rect,
+ bool handle_scaling) {
DCHECK_EQ(transform, gfx::OVERLAY_TRANSFORM_NONE);
if (transform != gfx::OVERLAY_TRANSFORM_NONE)
return false;
« no previous file with comments | « content/common/gpu/image_transport_surface_overlay_mac.h ('k') | content/common/gpu/media/avda_codec_image.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698