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

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

Issue 2125673002: Revert of Move all CARendererLayerTree parameters to separate struct. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 cab02624280133c35465a74bc377a7df6aea0d5a..8231f28a2960253c09ee45521b0ffdf2ad10cc4f 100644
--- a/gpu/ipc/service/image_transport_surface_overlay_mac.h
+++ b/gpu/ipc/service/image_transport_surface_overlay_mac.h
@@ -23,7 +23,6 @@
namespace ui {
class CALayerTreeCoordinator;
-struct CARendererLayerParams;
}
namespace gl {
@@ -56,7 +55,17 @@
gl::GLImage* image,
const gfx::Rect& bounds_rect,
const gfx::RectF& crop_rect) override;
- bool ScheduleCALayer(const ui::CARendererLayerParams& params) 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;
void ScheduleCALayerInUseQuery(
std::vector<CALayerInUseQuery> queries) override;
bool IsSurfaceless() const override;
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder.cc ('k') | gpu/ipc/service/image_transport_surface_overlay_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698