Home
last modified time | relevance | path

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

12345

/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/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/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/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/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/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/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/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/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/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/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/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/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/include/core/
DSkVertices.h187 SkPoint* texCoords(); // returns null if there are no texCoords
215 bool hasTexCoords() const { return SkToBool(this->texCoords()); } in hasTexCoords()
221 const SkPoint* texCoords() const { return fTexs; } in texCoords() function
/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/typescript/tests/cases/conformance/parser/ecmascript5/ErrorRecovery/ArrayLiteralExpressions/
DparserErrorRecoveryArrayLiteralExpression3.ts2 var texCoords = [2, 2, 0.5000001192092895, 0.8749999 ; 403953552, 0.5000001192092895, 0.87499994039… variable
/third_party/flutter/skia/src/core/
DSkVertices.cpp185 SkPoint* SkVertices::Builder::texCoords() { in texCoords() function in SkVertices::Builder
186 return fVertices ? const_cast<SkPoint*>(fVertices->texCoords()) : nullptr; in texCoords()
231 this->texCoords(), in applyBones()
298 sk_careful_memcpy(builder.texCoords(), texs, sizes.fTSize); in MakeCopy()
409 reader.read(builder.texCoords(), sizes.fTSize); in Decode()
/third_party/flutter/skia/src/gpu/ops/
DGrDrawVerticesOp.cpp431 const SkPoint* localCoords = mesh.fVertices->texCoords(); in fillBuffers()
639 SkTArray<SkPoint>* texCoords, bool hasTexCoords, in randomize_params() argument
645 texCoords->push_back(random_point(random, min, max)); in randomize_params()
668 SkTArray<SkPoint> texCoords; in GR_DRAW_OP_TEST_DEFINE() local
681 &positions, &texCoords, hasTexCoords, &colors, hasColors, &indices, in GR_DRAW_OP_TEST_DEFINE()
686 random, &positions, &texCoords, hasTexCoords, &colors, hasColors, &indices, in GR_DRAW_OP_TEST_DEFINE()
696 texCoords.begin(), colors.begin(), in GR_DRAW_OP_TEST_DEFINE()

12345