Home
last modified time | relevance | path

Searched refs:invW (Results 1 – 7 of 7) sorted by relevance

/external/skia/src/gpu/effects/
DGrMagnifierEffect.fp45 SkScalar invW = 1.0f / src.width();
54 pdman.set2f(offset, srcRect.x() * invW, y);
64 bounds.x() * invW,
DGrMagnifierEffect.cpp106 SkScalar invW = 1.0f / src.width(); in onSetData() local
115 pdman.set2f(offset, srcRect.x() * invW, y); in onSetData()
125 bounds.x() * invW, in onSetData()
/external/skqp/src/gpu/effects/
DGrMagnifierEffect.fp45 SkScalar invW = 1.0f / src.width();
54 pdman.set2f(offset, srcRect.x() * invW, y);
64 bounds.x() * invW,
DGrMagnifierEffect.cpp106 SkScalar invW = 1.0f / src.width(); in onSetData() local
115 pdman.set2f(offset, srcRect.x() * invW, y); in onSetData()
125 bounds.x() * invW, in onSetData()
/external/mesa3d/src/mesa/swrast/
Ds_span.c197 const GLfloat invW = 1.0f / w; in interpolate_active_attribs() local
198 span->array->attribs[attr][k][0] = v0 * invW; in interpolate_active_attribs()
199 span->array->attribs[attr][k][1] = v1 * invW; in interpolate_active_attribs()
200 span->array->attribs[attr][k][2] = v2 * invW; in interpolate_active_attribs()
201 span->array->attribs[attr][k][3] = v3 * invW; in interpolate_active_attribs()
531 const GLfloat invW = 1.0F / w; in interpolate_texcoords() local
532 texcoord[i][0] = s * invW; in interpolate_texcoords()
533 texcoord[i][1] = t * invW; in interpolate_texcoords()
534 texcoord[i][2] = r * invW; in interpolate_texcoords()
535 texcoord[i][3] = q * invW; in interpolate_texcoords()
[all …]
Ds_aalinetemp.h85 const GLfloat invW = solve_plane_recip(fx, fy, line->wPlane); in NAME() local
88 attribArray[i][c] = solve_plane(fx, fy, line->attrPlane[attr][c]) * invW; in NAME()
Ds_tritemp.h708 const GLfloat invW = vLower->attrib[VARYING_SLOT_POS][3]; in NAME() local
712 attrLeft[attr][c] = v2->attrib[attr][c] * invW; in NAME()
719 const GLfloat a = vLower->attrib[attr][c] * invW; in NAME()