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

Side by Side Diff: gpu/ipc/common/gpu_messages.h

Issue 2106103005: Revert of Pass initial size and GPU preference via context attributes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 unified diff | Download patch
« no previous file with comments | « gpu/ipc/common/OWNERS ('k') | gpu/ipc/common/gpu_param_traits_macros.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // Multiply-included message file, hence no include guard here, but see below 5 // Multiply-included message file, hence no include guard here, but see below
6 // for a much smaller-than-usual include guard section. 6 // for a much smaller-than-usual include guard section.
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 48
49 #define IPC_MESSAGE_START GpuChannelMsgStart 49 #define IPC_MESSAGE_START GpuChannelMsgStart
50 50
51 IPC_STRUCT_BEGIN(GPUCommandBufferConsoleMessage) 51 IPC_STRUCT_BEGIN(GPUCommandBufferConsoleMessage)
52 IPC_STRUCT_MEMBER(int32_t, id) 52 IPC_STRUCT_MEMBER(int32_t, id)
53 IPC_STRUCT_MEMBER(std::string, message) 53 IPC_STRUCT_MEMBER(std::string, message)
54 IPC_STRUCT_END() 54 IPC_STRUCT_END()
55 55
56 IPC_STRUCT_BEGIN(GPUCreateCommandBufferConfig) 56 IPC_STRUCT_BEGIN(GPUCreateCommandBufferConfig)
57 IPC_STRUCT_MEMBER(gpu::SurfaceHandle, surface_handle) 57 IPC_STRUCT_MEMBER(gpu::SurfaceHandle, surface_handle)
58 IPC_STRUCT_MEMBER(gfx::Size, size)
58 IPC_STRUCT_MEMBER(int32_t, share_group_id) 59 IPC_STRUCT_MEMBER(int32_t, share_group_id)
59 IPC_STRUCT_MEMBER(int32_t, stream_id) 60 IPC_STRUCT_MEMBER(int32_t, stream_id)
60 IPC_STRUCT_MEMBER(gpu::GpuStreamPriority, stream_priority) 61 IPC_STRUCT_MEMBER(gpu::GpuStreamPriority, stream_priority)
61 IPC_STRUCT_MEMBER(gpu::gles2::ContextCreationAttribHelper, attribs) 62 IPC_STRUCT_MEMBER(gpu::gles2::ContextCreationAttribHelper, attribs)
62 IPC_STRUCT_MEMBER(GURL, active_url) 63 IPC_STRUCT_MEMBER(GURL, active_url)
64 IPC_STRUCT_MEMBER(gl::GpuPreference, gpu_preference)
63 IPC_STRUCT_END() 65 IPC_STRUCT_END()
64 66
65 IPC_STRUCT_BEGIN(GpuCommandBufferMsg_CreateImage_Params) 67 IPC_STRUCT_BEGIN(GpuCommandBufferMsg_CreateImage_Params)
66 IPC_STRUCT_MEMBER(int32_t, id) 68 IPC_STRUCT_MEMBER(int32_t, id)
67 IPC_STRUCT_MEMBER(gfx::GpuMemoryBufferHandle, gpu_memory_buffer) 69 IPC_STRUCT_MEMBER(gfx::GpuMemoryBufferHandle, gpu_memory_buffer)
68 IPC_STRUCT_MEMBER(gfx::Size, size) 70 IPC_STRUCT_MEMBER(gfx::Size, size)
69 IPC_STRUCT_MEMBER(gfx::BufferFormat, format) 71 IPC_STRUCT_MEMBER(gfx::BufferFormat, format)
70 IPC_STRUCT_MEMBER(uint32_t, internal_format) 72 IPC_STRUCT_MEMBER(uint32_t, internal_format)
71 IPC_STRUCT_MEMBER(uint64_t, image_release_count) 73 IPC_STRUCT_MEMBER(uint64_t, image_release_count)
72 IPC_STRUCT_END() 74 IPC_STRUCT_END()
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 GpuCommandBufferMsg_CreateImage_Params /* params */) 242 GpuCommandBufferMsg_CreateImage_Params /* params */)
241 243
242 // Destroy a previously created image. 244 // Destroy a previously created image.
243 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_DestroyImage, int32_t /* id */) 245 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_DestroyImage, int32_t /* id */)
244 246
245 // Attaches an external image stream to the client texture. 247 // Attaches an external image stream to the client texture.
246 IPC_SYNC_MESSAGE_ROUTED2_1(GpuCommandBufferMsg_CreateStreamTexture, 248 IPC_SYNC_MESSAGE_ROUTED2_1(GpuCommandBufferMsg_CreateStreamTexture,
247 uint32_t, /* client_texture_id */ 249 uint32_t, /* client_texture_id */
248 int32_t, /* stream_id */ 250 int32_t, /* stream_id */
249 bool /* succeeded */) 251 bool /* succeeded */)
OLDNEW
« no previous file with comments | « gpu/ipc/common/OWNERS ('k') | gpu/ipc/common/gpu_param_traits_macros.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698