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

Unified Diff: gpu/ipc/client/command_buffer_proxy_impl.cc

Issue 2061993003: Pass responsibility for IOSurface-texture reuse to the gpu process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@temp85_query_in_use
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
« no previous file with comments | « gpu/command_buffer_common.gypi ('k') | gpu/ipc/client/gpu_process_hosted_ca_layer_tree_params.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/client/command_buffer_proxy_impl.cc
diff --git a/gpu/ipc/client/command_buffer_proxy_impl.cc b/gpu/ipc/client/command_buffer_proxy_impl.cc
index 3fdfcbf56ddcb396006d081ca6f42f026109f5b9..d26b7d49835d6d1aba20c8af4756e6f0905a460d 100644
--- a/gpu/ipc/client/command_buffer_proxy_impl.cc
+++ b/gpu/ipc/client/command_buffer_proxy_impl.cc
@@ -779,6 +779,7 @@ void CommandBufferProxyImpl::OnSwapBuffersCompleted(
params_mac.io_surface.reset(IOSurfaceLookupFromMachPort(params.io_surface));
params_mac.pixel_size = params.pixel_size;
params_mac.scale_factor = params.scale_factor;
+ params_mac.responses = std::move(params.in_use_responses);
gpu::GpuProcessHostedCALayerTreeParamsMac* mac_frame_ptr = &params_mac;
#else
gpu::GpuProcessHostedCALayerTreeParamsMac* mac_frame_ptr = nullptr;
« no previous file with comments | « gpu/command_buffer_common.gypi ('k') | gpu/ipc/client/gpu_process_hosted_ca_layer_tree_params.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698