| 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..5a7a824fe848f26b05f7723594ba7ebba0373055 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 isCompatibleTarget(GLenum);
|
| +
|
| protected:
|
| explicit WebGLQuery(WebGL2RenderingContextBase*);
|
|
|
| @@ -26,6 +30,8 @@ protected:
|
|
|
| private:
|
| bool isQuery() const override { return true; }
|
| +
|
| + GLenum m_target;
|
| };
|
|
|
| } // namespace blink
|
|
|