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

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

Issue 1534623002: Mac CoreAnimation: Add more CALayer parameters (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix windows compile 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..fd0c757d4c744048e75638c7cd8a778c073b06cc 100644
--- a/content/common/gpu/image_transport_surface_overlay_mac.mm
+++ b/content/common/gpu/image_transport_surface_overlay_mac.mm
@@ -760,7 +760,10 @@ bool ImageTransportSurfaceOverlayMac::ScheduleCALayer(
const gfx::RectF& contents_rect,
float opacity,
unsigned background_color,
- const gfx::SizeF& bounds_size,
+ unsigned edge_aa_mask,
+ const gfx::RectF& bounds_rect,
+ bool is_clipped,
+ const gfx::RectF& clip_rect,
const gfx::Transform& transform) {
// Extract the IOSurface, if this layer is not just a solid color.
int io_surface_id = 0;
@@ -784,7 +787,7 @@ bool ImageTransportSurfaceOverlayMac::ScheduleCALayer(
pending_overlay_planes_.push_back(OverlayPlane::CreateWithTransform(
next_ca_layer_z_order_++, io_surface_id, io_surface, contents_rect,
- opacity, srgb_background_color, bounds_size, transform));
+ opacity, srgb_background_color, bounds_rect.size(), transform));
return true;
}
« no previous file with comments | « content/common/gpu/image_transport_surface_overlay_mac.h ('k') | gpu/GLES2/extensions/CHROMIUM/CHROMIUM_schedule_ca_layer.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698