Home
last modified time | relevance | path

Searched refs:texCoords (Results 1 – 20 of 20) 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.cpp48 texCoords = bindAttrib("texCoords", kBindingTexCoords); in Program()
50 texCoords = -1; in Program()
187 if (texCoords >= 0 && !mHasSampler) { in use()
DLayer.h101 texCoords.set( in setRegionAsRect()
310 Rect texCoords; variable
DDisplayListOp.h653 Rect texCoords(0, 0, 1, 1); in multiDraw()
654 ((DrawBitmapOp*) ops[i].op)->uvMap(renderer, texCoords); in multiDraw()
656 SET_TEXTURE(vertex, opBounds, bounds, texCoords, left, top); in multiDraw()
657 SET_TEXTURE(vertex, opBounds, bounds, texCoords, right, top); in multiDraw()
658 SET_TEXTURE(vertex, opBounds, bounds, texCoords, left, bottom); in multiDraw()
660 SET_TEXTURE(vertex, opBounds, bounds, texCoords, left, bottom); in multiDraw()
661 SET_TEXTURE(vertex, opBounds, bounds, texCoords, right, top); in multiDraw()
662 SET_TEXTURE(vertex, opBounds, bounds, texCoords, right, bottom); in multiDraw()
697 void uvMap(OpenGLRenderer& renderer, Rect& texCoords) { in uvMap() argument
699 mEntry->uvMapper.map(texCoords); in uvMap()
DLayerRenderer.cpp222 layer->texCoords.set(0.0f, height / float(layer->getHeight()), in createRenderLayer()
263 layer->texCoords.set(0.0f, height / float(layer->getHeight()), in resizeLayer()
279 layer->texCoords.set(0.0f, 1.0f, 1.0f, 0.0f); in createTextureLayer()
DSkiaCanvasProxy.h88 const SkPoint texCoords[4], SkXfermode* xmode,
DProgram.h363 int texCoords; variable
DSkiaCanvasProxy.cpp361 const SkPoint texCoords[4], SkXfermode* xmode, const SkPaint& paint) { in onDrawPatch()
373 if (SkPatchUtils::getVertexData(&data, cubics, colors, texCoords, lod.width(), lod.height())) { in onDrawPatch()
DBakedOpDispatcher.cpp57 Rect texCoords(0, 0, 1, 1); in onMergedBitmapOps() local
59 entry->uvMapper.map(texCoords); in onMergedBitmapOps()
72 storeTexturedRect(rectVerts, opBounds, texCoords); in onMergedBitmapOps()
DOpenGLRenderer.cpp632 layer->texCoords.set(0.0f, bounds.getHeight() / float(layer->getHeight()), in createLayer()
803 .setMeshTexturedUvQuad(nullptr, layer->texCoords) in composeLayerRectSwapped()
824 .setMeshTexturedUvQuad(nullptr, layer->texCoords) in composeLayerRect()
/frameworks/native/opengl/tests/linetex/
Dlinetex.cpp90 const GLfloat texCoords[4][2] = { in main() local
105 glTexCoordPointer(2, GL_FLOAT, 0, texCoords); in main()
/frameworks/native/services/surfaceflinger/RenderEngine/
DGLES20RenderEngine.cpp248 glEnableVertexAttribArray(Program::texCoords);
249 glVertexAttribPointer(Program::texCoords,
265 glDisableVertexAttribArray(Program::texCoords);
DProgram.h37 enum { position=0, texCoords=1 }; enumerator
DProgram.cpp36 glBindAttribLocation(programId, texCoords, "texCoords"); in Program()
/frameworks/native/opengl/tests/fillrate/
Dfillrate.cpp103 const GLfloat texCoords[4][2] = { in main() local
120 glTexCoordPointer(2, GL_FLOAT, 0, texCoords); in main()
/frameworks/native/opengl/tests/filter/
Dfilter.cpp151 const GLfloat texCoords[4][2] = { in main() local
180 glTexCoordPointer(2, GL_FLOAT, 0, texCoords); in main()
/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.cpp1026 Mesh::VertexArray<vec2> texCoords(mMesh.getTexCoordArray<vec2>()); local
1027 texCoords[0] = vec2(left, 1.0f - top);
1028 texCoords[1] = vec2(left, 1.0f - bottom);
1029 texCoords[2] = vec2(right, 1.0f - bottom);
1030 texCoords[3] = vec2(right, 1.0f - top);