xref: /aosp_15_r20/external/angle/src/libANGLE/renderer/CLSamplerImpl.h (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
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/cl_types.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