1 //
2 // Copyright 2016 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.
5 //
6 // TransformFeedbackNULL.cpp:
7 //    Implements the class methods for TransformFeedbackNULL.
8 //
9 
10 #include "libANGLE/renderer/null/TransformFeedbackNULL.h"
11 
12 #include "common/debug.h"
13 
14 namespace rx
15 {
16 
TransformFeedbackNULL(const gl::TransformFeedbackState & state)17 TransformFeedbackNULL::TransformFeedbackNULL(const gl::TransformFeedbackState &state)
18     : TransformFeedbackImpl(state)
19 {}
20 
~TransformFeedbackNULL()21 TransformFeedbackNULL::~TransformFeedbackNULL() {}
22 
begin(const gl::Context * context,gl::PrimitiveMode primitiveMode)23 angle::Result TransformFeedbackNULL::begin(const gl::Context *context,
24                                            gl::PrimitiveMode primitiveMode)
25 {
26     return angle::Result::Continue;
27 }
28 
end(const gl::Context * context)29 angle::Result TransformFeedbackNULL::end(const gl::Context *context)
30 {
31     return angle::Result::Continue;
32 }
33 
pause(const gl::Context * context)34 angle::Result TransformFeedbackNULL::pause(const gl::Context *context)
35 {
36     return angle::Result::Continue;
37 }
38 
resume(const gl::Context * context)39 angle::Result TransformFeedbackNULL::resume(const gl::Context *context)
40 {
41     return angle::Result::Continue;
42 }
43 
bindIndexedBuffer(const gl::Context * context,size_t index,const gl::OffsetBindingPointer<gl::Buffer> & binding)44 angle::Result TransformFeedbackNULL::bindIndexedBuffer(
45     const gl::Context *context,
46     size_t index,
47     const gl::OffsetBindingPointer<gl::Buffer> &binding)
48 {
49     return angle::Result::Continue;
50 }
51 
52 }  // namespace rx
53