OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 here so other GLES2 related files can have a common set of | 5 // This file is here so other GLES2 related files can have a common set of |
6 // includes where appropriate. | 6 // includes where appropriate. |
7 | 7 |
8 #ifndef GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_H_ | 8 #ifndef GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_H_ |
9 #define GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_H_ | 9 #define GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_H_ |
10 | 10 |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 int32 blue_size_; | 186 int32 blue_size_; |
187 int32 green_size_; | 187 int32 green_size_; |
188 int32 red_size_; | 188 int32 red_size_; |
189 int32 depth_size_; | 189 int32 depth_size_; |
190 int32 stencil_size_; | 190 int32 stencil_size_; |
191 int32 samples_; | 191 int32 samples_; |
192 int32 sample_buffers_; | 192 int32 sample_buffers_; |
193 bool buffer_preserved_; | 193 bool buffer_preserved_; |
194 bool share_resources_; | 194 bool share_resources_; |
195 bool bind_generates_resource_; | 195 bool bind_generates_resource_; |
| 196 bool fail_if_major_perf_caveat_; |
196 }; | 197 }; |
197 | 198 |
198 } // namespace gles2 | 199 } // namespace gles2 |
199 } // namespace gpu | 200 } // namespace gpu |
200 | 201 |
201 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_H_ | 202 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_H_ |
202 | 203 |
OLD | NEW |