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

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

Issue 2354713004: Implement WEBGL_compressed_texture_es3_0 extension for WebGL 1/2 (Closed)
Patch Set: fixup Created 4 years, 3 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 (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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698