Edit

kc3-lang/angle/src/libANGLE/renderer/null/VertexArrayNULL.h

Branch :

  • Show log

    Commit

  • Author : Jamie Madill
    Date : 2019-01-14 13:45:58
    Hash : 9567b0c5
    Message : Clear VAO dirty bits in NULL back-end. This is the back-end responsibility now. Bug: chromium:921338 Change-Id: I6181210a80ec7d635382df74d842d8a899ad2894 Reviewed-on: https://chromium-review.googlesource.com/c/1409405 Reviewed-by: Jamie Madill <jmadill@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org>

  • src/libANGLE/renderer/null/VertexArrayNULL.h
  • //
    // Copyright 2016 The ANGLE Project Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style license that can be
    // found in the LICENSE file.
    //
    // VertexArrayNULL.h:
    //    Defines the class interface for VertexArrayNULL, implementing VertexArrayImpl.
    //
    
    #ifndef LIBANGLE_RENDERER_NULL_VERTEXARRAYNULL_H_
    #define LIBANGLE_RENDERER_NULL_VERTEXARRAYNULL_H_
    
    #include "libANGLE/renderer/VertexArrayImpl.h"
    
    namespace rx
    {
    
    class VertexArrayNULL : public VertexArrayImpl
    {
      public:
        VertexArrayNULL(const gl::VertexArrayState &data);
    
        angle::Result syncState(const gl::Context *context,
                                const gl::VertexArray::DirtyBits &dirtyBits,
                                gl::VertexArray::DirtyAttribBitsArray *attribBits,
                                gl::VertexArray::DirtyBindingBitsArray *bindingBits) override;
    };
    
    }  // namespace rx
    
    #endif  // LIBANGLE_RENDERER_NULL_VERTEXARRAYNULL_H_