OLD | NEW |
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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 GLint max_fragment_uniform_vectors; | 141 GLint max_fragment_uniform_vectors; |
142 GLint max_renderbuffer_size; | 142 GLint max_renderbuffer_size; |
143 GLint max_texture_image_units; | 143 GLint max_texture_image_units; |
144 GLint max_texture_size; | 144 GLint max_texture_size; |
145 GLint max_varying_vectors; | 145 GLint max_varying_vectors; |
146 GLint max_vertex_attribs; | 146 GLint max_vertex_attribs; |
147 GLint max_vertex_texture_image_units; | 147 GLint max_vertex_texture_image_units; |
148 GLint max_vertex_uniform_vectors; | 148 GLint max_vertex_uniform_vectors; |
149 GLint num_compressed_texture_formats; | 149 GLint num_compressed_texture_formats; |
150 GLint num_shader_binary_formats; | 150 GLint num_shader_binary_formats; |
| 151 GLint bind_generates_resource_chromium; |
151 }; | 152 }; |
152 IntState int_state; | 153 IntState int_state; |
153 | 154 |
154 typedef std::pair<GLenum,GLenum> ShaderPrecisionKey; | 155 typedef std::pair<GLenum,GLenum> ShaderPrecisionKey; |
155 typedef std::map<ShaderPrecisionKey, | 156 typedef std::map<ShaderPrecisionKey, |
156 cmds::GetShaderPrecisionFormat::Result> | 157 cmds::GetShaderPrecisionFormat::Result> |
157 ShaderPrecisionMap; | 158 ShaderPrecisionMap; |
158 ShaderPrecisionMap shader_precisions; | 159 ShaderPrecisionMap shader_precisions; |
159 }; | 160 }; |
160 | 161 |
(...skipping 643 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
804 | 805 |
805 inline bool GLES2Implementation::GetTexParameterivHelper( | 806 inline bool GLES2Implementation::GetTexParameterivHelper( |
806 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { | 807 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { |
807 return false; | 808 return false; |
808 } | 809 } |
809 | 810 |
810 } // namespace gles2 | 811 } // namespace gles2 |
811 } // namespace gpu | 812 } // namespace gpu |
812 | 813 |
813 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ | 814 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ |
OLD | NEW |