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

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

Issue 3122033: Adds support for EXT_framebuffer_multisample... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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
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 _ // 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[] = {
11 GL_COLOR_ATTACHMENT0, 11 GL_COLOR_ATTACHMENT0,
12 GL_DEPTH_ATTACHMENT, 12 GL_DEPTH_ATTACHMENT,
13 GL_STENCIL_ATTACHMENT, 13 GL_STENCIL_ATTACHMENT,
14 }; 14 };
15 15
16 static GLenum valid_blit_filter_table[] = {
17 GL_NEAREST,
18 GL_LINEAR,
19 };
20
16 static GLenum valid_buffer_parameter_table[] = { 21 static GLenum valid_buffer_parameter_table[] = {
17 GL_BUFFER_SIZE, 22 GL_BUFFER_SIZE,
18 GL_BUFFER_USAGE, 23 GL_BUFFER_USAGE,
19 }; 24 };
20 25
21 static GLenum valid_buffer_target_table[] = { 26 static GLenum valid_buffer_target_table[] = {
22 GL_ARRAY_BUFFER, 27 GL_ARRAY_BUFFER,
23 GL_ELEMENT_ARRAY_BUFFER, 28 GL_ELEMENT_ARRAY_BUFFER,
24 }; 29 };
25 30
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 GL_CURRENT_VERTEX_ATTRIB, 411 GL_CURRENT_VERTEX_ATTRIB,
407 }; 412 };
408 413
409 static GLenum valid_vertex_pointer_table[] = { 414 static GLenum valid_vertex_pointer_table[] = {
410 GL_VERTEX_ATTRIB_ARRAY_POINTER, 415 GL_VERTEX_ATTRIB_ARRAY_POINTER,
411 }; 416 };
412 417
413 Validators::Validators() 418 Validators::Validators()
414 : attachment( 419 : attachment(
415 valid_attachment_table, arraysize(valid_attachment_table)), 420 valid_attachment_table, arraysize(valid_attachment_table)),
421 blit_filter(
422 valid_blit_filter_table, arraysize(valid_blit_filter_table)),
416 buffer_parameter( 423 buffer_parameter(
417 valid_buffer_parameter_table, arraysize( 424 valid_buffer_parameter_table, arraysize(
418 valid_buffer_parameter_table)), 425 valid_buffer_parameter_table)),
419 buffer_target( 426 buffer_target(
420 valid_buffer_target_table, arraysize(valid_buffer_target_table)), 427 valid_buffer_target_table, arraysize(valid_buffer_target_table)),
421 buffer_usage( 428 buffer_usage(
422 valid_buffer_usage_table, arraysize(valid_buffer_usage_table)), 429 valid_buffer_usage_table, arraysize(valid_buffer_usage_table)),
423 capability( 430 capability(
424 valid_capability_table, arraysize(valid_capability_table)), 431 valid_capability_table, arraysize(valid_capability_table)),
425 cmp_function( 432 cmp_function(
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
514 valid_vertex_attrib_type_table, arraysize( 521 valid_vertex_attrib_type_table, arraysize(
515 valid_vertex_attrib_type_table)), 522 valid_vertex_attrib_type_table)),
516 vertex_attribute( 523 vertex_attribute(
517 valid_vertex_attribute_table, arraysize( 524 valid_vertex_attribute_table, arraysize(
518 valid_vertex_attribute_table)), 525 valid_vertex_attribute_table)),
519 vertex_pointer( 526 vertex_pointer(
520 valid_vertex_pointer_table, arraysize(valid_vertex_pointer_table)) { 527 valid_vertex_pointer_table, arraysize(valid_vertex_pointer_table)) {
521 } 528 }
522 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGE N_H_ // NOLINT 529 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGE N_H_ // NOLINT
523 530
OLDNEW
« gpu/GLES2/gl2ext.h ('K') | « 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