/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() 198 if (texCoords >= 0 && !mHasSampler) { in use()
|
D | Layer.h | 78 texCoords.set( in setRegionAsRect() 259 Rect texCoords; member
|
D | OpenGLRenderer.h | 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, 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);
|
D | OpenGLRenderer.cpp | 939 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 …]
|
D | LayerRenderer.cpp | 221 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()
|
D | DisplayListOp.h | 787 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()
|
D | Program.h | 375 int texCoords; variable
|
D | Caches.cpp | 487 GLuint slot = currentProgram->texCoords; in bindTexCoordsVertexPointer()
|
/frameworks/native/opengl/tests/linetex/ |
D | linetex.cpp | 89 const GLfloat texCoords[4][2] = { in main() local 104 glTexCoordPointer(2, GL_FLOAT, 0, texCoords); in main()
|
/frameworks/native/opengl/tests/fillrate/ |
D | fillrate.cpp | 100 const GLfloat texCoords[4][2] = { in main() local 117 glTexCoordPointer(2, GL_FLOAT, 0, texCoords); in main()
|
/frameworks/native/opengl/tests/filter/ |
D | filter.cpp | 148 const GLfloat texCoords[4][2] = { in main() local 177 glTexCoordPointer(2, GL_FLOAT, 0, texCoords); in main()
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
D | GLES20RenderEngine.cpp | 191 glEnableVertexAttribArray(Program::texCoords); in drawMesh() 192 glVertexAttribPointer(Program::texCoords, in drawMesh() 208 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 | 239 const GLfixed texCoords[] = { in render() local 254 glTexCoordPointer(2, GL_FIXED, 0, texCoords); in render()
|
/frameworks/native/opengl/tests/gl_basic/ |
D | gl_basic.cpp | 348 const GLfixed texCoords[] = { in render() local 358 glTexCoordPointer(2, GL_FIXED, 0, texCoords); in render()
|
/frameworks/native/services/surfaceflinger/ |
D | Layer.cpp | 592 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()
|