| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // Contains various validation functions for the GLES2 service. | 5 // Contains various validation functions for the GLES2 service. |
| 6 | 6 |
| 7 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_H_ | 7 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_H_ |
| 8 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_H_ | 8 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_H_ |
| 9 | 9 |
| 10 #include <algorithm> | 10 #include <algorithm> |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 } | 57 } |
| 58 | 58 |
| 59 private: | 59 private: |
| 60 std::vector<T> valid_values_; | 60 std::vector<T> valid_values_; |
| 61 }; | 61 }; |
| 62 | 62 |
| 63 struct Validators { | 63 struct Validators { |
| 64 Validators(); | 64 Validators(); |
| 65 | 65 |
| 66 void UpdateValuesES3(); | 66 void UpdateValuesES3(); |
| 67 void UpdateES30CompressedTextureFormats(); |
| 67 | 68 |
| 68 #include "gpu/command_buffer/service/gles2_cmd_validation_autogen.h" | 69 #include "gpu/command_buffer/service/gles2_cmd_validation_autogen.h" |
| 69 }; | 70 }; |
| 70 | 71 |
| 71 } // namespace gles2 | 72 } // namespace gles2 |
| 72 } // namespace gpu | 73 } // namespace gpu |
| 73 | 74 |
| 74 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_H_ | 75 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_H_ |
| 75 | 76 |
| OLD | NEW |