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

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

Issue 1894313002: Removed implementation of CHROMIUM_subscribe_uniform (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Missed a couple more mus/ references Created 4 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
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 929 matching lines...) Expand 10 before | Expand all | Expand 10 after
940 case GL_VENDOR: 940 case GL_VENDOR:
941 case GL_RENDERER: 941 case GL_RENDERER:
942 case GL_VERSION: 942 case GL_VERSION:
943 case GL_SHADING_LANGUAGE_VERSION: 943 case GL_SHADING_LANGUAGE_VERSION:
944 case GL_EXTENSIONS: 944 case GL_EXTENSIONS:
945 return true; 945 return true;
946 } 946 }
947 return false; 947 return false;
948 }; 948 };
949 949
950 static const GLenum valid_subscription_target_table[] = {
951 GL_MOUSE_POSITION_CHROMIUM,
952 };
953
954 static const GLbitfield valid_sync_flush_flags_table[] = { 950 static const GLbitfield valid_sync_flush_flags_table[] = {
955 GL_SYNC_FLUSH_COMMANDS_BIT, 0, 951 GL_SYNC_FLUSH_COMMANDS_BIT, 0,
956 }; 952 };
957 953
958 bool Validators::SyncParameterValidator::IsValid(const GLenum value) const { 954 bool Validators::SyncParameterValidator::IsValid(const GLenum value) const {
959 switch (value) { 955 switch (value) {
960 case GL_SYNC_STATUS: 956 case GL_SYNC_STATUS:
961 case GL_OBJECT_TYPE: 957 case GL_OBJECT_TYPE:
962 case GL_SYNC_CONDITION: 958 case GL_SYNC_CONDITION:
963 case GL_SYNC_FLAGS: 959 case GL_SYNC_FLAGS:
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
1324 case GL_UNIFORM_BLOCK_INDEX: 1320 case GL_UNIFORM_BLOCK_INDEX:
1325 case GL_UNIFORM_OFFSET: 1321 case GL_UNIFORM_OFFSET:
1326 case GL_UNIFORM_ARRAY_STRIDE: 1322 case GL_UNIFORM_ARRAY_STRIDE:
1327 case GL_UNIFORM_MATRIX_STRIDE: 1323 case GL_UNIFORM_MATRIX_STRIDE:
1328 case GL_UNIFORM_IS_ROW_MAJOR: 1324 case GL_UNIFORM_IS_ROW_MAJOR:
1329 return true; 1325 return true;
1330 } 1326 }
1331 return false; 1327 return false;
1332 }; 1328 };
1333 1329
1334 static const GLenum valid_value_buffer_target_table[] = {
1335 GL_SUBSCRIBED_VALUES_BUFFER_CHROMIUM,
1336 };
1337
1338 bool Validators::VertexAttribITypeValidator::IsValid(const GLenum value) const { 1330 bool Validators::VertexAttribITypeValidator::IsValid(const GLenum value) const {
1339 switch (value) { 1331 switch (value) {
1340 case GL_BYTE: 1332 case GL_BYTE:
1341 case GL_UNSIGNED_BYTE: 1333 case GL_UNSIGNED_BYTE:
1342 case GL_SHORT: 1334 case GL_SHORT:
1343 case GL_UNSIGNED_SHORT: 1335 case GL_UNSIGNED_SHORT:
1344 case GL_INT: 1336 case GL_INT:
1345 case GL_UNSIGNED_INT: 1337 case GL_UNSIGNED_INT:
1346 return true; 1338 return true;
1347 } 1339 }
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
1407 arraysize(valid_read_pixel_type_table)), 1399 arraysize(valid_read_pixel_type_table)),
1408 render_buffer_format(valid_render_buffer_format_table, 1400 render_buffer_format(valid_render_buffer_format_table,
1409 arraysize(valid_render_buffer_format_table)), 1401 arraysize(valid_render_buffer_format_table)),
1410 render_buffer_parameter(valid_render_buffer_parameter_table, 1402 render_buffer_parameter(valid_render_buffer_parameter_table,
1411 arraysize(valid_render_buffer_parameter_table)), 1403 arraysize(valid_render_buffer_parameter_table)),
1412 render_buffer_target(valid_render_buffer_target_table, 1404 render_buffer_target(valid_render_buffer_target_table,
1413 arraysize(valid_render_buffer_target_table)), 1405 arraysize(valid_render_buffer_target_table)),
1414 shader_binary_format(), 1406 shader_binary_format(),
1415 src_blend_factor(valid_src_blend_factor_table, 1407 src_blend_factor(valid_src_blend_factor_table,
1416 arraysize(valid_src_blend_factor_table)), 1408 arraysize(valid_src_blend_factor_table)),
1417 subscription_target(valid_subscription_target_table,
1418 arraysize(valid_subscription_target_table)),
1419 sync_flush_flags(valid_sync_flush_flags_table, 1409 sync_flush_flags(valid_sync_flush_flags_table,
1420 arraysize(valid_sync_flush_flags_table)), 1410 arraysize(valid_sync_flush_flags_table)),
1421 texture_bind_target(valid_texture_bind_target_table, 1411 texture_bind_target(valid_texture_bind_target_table,
1422 arraysize(valid_texture_bind_target_table)), 1412 arraysize(valid_texture_bind_target_table)),
1423 texture_compare_mode(valid_texture_compare_mode_table, 1413 texture_compare_mode(valid_texture_compare_mode_table,
1424 arraysize(valid_texture_compare_mode_table)), 1414 arraysize(valid_texture_compare_mode_table)),
1425 texture_depth_renderable_internal_format(), 1415 texture_depth_renderable_internal_format(),
1426 texture_format(valid_texture_format_table, 1416 texture_format(valid_texture_format_table,
1427 arraysize(valid_texture_format_table)), 1417 arraysize(valid_texture_format_table)),
1428 texture_internal_format(valid_texture_internal_format_table, 1418 texture_internal_format(valid_texture_internal_format_table,
(...skipping 13 matching lines...) Expand all
1442 valid_texture_sized_texture_filterable_internal_format_table)), 1432 valid_texture_sized_texture_filterable_internal_format_table)),
1443 texture_stencil_renderable_internal_format(), 1433 texture_stencil_renderable_internal_format(),
1444 texture_target(valid_texture_target_table, 1434 texture_target(valid_texture_target_table,
1445 arraysize(valid_texture_target_table)), 1435 arraysize(valid_texture_target_table)),
1446 texture_unsized_internal_format( 1436 texture_unsized_internal_format(
1447 valid_texture_unsized_internal_format_table, 1437 valid_texture_unsized_internal_format_table,
1448 arraysize(valid_texture_unsized_internal_format_table)), 1438 arraysize(valid_texture_unsized_internal_format_table)),
1449 transform_feedback_bind_target( 1439 transform_feedback_bind_target(
1450 valid_transform_feedback_bind_target_table, 1440 valid_transform_feedback_bind_target_table,
1451 arraysize(valid_transform_feedback_bind_target_table)), 1441 arraysize(valid_transform_feedback_bind_target_table)),
1452 value_buffer_target(valid_value_buffer_target_table,
1453 arraysize(valid_value_buffer_target_table)),
1454 vertex_attrib_type(valid_vertex_attrib_type_table, 1442 vertex_attrib_type(valid_vertex_attrib_type_table,
1455 arraysize(valid_vertex_attrib_type_table)), 1443 arraysize(valid_vertex_attrib_type_table)),
1456 vertex_attribute(valid_vertex_attribute_table, 1444 vertex_attribute(valid_vertex_attribute_table,
1457 arraysize(valid_vertex_attribute_table)), 1445 arraysize(valid_vertex_attribute_table)),
1458 vertex_pointer(valid_vertex_pointer_table, 1446 vertex_pointer(valid_vertex_pointer_table,
1459 arraysize(valid_vertex_pointer_table)) {} 1447 arraysize(valid_vertex_pointer_table)) {}
1460 1448
1461 void Validators::UpdateValuesES3() { 1449 void Validators::UpdateValuesES3() {
1462 attachment.AddValues(valid_attachment_table_es3, 1450 attachment.AddValues(valid_attachment_table_es3,
1463 arraysize(valid_attachment_table_es3)); 1451 arraysize(valid_attachment_table_es3));
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
1521 texture_stencil_renderable_internal_format.AddValues( 1509 texture_stencil_renderable_internal_format.AddValues(
1522 valid_texture_stencil_renderable_internal_format_table_es3, 1510 valid_texture_stencil_renderable_internal_format_table_es3,
1523 arraysize(valid_texture_stencil_renderable_internal_format_table_es3)); 1511 arraysize(valid_texture_stencil_renderable_internal_format_table_es3));
1524 vertex_attrib_type.AddValues(valid_vertex_attrib_type_table_es3, 1512 vertex_attrib_type.AddValues(valid_vertex_attrib_type_table_es3,
1525 arraysize(valid_vertex_attrib_type_table_es3)); 1513 arraysize(valid_vertex_attrib_type_table_es3));
1526 vertex_attribute.AddValues(valid_vertex_attribute_table_es3, 1514 vertex_attribute.AddValues(valid_vertex_attribute_table_es3,
1527 arraysize(valid_vertex_attribute_table_es3)); 1515 arraysize(valid_vertex_attribute_table_es3));
1528 } 1516 }
1529 1517
1530 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGE N_H_ 1518 #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_preferences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698