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

Unified Diff: content/gpu/gpu_child_thread.cc

Issue 1830513003: Move AcceleratedSurfaceBuffersSwappedParams to content/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix unit tests Created 4 years, 9 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
« no previous file with comments | « content/gpu/gpu_child_thread.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/gpu_child_thread.cc
diff --git a/content/gpu/gpu_child_thread.cc b/content/gpu/gpu_child_thread.cc
index c8449d087a65e1de31f9c7bcb30e7f1c80f06589..a9ad3babcb8e423c9a8e89e6bb97973e12a38c27 100644
--- a/content/gpu/gpu_child_thread.cc
+++ b/content/gpu/gpu_child_thread.cc
@@ -329,7 +329,19 @@ void GpuChildThread::RemoveSubscription(int32_t client_id,
#if defined(OS_MACOSX)
void GpuChildThread::SendAcceleratedSurfaceBuffersSwapped(
- const AcceleratedSurfaceBuffersSwappedParams& params) {
+ int32_t surface_id,
+ CAContextID ca_context_id,
+ const gfx::ScopedRefCountedIOSurfaceMachPort& io_surface,
+ const gfx::Size& size,
+ float scale_factor,
+ const std::vector<ui::LatencyInfo>& latency_info) {
piman 2016/03/24 18:02:21 nit: make this "std::vector<ui::LatencyInfo> laten
Fady Samuel 2016/03/24 18:18:03 Done.
+ AcceleratedSurfaceBuffersSwappedParams params;
+ params.surface_id = surface_id;
+ params.ca_context_id = ca_context_id;
+ params.io_surface = io_surface;
+ params.size = size;
+ params.scale_factor = scale_factor;
+ params.latency_info = latency_info;
Send(new GpuHostMsg_AcceleratedSurfaceBuffersSwapped(params));
}
#endif
« no previous file with comments | « content/gpu/gpu_child_thread.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698