• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //
2 // Copyright 2021 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 // CLSamplerImpl.h: Defines the abstract rx::CLSamplerImpl class.
7 
8 #ifndef LIBANGLE_RENDERER_CLSAMPLERIMPL_H_
9 #define LIBANGLE_RENDERER_CLSAMPLERIMPL_H_
10 
11 #include "libANGLE/renderer/CLtypes.h"
12 
13 namespace rx
14 {
15 
16 class CLSamplerImpl : angle::NonCopyable
17 {
18   public:
19     using Ptr = std::unique_ptr<CLSamplerImpl>;
20 
21     CLSamplerImpl(const cl::Sampler &sampler);
22     virtual ~CLSamplerImpl();
23 
24   protected:
25     const cl::Sampler &mSampler;
26 };
27 
28 }  // namespace rx
29 
30 #endif  // LIBANGLE_RENDERER_CLSAMPLERIMPL_H_
31