Home
last modified time | relevance | path

Searched refs:texCoords (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/surfaceflinger/
DLayerBase.cpp445 TexCoords texCoords[4]; in drawWithOpenGL() local
446 texCoords[0].u = 0; in drawWithOpenGL()
447 texCoords[0].v = 1; in drawWithOpenGL()
448 texCoords[1].u = 0; in drawWithOpenGL()
449 texCoords[1].v = 0; in drawWithOpenGL()
450 texCoords[2].u = 1; in drawWithOpenGL()
451 texCoords[2].v = 0; in drawWithOpenGL()
452 texCoords[3].u = 1; in drawWithOpenGL()
453 texCoords[3].v = 1; in drawWithOpenGL()
457 glTexCoordPointer(2, GL_FLOAT, 0, texCoords); in drawWithOpenGL()
DSurfaceFlinger.cpp1911 const GLfloat texCoords[4][2] = { {0,0}, {0,v}, {u,v}, {u,0} }; in electronBeamOffAnimationImplLocked() local
1916 glTexCoordPointer(2, GL_FLOAT, 0, texCoords); in electronBeamOffAnimationImplLocked()
2083 const GLfloat texCoords[4][2] = { {0,v}, {0,0}, {u,0}, {u,v} }; in electronBeamOnAnimationImplLocked() local
2088 glTexCoordPointer(2, GL_FLOAT, 0, texCoords); in electronBeamOnAnimationImplLocked()
/frameworks/base/opengl/tests/linetex/
Dlinetex.cpp89 const GLfloat texCoords[4][2] = { in main() local
104 glTexCoordPointer(2, GL_FLOAT, 0, texCoords); in main()
/frameworks/base/opengl/tests/fillrate/
Dfillrate.cpp100 const GLfloat texCoords[4][2] = { in main() local
117 glTexCoordPointer(2, GL_FLOAT, 0, texCoords); in main()
/frameworks/base/opengl/tests/filter/
Dfilter.cpp148 const GLfloat texCoords[4][2] = { in main() local
177 glTexCoordPointer(2, GL_FLOAT, 0, texCoords); in main()
/frameworks/base/libs/hwui/
DLayer.h73 texCoords.set( in setRegionAsRect()
217 Rect texCoords; member
DLayerRenderer.cpp194 layer->texCoords.set(0.0f, height / float(layer->getHeight()), in createLayer()
244 layer->texCoords.set(0.0f, height / float(layer->getHeight()), in resizeLayer()
267 layer->texCoords.set(0.0f, 1.0f, 0.0f, 1.0f); in createTextureLayer()
DOpenGLRenderer.h398 GLvoid* vertices, GLvoid* texCoords, GLenum drawMode, GLsizei elementsCount,
530 void setupDrawMesh(GLvoid* vertices, GLvoid* texCoords = NULL, GLuint vbo = 0);
DOpenGLRenderer.cpp460 layer->texCoords.set(0.0f, bounds.getHeight() / float(layer->getHeight()), in createLayer()
686 const Rect& texCoords = layer->texCoords; in composeLayerRect() local
687 resetDrawTextureTexCoords(texCoords.left, texCoords.top, in composeLayerRect()
688 texCoords.right, texCoords.bottom); in composeLayerRect()
1225 void OpenGLRenderer::setupDrawMesh(GLvoid* vertices, GLvoid* texCoords, GLuint vbo) { in setupDrawMesh() argument
1234 glVertexAttribPointer(mTexCoordsSlot, 2, GL_FLOAT, GL_FALSE, gMeshStride, texCoords); in setupDrawMesh()
2467 GLvoid* vertices, GLvoid* texCoords, GLenum drawMode, GLsizei elementsCount, in drawTextureMesh() argument
2487 setupDrawMesh(vertices, texCoords, vbo); in drawTextureMesh()
/frameworks/base/opengl/tests/gl_jni/jni/
Dgl_code.cpp158 const GLfixed texCoords[] = { in Java_com_android_gljni_GLJNILib_step() local
167 glTexCoordPointer(2, GL_FIXED, 0, texCoords); in Java_com_android_gljni_GLJNILib_step()
/frameworks/base/opengl/tests/tritex/
Dtritex.cpp239 const GLfixed texCoords[] = { in render() local
254 glTexCoordPointer(2, GL_FIXED, 0, texCoords); in render()
/frameworks/base/opengl/tests/gl_basic/
Dgl_basic.cpp348 const GLfixed texCoords[] = { in render() local
358 glTexCoordPointer(2, GL_FIXED, 0, texCoords); in render()