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

Side by Side Diff: content/common/child_process_messages.h

Issue 1427413004: Revert of ui: Add custom stride support to GLImageMemory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Common IPC messages used for child processes. 5 // Common IPC messages used for child processes.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 IPC_STRUCT_TRAITS_END() 63 IPC_STRUCT_TRAITS_END()
64 64
65 IPC_ENUM_TRAITS_MAX_VALUE(gfx::GpuMemoryBufferType, 65 IPC_ENUM_TRAITS_MAX_VALUE(gfx::GpuMemoryBufferType,
66 gfx::GPU_MEMORY_BUFFER_TYPE_LAST) 66 gfx::GPU_MEMORY_BUFFER_TYPE_LAST)
67 67
68 IPC_STRUCT_TRAITS_BEGIN(gfx::GpuMemoryBufferHandle) 68 IPC_STRUCT_TRAITS_BEGIN(gfx::GpuMemoryBufferHandle)
69 IPC_STRUCT_TRAITS_MEMBER(id) 69 IPC_STRUCT_TRAITS_MEMBER(id)
70 IPC_STRUCT_TRAITS_MEMBER(type) 70 IPC_STRUCT_TRAITS_MEMBER(type)
71 IPC_STRUCT_TRAITS_MEMBER(handle) 71 IPC_STRUCT_TRAITS_MEMBER(handle)
72 IPC_STRUCT_TRAITS_MEMBER(offset) 72 IPC_STRUCT_TRAITS_MEMBER(offset)
73 IPC_STRUCT_TRAITS_MEMBER(stride)
74 #if defined(USE_OZONE) 73 #if defined(USE_OZONE)
75 IPC_STRUCT_TRAITS_MEMBER(native_pixmap_handle) 74 IPC_STRUCT_TRAITS_MEMBER(native_pixmap_handle)
76 #endif 75 #endif
77 IPC_STRUCT_TRAITS_END() 76 IPC_STRUCT_TRAITS_END()
78 77
79 IPC_STRUCT_TRAITS_BEGIN(gfx::GpuMemoryBufferId) 78 IPC_STRUCT_TRAITS_BEGIN(gfx::GpuMemoryBufferId)
80 IPC_STRUCT_TRAITS_MEMBER(id) 79 IPC_STRUCT_TRAITS_MEMBER(id)
81 IPC_STRUCT_TRAITS_END() 80 IPC_STRUCT_TRAITS_END()
82 81
83 #undef IPC_MESSAGE_EXPORT 82 #undef IPC_MESSAGE_EXPORT
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 IPC_SYNC_MESSAGE_CONTROL2_1( 218 IPC_SYNC_MESSAGE_CONTROL2_1(
220 ChildProcessHostMsg_SyncAllocateLockedDiscardableSharedMemory, 219 ChildProcessHostMsg_SyncAllocateLockedDiscardableSharedMemory,
221 uint32 /* size */, 220 uint32 /* size */,
222 content::DiscardableSharedMemoryId, 221 content::DiscardableSharedMemoryId,
223 base::SharedMemoryHandle) 222 base::SharedMemoryHandle)
224 223
225 // Informs the browser that the child deleted a block of discardable shared 224 // Informs the browser that the child deleted a block of discardable shared
226 // memory. 225 // memory.
227 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedDiscardableSharedMemory, 226 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedDiscardableSharedMemory,
228 content::DiscardableSharedMemoryId) 227 content::DiscardableSharedMemoryId)
OLDNEW
« no previous file with comments | « content/browser/gpu/browser_gpu_memory_buffer_manager.cc ('k') | content/common/gpu/client/gpu_channel_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698