#include "libANGLE/renderer/gl/TransformFeedbackGL.h"
#include "common/debug.h"
#include "libANGLE/Context.h"
#include "libANGLE/State.h"
#include "libANGLE/renderer/gl/BufferGL.h"
#include "libANGLE/renderer/gl/FunctionsGL.h"
#include "libANGLE/renderer/gl/ProgramExecutableGL.h"
#include "libANGLE/renderer/gl/StateManagerGL.h"
#include "libANGLE/renderer/gl/renderergl_utils.h"
namespace rx
{
TransformFeedbackGL::TransformFeedbackGL(const gl::TransformFeedbackState &state,
const FunctionsGL *functions,
StateManagerGL *stateManager)
: … { … }
TransformFeedbackGL::~TransformFeedbackGL()
{ … }
angle::Result TransformFeedbackGL::begin(const gl::Context *context,
gl::PrimitiveMode primitiveMode)
{ … }
angle::Result TransformFeedbackGL::end(const gl::Context *context)
{ … }
angle::Result TransformFeedbackGL::pause(const gl::Context *context)
{ … }
angle::Result TransformFeedbackGL::resume(const gl::Context *context)
{ … }
angle::Result TransformFeedbackGL::bindIndexedBuffer(
const gl::Context *context,
size_t index,
const gl::OffsetBindingPointer<gl::Buffer> &binding)
{ … }
GLuint TransformFeedbackGL::getTransformFeedbackID() const
{ … }
void TransformFeedbackGL::syncActiveState(const gl::Context *context,
bool active,
gl::PrimitiveMode primitiveMode) const
{ … }
void TransformFeedbackGL::syncPausedState(bool paused) const
{ … }
}