Commit ac8bafc0 by Shahbaz Youssefi Committed by Commit Bot

Remove unused bindGenericBuffer from TransformFeedback*

Bug: angleproject:3205 Change-Id: I6dc29b48155cd3c0ef98248076cf02e70c9310d9 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1643423Reviewed-by: 's avatarYuly Novikov <ynovikov@chromium.org> Reviewed-by: 's avatarJonah Ryan-Davis <jonahr@google.com> Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
parent 453dfc44
...@@ -26,8 +26,6 @@ class TransformFeedbackImpl : angle::NonCopyable ...@@ -26,8 +26,6 @@ class TransformFeedbackImpl : angle::NonCopyable
virtual angle::Result pause(const gl::Context *context) = 0; virtual angle::Result pause(const gl::Context *context) = 0;
virtual angle::Result resume(const gl::Context *context) = 0; virtual angle::Result resume(const gl::Context *context) = 0;
virtual angle::Result bindGenericBuffer(const gl::Context *context,
const gl::BindingPointer<gl::Buffer> &binding) = 0;
virtual angle::Result bindIndexedBuffer( virtual angle::Result bindIndexedBuffer(
const gl::Context *context, const gl::Context *context,
size_t index, size_t index,
......
...@@ -29,8 +29,6 @@ class MockTransformFeedbackImpl : public TransformFeedbackImpl ...@@ -29,8 +29,6 @@ class MockTransformFeedbackImpl : public TransformFeedbackImpl
MOCK_METHOD1(pause, angle::Result(const gl::Context *)); MOCK_METHOD1(pause, angle::Result(const gl::Context *));
MOCK_METHOD1(resume, angle::Result(const gl::Context *)); MOCK_METHOD1(resume, angle::Result(const gl::Context *));
MOCK_METHOD2(bindGenericBuffer,
angle::Result(const gl::Context *, const gl::BindingPointer<gl::Buffer> &));
MOCK_METHOD3(bindIndexedBuffer, MOCK_METHOD3(bindIndexedBuffer,
angle::Result(const gl::Context *, angle::Result(const gl::Context *,
size_t, size_t,
......
...@@ -70,13 +70,6 @@ angle::Result TransformFeedback11::resume(const gl::Context *context) ...@@ -70,13 +70,6 @@ angle::Result TransformFeedback11::resume(const gl::Context *context)
return angle::Result::Continue; return angle::Result::Continue;
} }
angle::Result TransformFeedback11::bindGenericBuffer(const gl::Context *context,
const gl::BindingPointer<gl::Buffer> &binding)
{
mRenderer->getStateManager()->invalidateTransformFeedback();
return angle::Result::Continue;
}
angle::Result TransformFeedback11::bindIndexedBuffer( angle::Result TransformFeedback11::bindIndexedBuffer(
const gl::Context *context, const gl::Context *context,
size_t index, size_t index,
......
...@@ -32,8 +32,6 @@ class TransformFeedback11 : public TransformFeedbackImpl ...@@ -32,8 +32,6 @@ class TransformFeedback11 : public TransformFeedbackImpl
angle::Result pause(const gl::Context *context) override; angle::Result pause(const gl::Context *context) override;
angle::Result resume(const gl::Context *context) override; angle::Result resume(const gl::Context *context) override;
angle::Result bindGenericBuffer(const gl::Context *context,
const gl::BindingPointer<gl::Buffer> &binding) override;
angle::Result bindIndexedBuffer(const gl::Context *context, angle::Result bindIndexedBuffer(const gl::Context *context,
size_t index, size_t index,
const gl::OffsetBindingPointer<gl::Buffer> &binding) override; const gl::OffsetBindingPointer<gl::Buffer> &binding) override;
......
...@@ -71,12 +71,6 @@ angle::Result TransformFeedbackGL::resume(const gl::Context *context) ...@@ -71,12 +71,6 @@ angle::Result TransformFeedbackGL::resume(const gl::Context *context)
return angle::Result::Continue; return angle::Result::Continue;
} }
angle::Result TransformFeedbackGL::bindGenericBuffer(const gl::Context *context,
const gl::BindingPointer<gl::Buffer> &binding)
{
return angle::Result::Continue;
}
angle::Result TransformFeedbackGL::bindIndexedBuffer( angle::Result TransformFeedbackGL::bindIndexedBuffer(
const gl::Context *context, const gl::Context *context,
size_t index, size_t index,
......
...@@ -30,8 +30,6 @@ class TransformFeedbackGL : public TransformFeedbackImpl ...@@ -30,8 +30,6 @@ class TransformFeedbackGL : public TransformFeedbackImpl
angle::Result pause(const gl::Context *context) override; angle::Result pause(const gl::Context *context) override;
angle::Result resume(const gl::Context *context) override; angle::Result resume(const gl::Context *context) override;
angle::Result bindGenericBuffer(const gl::Context *context,
const gl::BindingPointer<gl::Buffer> &binding) override;
angle::Result bindIndexedBuffer(const gl::Context *context, angle::Result bindIndexedBuffer(const gl::Context *context,
size_t index, size_t index,
const gl::OffsetBindingPointer<gl::Buffer> &binding) override; const gl::OffsetBindingPointer<gl::Buffer> &binding) override;
......
...@@ -41,13 +41,6 @@ angle::Result TransformFeedbackNULL::resume(const gl::Context *context) ...@@ -41,13 +41,6 @@ angle::Result TransformFeedbackNULL::resume(const gl::Context *context)
return angle::Result::Continue; return angle::Result::Continue;
} }
angle::Result TransformFeedbackNULL::bindGenericBuffer(
const gl::Context *context,
const gl::BindingPointer<gl::Buffer> &binding)
{
return angle::Result::Continue;
}
angle::Result TransformFeedbackNULL::bindIndexedBuffer( angle::Result TransformFeedbackNULL::bindIndexedBuffer(
const gl::Context *context, const gl::Context *context,
size_t index, size_t index,
......
...@@ -26,8 +26,6 @@ class TransformFeedbackNULL : public TransformFeedbackImpl ...@@ -26,8 +26,6 @@ class TransformFeedbackNULL : public TransformFeedbackImpl
angle::Result pause(const gl::Context *context) override; angle::Result pause(const gl::Context *context) override;
angle::Result resume(const gl::Context *context) override; angle::Result resume(const gl::Context *context) override;
angle::Result bindGenericBuffer(const gl::Context *context,
const gl::BindingPointer<gl::Buffer> &binding) override;
angle::Result bindIndexedBuffer(const gl::Context *context, angle::Result bindIndexedBuffer(const gl::Context *context,
size_t index, size_t index,
const gl::OffsetBindingPointer<gl::Buffer> &binding) override; const gl::OffsetBindingPointer<gl::Buffer> &binding) override;
......
...@@ -45,13 +45,6 @@ angle::Result TransformFeedbackVk::resume(const gl::Context *context) ...@@ -45,13 +45,6 @@ angle::Result TransformFeedbackVk::resume(const gl::Context *context)
return angle::Result::Stop; return angle::Result::Stop;
} }
angle::Result TransformFeedbackVk::bindGenericBuffer(const gl::Context *context,
const gl::BindingPointer<gl::Buffer> &binding)
{
UNIMPLEMENTED();
return angle::Result::Stop;
}
angle::Result TransformFeedbackVk::bindIndexedBuffer( angle::Result TransformFeedbackVk::bindIndexedBuffer(
const gl::Context *context, const gl::Context *context,
size_t index, size_t index,
......
...@@ -26,8 +26,6 @@ class TransformFeedbackVk : public TransformFeedbackImpl ...@@ -26,8 +26,6 @@ class TransformFeedbackVk : public TransformFeedbackImpl
angle::Result pause(const gl::Context *context) override; angle::Result pause(const gl::Context *context) override;
angle::Result resume(const gl::Context *context) override; angle::Result resume(const gl::Context *context) override;
angle::Result bindGenericBuffer(const gl::Context *context,
const gl::BindingPointer<gl::Buffer> &binding) override;
angle::Result bindIndexedBuffer(const gl::Context *context, angle::Result bindIndexedBuffer(const gl::Context *context,
size_t index, size_t index,
const gl::OffsetBindingPointer<gl::Buffer> &binding) override; const gl::OffsetBindingPointer<gl::Buffer> &binding) override;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment