2 // Copyright (c) 2014 The ANGLE Project Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file.
7 #ifndef LIBGLESV2_TRANSFORM_FEEDBACK_H_
8 #define LIBGLESV2_TRANSFORM_FEEDBACK_H_
10 #include "common/angleutils.h"
11 #include "common/RefCountObject.h"
17 class TransformFeedbackImpl;
23 class TransformFeedback : public RefCountObject
26 TransformFeedback(rx::TransformFeedbackImpl* impl, GLuint id);
27 virtual ~TransformFeedback();
29 void start(GLenum primitiveMode);
31 GLboolean isStarted() const;
33 GLenum getDrawMode() const;
37 GLboolean isPaused() const;
40 DISALLOW_COPY_AND_ASSIGN(TransformFeedback);
42 rx::TransformFeedbackImpl* mTransformFeedback;
45 GLenum mPrimitiveMode;
51 #endif // LIBGLESV2_TRANSFORM_FEEDBACK_H_