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

Side by Side Diff: gpu/command_buffer/client/gles2_implementation.h

Issue 205193006: gpu: Remove map_image field from gpu::Capabilities. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move TODO Created 6 years, 9 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
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 GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ 5 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_
6 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ 6 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_
7 7
8 #include <GLES2/gl2.h> 8 #include <GLES2/gl2.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 static const GLuint kClientSideElementArrayId = 0xFEDCBA99u; 178 static const GLuint kClientSideElementArrayId = 0xFEDCBA99u;
179 179
180 // Number of swap buffers allowed before waiting. 180 // Number of swap buffers allowed before waiting.
181 static const size_t kMaxSwapBuffers = 2; 181 static const size_t kMaxSwapBuffers = 2;
182 182
183 GLES2Implementation( 183 GLES2Implementation(
184 GLES2CmdHelper* helper, 184 GLES2CmdHelper* helper,
185 ShareGroup* share_group, 185 ShareGroup* share_group,
186 TransferBufferInterface* transfer_buffer, 186 TransferBufferInterface* transfer_buffer,
187 bool bind_generates_resource, 187 bool bind_generates_resource,
188 GpuControl* gpu_control); 188 GpuControl* gpu_control,
189 const Capabilities& capabilities);
189 190
190 virtual ~GLES2Implementation(); 191 virtual ~GLES2Implementation();
191 192
192 bool Initialize( 193 bool Initialize(
193 unsigned int starting_transfer_buffer_size, 194 unsigned int starting_transfer_buffer_size,
194 unsigned int min_transfer_buffer_size, 195 unsigned int min_transfer_buffer_size,
195 unsigned int max_transfer_buffer_size, 196 unsigned int max_transfer_buffer_size,
196 unsigned int mapped_memory_limit); 197 unsigned int mapped_memory_limit);
197 198
198 // The GLES2CmdHelper being used by this GLES2Implementation. You can use 199 // The GLES2CmdHelper being used by this GLES2Implementation. You can use
(...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after
755 756
756 inline bool GLES2Implementation::GetTexParameterivHelper( 757 inline bool GLES2Implementation::GetTexParameterivHelper(
757 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { 758 GLenum /* target */, GLenum /* pname */, GLint* /* params */) {
758 return false; 759 return false;
759 } 760 }
760 761
761 } // namespace gles2 762 } // namespace gles2
762 } // namespace gpu 763 } // namespace gpu
763 764
764 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ 765 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/gl_in_process_context.cc ('k') | gpu/command_buffer/client/gles2_implementation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698