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

Unified Diff: content/common/gpu/gpu_messages.h

Issue 255713008: Change glimage to accept a type. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Build Created 6 years, 8 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: content/common/gpu/gpu_messages.h
diff --git a/content/common/gpu/gpu_messages.h b/content/common/gpu/gpu_messages.h
index d304367f2aa1ea82b4fc5a825cfa8a4d5451859d..f754718b7feae0cb3d0ae30294e1d51711a31f21 100644
--- a/content/common/gpu/gpu_messages.h
+++ b/content/common/gpu/gpu_messages.h
@@ -132,6 +132,15 @@ IPC_STRUCT_BEGIN(GpuStreamTextureMsg_MatrixChanged_Params)
IPC_STRUCT_END()
#endif
+IPC_STRUCT_BEGIN(GpuCommandBufferMsg_RegisterGpuMemoryBuffer_Params)
+ IPC_STRUCT_MEMBER(int32, id)
+ IPC_STRUCT_MEMBER(gfx::GpuMemoryBufferHandle, gpu_memory_buffer)
+ IPC_STRUCT_MEMBER(uint32, width)
+ IPC_STRUCT_MEMBER(uint32, height)
+ IPC_STRUCT_MEMBER(uint32, internalformat)
+ IPC_STRUCT_MEMBER(uint32, usage)
+IPC_STRUCT_END()
+
IPC_STRUCT_TRAITS_BEGIN(gpu::DxDiagNode)
IPC_STRUCT_TRAITS_MEMBER(values)
IPC_STRUCT_TRAITS_MEMBER(children)
@@ -638,12 +647,8 @@ IPC_MESSAGE_ROUTED2(GpuCommandBufferMsg_SignalQuery,
// Register an existing gpu memory buffer. The id that can be
// used to identify the gpu memory buffer from a command buffer.
-IPC_MESSAGE_ROUTED5(GpuCommandBufferMsg_RegisterGpuMemoryBuffer,
- int32 /* id */,
- gfx::GpuMemoryBufferHandle /* gpu_memory_buffer */,
- uint32 /* width */,
- uint32 /* height */,
- uint32 /* internalformat */)
+IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_RegisterGpuMemoryBuffer,
+ GpuCommandBufferMsg_RegisterGpuMemoryBuffer_Params)
// Destroy a previously created gpu memory buffer.
IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_DestroyGpuMemoryBuffer,

Powered by Google App Engine
This is Rietveld 408576698