/external/skia/src/utils/ |
D | SkPatchGrid.cpp | 33 const SkPoint texCoords[4]) { in setPatch() 69 if ((fModeFlags & kTexs_VertexType) && texCoords) { in setPatch() 70 fTexCoords[cornerPos] = texCoords[0]; in setPatch() 71 fTexCoords[cornerPos + 1] = texCoords[1]; in setPatch() 72 fTexCoords[cornerPos + (fCols + 1)] = texCoords[3]; in setPatch() 73 fTexCoords[cornerPos + (fCols + 1) + 1] = texCoords[2]; in setPatch() 80 SkPoint texCoords[4]) const { in getPatch() 112 if ((fModeFlags & kTexs_VertexType) && texCoords) { in getPatch() 113 texCoords[0] = fTexCoords[cornerPos]; in getPatch() 114 texCoords[1] = fTexCoords[cornerPos + 1]; in getPatch() [all …]
|
D | SkPatchUtils.cpp | 173 const SkColor colors[4], const SkPoint texCoords[4], int lodX, int lodY) { in getVertexData() 215 if (texCoords) { in getVertexData() 283 if (texCoords) { in getVertexData() 285 bilerp(u, v, texCoords[kTopLeft_Corner].x(), in getVertexData() 286 texCoords[kTopRight_Corner].x(), in getVertexData() 287 texCoords[kBottomLeft_Corner].x(), in getVertexData() 288 texCoords[kBottomRight_Corner].x()), in getVertexData() 289 bilerp(u, v, texCoords[kTopLeft_Corner].y(), in getVertexData() 290 texCoords[kTopRight_Corner].y(), in getVertexData() 291 texCoords[kBottomLeft_Corner].y(), in getVertexData() [all …]
|
D | SkPatchGrid.h | 103 const SkPoint texCoords[4]); 111 bool getPatch(int x, int y, SkPoint cubics[12], SkColor colors[4], SkPoint texCoords[4]) const;
|
D | SkDumpCanvas.cpp | 466 const SkPoint texCoords[4], SkXfermode* xmode, in onDrawPatch() 481 texCoords[0].x(), texCoords[0].y(), texCoords[1].x(), texCoords[1].y(), in onDrawPatch() 482 texCoords[2].x(), texCoords[2].y(), texCoords[3].x(), texCoords[3].y()); in onDrawPatch()
|
D | SkPatchUtils.h | 117 const SkColor colors[4], const SkPoint texCoords[4],
|
D | SkPaintFilterCanvas.cpp | 159 const SkPoint texCoords[], SkXfermode* xmode, in onDrawPatch() argument 163 this->INHERITED::onDrawPatch(cubics, colors, texCoords, xmode, *apf.paint()); in onDrawPatch()
|
D | SkNWayCanvas.cpp | 287 const SkPoint texCoords[4], SkXfermode* xmode, in onDrawPatch() 291 iter->drawPatch(cubics, colors, texCoords, xmode, paint); in onDrawPatch()
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_state_derived.c | 62 boolean texCoords[I915_TEX_UNITS], colors[2], fog, needW, face; in calculate_vertex_layout() local 66 memset(texCoords, 0, sizeof(texCoords)); in calculate_vertex_layout() 78 texCoords[find_mapping(fs, unit)] = TRUE; in calculate_vertex_layout() 90 texCoords[find_mapping(fs, unit)] = TRUE; in calculate_vertex_layout() 147 if (texCoords[i]) { in calculate_vertex_layout()
|
/external/jmonkeyengine/engine/src/niftygui/com/jme3/niftygui/ |
D | RenderDeviceJme.java | 269 FloatBuffer texCoords = (FloatBuffer) quadModTC.getData(); in renderImage() local 279 texCoords.rewind(); in renderImage() 280 texCoords.put(startX).put(startY); in renderImage() 281 texCoords.put(endX).put(startY); in renderImage() 282 texCoords.put(endX).put(endY); in renderImage() 283 texCoords.put(startX).put(endY); in renderImage() 284 texCoords.flip(); in renderImage() 285 quadModTC.updateData(texCoords); in renderImage()
|
/external/deqp/modules/gles2/functional/ |
D | es2fTextureUnitTests.cpp | 480 const tcu::Vec2 texCoords[4] = in shadeFragments() local 493 (m_transformations[unitNdx] * Vec3(texCoords[0].x(), texCoords[0].y(), 1.0f)).xy(), in shadeFragments() 494 (m_transformations[unitNdx] * Vec3(texCoords[1].x(), texCoords[1].y(), 1.0f)).xy(), in shadeFragments() 495 (m_transformations[unitNdx] * Vec3(texCoords[2].x(), texCoords[2].y(), 1.0f)).xy(), in shadeFragments() 496 (m_transformations[unitNdx] * Vec3(texCoords[3].x(), texCoords[3].y(), 1.0f)).xy(), in shadeFragments() 509 m_transformations[unitNdx] * Vec3(texCoords[0].x(), texCoords[0].y(), 1.0f), in shadeFragments() 510 m_transformations[unitNdx] * Vec3(texCoords[1].x(), texCoords[1].y(), 1.0f), in shadeFragments() 511 m_transformations[unitNdx] * Vec3(texCoords[2].x(), texCoords[2].y(), 1.0f), in shadeFragments() 512 m_transformations[unitNdx] * Vec3(texCoords[3].x(), texCoords[3].y(), 1.0f), in shadeFragments()
|
D | es2fTextureSpecificationTests.cpp | 210 tcu::Vec2 texCoords[4]; in shadeFragments() local 219 texCoords[fragNdx] = tcu::Vec2(coord.x(), coord.y()); in shadeFragments() 223 m_uniforms[0].sampler.tex2D->sample4(colors, texCoords); in shadeFragments() 292 tcu::Vec3 texCoords[4]; in shadeFragments() local 307 case tcu::CUBEFACE_NEGATIVE_X: texCoords[fragNdx] = tcu::Vec3(-1.0f, -y, +x); break; in shadeFragments() 308 case tcu::CUBEFACE_POSITIVE_X: texCoords[fragNdx] = tcu::Vec3(+1.0f, -y, -x); break; in shadeFragments() 309 case tcu::CUBEFACE_NEGATIVE_Y: texCoords[fragNdx] = tcu::Vec3( +x, -1.0f, -y); break; in shadeFragments() 310 case tcu::CUBEFACE_POSITIVE_Y: texCoords[fragNdx] = tcu::Vec3( +x, +1.0f, +y); break; in shadeFragments() 311 case tcu::CUBEFACE_NEGATIVE_Z: texCoords[fragNdx] = tcu::Vec3( -x, -y, -1.0f); break; in shadeFragments() 312 case tcu::CUBEFACE_POSITIVE_Z: texCoords[fragNdx] = tcu::Vec3( +x, -y, +1.0f); break; in shadeFragments() [all …]
|
/external/skia/bench/ |
D | PatchGridBench.cpp | 73 SkPoint texCoords[4][5] = { in setGrid() local 127 texs[0] = texCoords[i][j]; in setGrid() 128 texs[1] = texCoords[i][j + 1]; in setGrid() 129 texs[3] = texCoords[i + 1][j]; in setGrid() 130 texs[2] = texCoords[i + 1][j + 1]; in setGrid()
|
D | PatchBench.cpp | 65 const SkPoint texCoords[SkPatchUtils::kNumCorners] = { in setTexCoords() local 68 memcpy(fTexCoords, texCoords, SkPatchUtils::kNumCorners * sizeof(SkPoint)); in setTexCoords()
|
/external/skia/src/gpu/batches/ |
D | GrDrawVerticesBatch.cpp | 257 SkTArray<SkPoint>* texCoords, bool hasTexCoords, in randomize_params() argument 263 texCoords->push_back(random_point(random, min, max)); in randomize_params() 281 SkTArray<SkPoint> texCoords; in DRAW_BATCH_TEST_DEFINE() local 296 &texCoords, hasTexCoords, in DRAW_BATCH_TEST_DEFINE() 304 &texCoords, hasTexCoords, in DRAW_BATCH_TEST_DEFINE() 322 texCoords.begin(), in DRAW_BATCH_TEST_DEFINE()
|
/external/skia/gm/ |
D | patch.cpp | 85 const SkPoint texCoords[SkPatchUtils::kNumCorners] = { variable 113 canvas->drawPatch(cubics, nullptr, texCoords, xfer, paint); 118 canvas->drawPatch(cubics, colors, texCoords, xfer, paint);
|
/external/deqp/modules/gles3/functional/ |
D | es3fFboTestUtil.cpp | 376 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 …]
|
D | es3fTextureUnitTests.cpp | 636 const tcu::Vec2 texCoords[4] = in shadeFragments() local 647 (m_transformations[unitNdx] * Vec4(texCoords[0].x(), texCoords[0].y(), 1.0f, 1.0f)).xyz(), in shadeFragments() 648 (m_transformations[unitNdx] * Vec4(texCoords[1].x(), texCoords[1].y(), 1.0f, 1.0f)).xyz(), in shadeFragments() 649 (m_transformations[unitNdx] * Vec4(texCoords[2].x(), texCoords[2].y(), 1.0f, 1.0f)).xyz(), in shadeFragments() 650 (m_transformations[unitNdx] * Vec4(texCoords[3].x(), texCoords[3].y(), 1.0f, 1.0f)).xyz(), in shadeFragments()
|
/external/deqp/modules/gles31/functional/ |
D | es31fTextureGatherTests.cpp | 487 static inline void computeTexCoordVecs (const vector<float>& texCoords, tcu::Vector<float, N> (&dst… in computeTexCoordVecs() argument 489 DE_ASSERT((int)texCoords.size() == 4*N); in computeTexCoordVecs() 492 dst[i][j] = texCoords[i*N + j]; in computeTexCoordVecs() 575 const TexCoordT (&texCoords)[4], in verifyGatherOffsets() 599 const TexCoordT texCoord = triQuadInterpolate(texCoords, viewportCoord.x(), viewportCoord.y()); in verifyGatherOffsets() 655 const TexCoordT (&texCoords)[4], in verifyGatherOffsetsCompare() 677 const TexCoordT texCoord = triQuadInterpolate(texCoords, viewportCoord.x(), viewportCoord.y()); in verifyGatherOffsetsCompare() 1452 const TexCoordT (&texCoords)[4], in verify() 1502 …return verifyGatherOffsetsCompare(log, rendered, texture, texCoords, sampler, comparePrec, PixelCo… in verify() 1515 …return verifyGatherOffsets<float>(log, rendered, texture, texCoords, sampler, lookupPrec, componen… in verify() [all …]
|
D | es31fFboTestUtil.cpp | 219 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() 384 tcu::Vec4 texCoords[4]; in shadeFragments() local 394 texCoords[fragNdx] = tcu::Vec4(coord.x(), coord.y(), coord.z(), (float)m_layer); in shadeFragments() 397 tex->sample4(colors, texCoords); in shadeFragments()
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineReferenceRenderer.cpp | 293 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/samplecode/ |
D | PerlinPatch.cpp | 138 const SkPoint texCoords[SkPatchUtils::kNumCorners] = { in onDrawContent() local 153 canvas->drawPatch(fPts, nullptr, texCoords, xfer, paint); in onDrawContent()
|
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/scene/plugins/ |
D | OBJLoader.java | 68 protected final ArrayList<Vector2f> texCoords = new ArrayList<Vector2f>(); field in OBJLoader 164 texCoords.clear(); in reset() 263 vx.vt = texCoords.get(vt - 1); in readFace() 363 texCoords.add(readVector2()); in readLine()
|
/external/skia/src/core/ |
D | SkRecorder.cpp | 314 const SkPoint texCoords[4], SkXfermode* xmode, const SkPaint& paint) { in onDrawPatch() 318 texCoords ? this->copy(texCoords, SkPatchUtils::kNumCorners) : nullptr, in onDrawPatch()
|
/external/skia/include/utils/ |
D | SkPaintFilterCanvas.h | 86 const SkPoint texCoords[4], SkXfermode* xmode,
|
D | SkNWayCanvas.h | 53 const SkPoint texCoords[4], SkXfermode* xmode,
|