Searched refs:texCoords (Results 1 - 19 of 19) sorted by relevance

/frameworks/base/libs/hwui/
H A DUvMapper.h89 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 DProgram.cpp51 texCoords = bindAttrib("texCoords", kBindingTexCoords);
53 texCoords = -1;
190 if (texCoords >= 0 && !mHasSampler) {
H A DLayer.h100 texCoords.set(
307 Rect texCoords; member in class:android::uirenderer::Layer
H A DLayerRenderer.cpp221 layer->texCoords.set(0.0f, height / float(layer->getHeight()),
262 layer->texCoords.set(0.0f, height / float(layer->getHeight()),
278 layer->texCoords.set(0.0f, 1.0f, 1.0f, 0.0f);
H A DSkiaCanvasProxy.h90 const SkPoint texCoords[4], SkXfermode* xmode,
H A DDisplayListOp.h661 // TODO: manually handle rect clip for bitmaps by adjusting texCoords per op,
671 Rect texCoords(0, 0, 1, 1);
672 ((DrawBitmapOp*) ops[i].op)->uvMap(renderer, texCoords);
674 SET_TEXTURE(vertex, opBounds, bounds, texCoords, left, top);
675 SET_TEXTURE(vertex, opBounds, bounds, texCoords, right, top);
676 SET_TEXTURE(vertex, opBounds, bounds, texCoords, left, bottom);
678 SET_TEXTURE(vertex, opBounds, bounds, texCoords, left, bottom);
679 SET_TEXTURE(vertex, opBounds, bounds, texCoords, right, top);
680 SET_TEXTURE(vertex, opBounds, bounds, texCoords, right, bottom);
715 void uvMap(OpenGLRenderer& renderer, Rect& texCoords) { argument
[all...]
H A DSkiaCanvasProxy.cpp325 const SkPoint texCoords[4], SkXfermode* xmode, const SkPaint& paint) {
337 if (SkPatchUtils::getVertexData(&data, cubics, colors, texCoords, lod.width(), lod.height())) {
324 onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], const SkPoint texCoords[4], SkXfermode* xmode, const SkPaint& paint) argument
H A DProgram.h370 * Name of the texCoords attribute if it exists (kBindingTexCoords), -1 otherwise.
372 int texCoords; member in class:android::uirenderer::Program
H A DOpenGLRenderer.cpp684 layer->texCoords.set(0.0f, bounds.getHeight() / float(layer->getHeight()),
863 .setMeshTexturedUvQuad(nullptr, layer->texCoords)
884 .setMeshTexturedUvQuad(nullptr, layer->texCoords)
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DProgram.h37 enum { position=0, texCoords=1 }; enumerator in enum:android::Program::__anon1520
H A DGLES20RenderEngine.cpp225 glEnableVertexAttribArray(Program::texCoords);
226 glVertexAttribPointer(Program::texCoords,
242 glDisableVertexAttribArray(Program::texCoords);
H A DProgram.cpp36 glBindAttribLocation(programId, texCoords, "texCoords");
/frameworks/native/opengl/tests/linetex/
H A Dlinetex.cpp90 const GLfloat texCoords[4][2] = { local
105 glTexCoordPointer(2, GL_FLOAT, 0, texCoords);
/frameworks/native/opengl/tests/fillrate/
H A Dfillrate.cpp103 const GLfloat texCoords[4][2] = { local
120 glTexCoordPointer(2, GL_FLOAT, 0, texCoords);
/frameworks/native/opengl/tests/filter/
H A Dfilter.cpp151 const GLfloat texCoords[4][2] = {
180 glTexCoordPointer(2, GL_FLOAT, 0, texCoords);
/frameworks/native/opengl/tests/gl_jni/jni/
H A Dgl_code.cpp158 const GLfixed texCoords[] = { local
167 glTexCoordPointer(2, GL_FIXED, 0, texCoords);
/frameworks/native/opengl/tests/tritex/
H A Dtritex.cpp240 const GLfixed texCoords[] = { local
255 glTexCoordPointer(2, GL_FIXED, 0, texCoords);
/frameworks/native/opengl/tests/gl_basic/
H A Dgl_basic.cpp349 const GLfixed texCoords[] = {
359 glTexCoordPointer(2, GL_FIXED, 0, texCoords);
/frameworks/native/services/surfaceflinger/
H A DLayer.cpp762 Mesh::VertexArray<vec2> texCoords(mMesh.getTexCoordArray<vec2>());
763 texCoords[0] = vec2(left, 1.0f - top);
764 texCoords[1] = vec2(left, 1.0f - bottom);
765 texCoords[2] = vec2(right, 1.0f - bottom);
766 texCoords[3] = vec2(right, 1.0f - top);

Completed in 8863 milliseconds