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 
7 // ProgramPipelineImpl.h: Defines the abstract rx::ProgramPipelineImpl class.
8 
9 #ifndef LIBANGLE_RENDERER_PROGRAMPIPELINEIMPL_H_
10 #define LIBANGLE_RENDERER_PROGRAMPIPELINEIMPL_H_
11 
12 #include "common/angleutils.h"
13 #include "libANGLE/ProgramPipeline.h"
14 
15 namespace rx
16 {
17 class ContextImpl;
18 
19 class ProgramPipelineImpl : public angle::NonCopyable
20 {
21   public:
ProgramPipelineImpl(const gl::ProgramPipelineState & state)22     ProgramPipelineImpl(const gl::ProgramPipelineState &state) : mState(state) {}
~ProgramPipelineImpl()23     virtual ~ProgramPipelineImpl() {}
destroy(const ContextImpl * contextImpl)24     virtual void destroy(const ContextImpl *contextImpl) {}
25 
26   protected:
27     const gl::ProgramPipelineState &mState;
28 };
29 
30 }  // namespace rx
31 
32 #endif  // LIBANGLE_RENDERER_PROGRAMPIPELINEIMPL_H_
33