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

Unified Diff: gpu/ipc/service/image_transport_surface_overlay_mac.h

Issue 2006923006: Move all CARendererLayerTree parameters to separate struct. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 6 months 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: gpu/ipc/service/image_transport_surface_overlay_mac.h
diff --git a/gpu/ipc/service/image_transport_surface_overlay_mac.h b/gpu/ipc/service/image_transport_surface_overlay_mac.h
index 8231f28a2960253c09ee45521b0ffdf2ad10cc4f..cab02624280133c35465a74bc377a7df6aea0d5a 100644
--- a/gpu/ipc/service/image_transport_surface_overlay_mac.h
+++ b/gpu/ipc/service/image_transport_surface_overlay_mac.h
@@ -23,6 +23,7 @@
namespace ui {
class CALayerTreeCoordinator;
+struct CARendererLayerParams;
}
namespace gl {
@@ -55,17 +56,7 @@ class ImageTransportSurfaceOverlayMac : public gl::GLSurface,
gl::GLImage* image,
const gfx::Rect& bounds_rect,
const gfx::RectF& crop_rect) override;
- bool ScheduleCALayer(gl::GLImage* contents_image,
- const gfx::RectF& contents_rect,
- float opacity,
- unsigned background_color,
- unsigned edge_aa_mask,
- const gfx::RectF& rect,
- bool is_clipped,
- const gfx::RectF& clip_rect,
- const gfx::Transform& transform,
- int sorting_context_id,
- unsigned filter) override;
+ bool ScheduleCALayer(const ui::CARendererLayerParams& params) override;
void ScheduleCALayerInUseQuery(
std::vector<CALayerInUseQuery> queries) override;
bool IsSurfaceless() const override;

Powered by Google App Engine
This is Rietveld 408576698