/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) {
|
SkiaCanvasProxy.h | 88 const SkPoint texCoords[4], SkXfermode* xmode,
|
/external/skia/src/utils/ |
SkPatchGrid.cpp | 33 const SkPoint texCoords[4]) { 69 if ((fModeFlags & kTexs_VertexType) && texCoords) { 70 fTexCoords[cornerPos] = texCoords[0]; 71 fTexCoords[cornerPos + 1] = texCoords[1]; 72 fTexCoords[cornerPos + (fCols + 1)] = texCoords[3]; 73 fTexCoords[cornerPos + (fCols + 1) + 1] = texCoords[2]; 80 SkPoint texCoords[4]) const { 112 if ((fModeFlags & kTexs_VertexType) && texCoords) { 113 texCoords[0] = fTexCoords[cornerPos]; 114 texCoords[1] = fTexCoords[cornerPos + 1] [all...] |
SkPatchGrid.h | 99 * The colors and texCoords are the values at the corners of the patch which will be bilerp 103 const SkPoint texCoords[4]); 106 * Get patch at location (x,y). If cubics, colors or texCoords is not nullptr it sets patch's 111 bool getPatch(int x, int y, SkPoint cubics[12], SkColor colors[4], SkPoint texCoords[4]) const;
|
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...] |
SkPatchUtils.h | 113 * texCoords refers to the corner texture coordinates that will be bilerp across the patch 117 const SkColor colors[4], const SkPoint texCoords[4],
|
SkDumpCanvas.cpp | 466 const SkPoint texCoords[4], SkXfermode* xmode, 470 | Colors{[0x%x], [0x%x], [0x%x], [0x%x]} | TexCoords{[%f,%f], [%f,%f], [%f,%f], \ 481 texCoords[0].x(), texCoords[0].y(), texCoords[1].x(), texCoords[1].y(), 482 texCoords[2].x(), texCoords[2].y(), texCoords[3].x(), texCoords[3].y()) [all...] |
/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/opencv3/samples/gpu/ |
opengl.cpp | 83 Mat_<Vec2f> texCoords(1, 4); 84 texCoords << Vec2f(0, 0), Vec2f(0, 1), Vec2f(1, 1), Vec2f(1, 0); 92 data.arr.setTexCoordArray(texCoords);
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
Program.h | 37 enum { position=0, texCoords=1 };
|
GLES20RenderEngine.cpp | 248 glEnableVertexAttribArray(Program::texCoords); 249 glVertexAttribPointer(Program::texCoords, 265 glDisableVertexAttribArray(Program::texCoords);
|
/external/skia/bench/ |
PatchGridBench.cpp | 73 SkPoint texCoords[4][5] = { 127 texs[0] = texCoords[i][j]; 128 texs[1] = texCoords[i][j + 1]; 129 texs[3] = texCoords[i + 1][j]; 130 texs[2] = texCoords[i + 1][j + 1];
|
/external/skia/gm/ |
patch.cpp | 85 const SkPoint texCoords[SkPatchUtils::kNumCorners] = { 113 canvas->drawPatch(cubics, nullptr, texCoords, xfer, paint); 118 canvas->drawPatch(cubics, colors, texCoords, xfer, paint);
|
/external/skia/src/gpu/batches/ |
GrDrawVerticesBatch.cpp | 257 SkTArray<SkPoint>* texCoords, bool hasTexCoords, 263 texCoords->push_back(random_point(random, min, max)); 281 SkTArray<SkPoint> texCoords; 296 &texCoords, hasTexCoords, 304 &texCoords, hasTexCoords, 322 texCoords.begin(),
|
/frameworks/native/opengl/tests/linetex/ |
linetex.cpp | 90 const GLfloat texCoords[4][2] = { 105 glTexCoordPointer(2, GL_FLOAT, 0, texCoords);
|
/external/deqp/modules/gles2/functional/ |
es2fTextureUnitTests.cpp | 480 const tcu::Vec2 texCoords[4] = 493 (m_transformations[unitNdx] * Vec3(texCoords[0].x(), texCoords[0].y(), 1.0f)).xy(), 494 (m_transformations[unitNdx] * Vec3(texCoords[1].x(), texCoords[1].y(), 1.0f)).xy(), 495 (m_transformations[unitNdx] * Vec3(texCoords[2].x(), texCoords[2].y(), 1.0f)).xy(), 496 (m_transformations[unitNdx] * Vec3(texCoords[3].x(), texCoords[3].y(), 1.0f)).xy(), 509 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/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 | 53 const SkPoint texCoords[4], SkXfermode* xmode,
|
SkPaintFilterCanvas.h | 86 const SkPoint texCoords[4], SkXfermode* xmode,
|
/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...] |