OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 WebGLQuery_h | 5 #ifndef WebGLQuery_h |
6 #define WebGLQuery_h | 6 #define WebGLQuery_h |
7 | 7 |
8 #include "modules/webgl/WebGLSharedPlatform3DObject.h" | 8 #include "modules/webgl/WebGLSharedPlatform3DObject.h" |
9 #include "platform/WebTaskRunner.h" | 9 #include "platform/WebTaskRunner.h" |
10 | 10 |
11 namespace gpu { | 11 namespace gpu { |
12 namespace gles2 { | 12 namespace gles2 { |
13 class GLES2Interface; | 13 class GLES2Interface; |
14 } | 14 } |
15 } | 15 } // namespace gpu |
16 | 16 |
17 namespace blink { | 17 namespace blink { |
18 | 18 |
19 class WebGL2RenderingContextBase; | 19 class WebGL2RenderingContextBase; |
20 class WebTaskRunner; | 20 class WebTaskRunner; |
21 | 21 |
22 class WebGLQuery : public WebGLSharedPlatform3DObject { | 22 class WebGLQuery : public WebGLSharedPlatform3DObject { |
23 DEFINE_WRAPPERTYPEINFO(); | 23 DEFINE_WRAPPERTYPEINFO(); |
24 | 24 |
25 public: | 25 public: |
(...skipping 28 matching lines...) Expand all Loading... |
54 bool query_result_available_; | 54 bool query_result_available_; |
55 GLuint query_result_; | 55 GLuint query_result_; |
56 | 56 |
57 RefPtr<WebTaskRunner> task_runner_; | 57 RefPtr<WebTaskRunner> task_runner_; |
58 TaskHandle task_handle_; | 58 TaskHandle task_handle_; |
59 }; | 59 }; |
60 | 60 |
61 } // namespace blink | 61 } // namespace blink |
62 | 62 |
63 #endif // WebGLQuery_h | 63 #endif // WebGLQuery_h |
OLD | NEW |