Chromium Code Reviews

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

Issue 2689006: Refactor validation code so it can be modified at runtime.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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. DO NOT EDIT! 5 // This file is auto-generated. DO NOT EDIT!
6 6
7 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_AUTOGEN_H_ 7 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_AUTOGEN_H_
8 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_AUTOGEN_H_ 8 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_AUTOGEN_H_
9 9
10 bool ValidateGLenumAttachment(GLenum value); 10 ValueValidator<GLenum> attachment;
11 bool ValidateGLenumBufferParameter(GLenum value); 11 ValueValidator<GLenum> buffer_parameter;
12 bool ValidateGLenumBufferTarget(GLenum value); 12 ValueValidator<GLenum> buffer_target;
13 bool ValidateGLenumBufferUsage(GLenum value); 13 ValueValidator<GLenum> buffer_usage;
14 bool ValidateGLenumCapability(GLenum value); 14 ValueValidator<GLenum> capability;
15 bool ValidateGLenumCmpFunction(GLenum value); 15 ValueValidator<GLenum> cmp_function;
16 bool ValidateGLenumCompressedTextureFormat(GLenum value); 16 ValueValidator<GLenum> compressed_texture_format;
17 bool ValidateGLenumDrawMode(GLenum value); 17 ValueValidator<GLenum> draw_mode;
18 bool ValidateGLenumDstBlendFactor(GLenum value); 18 ValueValidator<GLenum> dst_blend_factor;
19 bool ValidateGLenumEquation(GLenum value); 19 ValueValidator<GLenum> equation;
20 bool ValidateGLenumFaceMode(GLenum value); 20 ValueValidator<GLenum> face_mode;
21 bool ValidateGLenumFaceType(GLenum value); 21 ValueValidator<GLenum> face_type;
22 bool ValidateGLbooleanFalse(GLenum value); 22 ValueValidator<GLboolean> false_only;
23 bool ValidateGLenumFrameBufferParameter(GLenum value); 23 ValueValidator<GLenum> frame_buffer_parameter;
24 bool ValidateGLenumFrameBufferTarget(GLenum value); 24 ValueValidator<GLenum> frame_buffer_target;
25 bool ValidateGLenumGLState(GLenum value); 25 ValueValidator<GLenum> g_l_state;
26 bool ValidateGLenumGetMaxIndexType(GLenum value); 26 ValueValidator<GLenum> get_max_index_type;
27 bool ValidateGLenumHintMode(GLenum value); 27 ValueValidator<GLenum> hint_mode;
28 bool ValidateGLenumHintTarget(GLenum value); 28 ValueValidator<GLenum> hint_target;
29 bool ValidateGLenumIndexType(GLenum value); 29 ValueValidator<GLenum> index_type;
30 bool ValidateGLenumPixelStore(GLenum value); 30 ValueValidator<GLenum> pixel_store;
31 bool ValidateGLintPixelStoreAlignment(GLenum value); 31 ValueValidator<GLint> pixel_store_alignment;
32 bool ValidateGLenumPixelType(GLenum value); 32 ValueValidator<GLenum> pixel_type;
33 bool ValidateGLenumProgramParameter(GLenum value); 33 ValueValidator<GLenum> program_parameter;
34 bool ValidateGLenumReadPixelFormat(GLenum value); 34 ValueValidator<GLenum> read_pixel_format;
35 bool ValidateGLenumRenderBufferFormat(GLenum value); 35 ValueValidator<GLenum> render_buffer_format;
36 bool ValidateGLenumRenderBufferParameter(GLenum value); 36 ValueValidator<GLenum> render_buffer_parameter;
37 bool ValidateGLenumRenderBufferTarget(GLenum value); 37 ValueValidator<GLenum> render_buffer_target;
38 bool ValidateGLenumShaderParameter(GLenum value); 38 ValueValidator<GLenum> shader_parameter;
39 bool ValidateGLenumShaderPrecision(GLenum value); 39 ValueValidator<GLenum> shader_precision;
40 bool ValidateGLenumShaderType(GLenum value); 40 ValueValidator<GLenum> shader_type;
41 bool ValidateGLenumSrcBlendFactor(GLenum value); 41 ValueValidator<GLenum> src_blend_factor;
42 bool ValidateGLenumStencilOp(GLenum value); 42 ValueValidator<GLenum> stencil_op;
43 bool ValidateGLenumStringType(GLenum value); 43 ValueValidator<GLenum> string_type;
44 bool ValidateGLenumTextureBindTarget(GLenum value); 44 ValueValidator<GLenum> texture_bind_target;
45 bool ValidateGLintTextureBorder(GLenum value); 45 ValueValidator<GLint> texture_border;
46 bool ValidateGLenumTextureFormat(GLenum value); 46 ValueValidator<GLenum> texture_format;
47 bool ValidateGLenumTextureParameter(GLenum value); 47 ValueValidator<GLenum> texture_parameter;
48 bool ValidateGLenumTextureTarget(GLenum value); 48 ValueValidator<GLenum> texture_target;
49 bool ValidateGLintVertexAttribSize(GLenum value); 49 ValueValidator<GLint> vertex_attrib_size;
50 bool ValidateGLenumVertexAttribType(GLenum value); 50 ValueValidator<GLenum> vertex_attrib_type;
51 bool ValidateGLenumVertexAttribute(GLenum value); 51 ValueValidator<GLenum> vertex_attribute;
52 bool ValidateGLenumVertexPointer(GLenum value); 52 ValueValidator<GLenum> vertex_pointer;
53 53
54 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_AUTOGEN_H_ 54 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_AUTOGEN_H_
55 55
OLDNEW

Powered by Google App Engine