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

Side by Side Diff: ppapi/proxy/resource_creation_proxy.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_PROXY_RESOURCE_CREATION_PROXY_H_ 5 #ifndef PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_
6 #define PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ 6 #define PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 const PP_Size* size, 114 const PP_Size* size,
115 PP_Bool is_always_opaque) override; 115 PP_Bool is_always_opaque) override;
116 PP_Resource CreateGraphics3D(PP_Instance instance, 116 PP_Resource CreateGraphics3D(PP_Instance instance,
117 PP_Resource share_context, 117 PP_Resource share_context,
118 const int32_t* attrib_list) override; 118 const int32_t* attrib_list) override;
119 PP_Resource CreateGraphics3DRaw( 119 PP_Resource CreateGraphics3DRaw(
120 PP_Instance instance, 120 PP_Instance instance,
121 PP_Resource share_context, 121 PP_Resource share_context,
122 const int32_t* attrib_list, 122 const int32_t* attrib_list,
123 gpu::Capabilities* capabilities, 123 gpu::Capabilities* capabilities,
124 base::SharedMemoryHandle* shared_state) override; 124 base::SharedMemoryHandle* shared_state,
125 uint64_t* command_buffer_id) override;
125 PP_Resource CreateHostResolver(PP_Instance instance) override; 126 PP_Resource CreateHostResolver(PP_Instance instance) override;
126 PP_Resource CreateHostResolverPrivate(PP_Instance instance) override; 127 PP_Resource CreateHostResolverPrivate(PP_Instance instance) override;
127 PP_Resource CreateImageData(PP_Instance instance, 128 PP_Resource CreateImageData(PP_Instance instance,
128 PP_ImageDataFormat format, 129 PP_ImageDataFormat format,
129 const PP_Size* size, 130 const PP_Size* size,
130 PP_Bool init_to_zero) override; 131 PP_Bool init_to_zero) override;
131 PP_Resource CreateImageDataSimple(PP_Instance instance, 132 PP_Resource CreateImageDataSimple(PP_Instance instance,
132 PP_ImageDataFormat format, 133 PP_ImageDataFormat format,
133 const PP_Size* size, 134 const PP_Size* size,
134 PP_Bool init_to_zero) override; 135 PP_Bool init_to_zero) override;
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 186
186 private: 187 private:
187 Connection GetConnection(); 188 Connection GetConnection();
188 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); 189 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy);
189 }; 190 };
190 191
191 } // namespace proxy 192 } // namespace proxy
192 } // namespace ppapi 193 } // namespace ppapi
193 194
194 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ 195 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698