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

Side by Side Diff: gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h

Issue 10735038: Fix glGetTexParameter so it works for TEXTURE_CUBE_MAP (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | « gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h ('k') | no next file » | 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) 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 // This file is auto-generated from 5 // This file is auto-generated from
6 // gpu/command_buffer/build_gles2_cmd_buffer.py 6 // gpu/command_buffer/build_gles2_cmd_buffer.py
7 // DO NOT EDIT! 7 // DO NOT EDIT!
8 8
9 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGEN_H _ // NOLINT 9 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGEN_H _ // NOLINT
10 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGEN_H _ // NOLINT 10 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGEN_H _ // NOLINT
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 }; 209 };
210 210
211 static GLenum valid_get_max_index_type_table[] = { 211 static GLenum valid_get_max_index_type_table[] = {
212 GL_UNSIGNED_BYTE, 212 GL_UNSIGNED_BYTE,
213 GL_UNSIGNED_SHORT, 213 GL_UNSIGNED_SHORT,
214 GL_UNSIGNED_INT, 214 GL_UNSIGNED_INT,
215 }; 215 };
216 216
217 static GLenum valid_get_tex_param_target_table[] = { 217 static GLenum valid_get_tex_param_target_table[] = {
218 GL_TEXTURE_2D, 218 GL_TEXTURE_2D,
219 GL_TEXTURE_CUBE_MAP_POSITIVE_X, 219 GL_TEXTURE_CUBE_MAP,
220 GL_TEXTURE_CUBE_MAP_NEGATIVE_X,
221 GL_TEXTURE_CUBE_MAP_POSITIVE_Y,
222 GL_TEXTURE_CUBE_MAP_NEGATIVE_Y,
223 GL_TEXTURE_CUBE_MAP_POSITIVE_Z,
224 GL_TEXTURE_CUBE_MAP_NEGATIVE_Z,
225 }; 220 };
226 221
227 static GLenum valid_hint_mode_table[] = { 222 static GLenum valid_hint_mode_table[] = {
228 GL_FASTEST, 223 GL_FASTEST,
229 GL_NICEST, 224 GL_NICEST,
230 GL_DONT_CARE, 225 GL_DONT_CARE,
231 }; 226 };
232 227
233 static GLenum valid_hint_target_table[] = { 228 static GLenum valid_hint_target_table[] = {
234 GL_GENERATE_MIPMAP_HINT, 229 GL_GENERATE_MIPMAP_HINT,
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after
632 valid_vertex_attribute_table, arraysize( 627 valid_vertex_attribute_table, arraysize(
633 valid_vertex_attribute_table)), 628 valid_vertex_attribute_table)),
634 vertex_pointer( 629 vertex_pointer(
635 valid_vertex_pointer_table, arraysize(valid_vertex_pointer_table)), 630 valid_vertex_pointer_table, arraysize(valid_vertex_pointer_table)),
636 zero_only( 631 zero_only(
637 valid_zero_only_table, arraysize(valid_zero_only_table)) { 632 valid_zero_only_table, arraysize(valid_zero_only_table)) {
638 } 633 }
639 634
640 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGE N_H_ // NOLINT 635 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGE N_H_ // NOLINT
641 636
OLDNEW
« no previous file with comments | « gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698