Hash :
e3dd7161
Author :
Date :
2021-05-24T12:47:38
CL: sampler object creation for front end and pass-through Add sampler object to back end and implement creation and info query. Bug: angleproject:6001 Change-Id: If5b7d09564d773d6aeda7612728e19bfec7f6155 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2912806 Commit-Queue: John Plate <jplate@google.com> Reviewed-by: Cody Northrop <cnorthrop@google.com> Reviewed-by: Jamie Madill <jmadill@chromium.org>
//
// Copyright 2021 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.
//
// CLSamplerImpl.h: Defines the abstract rx::CLSamplerImpl class.
#ifndef LIBANGLE_RENDERER_CLSAMPLERIMPL_H_
#define LIBANGLE_RENDERER_CLSAMPLERIMPL_H_
#include "libANGLE/renderer/CLtypes.h"
namespace rx
{
class CLSamplerImpl : angle::NonCopyable
{
public:
using Ptr = std::unique_ptr<CLSamplerImpl>;
CLSamplerImpl(const cl::Sampler &sampler);
virtual ~CLSamplerImpl();
protected:
const cl::Sampler &mSampler;
};
} // namespace rx
#endif // LIBANGLE_RENDERER_CLSAMPLERIMPL_H_