Home
last modified time | relevance | path

Searched refs:numTextureSamplers (Results 1 – 25 of 42) sorted by relevance

12

/external/skqp/src/gpu/
DGrProgramDesc.cpp54 int numTextureSamplers = fp.numTextureSamplers(); in add_sampler_keys() local
56 int word32Count = (numTextureSamplers + 1) / 2; in add_sampler_keys()
61 for (int i = 0; i < numTextureSamplers; ++i) { in add_sampler_keys()
77 if (numTextureSamplers & 0x1) { in add_sampler_keys()
78 k16[numTextureSamplers] = 0; in add_sampler_keys()
84 int numTextureSamplers = pp.numTextureSamplers(); in add_sampler_keys() local
86 int word32Count = (numTextureSamplers + 1) / 2; in add_sampler_keys()
91 for (int i = 0; i < numTextureSamplers; ++i) { in add_sampler_keys()
105 if (numTextureSamplers & 0x1) { in add_sampler_keys()
106 k16[numTextureSamplers] = 0; in add_sampler_keys()
DGrGpuCommandBuffer.cpp56 for (int i = 0; i < primProc.numTextureSamplers(); ++i) { in draw()
63 int n = primProc.numTextureSamplers() * meshCount; in draw()
74 for (int i = 0; i < primProc.numTextureSamplers(); ++i) { in draw()
80 primProcProxies[j*primProc.numTextureSamplers() + i]; in draw()
DGrOpFlushState.cpp110 for (int i = 0; i < gp->numTextureSamplers(); ++i) { in draw()
115 int n = gp->numTextureSamplers() * meshCnt; in draw()
180 for (int i = 0; i < fGeometryProcessor->numTextureSamplers(); ++i) { in ~Draw()
185 int n = fGeometryProcessor->numTextureSamplers() * fMeshCnt; in ~Draw()
DGrFragmentProcessor.h107 int numTextureSamplers() const { return fTextureSamplerCnt; } in numTextureSamplers() function
241 &GrFragmentProcessor::numTextureSamplers,
/external/skia/src/gpu/
DGrProgramDesc.cpp54 int numTextureSamplers = fp.numTextureSamplers(); in add_sampler_keys() local
55 if (!numTextureSamplers) { in add_sampler_keys()
58 uint32_t* k32 = b->add32n(numTextureSamplers); in add_sampler_keys()
59 for (int i = 0; i < numTextureSamplers; ++i) { in add_sampler_keys()
78 int numTextureSamplers = pp.numTextureSamplers(); in add_sampler_keys() local
79 if (!numTextureSamplers) { in add_sampler_keys()
82 uint32_t* k32 = b->add32n(numTextureSamplers); in add_sampler_keys()
83 for (int i = 0; i < numTextureSamplers; ++i) { in add_sampler_keys()
DGrGpuCommandBuffer.cpp57 for (int i = 0; i < primProc.numTextureSamplers(); ++i) { in draw()
64 int n = primProc.numTextureSamplers() * meshCount; in draw()
75 for (int i = 0; i < primProc.numTextureSamplers(); ++i) { in draw()
81 primProcProxies[j*primProc.numTextureSamplers() + i]; in draw()
DGrOpFlushState.cpp123 for (int i = 0; i < gp->numTextureSamplers(); ++i) { in recordDraw()
128 int n = gp->numTextureSamplers() * meshCnt; in recordDraw()
192 for (int i = 0; i < fGeometryProcessor->numTextureSamplers(); ++i) { in ~Draw()
197 int n = fGeometryProcessor->numTextureSamplers() * fMeshCnt; in ~Draw()
DGrFragmentProcessor.cpp25 if (this->numTextureSamplers() != that.numTextureSamplers()) { in isEqual()
28 for (int i = 0; i < this->numTextureSamplers(); ++i) { in isEqual()
DGrFragmentProcessor.h108 int numTextureSamplers() const { return fTextureSamplerCnt; } in numTextureSamplers() function
242 &GrFragmentProcessor::numTextureSamplers,
/external/skia/src/gpu/effects/
DGrAtlasedShaderHelpers.h57 int numTextureSamplers, in append_multitexture_lookup() argument
62 for (int i = 0; i < numTextureSamplers-1; ++i) { in append_multitexture_lookup()
69 args.fFragBuilder->appendTextureLookup(args.fTexSamplers[numTextureSamplers-1], coordName, in append_multitexture_lookup()
DGrYUVtoRGBEffect.cpp82 for (int i = 0; i < this->numTextureSamplers(); ++i) { in dumpInfo()
165 b->add32(this->numTextureSamplers()); in onGetGLSLProcessorKey()
191 for (int i = 0; i < this->numTextureSamplers(); ++i) { in onIsEqual()
207 int numPlanes = src.numTextureSamplers(); in GrYUVtoRGBEffect()
225 SkASSERT(index < this->numTextureSamplers()); in onTextureSampler()
DGrDistanceFieldGeoProc.cpp87 append_multitexture_lookup(args, dfTexEffect.numTextureSamplers(), in onEmitCode()
193 b->add32(dfTexEffect.numTextureSamplers()); in GenKey()
387 append_multitexture_lookup(args, dfPathEffect.numTextureSamplers(), texIdx, "uv", in onEmitCode()
497 b->add32(dfTexEffect.numTextureSamplers()); in GenKey()
710 append_multitexture_lookup(args, dfTexEffect.numTextureSamplers(), in onEmitCode()
718 append_multitexture_lookup(args, dfTexEffect.numTextureSamplers(), in onEmitCode()
723 append_multitexture_lookup(args, dfTexEffect.numTextureSamplers(), in onEmitCode()
814 b->add32(dfTexEffect.numTextureSamplers()); in GenKey()
DGrBitmapTextGeoProc.cpp68 append_multitexture_lookup(args, btgp.numTextureSamplers(), in onEmitCode()
106 b->add32(btgp.numTextureSamplers()); in GenKey()
/external/skqp/src/gpu/effects/
DGrAtlasedShaderHelpers.h57 int numTextureSamplers, in append_multitexture_lookup() argument
62 for (int i = 0; i < numTextureSamplers-1; ++i) { in append_multitexture_lookup()
69 args.fFragBuilder->appendTextureLookup(args.fTexSamplers[numTextureSamplers-1], coordName, in append_multitexture_lookup()
DGrYUVtoRGBEffect.cpp72 for (int i = 0; i < this->numTextureSamplers(); ++i) { in dumpInfo()
155 b->add32(this->numTextureSamplers()); in onGetGLSLProcessorKey()
181 for (int i = 0; i < this->numTextureSamplers(); ++i) { in onIsEqual()
197 int numPlanes = src.numTextureSamplers(); in GrYUVtoRGBEffect()
215 SkASSERT(index < this->numTextureSamplers()); in onTextureSampler()
DGrDistanceFieldGeoProc.cpp88 append_multitexture_lookup(args, dfTexEffect.numTextureSamplers(), in onEmitCode()
193 b->add32(dfTexEffect.numTextureSamplers()); in GenKey()
388 append_multitexture_lookup(args, dfPathEffect.numTextureSamplers(), texIdx, "uv", in onEmitCode()
497 b->add32(dfTexEffect.numTextureSamplers()); in GenKey()
710 append_multitexture_lookup(args, dfTexEffect.numTextureSamplers(), in onEmitCode()
718 append_multitexture_lookup(args, dfTexEffect.numTextureSamplers(), in onEmitCode()
723 append_multitexture_lookup(args, dfTexEffect.numTextureSamplers(), in onEmitCode()
813 b->add32(dfTexEffect.numTextureSamplers()); in GenKey()
DGrBitmapTextGeoProc.cpp69 append_multitexture_lookup(args, btgp.numTextureSamplers(), in onEmitCode()
107 b->add32(btgp.numTextureSamplers()); in GenKey()
/external/skqp/src/gpu/gl/
DGrGLProgram.cpp93 int nextTexSamplerIdx = primProc.numTextureSamplers(); in updateUniformsAndTextureBindings()
111 for (int i = 0; i < primProc.numTextureSamplers(); ++i) { in updatePrimitiveProcessorTextureBindings()
124 for (int i = 0; i < fp->numTextureSamplers(); ++i) { in setFragmentData()
/external/skia/src/gpu/gl/
DGrGLProgram.cpp93 int nextTexSamplerIdx = primProc.numTextureSamplers(); in updateUniformsAndTextureBindings()
111 for (int i = 0; i < primProc.numTextureSamplers(); ++i) { in updatePrimitiveProcessorTextureBindings()
124 for (int i = 0; i < fp->numTextureSamplers(); ++i) { in setFragmentData()
/external/skqp/src/gpu/glsl/
DGrGLSLProgramBuilder.cpp104 SkAutoSTMalloc<4, SamplerHandle> texSamplers(proc.numTextureSamplers()); in emitAndInstallPrimProc()
105 for (int i = 0; i < proc.numTextureSamplers(); ++i) { in emitAndInstallPrimProc()
190 for (int i = 0; i < subFP->numTextureSamplers(); ++i) { in emitAndInstallFragProc()
/external/skia/src/gpu/vk/
DGrVkPipelineState.cpp202 SkASSERT(primProcTextures || !primProc.numTextureSamplers()); in setAndBindTextures()
213 for (int i = 0; i < primProc.numTextureSamplers(); ++i) { in setAndBindTextures()
224 for (int i = 0; i < fp->numTextureSamplers(); ++i) { in setAndBindTextures()
/external/skqp/src/gpu/vk/
DGrVkPipelineState.cpp202 SkASSERT(primProcTextures || !primProc.numTextureSamplers()); in setAndBindTextures()
213 for (int i = 0; i < primProc.numTextureSamplers(); ++i) { in setAndBindTextures()
224 for (int i = 0; i < fp->numTextureSamplers(); ++i) { in setAndBindTextures()
/external/skia/src/gpu/glsl/
DGrGLSLProgramBuilder.cpp103 SkAutoSTMalloc<4, SamplerHandle> texSamplers(proc.numTextureSamplers()); in emitAndInstallPrimProc()
104 for (int i = 0; i < proc.numTextureSamplers(); ++i) { in emitAndInstallPrimProc()
189 for (int i = 0; i < subFP->numTextureSamplers(); ++i) { in emitAndInstallFragProc()
/external/skia/src/gpu/mtl/
DGrMtlPipelineState.mm68 SkASSERT(primProcTextures || !primProc.numTextureSamplers());
74 for (int i = 0; i < primProc.numTextureSamplers(); ++i) {
86 for (int i = 0; i < fp->numTextureSamplers(); ++i) {
/external/skqp/src/gpu/mtl/
DGrMtlPipelineState.mm68 SkASSERT(primProcTextures || !primProc.numTextureSamplers());
74 for (int i = 0; i < primProc.numTextureSamplers(); ++i) {
86 for (int i = 0; i < fp->numTextureSamplers(); ++i) {

12