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

Unified Diff: ppapi/proxy/ppb_context_3d_proxy.h

Issue 7623018: Move host resource from the proxy to the shared_impl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments addressed Created 9 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/proxy/ppb_buffer_proxy.cc ('k') | ppapi/proxy/ppb_context_3d_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppb_context_3d_proxy.h
diff --git a/ppapi/proxy/ppb_context_3d_proxy.h b/ppapi/proxy/ppb_context_3d_proxy.h
index ec9ece21e668cfd45067d8dfdbcc33c16607a3e3..017c2a111901c0083abade5037ee96ffa4df7557 100644
--- a/ppapi/proxy/ppb_context_3d_proxy.h
+++ b/ppapi/proxy/ppb_context_3d_proxy.h
@@ -37,7 +37,7 @@ class Surface3D;
class Context3D : public PluginResource,
public ppapi::thunk::PPB_Context3D_API {
public:
- explicit Context3D(const HostResource& resource);
+ explicit Context3D(const ppapi::HostResource& resource);
virtual ~Context3D();
// ResourceObjectBase overrides.
@@ -112,28 +112,28 @@ class PPB_Context3D_Proxy : public InterfaceProxy {
void OnMsgCreate(PP_Instance instance,
PP_Config3D_Dev config,
const std::vector<int32_t>& attribs,
- HostResource* result);
- void OnMsgBindSurfaces(const HostResource& context,
- const HostResource& draw,
- const HostResource& read,
+ ppapi::HostResource* result);
+ void OnMsgBindSurfaces(const ppapi::HostResource& context,
+ const ppapi::HostResource& draw,
+ const ppapi::HostResource& read,
int32_t* result);
- void OnMsgInitialize(const HostResource& context,
+ void OnMsgInitialize(const ppapi::HostResource& context,
int32 size,
base::SharedMemoryHandle* ring_buffer);
- void OnMsgGetState(const HostResource& context,
+ void OnMsgGetState(const ppapi::HostResource& context,
gpu::CommandBuffer::State* state);
- void OnMsgFlush(const HostResource& context,
+ void OnMsgFlush(const ppapi::HostResource& context,
int32 put_offset,
int32 last_known_get,
gpu::CommandBuffer::State* state);
- void OnMsgAsyncFlush(const HostResource& context,
+ void OnMsgAsyncFlush(const ppapi::HostResource& context,
int32 put_offset);
- void OnMsgCreateTransferBuffer(const HostResource& context,
+ void OnMsgCreateTransferBuffer(const ppapi::HostResource& context,
int32 size,
int32* id);
- void OnMsgDestroyTransferBuffer(const HostResource& context,
+ void OnMsgDestroyTransferBuffer(const ppapi::HostResource& context,
int32 id);
- void OnMsgGetTransferBuffer(const HostResource& context,
+ void OnMsgGetTransferBuffer(const ppapi::HostResource& context,
int32 id,
base::SharedMemoryHandle* transfer_buffer,
uint32* size);
« no previous file with comments | « ppapi/proxy/ppb_buffer_proxy.cc ('k') | ppapi/proxy/ppb_context_3d_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698