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

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

Issue 546026: Adds unit tests for glDrawArrays and glDrawBuffers... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 11 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/service/gles2_cmd_validation_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) 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_IMPLEMENTATION_AUTOGEN_H _ 7 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGEN_H _
8 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGEN_H _ 8 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGEN_H _
9 9
10 bool ValidateGLenumBufferParameter(GLenum value) { 10 bool ValidateGLenumBufferParameter(GLenum value) {
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 case GL_RENDERER: 293 case GL_RENDERER:
294 case GL_VERSION: 294 case GL_VERSION:
295 case GL_SHADING_LANGUAGE_VERSION: 295 case GL_SHADING_LANGUAGE_VERSION:
296 case GL_EXTENSIONS: 296 case GL_EXTENSIONS:
297 return true; 297 return true;
298 default: 298 default:
299 return false; 299 return false;
300 } 300 }
301 } 301 }
302 302
303 bool ValidateGLintTextureBorder(GLenum value) {
304 switch (value) {
305 case 0:
306 return true;
307 default:
308 return false;
309 }
310 }
311
303 bool ValidateGLenumFrameBufferTarget(GLenum value) { 312 bool ValidateGLenumFrameBufferTarget(GLenum value) {
304 switch (value) { 313 switch (value) {
305 case GL_FRAMEBUFFER: 314 case GL_FRAMEBUFFER:
306 return true; 315 return true;
307 default: 316 default:
308 return false; 317 return false;
309 } 318 }
310 } 319 }
311 320
312 bool ValidateGLbooleanFalse(GLenum value) { 321 bool ValidateGLbooleanFalse(GLenum value) {
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
495 switch (value) { 504 switch (value) {
496 case GL_VERTEX_ATTRIB_ARRAY_POINTER: 505 case GL_VERTEX_ATTRIB_ARRAY_POINTER:
497 return true; 506 return true;
498 default: 507 default:
499 return false; 508 return false;
500 } 509 }
501 } 510 }
502 511
503 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGE N_H_ 512 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGE N_H_
504 513
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_validation_autogen.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698