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 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
321 int32_t red_size; | 321 int32_t red_size; |
322 int32_t depth_size; | 322 int32_t depth_size; |
323 int32_t stencil_size; | 323 int32_t stencil_size; |
324 int32_t samples; | 324 int32_t samples; |
325 int32_t sample_buffers; | 325 int32_t sample_buffers; |
326 bool buffer_preserved; | 326 bool buffer_preserved; |
327 bool bind_generates_resource; | 327 bool bind_generates_resource; |
328 bool fail_if_major_perf_caveat; | 328 bool fail_if_major_perf_caveat; |
329 bool lose_context_when_out_of_memory; | 329 bool lose_context_when_out_of_memory; |
330 bool should_use_native_gmb_for_backbuffer; | 330 bool should_use_native_gmb_for_backbuffer; |
331 bool own_offscreen_surface; | |
332 bool low_priority; | |
333 | 331 |
334 ContextType context_type; | 332 ContextType context_type; |
335 }; | 333 }; |
336 | 334 |
337 } // namespace gles2 | 335 } // namespace gles2 |
338 } // namespace gpu | 336 } // namespace gpu |
339 | 337 |
340 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_H_ | 338 #endif // GPU_COMMAND_BUFFER_COMMON_GLES2_CMD_UTILS_H_ |
| 339 |
OLD | NEW |