Edit

kc3-lang/angle/src/libANGLE/renderer/VertexArrayImpl.h

Branch :

  • Show log

    Commit

  • Author : Jamie Madill
    Date : 2016-04-26 13:41:36
    Hash : 3f572680
    Message : Rename gl::VertexArray::Data to gl::VertexArrayState. BUG=angleproject:1363 Change-Id: I5acf670bd88988941676cc9bc75606d55cca224e Reviewed-on: https://chromium-review.googlesource.com/340744 Reviewed-by: Geoff Lang <geofflang@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org>

  • src/libANGLE/renderer/VertexArrayImpl.h
  • //
    // Copyright 2014 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.
    //
    
    // VertexAttribImpl.h: Defines the abstract rx::VertexAttribImpl class.
    
    #ifndef LIBANGLE_RENDERER_VERTEXARRAYIMPL_H_
    #define LIBANGLE_RENDERER_VERTEXARRAYIMPL_H_
    
    #include "common/angleutils.h"
    #include "libANGLE/Buffer.h"
    #include "libANGLE/VertexArray.h"
    
    namespace rx
    {
    
    class VertexArrayImpl : angle::NonCopyable
    {
      public:
        VertexArrayImpl(const gl::VertexArrayState &data) : mData(data) {}
        virtual ~VertexArrayImpl() { }
        virtual void syncState(const gl::VertexArray::DirtyBits &dirtyBits) {}
      protected:
        const gl::VertexArrayState &mData;
    };
    
    }
    
    #endif // LIBANGLE_RENDERER_VERTEXARRAYIMPL_H_