Home
last modified time | relevance | path

Searched refs:texCoords (Results 1 – 25 of 139) sorted by relevance

123456

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/shaders/
Dblit.metal44 float2 texCoords [[user(locn1)]];
51 output.texCoords = options.srcTexCoords[vid];
68 static uint2 getImageCoords(SrcTexture2d srcTexture, float2 texCoords)
71 uint2 coords = uint2(texCoords * float2(dimens));
77 static inline vec<T, 4> blitSampleTextureMS(texture2d_ms<T> srcTexture, float2 texCoords)
79 uint2 coords = getImageCoords(srcTexture, texCoords);
86 float2 texCoords,
92 return srcTexture.sample(textureSampler, float3(texCoords, zCoord), level(options.srcLevel));
120 output = srcTexture2d.sample(textureSampler, input.texCoords, level(options.srcLevel));
123 output = srcTexture2dArray.sample(textureSampler, input.texCoords, options.srcLayer,
[all …]
/third_party/flutter/skia/tests/
DVerticesTest.cpp25 if (!!v0->texCoords() != !!v1->texCoords()) { in equal()
36 if (v0->texCoords()) { in equal()
37 if (v0->texCoords()[i] != v1->texCoords()[i]) { in equal()
70 if (builder.texCoords()) { in DEF_TEST()
71 builder.texCoords()[i].set(x, 2); in DEF_TEST()
/third_party/skia/src/core/
DSkDraw_vertices.cpp317 const SkPoint* texCoords = info.texCoords(); in drawFixedVertices() local
324 if (!texCoords) { in drawFixedVertices()
325 texCoords = positions; in drawFixedVertices()
328 texCoords = nullptr; in drawFixedVertices()
333 if (colors && texCoords) { in drawFixedVertices()
339 texCoords = nullptr; in drawFixedVertices()
347 SkASSERT((texCoords != nullptr) == (paintShader != nullptr)); in drawFixedVertices()
375 if (!texCoords) { // only tricolor shader in drawFixedVertices()
408 if (texCoords == positions) { in drawFixedVertices()
426 if ((texCoords == positions) || in drawFixedVertices()
[all …]
/third_party/skia/tests/
DVerticesTest.cpp31 if (!!v0.texCoords() != !!v1.texCoords()) { in equal()
42 if (v0.texCoords()) { in equal()
43 if (v0.texCoords()[i] != v1.texCoords()[i]) { in equal()
94 if (builder.texCoords()) { in DEF_TEST()
95 builder.texCoords()[i].set(x, 2); in DEF_TEST()
/third_party/typescript/tests/baselines/reference/
DparserErrorRecoveryArrayLiteralExpression3.symbols2 var texCoords = [2, 2, 0.5000001192092895, 0.8749999 ; 403953552, 0.5000001192092895, 0.87499994039…
3 >texCoords : Symbol(texCoords, Decl(parserErrorRecoveryArrayLiteralExpression3.ts, 0, 3))
DparserErrorRecoveryArrayLiteralExpression3.js2 var texCoords = [2, 2, 0.5000001192092895, 0.8749999 ; 403953552, 0.5000001192092895, 0.87499994039… variable
6 var texCoords = [2, 2, 0.5000001192092895, 0.8749999]; variable
DparserErrorRecoveryArrayLiteralExpression3.types2 var texCoords = [2, 2, 0.5000001192092895, 0.8749999 ; 403953552, 0.5000001192092895, 0.87499994039…
3 >texCoords : number[]
/third_party/skia/third_party/externals/spirv-cross/shaders/asm/frag/
Dhlsl-sample-cmp-level-zero.asm.frag14 OpName %texCoords "texCoords"
20 OpName %texCoords_0 "texCoords"
21 OpName %texCoords_1 "texCoords"
88 %texCoords = OpFunctionParameter %_ptr_Function_v2float
96 %29 = OpLoad %v2float %texCoords
/third_party/flutter/skia/third_party/externals/sdl/src/render/opengles/
DSDL_render_gles.c936 GLfloat texCoords[8]; in GLES_RenderCopy() local
977 texCoords[0] = minu; in GLES_RenderCopy()
978 texCoords[1] = minv; in GLES_RenderCopy()
979 texCoords[2] = maxu; in GLES_RenderCopy()
980 texCoords[3] = minv; in GLES_RenderCopy()
981 texCoords[4] = minu; in GLES_RenderCopy()
982 texCoords[5] = maxv; in GLES_RenderCopy()
983 texCoords[6] = maxu; in GLES_RenderCopy()
984 texCoords[7] = maxv; in GLES_RenderCopy()
987 data->glTexCoordPointer(2, GL_FLOAT, 0, texCoords); in GLES_RenderCopy()
[all …]
/third_party/skia/third_party/externals/spirv-tools/test/opt/
Dinline_opaque_test.cpp48 OpName %texCoords "texCoords" in TEST_F()
152 OpName %texCoords "texCoords" in TEST_F()
246 OpName %texCoords "texCoords" in TEST_F()
362 OpName %texCoords "texCoords" in TEST_F()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
Dinline_opaque_test.cpp48 OpName %texCoords "texCoords" in TEST_F()
152 OpName %texCoords "texCoords" in TEST_F()
246 OpName %texCoords "texCoords" in TEST_F()
362 OpName %texCoords "texCoords" in TEST_F()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fTextureUnitTests.cpp481 const tcu::Vec2 texCoords[4] = in shadeFragments() local
494 (m_transformations[unitNdx] * Vec3(texCoords[0].x(), texCoords[0].y(), 1.0f)).xy(), in shadeFragments()
495 (m_transformations[unitNdx] * Vec3(texCoords[1].x(), texCoords[1].y(), 1.0f)).xy(), in shadeFragments()
496 (m_transformations[unitNdx] * Vec3(texCoords[2].x(), texCoords[2].y(), 1.0f)).xy(), in shadeFragments()
497 (m_transformations[unitNdx] * Vec3(texCoords[3].x(), texCoords[3].y(), 1.0f)).xy(), in shadeFragments()
510 m_transformations[unitNdx] * Vec3(texCoords[0].x(), texCoords[0].y(), 1.0f), in shadeFragments()
511 m_transformations[unitNdx] * Vec3(texCoords[1].x(), texCoords[1].y(), 1.0f), in shadeFragments()
512 m_transformations[unitNdx] * Vec3(texCoords[2].x(), texCoords[2].y(), 1.0f), in shadeFragments()
513 m_transformations[unitNdx] * Vec3(texCoords[3].x(), texCoords[3].y(), 1.0f), in shadeFragments()
/third_party/skia/src/gpu/ops/
DLatticeOp.cpp288 SkRect texCoords; in onPrepareDraws() local
290 coords.store(&texCoords); in onPrepareDraws()
294 VertexWriter::TriStripFromRect(texCoords), in onPrepareDraws()
306 << SkPoint::Make(texCoords.fLeft, texCoords.fTop) in onPrepareDraws()
310 << SkPoint::Make(texCoords.fLeft, texCoords.fBottom) in onPrepareDraws()
314 << SkPoint::Make(texCoords.fRight, texCoords.fTop) in onPrepareDraws()
318 << SkPoint::Make(texCoords.fRight, texCoords.fBottom) in onPrepareDraws()
DDrawVerticesOp.cpp446 const SkPoint* localCoords = info.texCoords() ? info.texCoords() : positions; in onPrepareDraws()
661 SkTArray<SkPoint>* texCoords, bool hasTexCoords, in randomize_params() argument
667 texCoords->push_back(random_point(random, min, max)); in randomize_params()
693 SkTArray<SkPoint> texCoords; in GR_DRAW_OP_TEST_DEFINE() local
706 &positions, &texCoords, hasTexCoords, &colors, hasColors, &indices, in GR_DRAW_OP_TEST_DEFINE()
711 random, &positions, &texCoords, hasTexCoords, &colors, hasColors, &indices, in GR_DRAW_OP_TEST_DEFINE()
721 texCoords.begin(), colors.begin(), in GR_DRAW_OP_TEST_DEFINE()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
DvktTextureConversionTests.cpp68 const std::vector<float>& texCoords) const;
138 …Access& reference, const ReferenceParams& samplerParams, const std::vector<float>& texCoords) const in verifyPixels()
163 m_swTexture, texCoords.data(), samplerParams, in verifyPixels()
206 std::vector<float> texCoords (8); in iterate() local
227 computeQuadTexCoord2D(texCoords, tcu::Vec2(0.0f), tcu::Vec2(1.0f)); in iterate()
230 m_renderer.renderQuad(rendered, 0, texCoords.data(), samplerParams); in iterate()
233 sampleTexture(reference, m_swTexture, texCoords.data(), samplerParams); in iterate()
235 return verifyPixels(rendered, reference, samplerParams, texCoords) in iterate()
/third_party/spirv-tools/test/opt/
Dinline_opaque_test.cpp48 OpName %texCoords "texCoords" in TEST_F()
152 OpName %texCoords "texCoords" in TEST_F()
253 OpName %texCoords "texCoords" in TEST_F()
/third_party/skia/docs/examples/
DCanvas_drawPatch_2_b.cpp14 SkPoint texCoords[] = { { 0, 0 }, { 0, 62}, { 62, 62}, { 62, 0 } }; in draw() local
17 canvas->drawPatch(cubics, nullptr, texCoords, paint); in draw()
DCanvas_drawPatch.cpp15 SkPoint texCoords[] = { { -30, -30 }, { 162, -30}, { 162, 162}, { -30, 162} }; in draw() local
19 canvas->drawPatch(cubics, colors, texCoords, blend, paint); in draw()
Ddraw_patch.cpp18 const SkPoint texCoords[] = { in draw() local
20 canvas->drawPatch(cubics, nullptr, texCoords, SkBlendMode::kSrcOver, p); in draw()
/third_party/flutter/skia/docs/examples/
DCanvas_drawPatch_2_b.cpp15 SkPoint texCoords[] = { { 0, 0 }, { 0, 62}, { 62, 62}, { 62, 0 } }; in draw() local
18 canvas->drawPatch(cubics, nullptr, texCoords, paint); in draw()
DCanvas_drawPatch.cpp16 SkPoint texCoords[] = { { -30, -30 }, { 162, -30}, { 162, 162}, { -30, 162} }; in draw() local
20 canvas->drawPatch(cubics, colors, texCoords, blend, paint); in draw()
/third_party/skia/third_party/externals/spirv-cross/reference/opt/shaders/asm/frag/
Dhlsl-sample-cmp-level-zero.asm.frag5 layout(location = 0) in vec2 texCoords;
12 …c4(textureGrad(SPIRV_Cross_CombinedShadowMapShadowSamplerPCF, vec4(vec4(texCoords, cascadeIndex, f…
/third_party/skia/third_party/externals/spirv-cross/reference/shaders/asm/frag/
Dhlsl-sample-cmp-level-zero.asm.frag5 layout(location = 0) in vec2 texCoords;
19 vec2 texCoords_1 = texCoords;
/third_party/flutter/skia/third_party/externals/sdl/src/render/opengles2/
DSDL_render_gles2.c1720 GLfloat texCoords[8]; in GLES2_RenderCopy() local
1739 texCoords[0] = srcrect->x / (GLfloat)texture->w; in GLES2_RenderCopy()
1740 texCoords[1] = srcrect->y / (GLfloat)texture->h; in GLES2_RenderCopy()
1741 texCoords[2] = (srcrect->x + srcrect->w) / (GLfloat)texture->w; in GLES2_RenderCopy()
1742 texCoords[3] = srcrect->y / (GLfloat)texture->h; in GLES2_RenderCopy()
1743 texCoords[4] = srcrect->x / (GLfloat)texture->w; in GLES2_RenderCopy()
1744 texCoords[5] = (srcrect->y + srcrect->h) / (GLfloat)texture->h; in GLES2_RenderCopy()
1745 texCoords[6] = (srcrect->x + srcrect->w) / (GLfloat)texture->w; in GLES2_RenderCopy()
1746 texCoords[7] = (srcrect->y + srcrect->h) / (GLfloat)texture->h; in GLES2_RenderCopy()
1748 GLES2_UpdateVertexBuffer(renderer, GLES2_ATTRIBUTE_TEXCOORD, texCoords, 8 * sizeof(GLfloat)); in GLES2_RenderCopy()
[all …]
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fFboTestUtil.cpp376 tcu::Vec2 texCoords[4]; in shadeFragments() local
385 texCoords[fragNdx] = tcu::Vec2(coord.x(), coord.y()); in shadeFragments()
400 tex->sample4(tmpColors, texCoords); in shadeFragments()
530 tcu::Vec3 texCoords[4]; in shadeFragments() local
540 texCoords[fragNdx] = tcu::Vec3(coord.x(), coord.y(), coord.z()); in shadeFragments()
543 tex->sample4(colors, texCoords); in shadeFragments()
638 tcu::Vec3 texCoords[4]; in shadeFragments() local
648 texCoords[fragNdx] = tcu::Vec3(coord.x(), coord.y(), float(layer)); in shadeFragments()
651 tex->sample4(colors, texCoords); in shadeFragments()
746 tcu::Vec3 texCoords[4]; in shadeFragments() local
[all …]

123456