1 //
2 // Copyright 2017 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 // ProgramPipelineGL.h:
7 //     Defines the class interface for ProgramPipelineGL, implementing ProgramPipelineImpl.
8 //
9 
10 #ifndef LIBANGLE_RENDERER_GL_PROGRAMPIPELINEGL_H_
11 #define LIBANGLE_RENDERER_GL_PROGRAMPIPELINEGL_H_
12 
13 #include "libANGLE/renderer/ProgramPipelineImpl.h"
14 
15 namespace rx
16 {
17 
18 class FunctionsGL;
19 
20 class ProgramPipelineGL : public ProgramPipelineImpl
21 {
22   public:
23     ProgramPipelineGL(const gl::ProgramPipelineState &data, const FunctionsGL *functions);
24     ~ProgramPipelineGL() override;
25 
getID()26     GLuint getID() const { return mProgramPipelineID; }
27 
28   private:
29     const FunctionsGL *mFunctions;
30 
31     GLuint mProgramPipelineID;
32 };
33 
34 }  // namespace rx
35 
36 #endif  // LIBANGLE_RENDERER_GL_PROGRAMPIPELINEGL_H_
37