Home
last modified time | relevance | path

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

/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()
/external/skia/src/effects/
DSkMagnifierImageFilter.cpp207 SkScalar invW = 1.0f / tex->width(); in onSetData() local
216 pdman.set2f(fOffsetVar, zoom.srcRect().x() * invW, y); in onSetData()
229 zoom.bounds().x() * invW, in onSetData()