Home
last modified time | relevance | path

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

12345

/external/skqp/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()
/external/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()
/external/mesa3d/src/gallium/drivers/i915/
Di915_state_derived.c61 boolean texCoords[I915_TEX_UNITS], colors[2], fog, needW, face; in calculate_vertex_layout() local
65 memset(texCoords, 0, sizeof(texCoords)); in calculate_vertex_layout()
77 texCoords[find_mapping(fs, unit)] = TRUE; in calculate_vertex_layout()
89 texCoords[find_mapping(fs, unit)] = TRUE; in calculate_vertex_layout()
146 if (texCoords[i]) { in calculate_vertex_layout()
/external/deqp/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()
/external/deqp-deps/SPIRV-Tools/test/opt/
Dinline_opaque_test.cpp48 OpName %texCoords "texCoords" in TEST_F()
146 OpName %texCoords "texCoords" in TEST_F()
247 OpName %texCoords "texCoords" in TEST_F()
/external/swiftshader/third_party/SPIRV-Tools/test/opt/
Dinline_opaque_test.cpp48 OpName %texCoords "texCoords" in TEST_F()
146 OpName %texCoords "texCoords" in TEST_F()
247 OpName %texCoords "texCoords" in TEST_F()
/external/swiftshader/third_party/PowerVR_SDK/Examples/Intermediate/ColourGrading/OGLES3/
DBackgroundFragShader.fsh5 in mediump vec2 texCoords;
10 highp vec3 vCol = texture(sTexture, texCoords).rgb;
DVertShader.vsh9 out mediump vec2 texCoords;
14 texCoords = inTexCoord;
DFragShader.fsh6 in mediump vec2 texCoords;
11 highp vec3 vCol = texture(sTexture, texCoords).rgb;
/external/skqp/src/gpu/ops/
DGrDrawVerticesOp.cpp380 const SkPoint* localCoords = mesh.fVertices->texCoords(); in fillBuffers()
589 SkTArray<SkPoint>* texCoords, bool hasTexCoords, in randomize_params() argument
595 texCoords->push_back(random_point(random, min, max)); in randomize_params()
618 SkTArray<SkPoint> texCoords; in GR_DRAW_OP_TEST_DEFINE() local
631 &positions, &texCoords, hasTexCoords, &colors, hasColors, &indices, in GR_DRAW_OP_TEST_DEFINE()
636 random, &positions, &texCoords, hasTexCoords, &colors, hasColors, &indices, in GR_DRAW_OP_TEST_DEFINE()
646 texCoords.begin(), colors.begin(), in GR_DRAW_OP_TEST_DEFINE()
/external/deqp/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 …]
Des3fTextureUnitTests.cpp637 const tcu::Vec2 texCoords[4] = in shadeFragments() local
648 (m_transformations[unitNdx] * Vec4(texCoords[0].x(), texCoords[0].y(), 1.0f, 1.0f)).xyz(), in shadeFragments()
649 (m_transformations[unitNdx] * Vec4(texCoords[1].x(), texCoords[1].y(), 1.0f, 1.0f)).xyz(), in shadeFragments()
650 (m_transformations[unitNdx] * Vec4(texCoords[2].x(), texCoords[2].y(), 1.0f, 1.0f)).xyz(), in shadeFragments()
651 (m_transformations[unitNdx] * Vec4(texCoords[3].x(), texCoords[3].y(), 1.0f, 1.0f)).xyz(), in shadeFragments()
/external/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
/external/skqp/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
/external/skia/src/gpu/ops/
DGrDrawVerticesOp.cpp430 const SkPoint* localCoords = mesh.fVertices->texCoords(); in fillBuffers()
640 SkTArray<SkPoint>* texCoords, bool hasTexCoords, in randomize_params() argument
646 texCoords->push_back(random_point(random, min, max)); in randomize_params()
669 SkTArray<SkPoint> texCoords; in GR_DRAW_OP_TEST_DEFINE() local
682 &positions, &texCoords, hasTexCoords, &colors, hasColors, &indices, in GR_DRAW_OP_TEST_DEFINE()
687 random, &positions, &texCoords, hasTexCoords, &colors, hasColors, &indices, in GR_DRAW_OP_TEST_DEFINE()
697 texCoords.begin(), colors.begin(), in GR_DRAW_OP_TEST_DEFINE()
/external/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()
/external/skqp/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()
/external/deqp/modules/gles31/functional/
Des31fTextureGatherTests.cpp503 static inline void computeTexCoordVecs (const vector<float>& texCoords, tcu::Vector<float, N> (&dst… in computeTexCoordVecs() argument
505 DE_ASSERT((int)texCoords.size() == 4*N); in computeTexCoordVecs()
508 dst[i][j] = texCoords[i*N + j]; in computeTexCoordVecs()
591 const TexCoordT (&texCoords)[4], in verifyGatherOffsets()
615 const TexCoordT texCoord = triQuadInterpolate(texCoords, viewportCoord.x(), viewportCoord.y()); in verifyGatherOffsets()
671 const TexCoordT (&texCoords)[4], in verifyGatherOffsetsCompare()
693 const TexCoordT texCoord = triQuadInterpolate(texCoords, viewportCoord.x(), viewportCoord.y()); in verifyGatherOffsetsCompare()
1472 const TexCoordT (&texCoords)[4], in verify()
1522 …return verifyGatherOffsetsCompare(log, rendered, texture, texCoords, sampler, comparePrec, PixelCo… in verify()
1535 …return verifyGatherOffsets<float>(log, rendered, texture, texCoords, sampler, lookupPrec, componen… in verify()
[all …]
Des31fFboTestUtil.cpp219 tcu::Vec2 texCoords[4]; in shadeFragments() local
228 texCoords[fragNdx] = tcu::Vec2(coord.x(), coord.y()); in shadeFragments()
243 tex->sample4(tmpColors, texCoords); in shadeFragments()
390 tcu::Vec4 texCoords[4]; in shadeFragments() local
400 texCoords[fragNdx] = tcu::Vec4(coord.x(), coord.y(), coord.z(), (float)m_layer); in shadeFragments()
403 tex->sample4(colors, texCoords); in shadeFragments()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderTextureGatherTests.cpp532 static inline void computeTexCoordVecs (const vector<float>& texCoords, tcu::Vector<float, N> (&dst… in computeTexCoordVecs() argument
534 DE_ASSERT((int)texCoords.size() == 4*N); in computeTexCoordVecs()
537 dst[i][j] = texCoords[i*N + j]; in computeTexCoordVecs()
620 const TexCoordT (&texCoords)[4], in verifyGatherOffsets()
644 const TexCoordT texCoord = triQuadInterpolate(texCoords, viewportCoord.x(), viewportCoord.y()); in verifyGatherOffsets()
700 const TexCoordT (&texCoords)[4], in verifyGatherOffsetsCompare()
722 const TexCoordT texCoord = triQuadInterpolate(texCoords, viewportCoord.x(), viewportCoord.y()); in verifyGatherOffsetsCompare()
1335 const TexCoordT (&texCoords)[4], in verify()
1370 …return verifyGatherOffsetsCompare(log, rendered, texture, texCoords, sampler, comparePrec, PixelCo… in verify()
1383 …return verifyGatherOffsets<float>(log, rendered, texture, texCoords, sampler, lookupPrec, componen… in verify()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineReferenceRenderer.cpp293 std::vector<tcu::Vec4> texCoords; in draw() local
299 texCoords.push_back(v.texCoord); in draw()
311 vertexAttribs[1].pointer = texCoords.data(); in draw()
/external/skia/src/utils/
DSkPatchUtils.h53 const SkPoint texCoords[4], int lodX, int lodY,
/external/skqp/src/utils/
DSkPatchUtils.h53 const SkPoint texCoords[4], int lodX, int lodY,
/external/skqp/samplecode/
DPerlinPatch.cpp143 const SkPoint texCoords[SkPatchUtils::kNumCorners] = { in onDrawContent() local
157 const SkPoint* tex = texCoords; in onDrawContent()
/external/skia/samplecode/
DPerlinPatch.cpp143 const SkPoint texCoords[SkPatchUtils::kNumCorners] = { in onDrawContent() local
157 const SkPoint* tex = texCoords; in onDrawContent()

12345