/development/samples/GlobalTime/src/com/android/globaltime/ |
Shape.java | 151 * @param texcoords an array of fixed-point texture coordinates 156 public void allocateBuffers(int[] vertices, int[] texcoords, int[] normals, 158 allocate(vertices, texcoords, normals, colors); 175 * @param texcoords an array of fixed-point texture coordinates 180 public void allocateBuffers(int[] vertices, int[] texcoords, int[] normals, 182 allocate(vertices, texcoords, normals, colors); 196 private void allocate(int[] vertices, int[] texcoords, int[] normals, 205 if ((texcoords != null) && mEmitTextureCoordinates) { 207 ByteBuffer.allocateDirect(texcoords.length * INT_BYTES); 210 mTexcoordBuffer.put(texcoords); [all...] |
LatLongSphere.java | 32 int[] texcoords = new int[2 * lats * longs]; local 78 texcoords[tidx++] = toFixed(1.0f - (theta / (TWO_PI))); 79 texcoords[tidx++] = toFixed(fj); 116 allocateBuffers(vertices, texcoords, normals, colors, indices);
|
/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/mesa3d/src/pixelflinger2/ |
llvm_texture.cpp | 282 std::vector<Value * > texcoords = extractVector(builder, in1); local 305 /*sType, */texcoords[0], textureWidth, textureW, &xLerp); 307 /*tType, */texcoords[1], textureHeight, textureH, &yLerp); 379 std::vector<Value * > texcoords = extractVector(builder, in1); local 395 Value * mx = Fabs(builder, texcoords[0]), * my = Fabs(builder, texcoords[1]); 396 Value * mz = Fabs(builder, texcoords[2]); 409 condBranch.ifCond(FPositive(builder, texcoords[0])); 412 builder.CreateStore(builder.CreateFNeg(texcoords[2]), sPtr); 413 builder.CreateStore(builder.CreateFNeg(texcoords[1]), tPtr) [all...] |
/frameworks/base/opengl/tests/linetex/ |
linetex.cpp | 89 const GLfloat texCoords[4][2] = { 104 glTexCoordPointer(2, GL_FLOAT, 0, texCoords);
|
/frameworks/media/libvideoeditor/lvpp/ |
NativeWindowRenderer.cpp | 65 "varying vec2 texCoords;\n" 69 " texCoords = (texMatrix * vec4(vTexPos, 0.0, 1.0)).xy;\n" 77 "varying vec2 texCoords;\n" 79 " gl_FragColor = texture2D(texSampler, texCoords);\n" 86 "varying vec2 texCoords;\n" 90 " vec4 rgb = texture2D(texSampler, texCoords);\n" 100 "varying vec2 texCoords;\n" 104 " vec4 rgb = texture2D(texSampler, texCoords);\n" 114 "varying vec2 texCoords;\n" 119 " vec4 rgb = texture2D(texSampler, texCoords);\n [all...] |
/frameworks/base/opengl/tests/fillrate/ |
fillrate.cpp | 100 const GLfloat texCoords[4][2] = { 117 glTexCoordPointer(2, GL_FLOAT, 0, texCoords);
|
/frameworks/base/opengl/tests/filter/ |
filter.cpp | 148 const GLfloat texCoords[4][2] = { 177 glTexCoordPointer(2, GL_FLOAT, 0, texCoords);
|
/frameworks/base/services/surfaceflinger/ |
LayerBase.cpp | 440 struct TexCoords { 445 TexCoords texCoords[4]; 446 texCoords[0].u = 0; 447 texCoords[0].v = 1; 448 texCoords[1].u = 0; 449 texCoords[1].v = 0; 450 texCoords[2].u = 1; 451 texCoords[2].v = 0; 452 texCoords[3].u = 1 [all...] |
/frameworks/base/libs/hwui/ |
ProgramCache.cpp | 42 "attribute vec2 texCoords;\n"; 91 " outTexCoords = texCoords;\n"; 93 " outTexCoords = (mainTextureTransform * vec4(texCoords, 0.0, 1.0)).xy;\n"; 679 shader.append("\nvec2 wrap(vec2 texCoords) {\n"); 681 shader.append(" float xMod2 = mod(texCoords.x, 2.0);\n"); 685 shader.append(" float yMod2 = mod(texCoords.y, 2.0);\n"); 691 shader.append("texCoords.x"); 694 shader.append("mod(texCoords.x, 1.0)"); 703 shader.append("texCoords.y"); 706 shader.append("mod(texCoords.y, 1.0)") [all...] |
Layer.h | 73 texCoords.set( 217 Rect texCoords;
|
LayerRenderer.cpp | 200 layer->texCoords.set(0.0f, height / float(layer->getHeight()), 251 layer->texCoords.set(0.0f, height / float(layer->getHeight()), 274 layer->texCoords.set(0.0f, 1.0f, 1.0f, 0.0f);
|
OpenGLRenderer.cpp | 462 layer->texCoords.set(0.0f, bounds.getHeight() / float(layer->getHeight()), 688 const Rect& texCoords = layer->texCoords; 689 resetDrawTextureTexCoords(texCoords.left, texCoords.top, 690 texCoords.right, texCoords.bottom); [all...] |
OpenGLRenderer.h | 390 * @param texCoords The texture coordinates of each vertex 400 GLvoid* vertices, GLvoid* texCoords, GLenum drawMode, GLsizei elementsCount, 532 void setupDrawMesh(GLvoid* vertices, GLvoid* texCoords = NULL, GLuint vbo = 0);
|
/frameworks/base/opengl/tests/gl_jni/jni/ |
gl_code.cpp | 158 const GLfixed texCoords[] = { 167 glTexCoordPointer(2, GL_FIXED, 0, texCoords);
|
/frameworks/base/opengl/tests/tritex/ |
tritex.cpp | 239 const GLfixed texCoords[] = {
254 glTexCoordPointer(2, GL_FIXED, 0, texCoords);
|
/frameworks/base/opengl/tests/gl2_copyTexImage/ |
gl2_copyTexImage.cpp | 152 "attribute vec2 texCoords;\n" 155 " outTexCoords = texCoords;\n" 181 gvTextureTexCoordsHandle = glGetAttribLocation(gTextureProgram, "texCoords");
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
GLTextureViewActivity.java | 155 "attribute vec2 texCoords;\n" + 158 " outTexCoords = texCoords;\n" + 195 int attribTexCoords = glGetAttribLocation(program, "texCoords");
|
/external/mesa3d/docs/ |
relnotes-7.0.html | 47 <li>GLSL dFdx() and dFdy() work for fragment program inputs now (texcoords)
|
/external/webkit/Source/WebCore/platform/graphics/gpu/ |
LoopBlinnPathCache.h | 65 const float* texcoords() const function in class:WebCore::LoopBlinnPathCache
|
LoopBlinnPathProcessor.cpp | 255 // texCoords may be null when the klm coordinates have not been 258 const LoopBlinnTextureCoords::Result* texCoords); 490 const LoopBlinnTextureCoords::Result* texCoords) 498 if (texCoords) { 501 texCoords->klmCoordinates[i].x(), 502 texCoords->klmCoordinates[i].y(), 503 texCoords->klmCoordinates[i].z()); 569 LoopBlinnTextureCoords::Result texCoords = 571 if (texCoords.hasRenderingArtifact) { 579 if (!texCoords.isLineOrPoint) [all...] |
/frameworks/base/opengl/tests/gl_basic/ |
gl_basic.cpp | 348 const GLfixed texCoords[] = { 358 glTexCoordPointer(2, GL_FIXED, 0, texCoords);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
ImageWallpaper.java | 123 "attribute vec2 texCoords;\n" + 127 " outTexCoords = texCoords;\n" + 400 final int attribTexCoords = glGetAttribLocation(program, "texCoords");
|
/frameworks/base/opengl/libagl/ |
texture.cpp | 707 int32_t texcoords[8]; local 730 texcoords[0] = s0; 731 texcoords[1] = dsdx; 732 texcoords[2] = 0; 733 texcoords[3] = t0; 734 texcoords[4] = 0; 735 texcoords[5] = dtdy; 736 texcoords[6] = 0; 737 texcoords[7] = 0; 738 c->rasterizer.procs.texCoordGradScale8xv(c, i, texcoords); [all...] |
/development/tools/a3dconvert/ |
ColladaGeometry.cpp | 266 // And texcoords
|