/cts/suite/cts/deviceTests/opengl/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 | 102 float* texCoords = new float[numVertices * 2]; 121 texCoords[tIndex + 0] = readFloat(buffer + index); 123 texCoords[tIndex + 1] = readFloat(buffer + index); 126 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 | 51 texCoords = bindAttrib("texCoords", kBindingTexCoords); 53 texCoords = -1; 197 if (texCoords >= 0 && !mHasSampler) {
|
OpenGLRenderer.h | 829 * @param texCoords The texture coordinates of each vertex 839 GLvoid* vertices, GLvoid* texCoords, GLenum drawMode, GLsizei elementsCount, 845 GLvoid* vertices, GLvoid* texCoords, GLenum drawMode, GLsizei elementsCount, 851 GLvoid* vertices, GLvoid* texCoords, GLenum drawMode, GLsizei elementsCount, [all...] |
Layer.h | 78 texCoords.set( 259 Rect texCoords;
|
OpenGLRenderer.cpp | 939 layer->texCoords.set(0.0f, bounds.getHeight() / float(layer->getHeight()), [all...] |
LayerRenderer.cpp | 221 layer->texCoords.set(0.0f, height / float(layer->getHeight()), 263 layer->texCoords.set(0.0f, height / float(layer->getHeight()), 284 layer->texCoords.set(0.0f, 1.0f, 1.0f, 0.0f);
|
DisplayListOp.h | 777 // TODO: manually handle rect clip for bitmaps by adjusting texCoords per op, 787 Rect texCoords(0, 0, 1, 1); 788 ((DrawBitmapOp*) ops[i].op)->mUvMapper.map(texCoords); 790 SET_TEXTURE(vertex, opBounds, bounds, texCoords, left, top); 791 SET_TEXTURE(vertex, opBounds, bounds, texCoords, right, top); 792 SET_TEXTURE(vertex, opBounds, bounds, texCoords, left, bottom); 794 SET_TEXTURE(vertex, opBounds, bounds, texCoords, left, bottom); 795 SET_TEXTURE(vertex, opBounds, bounds, texCoords, right, top); 796 SET_TEXTURE(vertex, opBounds, bounds, texCoords, right, bottom); [all...] |
/external/chromium_org/third_party/angle_dx11/samples/gles2_book/Common/ |
esShapes.c | 48 /// \param texCoords If not NULL, will contain array of float2 texCoords 54 GLfloat **texCoords, GLushort **indices ) 70 if ( texCoords != NULL ) 71 *texCoords = malloc ( sizeof(GLfloat) * 2 * numVertices ); 98 if ( texCoords ) 101 (*texCoords)[texIndex + 0] = (float) j / (float) numSlices; 102 (*texCoords)[texIndex + 1] = ( 1.0f - (float) i ) / (float) (numParallels - 1 ); 135 /// \param texCoords If not NULL, will contain array of float2 texCoords [all...] |
esUtil.h | 198 /// \param texCoords If not NULL, will contain array of float2 texCoords 204 GLfloat **texCoords, GLushort **indices ); 212 /// \param texCoords If not NULL, will contain array of float2 texCoords 218 GLfloat **texCoords, GLushort **indices );
|
/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]) {
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
Program.h | 37 enum { position=0, texCoords=1 };
|
GLES20RenderEngine.cpp | 191 glEnableVertexAttribArray(Program::texCoords); 192 glVertexAttribPointer(Program::texCoords, 208 glDisableVertexAttribArray(Program::texCoords);
|
Program.cpp | 36 glBindAttribLocation(programId, texCoords, "texCoords");
|
/external/jmonkeyengine/engine/src/niftygui/com/jme3/niftygui/ |
RenderDeviceJme.java | 269 FloatBuffer texCoords = (FloatBuffer) quadModTC.getData();
279 texCoords.rewind();
280 texCoords.put(startX).put(startY);
281 texCoords.put(endX).put(startY);
282 texCoords.put(endX).put(endY);
283 texCoords.put(startX).put(endY);
284 texCoords.flip();
285 quadModTC.updateData(texCoords);
|
/frameworks/native/opengl/tests/linetex/ |
linetex.cpp | 89 const GLfloat texCoords[4][2] = { 104 glTexCoordPointer(2, GL_FLOAT, 0, texCoords);
|
/frameworks/native/opengl/tests/fillrate/ |
fillrate.cpp | 100 const GLfloat texCoords[4][2] = { 117 glTexCoordPointer(2, GL_FLOAT, 0, texCoords);
|
/frameworks/native/opengl/tests/filter/ |
filter.cpp | 148 const GLfloat texCoords[4][2] = { 177 glTexCoordPointer(2, GL_FLOAT, 0, texCoords);
|
/frameworks/native/opengl/tests/gl_jni/jni/ |
gl_code.cpp | 158 const GLfixed texCoords[] = { 167 glTexCoordPointer(2, GL_FIXED, 0, texCoords);
|
/frameworks/native/opengl/tests/tritex/ |
tritex.cpp | 239 const GLfixed texCoords[] = {
254 glTexCoordPointer(2, GL_FIXED, 0, texCoords);
|
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/scene/plugins/ |
OBJLoader.java | 68 protected final ArrayList<Vector2f> texCoords = new ArrayList<Vector2f>(); 164 texCoords.clear(); 263 vx.vt = texCoords.get(vt - 1); 363 texCoords.add(readVector2());
|
/frameworks/native/opengl/tests/gl_basic/ |
gl_basic.cpp | 348 const GLfixed texCoords[] = { 358 glTexCoordPointer(2, GL_FIXED, 0, texCoords);
|