Searched defs:vMax (Results 1 - 4 of 4) sorted by relevance

/external/mesa3d/src/mesa/swrast/
H A Ds_aatritemp.h45 const SWvertex *vMin, *vMid, *vMax; variable
75 vMin = v0; vMid = v1; vMax = v2; /* y0<=y1<=y2 */
78 vMin = v2; vMid = v0; vMax = v1; /* y2<=y0<=y1 */
81 vMin = v0; vMid = v2; vMax = v1; bf = -bf; /* y0<=y2<=y1 */
86 vMin = v1; vMid = v0; vMax = v2; bf = -bf; /* y1<=y0<=y2 */
89 vMin = v2; vMid = v1; vMax = v0; bf = -bf; /* y2<=y1<=y0 */
92 vMin = v1; vMid = v2; vMax = v0; /* y1<=y2<=y0 */
97 majDx = vMax->attrib[FRAG_ATTRIB_WPOS][0] - vMin->attrib[FRAG_ATTRIB_WPOS][0];
98 majDy = vMax->attrib[FRAG_ATTRIB_WPOS][1] - vMin->attrib[FRAG_ATTRIB_WPOS][1];
173 yMax = vMax
[all...]
H A Ds_tritemp.h137 const SWvertex *vMin, *vMid, *vMax; /* Y(vMin)<=Y(vMid)<=Y(vMax) */ local
179 vMin = v0; vMid = v1; vMax = v2;
184 vMin = v2; vMid = v0; vMax = v1;
189 vMin = v0; vMid = v2; vMax = v1;
197 vMin = v1; vMid = v0; vMax = v2;
203 vMin = v2; vMid = v1; vMax = v0;
209 vMin = v1; vMid = v2; vMax = v0;
217 vMax_fx = FloatToFixed(vMax->attrib[FRAG_ATTRIB_WPOS][0] + 0.5F) & snapMask;
221 eMaj.v0 = vMin; eMaj.v1 = vMax; /*TOD
[all...]
/external/skia/src/core/
H A DSkLinearBitmapPipeline_tile.h19 void assertTiled(const Sk4s& vs, SkScalar vMax) { argument
20 SkASSERT(0 <= vs[0] && vs[0] < vMax);
21 SkASSERT(0 <= vs[1] && vs[1] < vMax);
22 SkASSERT(0 <= vs[2] && vs[2] < vMax);
23 SkASSERT(0 <= vs[3] && vs[3] < vMax);
H A DSkLinearBitmapPipeline_sample.h448 // vMax, take the point which might be off the tile by one pixel and either wrap it or pin it to
449 // generate the right pixel. The value vs is on the interval [-1, vMax + 1]. It produces a value
450 // on the interval [0, vMax].
451 // Note: vMax is not width or height, but width-1 or height-1 because it is the largest valid pixel.
452 static inline int adjust_edge(SkShader::TileMode edgeType, int vs, int vMax) { argument
453 SkASSERT(-1 <= vs && vs <= vMax + 1);
458 vs = std::min(vs, vMax);
461 vs = (vs <= vMax) ? vs : 0;
462 vs = (vs >= 0) ? vs : vMax;
465 SkASSERT(0 <= vs && vs <= vMax);
[all...]

Completed in 556 milliseconds