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

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

Issue 2814843002: gpu: GPU service scheduler. (Closed)
Patch Set: fix test dcheck failures Created 3 years, 7 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/BUILD.gn ('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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 49
50 IPC_STRUCT_BEGIN(GPUCommandBufferConsoleMessage) 50 IPC_STRUCT_BEGIN(GPUCommandBufferConsoleMessage)
51 IPC_STRUCT_MEMBER(int32_t, id) 51 IPC_STRUCT_MEMBER(int32_t, id)
52 IPC_STRUCT_MEMBER(std::string, message) 52 IPC_STRUCT_MEMBER(std::string, message)
53 IPC_STRUCT_END() 53 IPC_STRUCT_END()
54 54
55 IPC_STRUCT_BEGIN(GPUCreateCommandBufferConfig) 55 IPC_STRUCT_BEGIN(GPUCreateCommandBufferConfig)
56 IPC_STRUCT_MEMBER(gpu::SurfaceHandle, surface_handle) 56 IPC_STRUCT_MEMBER(gpu::SurfaceHandle, surface_handle)
57 IPC_STRUCT_MEMBER(int32_t, share_group_id) 57 IPC_STRUCT_MEMBER(int32_t, share_group_id)
58 IPC_STRUCT_MEMBER(int32_t, stream_id) 58 IPC_STRUCT_MEMBER(int32_t, stream_id)
59 IPC_STRUCT_MEMBER(gpu::GpuStreamPriority, stream_priority) 59 IPC_STRUCT_MEMBER(gpu::SchedulingPriority, stream_priority)
60 IPC_STRUCT_MEMBER(gpu::gles2::ContextCreationAttribHelper, attribs) 60 IPC_STRUCT_MEMBER(gpu::gles2::ContextCreationAttribHelper, attribs)
61 IPC_STRUCT_MEMBER(GURL, active_url) 61 IPC_STRUCT_MEMBER(GURL, active_url)
62 IPC_STRUCT_END() 62 IPC_STRUCT_END()
63 63
64 IPC_STRUCT_BEGIN(GpuCommandBufferMsg_CreateImage_Params) 64 IPC_STRUCT_BEGIN(GpuCommandBufferMsg_CreateImage_Params)
65 IPC_STRUCT_MEMBER(int32_t, id) 65 IPC_STRUCT_MEMBER(int32_t, id)
66 IPC_STRUCT_MEMBER(gfx::GpuMemoryBufferHandle, gpu_memory_buffer) 66 IPC_STRUCT_MEMBER(gfx::GpuMemoryBufferHandle, gpu_memory_buffer)
67 IPC_STRUCT_MEMBER(gfx::Size, size) 67 IPC_STRUCT_MEMBER(gfx::Size, size)
68 IPC_STRUCT_MEMBER(gfx::BufferFormat, format) 68 IPC_STRUCT_MEMBER(gfx::BufferFormat, format)
69 IPC_STRUCT_MEMBER(uint32_t, internal_format) 69 IPC_STRUCT_MEMBER(uint32_t, internal_format)
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_DestroyImage, int32_t /* id */) 240 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_DestroyImage, int32_t /* id */)
241 241
242 // Attaches an external image stream to the client texture. 242 // Attaches an external image stream to the client texture.
243 IPC_SYNC_MESSAGE_ROUTED2_1(GpuCommandBufferMsg_CreateStreamTexture, 243 IPC_SYNC_MESSAGE_ROUTED2_1(GpuCommandBufferMsg_CreateStreamTexture,
244 uint32_t, /* client_texture_id */ 244 uint32_t, /* client_texture_id */
245 int32_t, /* stream_id */ 245 int32_t, /* stream_id */
246 bool /* succeeded */) 246 bool /* succeeded */)
247 247
248 // Start or stop VSync sygnal production on GPU side (Windows only). 248 // Start or stop VSync sygnal production on GPU side (Windows only).
249 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetNeedsVSync, bool /* needs_vsync */) 249 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetNeedsVSync, bool /* needs_vsync */)
OLDNEW
« no previous file with comments | « gpu/ipc/common/BUILD.gn ('k') | gpu/ipc/common/gpu_param_traits_macros.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698