Home
last modified time | relevance | path

Searched refs:texIdx (Results 1 – 17 of 17) sorted by relevance

/external/skia/src/gpu/effects/
DGrAtlasedShaderHelpers.h23 GrGLSLVarying* texIdx, in append_index_uv_varyings() argument
66 texIdx->reset(kFloat_GrSLType); in append_index_uv_varyings()
69 args.fVaryingHandler->addVarying("TexIndex", texIdx, Interpolation::kCanBeFlat); in append_index_uv_varyings()
70 args.fVertBuilder->codeAppendf("%s = %s(texIdx);", texIdx->vsOut(), cast); in append_index_uv_varyings()
81 const GrGLSLVarying &texIdx, in append_multitexture_lookup() argument
93 args.fFragBuilder->codeAppendf("if (%s == %d) { %s = ", texIdx.fsIn(), i, colorName); in append_multitexture_lookup()
DGrDistanceFieldGeoProc.cpp70 GrGLSLVarying uv, texIdx, st; in onEmitCode() local
73 &texIdx, &st); in onEmitCode()
87 texIdx, "uv", "texColor"); in onEmitCode()
345 GrGLSLVarying uv, texIdx, st; in onEmitCode() local
348 &texIdx, &st); in onEmitCode()
379 append_multitexture_lookup(args, dfPathEffect.numTextureSamplers(), texIdx, "uv", in onEmitCode()
634 GrGLSLVarying uv, texIdx, st; in onEmitCode() local
637 &texIdx, &st); in onEmitCode()
691 texIdx, "uv", "texColor"); in onEmitCode()
699 texIdx, "uv_adjusted", "texColor"); in onEmitCode()
[all …]
DGrBitmapTextGeoProc.cpp42 GrGLSLVarying uv, texIdx; in onEmitCode() local
44 atlasDimensionsInvName, &uv, &texIdx, nullptr); in onEmitCode()
68 texIdx, uv.fsIn(), "texColor"); in onEmitCode()
/external/skqp/src/gpu/effects/
DGrAtlasedShaderHelpers.h21 GrGLSLVarying *texIdx, in append_index_uv_varyings() argument
45 args.fVaryingHandler->addVarying("TexIndex", texIdx, args.fShaderCaps->integerSupport() in append_index_uv_varyings()
48 args.fVertBuilder->codeAppendf("%s = texIdx;", texIdx->vsOut()); in append_index_uv_varyings()
58 const GrGLSLVarying &texIdx, in append_multitexture_lookup() argument
63 args.fFragBuilder->codeAppendf("if (%s == %d) { %s = ", texIdx.fsIn(), i, colorName); in append_multitexture_lookup()
DGrDistanceFieldGeoProc.cpp72 GrGLSLVarying texIdx(texIdxType); in onEmitCode() local
75 &texIdx, &st); in onEmitCode()
89 texIdx, "uv", "texColor"); in onEmitCode()
284 int texIdx = d->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx in TestCreate() local
287 d->textureProxy(texIdx), in TestCreate()
349 GrGLSLVarying texIdx(texIdxType); in onEmitCode() local
352 &texIdx, &st); in onEmitCode()
388 append_multitexture_lookup(args, dfPathEffect.numTextureSamplers(), texIdx, "uv", in onEmitCode()
579 int texIdx = d->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx in TestCreate() local
582 d->textureProxy(texIdx), in TestCreate()
[all …]
DGrBitmapTextGeoProc.cpp44 GrGLSLVarying texIdx(texIdxType); in onEmitCode() local
46 &texIdx, nullptr); in onEmitCode()
70 texIdx, uv.fsIn(), "texColor"); in onEmitCode()
199 int texIdx = d->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx in TestCreate() local
202 d->textureProxy(texIdx), in TestCreate()
DGrSimpleTextureEffect.cpp70 int texIdx = testData->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx in TestCreate() local
86 return GrSimpleTextureEffect::Make(testData->textureProxy(texIdx), matrix, params); in TestCreate()
DGrSimpleTextureEffect.fp59 int texIdx = testData->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx
75 return GrSimpleTextureEffect::Make(testData->textureProxy(texIdx), matrix, params);
DGrGaussianConvolutionFragmentProcessor.cpp277 int texIdx = d->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx in TestCreate() local
279 sk_sp<GrTextureProxy> proxy = d->textureProxy(texIdx); in TestCreate()
299 d->textureProxy(texIdx), in TestCreate()
DGrBicubicEffect.cpp179 int texIdx = d->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx in TestCreate() local
183 return GrBicubicEffect::Make(d->textureProxy(texIdx), SkMatrix::I(), kClampClamp); in TestCreate()
DGrTextureDomain.cpp358 int texIdx = d->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx in TestCreate() local
360 sk_sp<GrTextureProxy> proxy = d->textureProxy(texIdx); in TestCreate()
489 int texIdx = d->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx in TestCreate() local
491 sk_sp<GrTextureProxy> proxy = d->textureProxy(texIdx); in TestCreate()
DGrMatrixConvolutionEffect.cpp320 int texIdx = d->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx in TestCreate() local
322 sk_sp<GrTextureProxy> proxy = d->textureProxy(texIdx); in TestCreate()
/external/skqp/src/image/
DSkImage_GpuYUVA.cpp315 for (int texIdx = 0; texIdx < numTextures; ++texIdx) { in MakePromiseYUVATexture() local
317 context->contextPriv().caps()->getYUVAConfigFromBackendFormat(yuvaFormats[texIdx]); in MakePromiseYUVATexture()
321 proxies[texIdx] = MakePromiseImageLazyProxy( in MakePromiseYUVATexture()
322 context, yuvaSizes[texIdx].width(), yuvaSizes[texIdx].height(), imageOrigin, config, in MakePromiseYUVATexture()
323 yuvaFormats[texIdx], GrMipMapped::kNo, textureFulfillProc, textureReleaseProc, in MakePromiseYUVATexture()
324 promiseDoneProc, textureContexts[texIdx], delayReleaseCallback); in MakePromiseYUVATexture()
326 if (!proxies[texIdx]) { in MakePromiseYUVATexture()
/external/skqp/tools/
DDDLPromiseImageHelper.cpp319 int texIdx = yuvaIndices[yuvIndex].fIndex; in addImage() local
320 if (texIdx < 0) { in addImage()
324 if (kUnknown_SkColorType == colorTypes[texIdx]) { in addImage()
325 colorTypes[texIdx] = kAlpha_8_SkColorType; in addImage()
327 colorTypes[texIdx] = kRGBA_8888_SkColorType; in addImage()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelinePushDescriptorTests.cpp1147 for (deUint32 texIdx = 0; texIdx < 2; texIdx++) in init() local
1182 for (deUint32 texIdx = 0; texIdx < 2; texIdx++) in init() local
1189 **m_textureImages[texIdx], // VkImage image; in init()
1213 for (deUint32 texIdx = 0; texIdx < 2; texIdx++) in init() local
1232 **m_textureImages[texIdx], // VkImage image; in init()
1252 **m_textureImages[texIdx], // VkImage image; in init()
1273 …arColorImage(*cmdBuffer, **m_textureImages[texIdx], VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, &clearVa… in init()
1949 for (deUint32 texIdx = 0; texIdx < 2; texIdx++) in init() local
1984 for (deUint32 texIdx = 0; texIdx < 2; texIdx++) in init() local
1991 **m_textureImages[texIdx], // VkImage image; in init()
[all …]
/external/skqp/src/effects/imagefilters/
DSkMorphologyImageFilter.cpp369 int texIdx = d->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx in TestCreate() local
371 sk_sp<GrTextureProxy> proxy = d->textureProxy(texIdx); in TestCreate()
DSkLightingImageFilter.cpp1786 int texIdx = d->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx in TestCreate() local
1788 sk_sp<GrTextureProxy> proxy = d->textureProxy(texIdx); in TestCreate()
2004 int texIdx = d->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx in TestCreate() local
2006 sk_sp<GrTextureProxy> proxy = d->textureProxy(texIdx); in TestCreate()