Home
last modified time | relevance | path

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

12

/external/skia/src/gpu/glsl/
DGrGLSLProgramBuilder.h35 using SamplerHandle = GrGLSLUniformHandler::SamplerHandle; variable
58 const char* samplerVariable(SamplerHandle handle) const { in samplerVariable()
62 GrSwizzle samplerSwizzle(SamplerHandle handle) const { in samplerSwizzle()
66 const char* inputSamplerVariable(SamplerHandle handle) const { in inputSamplerVariable()
70 GrSwizzle inputSamplerSwizzle(SamplerHandle handle) const { in inputSamplerSwizzle()
156 SamplerHandle emitSampler(const GrBackendFormat&, GrSamplerState, const GrSwizzle&,
158 SamplerHandle emitInputSampler(const GrSwizzle& swizzle, const char* name);
DGrGLSLUniformHandler.h44 GR_DEFINE_RESOURCE_HANDLE_CLASS(SamplerHandle);
108 virtual const char * samplerVariable(SamplerHandle) const = 0;
109 virtual GrSwizzle samplerSwizzle(SamplerHandle) const = 0;
111 virtual const char* inputSamplerVariable(SamplerHandle) const { in inputSamplerVariable() argument
115 virtual GrSwizzle inputSamplerSwizzle(SamplerHandle) const { in inputSamplerSwizzle() argument
120 virtual SamplerHandle addSampler(const GrBackendFormat&, GrSamplerState, const GrSwizzle&,
123 virtual SamplerHandle addInputSampler(const GrSwizzle& swizzle, const char* name) { in addInputSampler()
DGrGLSLXferProcessor.h26 using SamplerHandle = GrGLSLUniformHandler::SamplerHandle; variable
38 const SamplerHandle dstTextureSamplerHandle, in EmitArgs()
62 const SamplerHandle fDstTextureSamplerHandle;
DGrGLSLShaderBuilder.h37 using SamplerHandle = GrGLSLUniformHandler::SamplerHandle; variable
43 void appendTextureLookup(SkString* out, SamplerHandle, const char* coordName) const;
46 void appendTextureLookup(SamplerHandle,
55 SamplerHandle,
60 void appendInputLoad(SamplerHandle);
DGrGLSLGeometryProcessor.h32 using SamplerHandle = GrGLSLUniformHandler::SamplerHandle; variable
78 const SamplerHandle* texSamplers, in EmitArgs()
100 const SamplerHandle* fTexSamplers;
DGrGLSLProgramBuilder.cpp102 SkAutoSTArray<4, SamplerHandle> texSamplers(geomProc.numTextureSamplers()); in emitAndInstallPrimProc()
184 SamplerHandle handle = this->emitSampler(format, samplerState, swizzle, name.c_str()); in emitFragProc()
232 SamplerHandle dstTextureSamplerHandle; in emitAndInstallXferProc()
278 GrGLSLProgramBuilder::SamplerHandle GrGLSLProgramBuilder::emitSampler( in emitSampler()
286 GrGLSLProgramBuilder::SamplerHandle GrGLSLProgramBuilder::emitInputSampler(const GrSwizzle& swizzle, in emitInputSampler()
DGrGLSLShaderBuilder.cpp104 SamplerHandle samplerHandle, in appendTextureLookup()
111 void GrGLSLShaderBuilder::appendTextureLookup(SamplerHandle samplerHandle, in appendTextureLookup()
122 SamplerHandle samplerHandle, in appendTextureLookupAndBlend()
145 void GrGLSLShaderBuilder::appendInputLoad(SamplerHandle samplerHandle) { in appendInputLoad()
/external/skia/src/gpu/vk/
DGrVkUniformHandler.h116 SamplerHandle addSampler(const GrBackendFormat&,
122 SamplerHandle addInputSampler(const GrSwizzle& swizzle, const char* name) override;
125 const char* samplerVariable(SamplerHandle handle) const override { in samplerVariable()
128 GrSwizzle samplerSwizzle(SamplerHandle handle) const override { in samplerSwizzle()
131 uint32_t samplerVisibility(SamplerHandle handle) const { in samplerVisibility()
139 const char* inputSamplerVariable(SamplerHandle handle) const override { in inputSamplerVariable()
146 GrSwizzle inputSamplerSwizzle(SamplerHandle handle) const override { in inputSamplerSwizzle()
DGrVkUniformHandler.cpp269 GrGLSLUniformHandler::SamplerHandle GrVkUniformHandler::addSampler( in addSampler()
304 return GrGLSLUniformHandler::SamplerHandle(fSamplers.count() - 1); in addSampler()
307 GrGLSLUniformHandler::SamplerHandle GrVkUniformHandler::addInputSampler(const GrSwizzle& swizzle, in addInputSampler()
324 return GrGLSLUniformHandler::SamplerHandle(0); in addInputSampler()
/external/skqp/src/gpu/glsl/
DGrGLSLXferProcessor.h26 using SamplerHandle = GrGLSLUniformHandler::SamplerHandle; variable
37 const SamplerHandle dstTextureSamplerHandle, in EmitArgs()
57 const SamplerHandle fDstTextureSamplerHandle;
DGrGLSLProgramBuilder.h30 using SamplerHandle = GrGLSLUniformHandler::SamplerHandle; variable
48 const GrShaderVar& samplerVariable(SamplerHandle handle) const { in samplerVariable()
52 GrSwizzle samplerSwizzle(SamplerHandle handle) const { in samplerSwizzle()
153 SamplerHandle emitSampler(const GrTexture*, const GrSamplerState&, const char* name);
DGrGLSLUniformHandler.h38 GR_DEFINE_RESOURCE_HANDLE_CLASS(SamplerHandle);
99 virtual const GrShaderVar& samplerVariable(SamplerHandle) const = 0;
100 virtual GrSwizzle samplerSwizzle(SamplerHandle) const = 0;
102 virtual SamplerHandle addSampler(const GrTexture*, const GrSamplerState&, const char* name,
DGrGLSLPrimitiveProcessor.h31 using SamplerHandle = GrGLSLUniformHandler::SamplerHandle; variable
77 const SamplerHandle* texSamplers, in EmitArgs()
101 const SamplerHandle* fTexSamplers;
DGrGLSLShaderBuilder.h28 using SamplerHandle = GrGLSLUniformHandler::SamplerHandle; variable
36 SamplerHandle,
41 void appendTextureLookup(SamplerHandle,
52 SamplerHandle,
DGrGLSLFragmentProcessor.h32 using SamplerHandle = GrGLSLUniformHandler::SamplerHandle; variable
75 BuilderInputProvider<SamplerHandle, &GrFragmentProcessor::numTextureSamplers>;
DGrGLSLProgramBuilder.cpp104 SkAutoSTMalloc<4, SamplerHandle> texSamplers(proc.numTextureSamplers()); in emitAndInstallPrimProc()
186 SkSTArray<4, SamplerHandle> texSamplers; in emitAndInstallFragProc()
245 SamplerHandle dstTextureSamplerHandle; in emitAndInstallXferProc()
275 GrGLSLProgramBuilder::SamplerHandle GrGLSLProgramBuilder::emitSampler(const GrTexture* texture, in emitSampler()
DGrGLSLShaderBuilder.cpp71 SamplerHandle samplerHandle, in appendTextureLookup()
79 void GrGLSLShaderBuilder::appendTextureLookup(SamplerHandle samplerHandle, in appendTextureLookup()
90 SamplerHandle samplerHandle, in appendTextureLookupAndModulate()
/external/skqp/src/gpu/mtl/
DGrMtlUniformHandler.h62 SamplerHandle addSampler(const GrTexture*,
68 const GrShaderVar& samplerVariable(SamplerHandle handle) const override { in samplerVariable()
71 GrSwizzle samplerSwizzle(SamplerHandle handle) const override { in samplerSwizzle()
74 uint32_t samplerVisibility(SamplerHandle handle) const { in samplerVisibility()
/external/skqp/src/gpu/vk/
DGrVkUniformHandler.h73 SamplerHandle addSampler(const GrTexture* texture,
79 const GrShaderVar& samplerVariable(SamplerHandle handle) const override { in samplerVariable()
82 GrSwizzle samplerSwizzle(SamplerHandle handle) const override { in samplerSwizzle()
85 uint32_t samplerVisibility(SamplerHandle handle) const { in samplerVisibility()
/external/skia/src/gpu/mtl/
DGrMtlUniformHandler.h72 SamplerHandle addSampler(const GrBackendFormat&,
79 const char* samplerVariable(SamplerHandle handle) const override { in samplerVariable()
82 GrSwizzle samplerSwizzle(SamplerHandle handle) const override { in samplerSwizzle()
85 uint32_t samplerVisibility(SamplerHandle handle) const { in samplerVisibility()
/external/skqp/src/gpu/gl/
DGrGLUniformHandler.h42 SamplerHandle addSampler(const GrTexture*, const GrSamplerState&, const char* name,
45 const GrShaderVar& samplerVariable(SamplerHandle handle) const override { in samplerVariable()
49 GrSwizzle samplerSwizzle(SamplerHandle handle) const override { in samplerSwizzle()
/external/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;
DGrSPIRVUniformHandler.cpp244 GrGLSLUniformHandler::SamplerHandle GrSPIRVUniformHandler::addSampler(const GrBackendFormat&, in addSampler()
284 return GrGLSLUniformHandler::SamplerHandle(fSamplers.count() - 1); in addSampler()
288 GrGLSLUniformHandler::SamplerHandle handle) const { in samplerVariable()
292 GrSwizzle GrSPIRVUniformHandler::samplerSwizzle(GrGLSLUniformHandler::SamplerHandle handle) const { in samplerSwizzle()
/external/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()
/external/skia/src/gpu/effects/
DGrTextureEffect.h117 void setSamplerHandle(GrGLSLShaderBuilder::SamplerHandle handle) { in setSamplerHandle()
126 GrGLSLShaderBuilder::SamplerHandle fSamplerHandle;

12