Home
last modified time | relevance | path

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

/third_party/skia/src/gpu/effects/
DGrAtlasedShaderHelpers.h22 GrGLSLVarying* texIdx, in append_index_uv_varyings() argument
65 texIdx->reset(kFloat_GrSLType); in append_index_uv_varyings()
68 args.fVaryingHandler->addVarying("TexIndex", texIdx, Interpolation::kCanBeFlat); in append_index_uv_varyings()
69 args.fVertBuilder->codeAppendf("%s = %s(texIdx);", texIdx->vsOut(), cast); in append_index_uv_varyings()
80 const GrGLSLVarying& texIdx, in append_multitexture_lookup() argument
92 args.fFragBuilder->codeAppendf("if (%s == %d) { %s = ", texIdx.fsIn(), i, colorName); in append_multitexture_lookup()
DGrDistanceFieldGeoProc.cpp94 GrGLSLVarying uv, texIdx, st; in onEmitCode() local
100 &texIdx, in onEmitCode()
113 texIdx, "uv", "texColor"); in onEmitCode()
358 GrGLSLVarying uv, texIdx, st; in onEmitCode() local
364 &texIdx, in onEmitCode()
397 append_multitexture_lookup(args, dfPathEffect.numTextureSamplers(), texIdx, "uv", in onEmitCode()
642 GrGLSLVarying uv, texIdx, st; in onEmitCode() local
648 &texIdx, in onEmitCode()
702 texIdx, "uv", "texColor"); in onEmitCode()
710 texIdx, "uv_adjusted", "texColor"); in onEmitCode()
[all …]
DGrBitmapTextGeoProc.cpp59 GrGLSLVarying uv, texIdx; in onEmitCode() local
65 &texIdx, in onEmitCode()
90 texIdx, uv.fsIn(), "texColor"); in onEmitCode()
/third_party/flutter/skia/src/gpu/effects/
DGrAtlasedShaderHelpers.h21 GrGLSLVarying *texIdx, in append_index_uv_varyings() argument
57 args.fVaryingHandler->addVarying("TexIndex", texIdx, args.fShaderCaps->integerSupport() in append_index_uv_varyings()
60 args.fVertBuilder->codeAppendf("%s = texIdx;", texIdx->vsOut()); in append_index_uv_varyings()
70 const GrGLSLVarying &texIdx, in append_multitexture_lookup() argument
75 args.fFragBuilder->codeAppendf("if (%s == %d) { %s = ", texIdx.fsIn(), i, colorName); in append_multitexture_lookup()
DGrDistanceFieldGeoProc.cpp71 GrGLSLVarying texIdx(texIdxType); in onEmitCode() local
74 &texIdx, &st); in onEmitCode()
88 texIdx, "uv", "texColor"); in onEmitCode()
285 int texIdx = d->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx in TestCreate() local
288 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()
581 int texIdx = d->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx in TestCreate() local
584 d->textureProxy(texIdx), in TestCreate()
[all …]
DGrBitmapTextGeoProc.cpp43 GrGLSLVarying texIdx(texIdxType); in onEmitCode() local
45 &texIdx, nullptr); in onEmitCode()
69 texIdx, uv.fsIn(), "texColor"); in onEmitCode()
199 int texIdx = d->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx in TestCreate() local
202 d->textureProxy(texIdx), in TestCreate()
DGrSimpleTextureEffect.fp59 int texIdx = testData->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx
75 return GrSimpleTextureEffect::Make(testData->textureProxy(texIdx), matrix, params);
DGrGaussianConvolutionFragmentProcessor.cpp279 int texIdx = d->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx in TestCreate() local
281 sk_sp<GrTextureProxy> proxy = d->textureProxy(texIdx); in TestCreate()
301 d->textureProxy(texIdx), 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()
DGrBicubicEffect.cpp212 int texIdx = d->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx in TestCreate() local
229 return GrBicubicEffect::Make(d->textureProxy(texIdx), SkMatrix::I(), kClampClamp, direction, in TestCreate()
DGrMatrixConvolutionEffect.cpp320 int texIdx = d->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx in TestCreate() local
322 sk_sp<GrTextureProxy> proxy = d->textureProxy(texIdx); in TestCreate()
/third_party/flutter/skia/src/image/
DSkImage_GpuYUVA.cpp362 for (int texIdx = 0; texIdx < numTextures; ++texIdx) { in MakePromiseYUVATexture() local
364 yuvaFormats[texIdx], in MakePromiseYUVATexture()
365 yuvaIndices[3].fIndex == texIdx); in MakePromiseYUVATexture()
370 proxies[texIdx] = MakePromiseImageLazyProxy( in MakePromiseYUVATexture()
371 context, yuvaSizes[texIdx].width(), yuvaSizes[texIdx].height(), imageOrigin, in MakePromiseYUVATexture()
372 colorType, yuvaFormats[texIdx], GrMipMapped::kNo, textureFulfillProc, in MakePromiseYUVATexture()
373 textureReleaseProc, promiseDoneProc, textureContexts[texIdx], version); in MakePromiseYUVATexture()
375 if (!proxies[texIdx]) { in MakePromiseYUVATexture()
/third_party/flutter/skia/tools/
DDDLPromiseImageHelper.cpp290 int texIdx = yuvaIndices[yuvIndex].fIndex; in addImage() local
291 if (texIdx < 0) { in addImage()
295 if (kUnknown_SkColorType == colorTypes[texIdx]) { in addImage()
296 colorTypes[texIdx] = kAlpha_8_SkColorType; in addImage()
298 colorTypes[texIdx] = kRGBA_8888_SkColorType; in addImage()
/third_party/flutter/skia/src/gpu/effects/generated/
DGrSimpleTextureEffect.cpp71 int texIdx = testData->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx in TestCreate() local
87 return GrSimpleTextureEffect::Make(testData->textureProxy(texIdx), matrix, params); in TestCreate()
/third_party/vk-gl-cts/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 …]
/third_party/flutter/skia/src/effects/imagefilters/
DSkMorphologyImageFilter.cpp452 int texIdx = d->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx in TestCreate() local
454 sk_sp<GrTextureProxy> proxy = d->textureProxy(texIdx); in TestCreate()
DSkLightingImageFilter.cpp1708 int texIdx = d->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx in TestCreate() local
1710 sk_sp<GrTextureProxy> proxy = d->textureProxy(texIdx); in TestCreate()
1926 int texIdx = d->fRandom->nextBool() ? GrProcessorUnitTest::kSkiaPMTextureIdx in TestCreate() local
1928 sk_sp<GrTextureProxy> proxy = d->textureProxy(texIdx); in TestCreate()