/frameworks/base/libs/hwui/ |
H A D | UvMapper.h | 89 void map(Rect& texCoords) const { 91 texCoords.left = lerp(mMinU, mMaxU, texCoords.left); 92 texCoords.right = lerp(mMinU, mMaxU, texCoords.right); 93 texCoords.top = lerp(mMinV, mMaxV, texCoords.top); 94 texCoords.bottom = lerp(mMinV, mMaxV, texCoords.bottom);
|
H A D | Program.cpp | 51 texCoords = bindAttrib("texCoords", kBindingTexCoords); 53 texCoords = -1; 190 if (texCoords >= 0 && !mHasSampler) {
|
H A D | OpenGLRenderer.h | 712 * @param texCoords The texture coordinates of each vertex 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);
|
H A D | Layer.h | 98 texCoords.set( 301 Rect texCoords; member in class:android::uirenderer::Layer
|
H A D | OpenGLRenderer.cpp | 763 layer->texCoords.set(0.0f, bounds.getHeight() / float(layer->getHeight()), 973 const Rect& texCoords = layer->texCoords; local 974 resetDrawTextureTexCoords(texCoords.left, texCoords.top, 975 texCoords.right, texCoords.bottom); 1838 const GLvoid* texCoords, GLuint vbo) { 1847 if (mCaches.currentProgram->texCoords >= 0) { 1848 mCaches.bindTexCoordsVertexPointer(force, texCoords); 1837 setupDrawMesh(const GLvoid* vertices, const GLvoid* texCoords, GLuint vbo) argument 1854 setupDrawMesh(const GLvoid* vertices, const GLvoid* texCoords, const GLvoid* colors) argument 1872 setupDrawMeshIndices(const GLvoid* vertices, const GLvoid* texCoords, GLuint vbo) argument 3266 GLvoid* texCoords = (GLvoid*) gMeshTextureOffset; local 3297 drawTextureMesh(float left, float top, float right, float bottom, GLuint texture, const SkPaint* paint, bool blend, GLvoid* vertices, GLvoid* texCoords, GLenum drawMode, GLsizei elementsCount, bool swapSrcDst, bool ignoreTransform, GLuint vbo, ModelViewMode modelViewMode, bool dirty) argument 3324 drawIndexedTextureMesh(float left, float top, float right, float bottom, GLuint texture, const SkPaint* paint, bool blend, GLvoid* vertices, GLvoid* texCoords, GLenum drawMode, GLsizei elementsCount, bool swapSrcDst, bool ignoreTransform, GLuint vbo, ModelViewMode modelViewMode, bool dirty) argument 3351 drawAlpha8TextureMesh(float left, float top, float right, float bottom, GLuint texture, const SkPaint* paint, GLvoid* vertices, GLvoid* texCoords, GLenum drawMode, GLsizei elementsCount, bool ignoreTransform, ModelViewMode modelViewMode, bool dirty) argument [all...] |
H A D | DisplayListOp.h | 686 // TODO: manually handle rect clip for bitmaps by adjusting texCoords per op, 696 Rect texCoords(0, 0, 1, 1); 697 ((DrawBitmapOp*) ops[i].op)->uvMap(renderer, texCoords); 699 SET_TEXTURE(vertex, opBounds, bounds, texCoords, left, top); 700 SET_TEXTURE(vertex, opBounds, bounds, texCoords, right, top); 701 SET_TEXTURE(vertex, opBounds, bounds, texCoords, left, bottom); 703 SET_TEXTURE(vertex, opBounds, bounds, texCoords, left, bottom); 704 SET_TEXTURE(vertex, opBounds, bounds, texCoords, right, top); 705 SET_TEXTURE(vertex, opBounds, bounds, texCoords, right, bottom); 739 void uvMap(OpenGLRenderer& renderer, Rect& texCoords) { argument [all...] |
H A D | LayerRenderer.cpp | 223 layer->texCoords.set(0.0f, height / float(layer->getHeight()), 263 layer->texCoords.set(0.0f, height / float(layer->getHeight()), 282 layer->texCoords.set(0.0f, 1.0f, 1.0f, 0.0f);
|
H A D | Program.h | 374 * Name of the texCoords attribute if it exists, -1 otherwise. 376 int texCoords; member in class:android::uirenderer::Program
|
H A D | Caches.cpp | 496 GLuint slot = currentProgram->texCoords;
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | Program.h | 37 enum { position=0, texCoords=1 }; enumerator in enum:android::Program::__anon1445
|
H A D | GLES20RenderEngine.cpp | 225 glEnableVertexAttribArray(Program::texCoords); 226 glVertexAttribPointer(Program::texCoords, 242 glDisableVertexAttribArray(Program::texCoords);
|
H A D | Program.cpp | 36 glBindAttribLocation(programId, texCoords, "texCoords");
|
/frameworks/native/opengl/tests/linetex/ |
H A D | linetex.cpp | 88 const GLfloat texCoords[4][2] = { local 103 glTexCoordPointer(2, GL_FLOAT, 0, texCoords);
|
/frameworks/native/opengl/tests/fillrate/ |
H A D | fillrate.cpp | 101 const GLfloat texCoords[4][2] = { local 118 glTexCoordPointer(2, GL_FLOAT, 0, texCoords);
|
/frameworks/native/opengl/tests/filter/ |
H A D | filter.cpp | 150 const GLfloat texCoords[4][2] = { 179 glTexCoordPointer(2, GL_FLOAT, 0, texCoords);
|
/frameworks/native/opengl/tests/gl_jni/jni/ |
H A D | gl_code.cpp | 158 const GLfixed texCoords[] = { local 167 glTexCoordPointer(2, GL_FIXED, 0, texCoords);
|
/frameworks/native/opengl/tests/tritex/ |
H A D | tritex.cpp | 240 const GLfixed texCoords[] = {
local 255 glTexCoordPointer(2, GL_FIXED, 0, texCoords);
|
/frameworks/native/opengl/tests/gl_basic/ |
H A D | gl_basic.cpp | 349 const GLfixed texCoords[] = { 359 glTexCoordPointer(2, GL_FIXED, 0, texCoords);
|
/frameworks/native/services/surfaceflinger/ |
H A D | Layer.cpp | 724 Mesh::VertexArray<vec2> texCoords(mMesh.getTexCoordArray<vec2>()); 725 texCoords[0] = vec2(left, 1.0f - top); 726 texCoords[1] = vec2(left, 1.0f - bottom); 727 texCoords[2] = vec2(right, 1.0f - bottom); 728 texCoords[3] = vec2(right, 1.0f - top);
|