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

Unified Diff: gpu/command_buffer/common/texture_in_use_response.h

Issue 2473973002: NOT for review (for discussion): Query IOSurfaceIsInUse in the browser process
Patch Set: Created 4 years, 1 month 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/cmd_buffer_functions.txt ('k') | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/common/texture_in_use_response.h
diff --git a/gpu/command_buffer/common/texture_in_use_response.h b/gpu/command_buffer/common/texture_in_use_response.h
index b3e6d73f4025a413db7b2bfb133d01422e1f8f24..101ff9d061ebb821846a645fc5d25c5461a2fa94 100644
--- a/gpu/command_buffer/common/texture_in_use_response.h
+++ b/gpu/command_buffer/common/texture_in_use_response.h
@@ -10,6 +10,7 @@
#include <vector>
#include "gpu/gpu_export.h"
+#include "ui/gfx/gpu_memory_buffer.h"
namespace gpu {
@@ -17,7 +18,8 @@ namespace gpu {
// system compositor.
struct GPU_EXPORT TextureInUseResponse {
uint32_t texture = 0;
- bool in_use = false;
+ gfx::GpuMemoryBufferHandle gpu_memory_buffer_handle;
+ bool in_use_valid = false;
};
using TextureInUseResponses = std::vector<TextureInUseResponse>;
« no previous file with comments | « gpu/command_buffer/cmd_buffer_functions.txt ('k') | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698