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

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

Issue 331723003: gpu: Remove Create/DeleteImage IPC by adding an X11_PIXMAP_BUFFER GpuMemoryBuffer type. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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: content/common/gpu/gpu_messages.h
diff --git a/content/common/gpu/gpu_messages.h b/content/common/gpu/gpu_messages.h
index bd7a5d6ce7f1c3433630aca041b99f9d77cc78e8..5544231dc23061521d3788fba6d19b6d69d9a759 100644
--- a/content/common/gpu/gpu_messages.h
+++ b/content/common/gpu/gpu_messages.h
@@ -271,8 +271,10 @@ IPC_MESSAGE_CONTROL5(GpuMsg_CreateViewCommandBuffer,
// Tells the GPU process to create a new image from a window. Images
// can be bound to textures using CHROMIUM_texture_from_image.
-IPC_MESSAGE_CONTROL3(GpuMsg_CreateImage,
- gfx::PluginWindowHandle, /* window */
+IPC_MESSAGE_CONTROL5(GpuMsg_CreateImage,
+ gfx::GpuMemoryBufferHandle, /* handle */
+ gfx::Size, /* size */
+ uint32, /* internalformat */
int32, /* client_id */
int32 /* image_id */)
@@ -378,7 +380,7 @@ IPC_MESSAGE_CONTROL1(GpuHostMsg_DestroyCommandBuffer,
// Response from GPU to a GpuMsg_CreateImage message.
IPC_MESSAGE_CONTROL1(GpuHostMsg_ImageCreated,
- gfx::Size /* size */)
+ bool /* succeeded */)
// Response from GPU to a GpuMsg_CreateGpuMemoryBuffer message.
IPC_MESSAGE_CONTROL1(GpuHostMsg_GpuMemoryBufferCreated,

Powered by Google App Engine
This is Rietveld 408576698