/external/chromium_org/third_party/angle/samples/angle/sample_util/ |
geometry_utils.cpp | 106 result->texcoords.resize(24); 107 result->texcoords[ 0] = Vector2(0.0f, 0.0f); 108 result->texcoords[ 1] = Vector2(0.0f, 1.0f); 109 result->texcoords[ 2] = Vector2(1.0f, 1.0f); 110 result->texcoords[ 3] = Vector2(1.0f, 0.0f); 111 result->texcoords[ 4] = Vector2(1.0f, 0.0f); 112 result->texcoords[ 5] = Vector2(1.0f, 1.0f); 113 result->texcoords[ 6] = Vector2(0.0f, 1.0f); 114 result->texcoords[ 7] = Vector2(0.0f, 0.0f); 115 result->texcoords[ 8] = Vector2(0.0f, 0.0f) [all...] |
geometry_utils.h | 28 std::vector<Vector2> texcoords; member in struct:CubeGeometry
|
/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 | 51 texCoords = bindAttrib("texCoords", kBindingTexCoords); 53 texCoords = -1; 190 if (texCoords >= 0 && !mHasSampler) {
|
/cts/suite/cts/deviceTests/opengl/jni/graphics/ |
Mesh.cpp | 16 Mesh::Mesh(const float* vertices, const float* normals, const float* texCoords, 20 mTexCoords(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);
|
Mesh.h | 23 Mesh(const float* vertices, const float* normals, const float* texCoords,
|
/external/chromium_org/third_party/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...] |
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],
|
SkPatchUtils.cpp | 203 const SkColor colors[4], const SkPoint texCoords[4], int lodX, int lodY) { 245 if (texCoords) { 313 if (texCoords) { 315 bilerp(u, v, texCoords[kTopLeft_Corner].x(), 316 texCoords[kTopRight_Corner].x(), 317 texCoords[kBottomLeft_Corner].x(), 318 texCoords[kBottomRight_Corner].x()), 319 bilerp(u, v, texCoords[kTopLeft_Corner].y(), 320 texCoords[kTopRight_Corner].y(), 321 texCoords[kBottomLeft_Corner].y() [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 NULL it sets patch's 111 bool getPatch(int x, int y, SkPoint cubics[12], SkColor colors[4], SkPoint texCoords[4]) const;
|
/frameworks/native/libs/gui/tests/ |
TextureRenderer.cpp | 37 "varying vec2 texCoords;\n" 41 " texCoords = (texMatrix * vec4(vTexCoords, 0.0, 1.0)).xy;\n" 49 "varying vec2 texCoords;\n" 51 " gl_FragColor = texture2D(texSampler, texCoords);\n"
|
/external/chromium_org/third_party/mesa/src/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/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]) {
|
/system/core/libpixelflinger/ |
raster.cpp | 180 int32_t texcoords[8]; local 200 texcoords[0] = s0; 201 texcoords[1] = dsdx; 202 texcoords[2] = 0; 203 texcoords[3] = t0; 204 texcoords[4] = 0; 205 texcoords[5] = dtdy; 206 texcoords[6] = 0; 207 texcoords[7] = 0; 208 c->procs.texCoordGradScale8xv(c, tmu, texcoords); [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
s_texfilter.c | 498 * Compute nearest integer texcoords for given texobj and coordinate. 547 * Compute linear integer texcoords for given texobj and coordinate. 1002 const GLfloat texcoords[][4], const GLfloat lambda[], 1009 sample_1d_nearest(ctx, samp, image, texcoords[i], rgba[i]); 1019 const GLfloat texcoords[][4], const GLfloat lambda[], 1026 sample_1d_linear(ctx, samp, image, texcoords[i], rgba[i]); 1036 const GLfloat texcoords[][4], 1054 texcoords[i], rgba[i]); 1059 texcoords[i], rgba[i]); 1062 sample_1d_nearest_mipmap_nearest(ctx, samp, tObj, m, texcoords + minStart [all...] |
/external/mesa3d/src/mesa/swrast/ |
s_texfilter.c | 498 * Compute nearest integer texcoords for given texobj and coordinate. 547 * Compute linear integer texcoords for given texobj and coordinate. 1002 const GLfloat texcoords[][4], const GLfloat lambda[], 1009 sample_1d_nearest(ctx, samp, image, texcoords[i], rgba[i]); 1019 const GLfloat texcoords[][4], const GLfloat lambda[], 1026 sample_1d_linear(ctx, samp, image, texcoords[i], rgba[i]); 1036 const GLfloat texcoords[][4], 1054 texcoords[i], rgba[i]); 1059 texcoords[i], rgba[i]); 1062 sample_1d_nearest_mipmap_nearest(ctx, samp, tObj, m, texcoords + minStart [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/ |
r200_blit.c | 380 * Calculate texcoords for given image region. 406 float texcoords[4]; local 413 flip_y, texcoords); 417 verts[2] = texcoords[0]; 418 verts[3] = texcoords[3]; 422 verts[6] = texcoords[1]; 423 verts[7] = texcoords[3]; 427 verts[10] = texcoords[1]; 428 verts[11] = texcoords[2];
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/ |
radeon_blit.c | 255 * Calculate texcoords for given image region. 281 float texcoords[4]; local 288 flip_y, texcoords); 292 verts[2] = texcoords[0]; 293 verts[3] = texcoords[3]; 297 verts[6] = texcoords[1]; 298 verts[7] = texcoords[3]; 302 verts[10] = texcoords[1]; 303 verts[11] = texcoords[2];
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
r200_blit.c | 380 * Calculate texcoords for given image region. 406 float texcoords[4]; local 413 flip_y, texcoords); 417 verts[2] = texcoords[0]; 418 verts[3] = texcoords[3]; 422 verts[6] = texcoords[1]; 423 verts[7] = texcoords[3]; 427 verts[10] = texcoords[1]; 428 verts[11] = texcoords[2];
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_blit.c | 255 * Calculate texcoords for given image region. 281 float texcoords[4]; local 288 flip_y, texcoords); 292 verts[2] = texcoords[0]; 293 verts[3] = texcoords[3]; 297 verts[6] = texcoords[1]; 298 verts[7] = texcoords[3]; 302 verts[10] = texcoords[1]; 303 verts[11] = texcoords[2];
|
/frameworks/native/opengl/tests/linetex/ |
linetex.cpp | 88 const GLfloat texCoords[4][2] = { 103 glTexCoordPointer(2, GL_FLOAT, 0, texCoords);
|
/external/chromium_org/third_party/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/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 | 101 const GLfloat texCoords[4][2] = { 118 glTexCoordPointer(2, GL_FLOAT, 0, texCoords);
|