/frameworks/base/libs/hwui/ |
D | UvMapper.h | 89 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()
|
D | Program.cpp | 51 texCoords = bindAttrib("texCoords", kBindingTexCoords); in Program() 53 texCoords = -1; in Program() 190 if (texCoords >= 0 && !mHasSampler) { in use()
|
D | OpenGLRenderer.h | 722 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);
|
D | OpenGLRenderer.cpp | 763 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 …]
|
D | Layer.h | 98 texCoords.set( in setRegionAsRect() 301 Rect texCoords; variable
|
D | DisplayListOp.h | 696 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()
|
D | LayerRenderer.cpp | 223 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()
|
D | Program.h | 376 int texCoords; variable
|
D | Caches.cpp | 496 GLuint slot = currentProgram->texCoords; in bindTexCoordsVertexPointer()
|
/frameworks/native/opengl/tests/linetex/ |
D | linetex.cpp | 88 const GLfloat texCoords[4][2] = { in main() local 103 glTexCoordPointer(2, GL_FLOAT, 0, texCoords); in main()
|
/frameworks/native/opengl/tests/fillrate/ |
D | fillrate.cpp | 101 const GLfloat texCoords[4][2] = { in main() local 118 glTexCoordPointer(2, GL_FLOAT, 0, texCoords); in main()
|
/frameworks/native/opengl/tests/filter/ |
D | filter.cpp | 150 const GLfloat texCoords[4][2] = { in main() local 179 glTexCoordPointer(2, GL_FLOAT, 0, texCoords); in main()
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
D | GLES20RenderEngine.cpp | 225 glEnableVertexAttribArray(Program::texCoords); in drawMesh() 226 glVertexAttribPointer(Program::texCoords, in drawMesh() 242 glDisableVertexAttribArray(Program::texCoords); in drawMesh()
|
D | Program.h | 37 enum { position=0, texCoords=1 }; enumerator
|
D | Program.cpp | 36 glBindAttribLocation(programId, texCoords, "texCoords"); in Program()
|
/frameworks/native/opengl/tests/gl_jni/jni/ |
D | gl_code.cpp | 158 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/ |
D | tritex.cpp | 240 const GLfixed texCoords[] = { in render() local 255 glTexCoordPointer(2, GL_FIXED, 0, texCoords); in render()
|
/frameworks/native/opengl/tests/gl_basic/ |
D | gl_basic.cpp | 349 const GLfixed texCoords[] = { in render() local 359 glTexCoordPointer(2, GL_FIXED, 0, texCoords); in render()
|
/frameworks/native/services/surfaceflinger/ |
D | Layer.cpp | 724 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()
|