HomeSort by relevance Sort by last modified time
    Searched refs:texCoords (Results 1 - 25 of 81) sorted by null

1 2 3 4

  /cts/tests/openglperf2/jni/graphics/
Mesh.cpp 16 Mesh::Mesh(const float* vertices, const float* normals, const float* texCoords,
20 mTexCoords(texCoords),
Mesh.h 23 Mesh(const float* vertices, const float* normals, const float* texCoords,
GLUtils.cpp 103 float* texCoords = new float[numVertices * 2];
122 texCoords[tIndex + 0] = readFloat(buffer + index);
124 texCoords[tIndex + 1] = readFloat(buffer + index);
127 return new Mesh(vertices, normals, texCoords, numVertices);
  /frameworks/base/libs/hwui/
UvMapper.h 89 void map(Rect& texCoords) const {
91 texCoords.left = lerp(mMinU, mMaxU, texCoords.left);
92 texCoords.right = lerp(mMinU, mMaxU, texCoords.right);
93 texCoords.top = lerp(mMinV, mMaxV, texCoords.top);
94 texCoords.bottom = lerp(mMinV, mMaxV, texCoords.bottom);
Program.cpp 48 texCoords = bindAttrib("texCoords", kBindingTexCoords);
50 texCoords = -1;
187 if (texCoords >= 0 && !mHasSampler) {
  /external/skia/tests/
VerticesTest.cpp 22 if (!!v0->texCoords() != !!v1->texCoords()) {
33 if (v0->texCoords()) {
34 if (v0->texCoords()[i] != v1->texCoords()[i]) {
67 if (builder.texCoords()) {
68 builder.texCoords()[i].set(x, 2);
  /external/mesa3d/src/gallium/drivers/i915/
i915_state_derived.c 62 boolean texCoords[I915_TEX_UNITS], colors[2], fog, needW, face;
66 memset(texCoords, 0, sizeof(texCoords));
78 texCoords[find_mapping(fs, unit)] = TRUE;
87 /* texcoords/varyings/other generic */
90 texCoords[find_mapping(fs, unit)] = TRUE;
144 /* texcoords/varyings */
147 if (texCoords[i]) {
  /external/skia/include/core/
SkVertices.h 57 SkPoint* texCoords(); // returns null if there are no texCoords
80 bool hasTexCoords() const { return SkToBool(this->texCoords()); }
85 const SkPoint* texCoords() const { return fTexs; }
  /external/skia/src/utils/
SkPatchUtils.h 116 * texCoords refers to the corner texture coordinates that will be bilerp across the patch
120 const SkColor colors[4], const SkPoint texCoords[4],
124 const SkPoint texCoords[4], int lodX, int lodY);
SkPatchUtils.cpp 173 const SkColor colors[4], const SkPoint texCoords[4], int lodX, int lodY) {
215 if (texCoords) {
283 if (texCoords) {
285 bilerp(u, v, texCoords[kTopLeft_Corner].x(),
286 texCoords[kTopRight_Corner].x(),
287 texCoords[kBottomLeft_Corner].x(),
288 texCoords[kBottomRight_Corner].x()),
289 bilerp(u, v, texCoords[kTopLeft_Corner].y(),
290 texCoords[kTopRight_Corner].y(),
291 texCoords[kBottomLeft_Corner].y()
    [all...]
SkDumpCanvas.cpp 475 const SkPoint texCoords[4], SkBlendMode,
479 | Colors{[0x%x], [0x%x], [0x%x], [0x%x]} | TexCoords{[%f,%f], [%f,%f], [%f,%f], \
490 texCoords[0].x(), texCoords[0].y(), texCoords[1].x(), texCoords[1].y(),
491 texCoords[2].x(), texCoords[2].y(), texCoords[3].x(), texCoords[3].y())
    [all...]
  /frameworks/native/services/surfaceflinger/RenderEngine/
Program.h 37 enum { position=0, texCoords=1 };
  /external/skia/gm/
patch.cpp 84 const SkPoint texCoords[SkPatchUtils::kNumCorners] = {
110 canvas->drawPatch(cubics, nullptr, texCoords, modes[y], paint);
115 canvas->drawPatch(cubics, colors, texCoords, modes[y], paint);
  /frameworks/native/opengl/tests/linetex/
linetex.cpp 90 const GLfloat texCoords[4][2] = {
105 glTexCoordPointer(2, GL_FLOAT, 0, texCoords);
  /external/skia/src/gpu/ops/
GrDrawVerticesOp.cpp 185 const SkPoint* localCoords = mesh.fVertices->texCoords();
340 SkTArray<SkPoint>* texCoords, bool hasTexCoords,
346 texCoords->push_back(random_point(random, min, max));
364 SkTArray<SkPoint> texCoords;
377 &positions, &texCoords, hasTexCoords, &colors, hasColors, &indices,
382 random, &positions, &texCoords, hasTexCoords, &colors, hasColors, &indices,
397 texCoords.begin(), bounds, colorArrayType);
  /external/deqp/modules/gles2/functional/
es2fTextureUnitTests.cpp 481 const tcu::Vec2 texCoords[4] =
494 (m_transformations[unitNdx] * Vec3(texCoords[0].x(), texCoords[0].y(), 1.0f)).xy(),
495 (m_transformations[unitNdx] * Vec3(texCoords[1].x(), texCoords[1].y(), 1.0f)).xy(),
496 (m_transformations[unitNdx] * Vec3(texCoords[2].x(), texCoords[2].y(), 1.0f)).xy(),
497 (m_transformations[unitNdx] * Vec3(texCoords[3].x(), texCoords[3].y(), 1.0f)).xy(),
510 m_transformations[unitNdx] * Vec3(texCoords[0].x(), texCoords[0].y(), 1.0f)
    [all...]
  /frameworks/native/opengl/tests/fillrate/
fillrate.cpp 103 const GLfloat texCoords[4][2] = {
120 glTexCoordPointer(2, GL_FLOAT, 0, texCoords);
  /external/skia/src/core/
SkVertices.cpp 109 SkPoint* SkVertices::Builder::texCoords() {
110 return fVertices ? const_cast<SkPoint*>(fVertices->texCoords()) : nullptr;
136 sk_careful_memcpy(builder.texCoords(), texs, sizes.fTSize);
213 reader.read(builder.texCoords(), sizes.fTSize);
  /external/deqp/modules/gles3/functional/
es3fFboTestUtil.cpp 376 tcu::Vec2 texCoords[4];
385 texCoords[fragNdx] = tcu::Vec2(coord.x(), coord.y());
400 tex->sample4(tmpColors, texCoords);
530 tcu::Vec3 texCoords[4];
540 texCoords[fragNdx] = tcu::Vec3(coord.x(), coord.y(), coord.z());
543 tex->sample4(colors, texCoords);
638 tcu::Vec3 texCoords[4];
648 texCoords[fragNdx] = tcu::Vec3(coord.x(), coord.y(), float(layer));
651 tex->sample4(colors, texCoords);
746 tcu::Vec3 texCoords[4]
    [all...]
  /external/skia/include/utils/
SkNWayCanvas.h 55 const SkPoint texCoords[4], SkBlendMode,
SkPaintFilterCanvas.h 79 const SkPoint texCoords[4], SkBlendMode,
  /external/deqp/modules/gles31/functional/
es31fTextureGatherTests.cpp 487 static inline void computeTexCoordVecs (const vector<float>& texCoords, tcu::Vector<float, N> (&dst)[4])
489 DE_ASSERT((int)texCoords.size() == 4*N);
492 dst[i][j] = texCoords[i*N + j];
575 const TexCoordT (&texCoords)[4],
599 const TexCoordT texCoord = triQuadInterpolate(texCoords, viewportCoord.x(), viewportCoord.y());
655 const TexCoordT (&texCoords)[4],
677 const TexCoordT texCoord = triQuadInterpolate(texCoords, viewportCoord.x(), viewportCoord.y());
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/RenderUtils/
ObjImporter.java 85 ArrayList<Float> texCoords = new ArrayList<Float>();
136 if (idx < 0) idx = (texCoords.size() / 2) + idx;
  /external/skia/samplecode/
PerlinPatch.cpp 144 const SkPoint texCoords[SkPatchUtils::kNumCorners] = {
158 const SkPoint* tex = texCoords;
  /frameworks/native/opengl/tests/filter/
filter.cpp 151 const GLfloat texCoords[4][2] = {
180 glTexCoordPointer(2, GL_FLOAT, 0, texCoords);

Completed in 814 milliseconds

1 2 3 4