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 #ifndef GPU_COMMAND_BUFFER_SERVICE_QUERY_MANAGER_H_ | 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_QUERY_MANAGER_H_ |
6 #define GPU_COMMAND_BUFFER_SERVICE_QUERY_MANAGER_H_ | 6 #define GPU_COMMAND_BUFFER_SERVICE_QUERY_MANAGER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <deque> | 10 #include <deque> |
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
298 void UpdateDisjointValue(); | 298 void UpdateDisjointValue(); |
299 | 299 |
300 // Safely resets the disjoint value if no queries are active. | 300 // Safely resets the disjoint value if no queries are active. |
301 void SafelyResetDisjointValue(); | 301 void SafelyResetDisjointValue(); |
302 | 302 |
303 // Used to validate shared memory and get GL errors. | 303 // Used to validate shared memory and get GL errors. |
304 GLES2Decoder* decoder_; | 304 GLES2Decoder* decoder_; |
305 | 305 |
306 bool use_arb_occlusion_query2_for_occlusion_query_boolean_; | 306 bool use_arb_occlusion_query2_for_occlusion_query_boolean_; |
307 bool use_arb_occlusion_query_for_occlusion_query_boolean_; | 307 bool use_arb_occlusion_query_for_occlusion_query_boolean_; |
| 308 bool no_covert_any_samples_passed_conservative_target_for_es3_; |
| 309 bool covert_any_samples_passed_conservative_target_for_low_gl_; |
308 | 310 |
309 // Whether we are tracking disjoint values every frame. | 311 // Whether we are tracking disjoint values every frame. |
310 bool update_disjoints_continually_; | 312 bool update_disjoints_continually_; |
311 | 313 |
312 // The shared memory used for disjoint notifications. | 314 // The shared memory used for disjoint notifications. |
313 int32_t disjoint_notify_shm_id_; | 315 int32_t disjoint_notify_shm_id_; |
314 uint32_t disjoint_notify_shm_offset_; | 316 uint32_t disjoint_notify_shm_offset_; |
315 | 317 |
316 // Current number of disjoints notified. | 318 // Current number of disjoints notified. |
317 uint32_t disjoints_notified_; | 319 uint32_t disjoints_notified_; |
(...skipping 22 matching lines...) Expand all Loading... |
340 | 342 |
341 scoped_refptr<gl::GPUTimingClient> gpu_timing_client_; | 343 scoped_refptr<gl::GPUTimingClient> gpu_timing_client_; |
342 | 344 |
343 DISALLOW_COPY_AND_ASSIGN(QueryManager); | 345 DISALLOW_COPY_AND_ASSIGN(QueryManager); |
344 }; | 346 }; |
345 | 347 |
346 } // namespace gles2 | 348 } // namespace gles2 |
347 } // namespace gpu | 349 } // namespace gpu |
348 | 350 |
349 #endif // GPU_COMMAND_BUFFER_SERVICE_QUERY_MANAGER_H_ | 351 #endif // GPU_COMMAND_BUFFER_SERVICE_QUERY_MANAGER_H_ |
OLD | NEW |