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 #if defined(OS_CHROMEOS) |
| 152 GLint bind_generates_resource_chromium; |
| 153 #endif |
151 }; | 154 }; |
152 IntState int_state; | 155 IntState int_state; |
153 | 156 |
154 typedef std::pair<GLenum,GLenum> ShaderPrecisionKey; | 157 typedef std::pair<GLenum,GLenum> ShaderPrecisionKey; |
155 typedef std::map<ShaderPrecisionKey, | 158 typedef std::map<ShaderPrecisionKey, |
156 cmds::GetShaderPrecisionFormat::Result> | 159 cmds::GetShaderPrecisionFormat::Result> |
157 ShaderPrecisionMap; | 160 ShaderPrecisionMap; |
158 ShaderPrecisionMap shader_precisions; | 161 ShaderPrecisionMap shader_precisions; |
159 }; | 162 }; |
160 | 163 |
(...skipping 599 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
760 | 763 |
761 inline bool GLES2Implementation::GetTexParameterivHelper( | 764 inline bool GLES2Implementation::GetTexParameterivHelper( |
762 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { | 765 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { |
763 return false; | 766 return false; |
764 } | 767 } |
765 | 768 |
766 } // namespace gles2 | 769 } // namespace gles2 |
767 } // namespace gpu | 770 } // namespace gpu |
768 | 771 |
769 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ | 772 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ |
OLD | NEW |