| 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 WebGLTransformFeedback_h |   5 #ifndef WebGLTransformFeedback_h | 
|   6 #define WebGLTransformFeedback_h |   6 #define WebGLTransformFeedback_h | 
|   7  |   7  | 
|   8 #include "modules/webgl/WebGLProgram.h" |   8 #include "modules/webgl/WebGLProgram.h" | 
|   9 #include "modules/webgl/WebGLSharedPlatform3DObject.h" |   9 #include "modules/webgl/WebGLSharedPlatform3DObject.h" | 
|  10 #include "wtf/PassRefPtr.h" |  10 #include "wtf/PassRefPtr.h" | 
| (...skipping 20 matching lines...) Expand all  Loading... | 
|  31     void setPaused(bool); |  31     void setPaused(bool); | 
|  32  |  32  | 
|  33     WebGLProgram* getProgram() const { return m_program; } |  33     WebGLProgram* getProgram() const { return m_program; } | 
|  34     void setProgram(WebGLProgram*); |  34     void setProgram(WebGLProgram*); | 
|  35  |  35  | 
|  36     DECLARE_TRACE(); |  36     DECLARE_TRACE(); | 
|  37  |  37  | 
|  38 protected: |  38 protected: | 
|  39     explicit WebGLTransformFeedback(WebGL2RenderingContextBase*); |  39     explicit WebGLTransformFeedback(WebGL2RenderingContextBase*); | 
|  40  |  40  | 
|  41     void deleteObjectImpl(WebGraphicsContext3D*) override; |  41     void deleteObjectImpl(WebGraphicsContext3D*, gpu::gles2::GLES2Interface*) ov
    erride; | 
|  42  |  42  | 
|  43 private: |  43 private: | 
|  44     bool isTransformFeedback() const override { return true; } |  44     bool isTransformFeedback() const override { return true; } | 
|  45  |  45  | 
|  46     GLenum m_target; |  46     GLenum m_target; | 
|  47  |  47  | 
|  48     bool m_active; |  48     bool m_active; | 
|  49     bool m_paused; |  49     bool m_paused; | 
|  50  |  50  | 
|  51     Member<WebGLProgram> m_program; |  51     Member<WebGLProgram> m_program; | 
|  52 }; |  52 }; | 
|  53  |  53  | 
|  54 } // namespace blink |  54 } // namespace blink | 
|  55  |  55  | 
|  56 #endif // WebGLTransformFeedback_h |  56 #endif // WebGLTransformFeedback_h | 
| OLD | NEW |