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

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

Issue 1555543003: Remove GLES2_GPU_SERVICE macro. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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>
11 #include <vector> 11 #include <vector>
12 #define GLES2_GPU_SERVICE 1
13 #include "gpu/command_buffer/common/gles2_cmd_format.h" 12 #include "gpu/command_buffer/common/gles2_cmd_format.h"
14 13
15 namespace gpu { 14 namespace gpu {
16 namespace gles2 { 15 namespace gles2 {
17 16
18 // ValueValidator returns true if a value is valid. 17 // ValueValidator returns true if a value is valid.
19 template <typename T> 18 template <typename T>
20 class ValueValidator { 19 class ValueValidator {
21 public: 20 public:
22 ValueValidator() {} 21 ValueValidator() {}
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 void UpdateValuesES3(); 66 void UpdateValuesES3();
68 67
69 #include "gpu/command_buffer/service/gles2_cmd_validation_autogen.h" 68 #include "gpu/command_buffer/service/gles2_cmd_validation_autogen.h"
70 }; 69 };
71 70
72 } // namespace gles2 71 } // namespace gles2
73 } // namespace gpu 72 } // namespace gpu
74 73
75 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_H_ 74 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_VALIDATION_H_
76 75
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder.cc ('k') | gpu/command_buffer/service/gles2_cmd_validation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698