Home
last modified time | relevance | path

Searched refs:SamplerHandle (Results 1 – 25 of 35) sorted by relevance

12

/third_party/skia/src/gpu/glsl/
DGrGLSLProgramBuilder.h34 using SamplerHandle = GrGLSLUniformHandler::SamplerHandle; variable
54 const char* samplerVariable(SamplerHandle handle) const { in samplerVariable()
58 GrSwizzle samplerSwizzle(SamplerHandle handle) const { in samplerSwizzle()
62 const char* inputSamplerVariable(SamplerHandle handle) const { in inputSamplerVariable()
66 GrSwizzle inputSamplerSwizzle(SamplerHandle handle) const { in inputSamplerSwizzle()
110 SamplerHandle fDstTextureSamplerHandle;
154 SamplerHandle emitSampler(const GrBackendFormat&, GrSamplerState, const GrSwizzle&,
156 SamplerHandle emitInputSampler(const GrSwizzle& swizzle, const char* name);
DGrGLSLUniformHandler.h45 GR_DEFINE_RESOURCE_HANDLE_CLASS(SamplerHandle);
101 virtual const char * samplerVariable(SamplerHandle) const = 0;
102 virtual GrSwizzle samplerSwizzle(SamplerHandle) const = 0;
104 virtual const char* inputSamplerVariable(SamplerHandle) const { in inputSamplerVariable() argument
108 virtual GrSwizzle inputSamplerSwizzle(SamplerHandle) const { in inputSamplerSwizzle() argument
113 virtual SamplerHandle addSampler(const GrBackendFormat&, GrSamplerState, const GrSwizzle&,
116 virtual SamplerHandle addInputSampler(const GrSwizzle& swizzle, const char* name) { in addInputSampler()
DGrGLSLShaderBuilder.h35 using SamplerHandle = GrGLSLUniformHandler::SamplerHandle; variable
41 void appendTextureLookup(SkString* out, SamplerHandle, const char* coordName) const;
44 void appendTextureLookup(SamplerHandle,
53 SamplerHandle,
58 void appendInputLoad(SamplerHandle);
DGrGLSLShaderBuilder.cpp108 SamplerHandle samplerHandle, in appendTextureLookup()
115 void GrGLSLShaderBuilder::appendTextureLookup(SamplerHandle samplerHandle, in appendTextureLookup()
126 SamplerHandle samplerHandle, in appendTextureLookupAndBlend()
149 void GrGLSLShaderBuilder::appendInputLoad(SamplerHandle samplerHandle) { in appendInputLoad()
/third_party/skia/src/gpu/vk/
DGrVkUniformHandler.h113 SamplerHandle addSampler(const GrBackendFormat&,
119 SamplerHandle addInputSampler(const GrSwizzle& swizzle, const char* name) override;
122 const char* samplerVariable(SamplerHandle handle) const override { in samplerVariable()
125 GrSwizzle samplerSwizzle(SamplerHandle handle) const override { in samplerSwizzle()
128 uint32_t samplerVisibility(SamplerHandle handle) const { in samplerVisibility()
136 const char* inputSamplerVariable(SamplerHandle handle) const override { in inputSamplerVariable()
143 GrSwizzle inputSamplerSwizzle(SamplerHandle handle) const override { in inputSamplerSwizzle()
DGrVkUniformHandler.cpp248 GrGLSLUniformHandler::SamplerHandle GrVkUniformHandler::addSampler( in addSampler()
290 return GrGLSLUniformHandler::SamplerHandle(fSamplers.count() - 1); in addSampler()
293 GrGLSLUniformHandler::SamplerHandle GrVkUniformHandler::addInputSampler(const GrSwizzle& swizzle, in addInputSampler()
310 return GrGLSLUniformHandler::SamplerHandle(0); in addInputSampler()
/third_party/flutter/skia/src/gpu/mtl/
DGrMtlUniformHandler.h60 SamplerHandle addSampler(const GrTexture*,
67 const char* samplerVariable(SamplerHandle handle) const override { in samplerVariable()
70 GrSwizzle samplerSwizzle(SamplerHandle handle) const override { in samplerSwizzle()
73 uint32_t samplerVisibility(SamplerHandle handle) const { in samplerVisibility()
/third_party/flutter/skia/src/gpu/glsl/
DGrGLSLUniformHandler.h38 GR_DEFINE_RESOURCE_HANDLE_CLASS(SamplerHandle);
78 virtual const char * samplerVariable(SamplerHandle) const = 0;
80 virtual GrSwizzle samplerSwizzle(SamplerHandle) const = 0;
82 virtual SamplerHandle addSampler(const GrTexture*, const GrSamplerState&, const GrSwizzle&,
DGrGLSLProgramBuilder.h32 using SamplerHandle = GrGLSLUniformHandler::SamplerHandle; variable
54 const char* samplerVariable(SamplerHandle handle) const { in samplerVariable()
58 GrSwizzle samplerSwizzle(SamplerHandle handle) const { in samplerSwizzle()
161 SamplerHandle emitSampler(const GrTexture*, const GrSamplerState&, const GrSwizzle&,
DGrGLSLXferProcessor.h26 using SamplerHandle = GrGLSLUniformHandler::SamplerHandle; variable
37 const SamplerHandle dstTextureSamplerHandle, in EmitArgs()
60 const SamplerHandle fDstTextureSamplerHandle;
DGrGLSLPrimitiveProcessor.h31 using SamplerHandle = GrGLSLUniformHandler::SamplerHandle; variable
77 const SamplerHandle* texSamplers, in EmitArgs()
101 const SamplerHandle* fTexSamplers;
DGrGLSLShaderBuilder.h29 using SamplerHandle = GrGLSLUniformHandler::SamplerHandle; variable
37 SamplerHandle,
42 void appendTextureLookup(SamplerHandle,
53 SamplerHandle,
DGrGLSLFragmentProcessor.h32 using SamplerHandle = GrGLSLUniformHandler::SamplerHandle; variable
75 BuilderInputProvider<SamplerHandle, &GrFragmentProcessor::numTextureSamplers>;
DGrGLSLProgramBuilder.cpp102 SkAutoSTMalloc<4, SamplerHandle> texSamplers(proc.numTextureSamplers()); in emitAndInstallPrimProc()
188 SkSTArray<4, SamplerHandle> texSamplers; in emitAndInstallFragProc()
248 SamplerHandle dstTextureSamplerHandle; in emitAndInstallXferProc()
291 GrGLSLProgramBuilder::SamplerHandle GrGLSLProgramBuilder::emitSampler(const GrTexture* texture, in emitSampler()
/third_party/flutter/skia/src/gpu/vk/
DGrVkUniformHandler.h76 SamplerHandle addSampler(const GrTexture* texture,
83 const char* samplerVariable(SamplerHandle handle) const override { in samplerVariable()
86 GrSwizzle samplerSwizzle(SamplerHandle handle) const override { in samplerSwizzle()
89 uint32_t samplerVisibility(SamplerHandle handle) const { in samplerVisibility()
/third_party/skia/src/gpu/mtl/
DGrMtlUniformHandler.h73 SamplerHandle addSampler(const GrBackendFormat&,
80 const char* samplerVariable(SamplerHandle handle) const override { in samplerVariable()
83 GrSwizzle samplerSwizzle(SamplerHandle handle) const override { in samplerSwizzle()
86 uint32_t samplerVisibility(SamplerHandle handle) const { in samplerVisibility()
/third_party/flutter/skia/src/gpu/dawn/
DGrDawnUniformHandler.h38 SamplerHandle addSampler(const GrTexture*, const GrSamplerState&, const GrSwizzle&,
40 const char* samplerVariable(SamplerHandle handle) const override;
41 GrSwizzle samplerSwizzle(SamplerHandle handle) const override;
DGrDawnUniformHandler.cpp236 GrGLSLUniformHandler::SamplerHandle GrDawnUniformHandler::addSampler(const GrTexture* texture, in addSampler()
276 return GrGLSLUniformHandler::SamplerHandle(fSamplers.count() - 1); in addSampler()
280 GrGLSLUniformHandler::SamplerHandle handle) const { in samplerVariable()
284 GrSwizzle GrDawnUniformHandler::samplerSwizzle(GrGLSLUniformHandler::SamplerHandle handle) const { in samplerSwizzle()
/third_party/flutter/skia/src/gpu/gl/
DGrGLUniformHandler.h41 SamplerHandle addSampler(const GrTexture*, const GrSamplerState&, const GrSwizzle&,
44 const char* samplerVariable(SamplerHandle handle) const override { in samplerVariable()
48 GrSwizzle samplerSwizzle(SamplerHandle handle) const override { in samplerSwizzle()
/third_party/skia/src/gpu/
DGrSPIRVUniformHandler.h52 SamplerHandle addSampler(const GrBackendFormat&, GrSamplerState, const GrSwizzle&,
54 const char* samplerVariable(SamplerHandle handle) const override;
55 GrSwizzle samplerSwizzle(SamplerHandle handle) const override;
DGrXferProcessor.h286 using SamplerHandle = GrGLSLUniformHandler::SamplerHandle; in GR_MAKE_BITFIELD_CLASS_OPS() local
297 const SamplerHandle dstTextureSamplerHandle, in GR_MAKE_BITFIELD_CLASS_OPS()
319 const SamplerHandle fDstTextureSamplerHandle; in GR_MAKE_BITFIELD_CLASS_OPS()
DGrSPIRVUniformHandler.cpp227 GrGLSLUniformHandler::SamplerHandle GrSPIRVUniformHandler::addSampler(const GrBackendFormat&, in addSampler()
271 return GrGLSLUniformHandler::SamplerHandle(fSamplers.count() - 1); in addSampler()
275 GrGLSLUniformHandler::SamplerHandle handle) const { in samplerVariable()
279 GrSwizzle GrSPIRVUniformHandler::samplerSwizzle(GrGLSLUniformHandler::SamplerHandle handle) const { in samplerSwizzle()
DGrGeometryProcessor.h280 using SamplerHandle = GrGLSLUniformHandler::SamplerHandle; variable
300 const SamplerHandle* texSamplers) in EmitArgs()
318 const SamplerHandle* fTexSamplers;
/third_party/skia/src/gpu/gl/
DGrGLUniformHandler.h55 SamplerHandle addSampler(const GrBackendFormat&, GrSamplerState, const GrSwizzle&,
58 const char* samplerVariable(SamplerHandle handle) const override { in samplerVariable()
62 GrSwizzle samplerSwizzle(SamplerHandle handle) const override { in samplerSwizzle()
/third_party/skia/src/gpu/effects/
DGrTextureEffect.h116 void setSamplerHandle(GrGLSLShaderBuilder::SamplerHandle handle) { in setSamplerHandle()
127 GrGLSLShaderBuilder::SamplerHandle fSamplerHandle;

12