Chromium Code Reviews| Index: Source/core/html/canvas/WebGLQuery.h |
| diff --git a/Source/core/html/canvas/WebGLQuery.h b/Source/core/html/canvas/WebGLQuery.h |
| index 59e860499571bd66b1107da3a0943a50450f03cb..9be7a4d559672e67ff6f065dddb409ab398c5dc5 100644 |
| --- a/Source/core/html/canvas/WebGLQuery.h |
| +++ b/Source/core/html/canvas/WebGLQuery.h |
| @@ -19,6 +19,10 @@ public: |
| static PassRefPtrWillBeRawPtr<WebGLQuery> create(WebGL2RenderingContextBase*); |
| + void setTarget(GLenum); |
| + GLenum getTarget() const { return m_target; } |
| + bool compatibleTarget(GLenum); |
|
Ken Russell (switch to Gerrit)
2015/06/24 21:07:22
I'd suggest "isCompatibleWithTarget".
|
| + |
| protected: |
| explicit WebGLQuery(WebGL2RenderingContextBase*); |
| @@ -26,6 +30,8 @@ protected: |
| private: |
| bool isQuery() const override { return true; } |
| + |
| + GLenum m_target; |
| }; |
| } // namespace blink |