• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 // VertexArrayNULL.h:
7 //    Defines the class interface for VertexArrayNULL, implementing VertexArrayImpl.
8 //
9 
10 #ifndef LIBANGLE_RENDERER_NULL_VERTEXARRAYNULL_H_
11 #define LIBANGLE_RENDERER_NULL_VERTEXARRAYNULL_H_
12 
13 #include "libANGLE/renderer/VertexArrayImpl.h"
14 
15 namespace rx
16 {
17 
18 class VertexArrayNULL : public VertexArrayImpl
19 {
20   public:
21     VertexArrayNULL(const gl::VertexArrayState &data);
22 
23     angle::Result syncState(const gl::Context *context,
24                             const gl::VertexArray::DirtyBits &dirtyBits,
25                             gl::VertexArray::DirtyAttribBitsArray *attribBits,
26                             gl::VertexArray::DirtyBindingBitsArray *bindingBits) override;
27 };
28 
29 }  // namespace rx
30 
31 #endif  // LIBANGLE_RENDERER_NULL_VERTEXARRAYNULL_H_
32