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

Side by Side Diff: ppapi/thunk/resource_creation_api.h

Issue 1345813002: Added a unique command buffer ID for command buffers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added NamespaceID and CommandBufferID for CommandBufferLocal Created 5 years, 3 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
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 #ifndef PPAPI_THUNK_RESOURCE_CREATION_API_H_ 5 #ifndef PPAPI_THUNK_RESOURCE_CREATION_API_H_
6 #define PPAPI_THUNK_RESOURCE_CREATION_API_H_ 6 #define PPAPI_THUNK_RESOURCE_CREATION_API_H_
7 7
8 #include "base/memory/shared_memory.h" 8 #include "base/memory/shared_memory.h"
9 #include "ppapi/c/dev/pp_video_dev.h" 9 #include "ppapi/c/dev/pp_video_dev.h"
10 #include "ppapi/c/dev/ppb_file_chooser_dev.h" 10 #include "ppapi/c/dev/ppb_file_chooser_dev.h"
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 const PP_Size* size, 133 const PP_Size* size,
134 PP_Bool is_always_opaque) = 0; 134 PP_Bool is_always_opaque) = 0;
135 virtual PP_Resource CreateGraphics3D(PP_Instance instance, 135 virtual PP_Resource CreateGraphics3D(PP_Instance instance,
136 PP_Resource share_context, 136 PP_Resource share_context,
137 const int32_t* attrib_list) = 0; 137 const int32_t* attrib_list) = 0;
138 virtual PP_Resource CreateGraphics3DRaw( 138 virtual PP_Resource CreateGraphics3DRaw(
139 PP_Instance instance, 139 PP_Instance instance,
140 PP_Resource share_context, 140 PP_Resource share_context,
141 const int32_t* attrib_list, 141 const int32_t* attrib_list,
142 gpu::Capabilities* capabilities, 142 gpu::Capabilities* capabilities,
143 base::SharedMemoryHandle* shared_state) = 0; 143 base::SharedMemoryHandle* shared_state,
144 uint64_t* command_buffer_id) = 0;
144 virtual PP_Resource CreateHostResolver(PP_Instance instance) = 0; 145 virtual PP_Resource CreateHostResolver(PP_Instance instance) = 0;
145 virtual PP_Resource CreateHostResolverPrivate(PP_Instance instance) = 0; 146 virtual PP_Resource CreateHostResolverPrivate(PP_Instance instance) = 0;
146 virtual PP_Resource CreateImageData(PP_Instance instance, 147 virtual PP_Resource CreateImageData(PP_Instance instance,
147 PP_ImageDataFormat format, 148 PP_ImageDataFormat format,
148 const PP_Size* size, 149 const PP_Size* size,
149 PP_Bool init_to_zero) = 0; 150 PP_Bool init_to_zero) = 0;
150 virtual PP_Resource CreateImageDataSimple(PP_Instance instance, 151 virtual PP_Resource CreateImageDataSimple(PP_Instance instance,
151 PP_ImageDataFormat format, 152 PP_ImageDataFormat format,
152 const PP_Size* size, 153 const PP_Size* size,
153 PP_Bool init_to_zero) = 0; 154 PP_Bool init_to_zero) = 0;
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 PP_VideoDecoder_Profile profile) = 0; 201 PP_VideoDecoder_Profile profile) = 0;
201 #endif // !defined(OS_NACL) 202 #endif // !defined(OS_NACL)
202 203
203 static const ApiID kApiID = API_ID_RESOURCE_CREATION; 204 static const ApiID kApiID = API_ID_RESOURCE_CREATION;
204 }; 205 };
205 206
206 } // namespace thunk 207 } // namespace thunk
207 } // namespace ppapi 208 } // namespace ppapi
208 209
209 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ 210 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_
OLDNEW
« gpu/command_buffer/common/constants.h ('K') | « ppapi/proxy/resource_creation_proxy.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698