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

Side by Side Diff: ppapi/proxy/ppb_context_3d_proxy.h

Issue 7409003: Binding Graphics3D with Instance and OpenGLES2 interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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 | Annotate | Revision Log
« no previous file with comments | « ppapi/ppapi_shared.gypi ('k') | ppapi/proxy/ppb_context_3d_proxy.cc » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_PPB_CONTEXT_3D_PROXY_H_ 5 #ifndef PPAPI_PROXY_PPB_CONTEXT_3D_PROXY_H_
6 #define PPAPI_PROXY_PPB_CONTEXT_3D_PROXY_H_ 6 #define PPAPI_PROXY_PPB_CONTEXT_3D_PROXY_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/shared_memory.h" 10 #include "base/shared_memory.h"
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 virtual void* MapTexSubImage2DCHROMIUM(GLenum target, 69 virtual void* MapTexSubImage2DCHROMIUM(GLenum target,
70 GLint level, 70 GLint level,
71 GLint xoffset, 71 GLint xoffset,
72 GLint yoffset, 72 GLint yoffset,
73 GLsizei width, 73 GLsizei width,
74 GLsizei height, 74 GLsizei height,
75 GLenum format, 75 GLenum format,
76 GLenum type, 76 GLenum type,
77 GLenum access) OVERRIDE; 77 GLenum access) OVERRIDE;
78 virtual void UnmapTexSubImage2DCHROMIUM(const void* mem) OVERRIDE; 78 virtual void UnmapTexSubImage2DCHROMIUM(const void* mem) OVERRIDE;
79 virtual gpu::gles2::GLES2Implementation* GetGLES2Impl() OVERRIDE;
79 80
80 bool CreateImplementation(); 81 bool CreateImplementation();
81 82
82 private: 83 private:
83 Surface3D* draw_; 84 Surface3D* draw_;
84 Surface3D* read_; 85 Surface3D* read_;
85 86
86 scoped_ptr<gpu::CommandBuffer> command_buffer_; 87 scoped_ptr<gpu::CommandBuffer> command_buffer_;
87 scoped_ptr<gpu::gles2::GLES2CmdHelper> helper_; 88 scoped_ptr<gpu::gles2::GLES2CmdHelper> helper_;
88 int32 transfer_buffer_id_; 89 int32 transfer_buffer_id_;
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 void OnMsgGetTransferBuffer(const HostResource& context, 136 void OnMsgGetTransferBuffer(const HostResource& context,
136 int32 id, 137 int32 id,
137 base::SharedMemoryHandle* transfer_buffer, 138 base::SharedMemoryHandle* transfer_buffer,
138 uint32* size); 139 uint32* size);
139 }; 140 };
140 141
141 } // namespace proxy 142 } // namespace proxy
142 } // namespace pp 143 } // namespace pp
143 144
144 #endif // PPAPI_PROXY_PPB_CONTEXT_3D_PROXY_H_ 145 #endif // PPAPI_PROXY_PPB_CONTEXT_3D_PROXY_H_
OLDNEW
« no previous file with comments | « ppapi/ppapi_shared.gypi ('k') | ppapi/proxy/ppb_context_3d_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698