| 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 "platform/wtf/PassRefPtr.h" |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 class WebGL2RenderingContextBase; | 14 class WebGL2RenderingContextBase; |
| 15 | 15 |
| 16 class WebGLTransformFeedback : public WebGLSharedPlatform3DObject { | 16 class WebGLTransformFeedback : public WebGLSharedPlatform3DObject { |
| 17 DEFINE_WRAPPERTYPEINFO(); | 17 DEFINE_WRAPPERTYPEINFO(); |
| 18 | 18 |
| 19 public: | 19 public: |
| 20 ~WebGLTransformFeedback() override; | 20 ~WebGLTransformFeedback() override; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 40 bool IsTransformFeedback() const override { return true; } | 40 bool IsTransformFeedback() const override { return true; } |
| 41 | 41 |
| 42 GLenum target_; | 42 GLenum target_; |
| 43 | 43 |
| 44 Member<WebGLProgram> program_; | 44 Member<WebGLProgram> program_; |
| 45 }; | 45 }; |
| 46 | 46 |
| 47 } // namespace blink | 47 } // namespace blink |
| 48 | 48 |
| 49 #endif // WebGLTransformFeedback_h | 49 #endif // WebGLTransformFeedback_h |
| OLD | NEW |