| OLD | NEW |
| 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 715 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 726 switch (value) { | 726 switch (value) { |
| 727 case GL_QUERY_RESULT_EXT: | 727 case GL_QUERY_RESULT_EXT: |
| 728 case GL_QUERY_RESULT_AVAILABLE_EXT: | 728 case GL_QUERY_RESULT_AVAILABLE_EXT: |
| 729 return true; | 729 return true; |
| 730 } | 730 } |
| 731 return false; | 731 return false; |
| 732 }; | 732 }; |
| 733 | 733 |
| 734 bool Validators::QueryTargetValidator::IsValid(const GLenum value) const { | 734 bool Validators::QueryTargetValidator::IsValid(const GLenum value) const { |
| 735 switch (value) { | 735 switch (value) { |
| 736 case GL_SAMPLES_PASSED_ARB: |
| 736 case GL_ANY_SAMPLES_PASSED_EXT: | 737 case GL_ANY_SAMPLES_PASSED_EXT: |
| 737 case GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT: | 738 case GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT: |
| 738 case GL_COMMANDS_ISSUED_CHROMIUM: | 739 case GL_COMMANDS_ISSUED_CHROMIUM: |
| 739 case GL_LATENCY_QUERY_CHROMIUM: | 740 case GL_LATENCY_QUERY_CHROMIUM: |
| 740 case GL_ASYNC_PIXEL_PACK_COMPLETED_CHROMIUM: | 741 case GL_ASYNC_PIXEL_PACK_COMPLETED_CHROMIUM: |
| 741 case GL_COMMANDS_COMPLETED_CHROMIUM: | 742 case GL_COMMANDS_COMPLETED_CHROMIUM: |
| 742 return true; | 743 return true; |
| 743 } | 744 } |
| 744 return false; | 745 return false; |
| 745 }; | 746 }; |
| (...skipping 789 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1535 texture_internal_format_storage.AddValue(GL_COMPRESSED_SRGB8_ETC2); | 1536 texture_internal_format_storage.AddValue(GL_COMPRESSED_SRGB8_ETC2); |
| 1536 texture_internal_format_storage.AddValue( | 1537 texture_internal_format_storage.AddValue( |
| 1537 GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2); | 1538 GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2); |
| 1538 texture_internal_format_storage.AddValue( | 1539 texture_internal_format_storage.AddValue( |
| 1539 GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2); | 1540 GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2); |
| 1540 texture_internal_format_storage.AddValue(GL_COMPRESSED_RGBA8_ETC2_EAC); | 1541 texture_internal_format_storage.AddValue(GL_COMPRESSED_RGBA8_ETC2_EAC); |
| 1541 texture_internal_format_storage.AddValue(GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC); | 1542 texture_internal_format_storage.AddValue(GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC); |
| 1542 } | 1543 } |
| 1543 | 1544 |
| 1544 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGE
N_H_ | 1545 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_IMPLEMENTATION_AUTOGE
N_H_ |
| OLD | NEW |