Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DUvMapper.h89 void map(Rect& texCoords) const { in map() argument
91 texCoords.left = lerp(mMinU, mMaxU, texCoords.left); in map()
92 texCoords.right = lerp(mMinU, mMaxU, texCoords.right); in map()
93 texCoords.top = lerp(mMinV, mMaxV, texCoords.top); in map()
94 texCoords.bottom = lerp(mMinV, mMaxV, texCoords.bottom); in map()
DProgram.cpp51 texCoords = bindAttrib("texCoords", kBindingTexCoords); in Program()
53 texCoords = -1; in Program()
198 if (texCoords >= 0 && !mHasSampler) { in use()
DLayer.h78 texCoords.set( in setRegionAsRect()
259 Rect texCoords; member
DOpenGLRenderer.h839 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,
997 void setupDrawMesh(GLvoid* vertices, GLvoid* texCoords = NULL, GLuint vbo = 0);
998 void setupDrawMesh(GLvoid* vertices, GLvoid* texCoords, GLvoid* colors);
999 void setupDrawMeshIndices(GLvoid* vertices, GLvoid* texCoords, GLuint vbo = 0);
DOpenGLRenderer.cpp939 layer->texCoords.set(0.0f, bounds.getHeight() / float(layer->getHeight()), in createLayer()
1132 const Rect& texCoords = layer->texCoords; in composeLayerRect() local
1133 resetDrawTextureTexCoords(texCoords.left, texCoords.top, in composeLayerRect()
1134 texCoords.right, texCoords.bottom); in composeLayerRect()
1969 void OpenGLRenderer::setupDrawMesh(GLvoid* vertices, GLvoid* texCoords, GLuint vbo) { in setupDrawMesh() argument
1978 if (mCaches.currentProgram->texCoords >= 0) { in setupDrawMesh()
1979 mCaches.bindTexCoordsVertexPointer(force, texCoords); in setupDrawMesh()
1985 void OpenGLRenderer::setupDrawMesh(GLvoid* vertices, GLvoid* texCoords, GLvoid* colors) { in setupDrawMesh() argument
1990 if (mCaches.currentProgram->texCoords >= 0) { in setupDrawMesh()
1991 mCaches.bindTexCoordsVertexPointer(force, texCoords, stride); in setupDrawMesh()
[all …]
DLayerRenderer.cpp221 layer->texCoords.set(0.0f, height / float(layer->getHeight()), in createLayer()
263 layer->texCoords.set(0.0f, height / float(layer->getHeight()), in resizeLayer()
284 layer->texCoords.set(0.0f, 1.0f, 1.0f, 0.0f); in createTextureLayer()
DDisplayListOp.h787 Rect texCoords(0, 0, 1, 1); in multiDraw()
788 ((DrawBitmapOp*) ops[i].op)->mUvMapper.map(texCoords); in multiDraw()
790 SET_TEXTURE(vertex, opBounds, bounds, texCoords, left, top); in multiDraw()
791 SET_TEXTURE(vertex, opBounds, bounds, texCoords, right, top); in multiDraw()
792 SET_TEXTURE(vertex, opBounds, bounds, texCoords, left, bottom); in multiDraw()
794 SET_TEXTURE(vertex, opBounds, bounds, texCoords, left, bottom); in multiDraw()
795 SET_TEXTURE(vertex, opBounds, bounds, texCoords, right, top); in multiDraw()
796 SET_TEXTURE(vertex, opBounds, bounds, texCoords, right, bottom); in multiDraw()
DProgram.h375 int texCoords; variable
DCaches.cpp487 GLuint slot = currentProgram->texCoords; in bindTexCoordsVertexPointer()
/frameworks/native/opengl/tests/linetex/
Dlinetex.cpp89 const GLfloat texCoords[4][2] = { in main() local
104 glTexCoordPointer(2, GL_FLOAT, 0, texCoords); in main()
/frameworks/native/opengl/tests/fillrate/
Dfillrate.cpp100 const GLfloat texCoords[4][2] = { in main() local
117 glTexCoordPointer(2, GL_FLOAT, 0, texCoords); in main()
/frameworks/native/opengl/tests/filter/
Dfilter.cpp148 const GLfloat texCoords[4][2] = { in main() local
177 glTexCoordPointer(2, GL_FLOAT, 0, texCoords); in main()
/frameworks/native/services/surfaceflinger/RenderEngine/
DGLES20RenderEngine.cpp191 glEnableVertexAttribArray(Program::texCoords); in drawMesh()
192 glVertexAttribPointer(Program::texCoords, in drawMesh()
208 glDisableVertexAttribArray(Program::texCoords); in drawMesh()
DProgram.h37 enum { position=0, texCoords=1 }; enumerator
DProgram.cpp36 glBindAttribLocation(programId, texCoords, "texCoords"); in Program()
/frameworks/native/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/native/opengl/tests/tritex/
Dtritex.cpp239 const GLfixed texCoords[] = { in render() local
254 glTexCoordPointer(2, GL_FIXED, 0, texCoords); in render()
/frameworks/native/opengl/tests/gl_basic/
Dgl_basic.cpp348 const GLfixed texCoords[] = { in render() local
358 glTexCoordPointer(2, GL_FIXED, 0, texCoords); in render()
/frameworks/native/services/surfaceflinger/
DLayer.cpp592 Mesh::VertexArray<vec2> texCoords(mMesh.getTexCoordArray<vec2>()); in drawWithOpenGL() local
593 texCoords[0] = vec2(left, 1.0f - top); in drawWithOpenGL()
594 texCoords[1] = vec2(left, 1.0f - bottom); in drawWithOpenGL()
595 texCoords[2] = vec2(right, 1.0f - bottom); in drawWithOpenGL()
596 texCoords[3] = vec2(right, 1.0f - top); in drawWithOpenGL()