8#ifndef GrYUVtoRGBEffect_DEFINED
9#define GrYUVtoRGBEffect_DEFINED
24namespace skgpu {
class KeyBuilder; }
34 const SkRect* subset =
nullptr,
35 const SkRect* domain =
nullptr);
36 std::unique_ptr<GrFragmentProcessor>
clone()
const override;
38 const char*
name()
const override {
return "YUVtoRGBEffect"; }
49#if defined(GR_TEST_UTILS)
50 SkString onDumpInfo()
const override;
53 std::unique_ptr<ProgramImpl> onMakeProgramImpl()
const override;
#define GR_DECLARE_FRAGMENT_PROCESSOR_TEST
static std::unique_ptr< GrFragmentProcessor > Make(const GrYUVATextureProxies &yuvaProxies, GrSamplerState samplerState, const GrCaps &, const SkMatrix &localMatrix=SkMatrix::I(), const SkRect *subset=nullptr, const SkRect *domain=nullptr)
const char * name() const override
std::unique_ptr< GrFragmentProcessor > clone() const override
static const SkMatrix & I()
std::array< YUVALocation, kYUVAChannelCount > YUVALocations