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 WebGLTimerQueryEXT_h | 5 #ifndef WebGLTimerQueryEXT_h |
6 #define WebGLTimerQueryEXT_h | 6 #define WebGLTimerQueryEXT_h |
7 | 7 |
8 #include "modules/webgl/WebGLContextObject.h" | 8 #include "modules/webgl/WebGLContextObject.h" |
9 #include "platform/WebTaskRunner.h" | 9 #include "platform/WebTaskRunner.h" |
10 | 10 |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 void scheduleAllowAvailabilityUpdate(); | 45 void scheduleAllowAvailabilityUpdate(); |
46 void allowAvailabilityUpdate(); | 46 void allowAvailabilityUpdate(); |
47 | 47 |
48 GLenum m_target; | 48 GLenum m_target; |
49 GLuint m_queryId; | 49 GLuint m_queryId; |
50 | 50 |
51 bool m_canUpdateAvailability; | 51 bool m_canUpdateAvailability; |
52 bool m_queryResultAvailable; | 52 bool m_queryResultAvailable; |
53 GLuint64 m_queryResult; | 53 GLuint64 m_queryResult; |
54 | 54 |
55 std::unique_ptr<WebTaskRunner> m_taskRunner; | 55 RefPtr<WebTaskRunner> m_taskRunner; |
56 TaskHandle m_taskHandle; | 56 TaskHandle m_taskHandle; |
57 }; | 57 }; |
58 | 58 |
59 } // namespace blink | 59 } // namespace blink |
60 | 60 |
61 #endif // WebGLTimerQueryEXT_h | 61 #endif // WebGLTimerQueryEXT_h |
OLD | NEW |