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()
190 if (texCoords >= 0 && !mHasSampler) { in use()
DOpenGLRenderer.h722 GLvoid* vertices, GLvoid* texCoords, GLenum drawMode, GLsizei elementsCount,
728 GLvoid* vertices, GLvoid* texCoords, GLenum drawMode, GLsizei elementsCount,
734 GLvoid* vertices, GLvoid* texCoords, GLenum drawMode, GLsizei elementsCount,
897 void setupDrawMesh(const GLvoid* vertices, const GLvoid* texCoords = NULL, GLuint vbo = 0);
898 void setupDrawMesh(const GLvoid* vertices, const GLvoid* texCoords, const GLvoid* colors);
899 void setupDrawMeshIndices(const GLvoid* vertices, const GLvoid* texCoords, GLuint vbo = 0);
DOpenGLRenderer.cpp763 layer->texCoords.set(0.0f, bounds.getHeight() / float(layer->getHeight()), in createLayer()
973 const Rect& texCoords = layer->texCoords; in composeLayerRect() local
974 resetDrawTextureTexCoords(texCoords.left, texCoords.top, in composeLayerRect()
975 texCoords.right, texCoords.bottom); in composeLayerRect()
1838 const GLvoid* texCoords, GLuint vbo) {
1847 if (mCaches.currentProgram->texCoords >= 0) {
1848 mCaches.bindTexCoordsVertexPointer(force, texCoords);
1855 const GLvoid* texCoords, const GLvoid* colors) {
1860 if (mCaches.currentProgram->texCoords >= 0) {
1861 mCaches.bindTexCoordsVertexPointer(force, texCoords, stride);
[all …]
DLayer.h98 texCoords.set( in setRegionAsRect()
301 Rect texCoords; variable
DDisplayListOp.h696 Rect texCoords(0, 0, 1, 1); in multiDraw()
697 ((DrawBitmapOp*) ops[i].op)->uvMap(renderer, texCoords); in multiDraw()
699 SET_TEXTURE(vertex, opBounds, bounds, texCoords, left, top); in multiDraw()
700 SET_TEXTURE(vertex, opBounds, bounds, texCoords, right, top); in multiDraw()
701 SET_TEXTURE(vertex, opBounds, bounds, texCoords, left, bottom); in multiDraw()
703 SET_TEXTURE(vertex, opBounds, bounds, texCoords, left, bottom); in multiDraw()
704 SET_TEXTURE(vertex, opBounds, bounds, texCoords, right, top); in multiDraw()
705 SET_TEXTURE(vertex, opBounds, bounds, texCoords, right, bottom); in multiDraw()
739 void uvMap(OpenGLRenderer& renderer, Rect& texCoords) { in uvMap() argument
741 mEntry->uvMapper.map(texCoords); in uvMap()
DLayerRenderer.cpp223 layer->texCoords.set(0.0f, height / float(layer->getHeight()), in createRenderLayer()
263 layer->texCoords.set(0.0f, height / float(layer->getHeight()), in resizeLayer()
282 layer->texCoords.set(0.0f, 1.0f, 1.0f, 0.0f); in createTextureLayer()
DProgram.h376 int texCoords; variable
DCaches.cpp496 GLuint slot = currentProgram->texCoords; in bindTexCoordsVertexPointer()
/frameworks/native/opengl/tests/linetex/
Dlinetex.cpp88 const GLfloat texCoords[4][2] = { in main() local
103 glTexCoordPointer(2, GL_FLOAT, 0, texCoords); in main()
/frameworks/native/opengl/tests/fillrate/
Dfillrate.cpp101 const GLfloat texCoords[4][2] = { in main() local
118 glTexCoordPointer(2, GL_FLOAT, 0, texCoords); in main()
/frameworks/native/opengl/tests/filter/
Dfilter.cpp150 const GLfloat texCoords[4][2] = { in main() local
179 glTexCoordPointer(2, GL_FLOAT, 0, texCoords); in main()
/frameworks/native/services/surfaceflinger/RenderEngine/
DGLES20RenderEngine.cpp225 glEnableVertexAttribArray(Program::texCoords); in drawMesh()
226 glVertexAttribPointer(Program::texCoords, in drawMesh()
242 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.cpp240 const GLfixed texCoords[] = { in render() local
255 glTexCoordPointer(2, GL_FIXED, 0, texCoords); in render()
/frameworks/native/opengl/tests/gl_basic/
Dgl_basic.cpp349 const GLfixed texCoords[] = { in render() local
359 glTexCoordPointer(2, GL_FIXED, 0, texCoords); in render()
/frameworks/native/services/surfaceflinger/
DLayer.cpp724 Mesh::VertexArray<vec2> texCoords(mMesh.getTexCoordArray<vec2>()); in drawWithOpenGL() local
725 texCoords[0] = vec2(left, 1.0f - top); in drawWithOpenGL()
726 texCoords[1] = vec2(left, 1.0f - bottom); in drawWithOpenGL()
727 texCoords[2] = vec2(right, 1.0f - bottom); in drawWithOpenGL()
728 texCoords[3] = vec2(right, 1.0f - top); in drawWithOpenGL()