Home
last modified time | relevance | path

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

/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.cpp105 SkScalar invW = 1.0f / src.width(); in onSetData() local
114 pdman.set2f(offset, srcRect.x() * invW, y); in onSetData()
124 bounds.x() * invW, in onSetData()
/external/mesa3d/src/mesa/swrast/
Ds_span.c200 const GLfloat invW = 1.0f / w; in interpolate_active_attribs() local
201 span->array->attribs[attr][k][0] = v0 * invW; in interpolate_active_attribs()
202 span->array->attribs[attr][k][1] = v1 * invW; in interpolate_active_attribs()
203 span->array->attribs[attr][k][2] = v2 * invW; in interpolate_active_attribs()
204 span->array->attribs[attr][k][3] = v3 * invW; in interpolate_active_attribs()
534 const GLfloat invW = 1.0F / w; in interpolate_texcoords() local
535 texcoord[i][0] = s * invW; in interpolate_texcoords()
536 texcoord[i][1] = t * invW; in interpolate_texcoords()
537 texcoord[i][2] = r * invW; in interpolate_texcoords()
538 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.h709 const GLfloat invW = vLower->attrib[VARYING_SLOT_POS][3]; in NAME() local
713 attrLeft[attr][c] = v2->attrib[attr][c] * invW; in NAME()
720 const GLfloat a = vLower->attrib[attr][c] * invW; in NAME()