| 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 <deque> | 8 #include <deque> |
| 9 #include <vector> | 9 #include <vector> |
| 10 #include "base/atomicops.h" | 10 #include "base/atomicops.h" |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/containers/hash_tables.h" | 12 #include "base/containers/hash_tables.h" |
| 13 #include "base/logging.h" | 13 #include "base/logging.h" |
| 14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
| 15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
| 16 #include "gpu/command_buffer/service/feature_info.h" | 16 #include "gpu/command_buffer/service/feature_info.h" |
| 17 #include "gpu/command_buffer/service/gl_utils.h" | |
| 18 #include "gpu/gpu_export.h" | 17 #include "gpu/gpu_export.h" |
| 19 | 18 |
| 20 namespace gpu { | 19 namespace gpu { |
| 21 | 20 |
| 22 class GLES2Decoder; | 21 class GLES2Decoder; |
| 23 | 22 |
| 24 namespace gles2 { | 23 namespace gles2 { |
| 25 | 24 |
| 26 class FeatureInfo; | 25 class FeatureInfo; |
| 27 | 26 |
| (...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 // Async pixel transfer queries waiting for completion. | 240 // Async pixel transfer queries waiting for completion. |
| 242 QueryQueue pending_transfer_queries_; | 241 QueryQueue pending_transfer_queries_; |
| 243 | 242 |
| 244 DISALLOW_COPY_AND_ASSIGN(QueryManager); | 243 DISALLOW_COPY_AND_ASSIGN(QueryManager); |
| 245 }; | 244 }; |
| 246 | 245 |
| 247 } // namespace gles2 | 246 } // namespace gles2 |
| 248 } // namespace gpu | 247 } // namespace gpu |
| 249 | 248 |
| 250 #endif // GPU_COMMAND_BUFFER_SERVICE_QUERY_MANAGER_H_ | 249 #endif // GPU_COMMAND_BUFFER_SERVICE_QUERY_MANAGER_H_ |
| OLD | NEW |