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

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

Issue 240273006: Revert of gpu: Add CHROMIUM_sync_query extension. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 GL_QUERY_RESULT_EXT, GL_QUERY_RESULT_AVAILABLE_EXT, }; 207 GL_QUERY_RESULT_EXT, GL_QUERY_RESULT_AVAILABLE_EXT, };
208 208
209 static const GLenum valid_query_parameter_table[] = {GL_CURRENT_QUERY_EXT, }; 209 static const GLenum valid_query_parameter_table[] = {GL_CURRENT_QUERY_EXT, };
210 210
211 static const GLenum valid_query_target_table[] = { 211 static const GLenum valid_query_target_table[] = {
212 GL_ANY_SAMPLES_PASSED_EXT, 212 GL_ANY_SAMPLES_PASSED_EXT,
213 GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT, 213 GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT,
214 GL_COMMANDS_ISSUED_CHROMIUM, 214 GL_COMMANDS_ISSUED_CHROMIUM,
215 GL_LATENCY_QUERY_CHROMIUM, 215 GL_LATENCY_QUERY_CHROMIUM,
216 GL_ASYNC_PIXEL_UNPACK_COMPLETED_CHROMIUM, 216 GL_ASYNC_PIXEL_UNPACK_COMPLETED_CHROMIUM,
217 GL_ASYNC_PIXEL_PACK_COMPLETED_CHROMIUM, 217 GL_ASYNC_PIXEL_PACK_COMPLETED_CHROMIUM, };
218 GL_COMMANDS_COMPLETED_CHROMIUM, };
219 218
220 static const GLenum valid_read_pixel_format_table[] = {GL_ALPHA, GL_RGB, 219 static const GLenum valid_read_pixel_format_table[] = {GL_ALPHA, GL_RGB,
221 GL_RGBA, }; 220 GL_RGBA, };
222 221
223 static const GLenum valid_read_pixel_type_table[] = { 222 static const GLenum valid_read_pixel_type_table[] = {
224 GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_4_4_4_4, 223 GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT_5_6_5, GL_UNSIGNED_SHORT_4_4_4_4,
225 GL_UNSIGNED_SHORT_5_5_5_1, }; 224 GL_UNSIGNED_SHORT_5_5_5_1, };
226 225
227 static const GLenum valid_render_buffer_format_table[] = { 226 static const GLenum valid_render_buffer_format_table[] = {
228 GL_RGBA4, GL_RGB565, GL_RGB5_A1, GL_DEPTH_COMPONENT16, GL_STENCIL_INDEX8, }; 227 GL_RGBA4, GL_RGB565, GL_RGB5_A1, GL_DEPTH_COMPONENT16, GL_STENCIL_INDEX8, };
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 arraysize(valid_vertex_attrib_size_table)), 424 arraysize(valid_vertex_attrib_size_table)),
426 vertex_attrib_type(valid_vertex_attrib_type_table, 425 vertex_attrib_type(valid_vertex_attrib_type_table,
427 arraysize(valid_vertex_attrib_type_table)), 426 arraysize(valid_vertex_attrib_type_table)),
428 vertex_attribute(valid_vertex_attribute_table, 427 vertex_attribute(valid_vertex_attribute_table,
429 arraysize(valid_vertex_attribute_table)), 428 arraysize(valid_vertex_attribute_table)),
430 vertex_pointer(valid_vertex_pointer_table, 429 vertex_pointer(valid_vertex_pointer_table,
431 arraysize(valid_vertex_pointer_table)), 430 arraysize(valid_vertex_pointer_table)),
432 zero_only(valid_zero_only_table, arraysize(valid_zero_only_table)) {} 431 zero_only(valid_zero_only_table, arraysize(valid_zero_only_table)) {}
433 432
434 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGE N_H_ 433 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGE N_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc ('k') | gpu/command_buffer/service/query_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698