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 EXTDisjointTimerQuery_h | 5 #ifndef EXTDisjointTimerQuery_h |
6 #define EXTDisjointTimerQuery_h | 6 #define EXTDisjointTimerQuery_h |
7 | 7 |
8 #include "bindings/core/v8/ScriptValue.h" | 8 #include "bindings/core/v8/ScriptValue.h" |
9 #include "modules/webgl/WebGLExtension.h" | 9 #include "modules/webgl/WebGLExtension.h" |
10 #include "wtf/HashMap.h" | 10 #include "wtf/HashMap.h" |
(...skipping 22 matching lines...) Expand all Loading... |
33 void queryCounterEXT(WebGLTimerQueryEXT*, GLenum); | 33 void queryCounterEXT(WebGLTimerQueryEXT*, GLenum); |
34 ScriptValue getQueryEXT(ScriptState*, GLenum, GLenum); | 34 ScriptValue getQueryEXT(ScriptState*, GLenum, GLenum); |
35 ScriptValue getQueryObjectEXT(ScriptState*, WebGLTimerQueryEXT*, GLenum); | 35 ScriptValue getQueryObjectEXT(ScriptState*, WebGLTimerQueryEXT*, GLenum); |
36 | 36 |
37 DECLARE_VIRTUAL_TRACE(); | 37 DECLARE_VIRTUAL_TRACE(); |
38 | 38 |
39 private: | 39 private: |
40 friend class WebGLTimerQueryEXT; | 40 friend class WebGLTimerQueryEXT; |
41 explicit EXTDisjointTimerQuery(WebGLRenderingContextBase*); | 41 explicit EXTDisjointTimerQuery(WebGLRenderingContextBase*); |
42 | 42 |
43 void OnQueryDeleted(GLuint); | |
44 | |
45 Member<WebGLTimerQueryEXT> m_currentElapsedQuery; | 43 Member<WebGLTimerQueryEXT> m_currentElapsedQuery; |
46 }; | 44 }; |
47 | 45 |
48 } // namespace blink | 46 } // namespace blink |
49 | 47 |
50 #endif // EXTDisjointTimerQuery_h | 48 #endif // EXTDisjointTimerQuery_h |
OLD | NEW |