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

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

Issue 6028005: Make CopyTexImage2D and CopyTexSubImage2D fail if... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 _ // NOLINT 7 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGEN_H _ // NOLINT
8 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGEN_H _ // NOLINT 8 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGEN_H _ // NOLINT
9 9
10 static GLenum valid_attachment_table[] = { 10 static GLenum valid_attachment_table[] = {
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 GL_VERTEX_ATTRIB_ARRAY_SIZE, 408 GL_VERTEX_ATTRIB_ARRAY_SIZE,
409 GL_VERTEX_ATTRIB_ARRAY_STRIDE, 409 GL_VERTEX_ATTRIB_ARRAY_STRIDE,
410 GL_VERTEX_ATTRIB_ARRAY_TYPE, 410 GL_VERTEX_ATTRIB_ARRAY_TYPE,
411 GL_CURRENT_VERTEX_ATTRIB, 411 GL_CURRENT_VERTEX_ATTRIB,
412 }; 412 };
413 413
414 static GLenum valid_vertex_pointer_table[] = { 414 static GLenum valid_vertex_pointer_table[] = {
415 GL_VERTEX_ATTRIB_ARRAY_POINTER, 415 GL_VERTEX_ATTRIB_ARRAY_POINTER,
416 }; 416 };
417 417
418 static GLint valid_zero_only_table[] = {
419 0,
420 };
421
418 Validators::Validators() 422 Validators::Validators()
419 : attachment( 423 : attachment(
420 valid_attachment_table, arraysize(valid_attachment_table)), 424 valid_attachment_table, arraysize(valid_attachment_table)),
421 blit_filter( 425 blit_filter(
422 valid_blit_filter_table, arraysize(valid_blit_filter_table)), 426 valid_blit_filter_table, arraysize(valid_blit_filter_table)),
423 buffer_parameter( 427 buffer_parameter(
424 valid_buffer_parameter_table, arraysize( 428 valid_buffer_parameter_table, arraysize(
425 valid_buffer_parameter_table)), 429 valid_buffer_parameter_table)),
426 buffer_target( 430 buffer_target(
427 valid_buffer_target_table, arraysize(valid_buffer_target_table)), 431 valid_buffer_target_table, arraysize(valid_buffer_target_table)),
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
517 vertex_attrib_size( 521 vertex_attrib_size(
518 valid_vertex_attrib_size_table, arraysize( 522 valid_vertex_attrib_size_table, arraysize(
519 valid_vertex_attrib_size_table)), 523 valid_vertex_attrib_size_table)),
520 vertex_attrib_type( 524 vertex_attrib_type(
521 valid_vertex_attrib_type_table, arraysize( 525 valid_vertex_attrib_type_table, arraysize(
522 valid_vertex_attrib_type_table)), 526 valid_vertex_attrib_type_table)),
523 vertex_attribute( 527 vertex_attribute(
524 valid_vertex_attribute_table, arraysize( 528 valid_vertex_attribute_table, arraysize(
525 valid_vertex_attribute_table)), 529 valid_vertex_attribute_table)),
526 vertex_pointer( 530 vertex_pointer(
527 valid_vertex_pointer_table, arraysize(valid_vertex_pointer_table)) { 531 valid_vertex_pointer_table, arraysize(valid_vertex_pointer_table)),
532 zero_only(
533 valid_zero_only_table, arraysize(valid_zero_only_table)) {
528 } 534 }
529 535
530 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGE N_H_ // NOLINT 536 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGE N_H_ // NOLINT
531 537
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_validation_autogen.h ('k') | gpu/command_buffer/service/renderbuffer_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698