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

Unified Diff: gpu/ipc/client/gpu_process_hosted_ca_layer_tree_params.h

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: Compile errors. 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/client/gpu_process_hosted_ca_layer_tree_params.h
diff --git a/gpu/ipc/client/gpu_process_hosted_ca_layer_tree_params.h b/gpu/ipc/client/gpu_process_hosted_ca_layer_tree_params.h
index bc87b5096136f49acdf6e6d36b11974c86fac787..d0d5d5b5bf35f66a1bf96b9e64e9d265769e3415 100644
--- a/gpu/ipc/client/gpu_process_hosted_ca_layer_tree_params.h
+++ b/gpu/ipc/client/gpu_process_hosted_ca_layer_tree_params.h
@@ -5,6 +5,7 @@
#include <IOSurface/IOSurface.h>
#include "base/mac/scoped_cftyperef.h"
+#include "gpu/command_buffer/common/texture_in_use_response.h"
#include "gpu/gpu_export.h"
#include "ui/base/cocoa/remote_layer_api.h"
#include "ui/gfx/geometry/size.h"
@@ -22,6 +23,7 @@ struct GPU_EXPORT GpuProcessHostedCALayerTreeParamsMac {
base::ScopedCFTypeRef<IOSurfaceRef> io_surface;
gfx::Size pixel_size;
float scale_factor = 1;
+ TextureInUseResponses responses;
};
} // namespace gpu

Powered by Google App Engine
This is Rietveld 408576698