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

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

Issue 895853003: Update from https://crrev.com/314320 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 10 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 // It's formatted by clang-format using chromium coding style: 7 // It's formatted by clang-format using chromium coding style:
8 // clang-format -i -style=chromium filename 8 // clang-format -i -style=chromium filename
9 // DO NOT EDIT! 9 // DO NOT EDIT!
10 10
(...skipping 10 matching lines...) Expand all
21 GL_COLOR_EXT, 21 GL_COLOR_EXT,
22 GL_DEPTH_EXT, 22 GL_DEPTH_EXT,
23 GL_STENCIL_EXT, 23 GL_STENCIL_EXT,
24 }; 24 };
25 25
26 static const GLenum valid_blit_filter_table[] = { 26 static const GLenum valid_blit_filter_table[] = {
27 GL_NEAREST, 27 GL_NEAREST,
28 GL_LINEAR, 28 GL_LINEAR,
29 }; 29 };
30 30
31 static const GLenum valid_buffer_mode_table[] = {
32 GL_INTERLEAVED_ATTRIBS,
33 GL_SEPARATE_ATTRIBS,
34 };
35
31 static const GLenum valid_buffer_parameter_table[] = { 36 static const GLenum valid_buffer_parameter_table[] = {
32 GL_BUFFER_SIZE, 37 GL_BUFFER_SIZE,
33 GL_BUFFER_USAGE, 38 GL_BUFFER_USAGE,
34 }; 39 };
35 40
36 static const GLenum valid_buffer_target_table[] = { 41 static const GLenum valid_buffer_target_table[] = {
37 GL_ARRAY_BUFFER, 42 GL_ARRAY_BUFFER,
38 GL_ELEMENT_ARRAY_BUFFER, 43 GL_ELEMENT_ARRAY_BUFFER,
39 }; 44 };
40 45
(...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after
578 583
579 static const GLenum valid_vertex_pointer_table[] = { 584 static const GLenum valid_vertex_pointer_table[] = {
580 GL_VERTEX_ATTRIB_ARRAY_POINTER, 585 GL_VERTEX_ATTRIB_ARRAY_POINTER,
581 }; 586 };
582 587
583 Validators::Validators() 588 Validators::Validators()
584 : attachment(valid_attachment_table, arraysize(valid_attachment_table)), 589 : attachment(valid_attachment_table, arraysize(valid_attachment_table)),
585 backbuffer_attachment(valid_backbuffer_attachment_table, 590 backbuffer_attachment(valid_backbuffer_attachment_table,
586 arraysize(valid_backbuffer_attachment_table)), 591 arraysize(valid_backbuffer_attachment_table)),
587 blit_filter(valid_blit_filter_table, arraysize(valid_blit_filter_table)), 592 blit_filter(valid_blit_filter_table, arraysize(valid_blit_filter_table)),
593 buffer_mode(valid_buffer_mode_table, arraysize(valid_buffer_mode_table)),
588 buffer_parameter(valid_buffer_parameter_table, 594 buffer_parameter(valid_buffer_parameter_table,
589 arraysize(valid_buffer_parameter_table)), 595 arraysize(valid_buffer_parameter_table)),
590 buffer_target(valid_buffer_target_table, 596 buffer_target(valid_buffer_target_table,
591 arraysize(valid_buffer_target_table)), 597 arraysize(valid_buffer_target_table)),
592 buffer_usage(valid_buffer_usage_table, 598 buffer_usage(valid_buffer_usage_table,
593 arraysize(valid_buffer_usage_table)), 599 arraysize(valid_buffer_usage_table)),
594 bufferfi(valid_bufferfi_table, arraysize(valid_bufferfi_table)), 600 bufferfi(valid_bufferfi_table, arraysize(valid_bufferfi_table)),
595 bufferfv(valid_bufferfv_table, arraysize(valid_bufferfv_table)), 601 bufferfv(valid_bufferfv_table, arraysize(valid_bufferfv_table)),
596 bufferiv(valid_bufferiv_table, arraysize(valid_bufferiv_table)), 602 bufferiv(valid_bufferiv_table, arraysize(valid_bufferiv_table)),
597 bufferuiv(valid_bufferuiv_table, arraysize(valid_bufferuiv_table)), 603 bufferuiv(valid_bufferuiv_table, arraysize(valid_bufferuiv_table)),
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
698 arraysize(valid_vertex_attrib_size_table)), 704 arraysize(valid_vertex_attrib_size_table)),
699 vertex_attrib_type(valid_vertex_attrib_type_table, 705 vertex_attrib_type(valid_vertex_attrib_type_table,
700 arraysize(valid_vertex_attrib_type_table)), 706 arraysize(valid_vertex_attrib_type_table)),
701 vertex_attribute(valid_vertex_attribute_table, 707 vertex_attribute(valid_vertex_attribute_table,
702 arraysize(valid_vertex_attribute_table)), 708 arraysize(valid_vertex_attribute_table)),
703 vertex_pointer(valid_vertex_pointer_table, 709 vertex_pointer(valid_vertex_pointer_table,
704 arraysize(valid_vertex_pointer_table)) { 710 arraysize(valid_vertex_pointer_table)) {
705 } 711 }
706 712
707 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGE N_H_ 713 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGE N_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_validation_autogen.h ('k') | gpu/command_buffer/service/gpu_scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698