Searched refs:xmax (Results 1 - 25 of 70) sorted by relevance

123

/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/swr/rasterizer/core/core/
H A Dbinner.h124 bbox.xmax = vMaxX;
162 scisXmax = _simd_set_epi32(pScissorsInFixedPoint[pViewportIndex[7]].xmax,
163 pScissorsInFixedPoint[pViewportIndex[6]].xmax,
164 pScissorsInFixedPoint[pViewportIndex[5]].xmax,
165 pScissorsInFixedPoint[pViewportIndex[4]].xmax,
166 pScissorsInFixedPoint[pViewportIndex[3]].xmax,
167 pScissorsInFixedPoint[pViewportIndex[2]].xmax,
168 pScissorsInFixedPoint[pViewportIndex[1]].xmax,
169 pScissorsInFixedPoint[pViewportIndex[0]].xmax);
221 scisXmax = _simd16_set_epi32(pScissorsInFixedPoint[pViewportIndex[15]].xmax,
[all...]
H A Dapi.h49 int32_t xmax; ///< exclusive member in struct:SWR_RECT
55 this->xmax == rhs.xmax);
64 this->xmax = std::min(this->xmax, other.xmax);
67 if (xmax - xmin < 0 || ymax - ymin < 0)
70 ymin = ymax = xmin = xmax = 0;
81 this->xmax = std::max(this->xmax, othe
[all...]
H A Dbinner.cpp889 // (xmax + 128) & ~255
900 Integer<SIMD_T> xmax = SIMD_T::add_epi32(bbox.xmax, SIMD_T::set1_epi32(128)); local in function:BinTrianglesImpl
901 xmax = SIMD_T::and_si(xmax, SIMD_T::set1_epi32(~255));
903 Integer<SIMD_T> vMaskH = SIMD_T::cmpeq_epi32(xmin, xmax);
924 // Intersect with scissor/viewport. Subtract 1 ULP in x.8 fixed point since xmax/ymax edge is
943 scisXmax = SIMD_T::set1_epi32(state.scissorsInFixedPoint[0].xmax);
948 bbox.xmax = SIMD_T::sub_epi32(bbox.xmax, SIMD_
[all...]
H A Drasterizer.cpp169 if (!(bboxA.xmin > macroBoxRight || bboxA.xmin > scissorInFixedPoint.xmax ||
170 bboxA.xmax - 1 < macroBoxLeft || bboxA.xmax - 1 < scissorInFixedPoint.xmin ||
239 if (!(bboxA.xmin > macroBoxRight || bboxA.xmin > scissorInFixedPoint.xmax ||
240 bboxA.xmax - 1 < macroBoxLeft || bboxA.xmax - 1 < scissorInFixedPoint.xmin ||
H A Drasterizer_impl.h659 scissor.xmax = std::min(triBBox.xmax, scissorBBox.xmax);
665 POS topRight{scissor.xmax, scissor.ymin};
666 POS bottomRight{scissor.xmax, scissor.ymax};
678 vEdgeFix16[5] = _mm256_set1_pd((rastEdges[5].a * (x - scissor.xmax)) +
680 vEdgeFix16[6] = _mm256_set1_pd((rastEdges[6].a * (x - scissor.xmax)) +
715 POS topRight{scissor.xmax, scissor.ymin};
716 POS bottomRight{scissor.xmax, scissor.ymax};
728 vEdgeFix16[5] = _mm256_set1_pd((rastEdges[5].a * (x - scissor.xmax))
[all...]
H A Dbackend_clear.cpp105 clearTile.xmax -= 1;
112 clearTile.xmax >>= (KNOB_TILE_X_DIM_SHIFT);
144 for (int32_t x = clearTile.xmin; x <= clearTile.xmax; ++x)
H A Dutils.h44 simdscalari xmax; member in struct:simdBBox
52 simd16scalari xmax; member in struct:simd16BBox
61 typename SIMD_T::Integer xmax; member in struct:SIMDBBOX_T
/xsrc/external/mit/MesaLib/dist/src/intel/common/
H A Dintel_guardband.h29 float *xmin, float *xmax,
75 *xmax = 1.0f;
105 *xmax = ndc_gb_xmax;
111 *xmax = 0.0f;
27 intel_calculate_guardband_size(uint32_t fb_width,uint32_t fb_height,float m00,float m11,float m30,float m31,float * xmin,float * xmax,float * ymin,float * ymax) argument
/xsrc/external/mit/mesa-demos/dist/src/tests/
H A Dcalibrate_rast.c56 float xmin, ymin, xmax, ymax; local in function:PointCalibrate
59 xmax = ymax = -1000.0;
74 if (x > xmax)
75 xmax = x;
87 xpos + xmin, xpos + xmax,
90 if (xmax - xmin != 1.0 - Step) {
102 if (xmax > 1.0) {
103 printf(" => Points should be X biased by about %f\n", 1.0 - xmax);
239 float xmin, xmax; local in function:VLineCalibrate
245 xmax
362 float xmin, ymin, xmax, ymax; local in function:QuadCalibrate
[all...]
/xsrc/external/mit/mesa-demos/dist/src/glsl/
H A Dtrirast.c60 GLfloat *xmax, GLfloat *ymax)
63 *xmin = *xmax = vertsIn[0][0];
68 else if (vertsIn[i][0] > *xmax)
69 *xmax = vertsIn[i][0];
81 GLfloat v[3][2], xmin, ymin, xmax, ymax; local in function:Redisplay
84 ComputeBounds(3, v, &xmin, &ymin, &xmax, &ymax);
95 glVertex2f(xmax, ymin);
96 glVertex2f(xmax, ymax);
58 ComputeBounds(GLuint n,GLfloat vertsIn[][2],GLfloat * xmin,GLfloat * ymin,GLfloat * xmax,GLfloat * ymax) argument
H A Darray.c69 GLfloat xmin = -2.0, xmax = 2.0; local in function:DrawMesh
72 GLfloat dx = (xmax - xmin) / xdivs;
H A Dvert-tex.c54 GLfloat xmin = -2.0, xmax = 2.0; local in function:DrawMesh
57 GLfloat dx = (xmax - xmin) / xdivs;
/xsrc/external/mit/x11perf/dist/
H A Ddo_movewin.c31 static int xmax, ymax; variable in typeref:typename:int
48 xmax = (CHILDSIZE+CHILDSPACE) * (rows > 1 ? MAXCOLS : p->objects);
71 if (x_offset + xmax > WIDTH)
151 xmax = (CHILDSIZE+CHILDSPACE) * (rows > 1 ? MAXCOLS : p->objects);
155 0, 0, xmax, ymax, 0,
178 if (x_offset + xmax > WIDTH)
/xsrc/external/mit/xorg-server.old/dist/mi/
H A Dmispans.c83 int ymin, ymax, xmin, xmax; local in function:miSubtractSpans
118 xmax = xmin + *subWid;
119 if (xmin >= spansPt->x + *spansWid || spansPt->x >= xmax)
125 if (xmax >= spansPt->x + *spansWid)
136 *spansWid = *spansWid - (xmax - spansPt->x);
137 spansPt->x = xmax;
142 if (xmax >= spansPt->x + *spansWid)
172 *spansWid = *spansWid - (xmax - spansPt->x);
173 spansPt->x = xmax;
H A Dmizerclip.c413 miZeroClipLine(int xmin, int ymin, int xmax, int ymax,
524 utmp = x1_orig - xmax;
542 utmp = xmax - x2_orig;
550 x1 = xmax;
622 MIOUTCODES(oc1, x1, y1, xmin, ymin, xmax, ymax);
408 miZeroClipLine(int xmin,int ymin,int xmax,int ymax,int * new_x1,int * new_y1,int * new_x2,int * new_y2,unsigned int adx,unsigned int ady,int * pt1_clipped,int * pt2_clipped,int octant,unsigned int bias,int oc1,int oc2) argument
H A Dmiline.h104 #define MIOUTCODES(outcode, x, y, xmin, ymin, xmax, ymax) \
107 if (x > xmax) outcode |= OUT_RIGHT;\
157 int /*xmax*/,
/xsrc/external/mit/xorg-server/dist/mi/
H A Dmizerclip.c412 miZeroClipLine(int xmin, int ymin, int xmax, int ymax,
512 utmp = x1_orig - xmax;
529 utmp = xmax - x2_orig;
537 x1 = xmax;
606 MIOUTCODES(oc1, x1, y1, xmin, ymin, xmax, ymax);
407 miZeroClipLine(int xmin,int ymin,int xmax,int ymax,int * new_x1,int * new_y1,int * new_x2,int * new_y2,unsigned int adx,unsigned int ady,int * pt1_clipped,int * pt2_clipped,int octant,unsigned int bias,int oc1,int oc2) argument
H A Dmiline.h103 #define MIOUTCODES(outcode, x, y, xmin, ymin, xmax, ymax) \
106 if (x > xmax) outcode |= OUT_RIGHT;\
156 int /*xmax */ ,
/xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
H A Dst_atom_scissor.c64 /* need to be careful here with xmax or ymax < 0 */
65 GLint xmax = MAX2(0, ctx->Scissor.ScissorArray[i].X + ctx->Scissor.ScissorArray[i].Width); local in function:st_update_scissor
73 if (xmax < (GLint) scissor[i].maxx)
74 scissor[i].maxx = xmax;
/xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/
H A Dst_atom_scissor.c67 /* need to be careful here with xmax or ymax < 0 */
68 GLint xmax = MAX2(0, ctx->Scissor.ScissorArray[i].X + ctx->Scissor.ScissorArray[i].Width); local in function:st_update_scissor
76 if (xmax < (GLint) scissor[i].maxx)
77 scissor[i].maxx = xmax;
/xsrc/external/mit/MesaLib.old/dist/src/mesa/swrast/
H A Ds_points.c194 GLint xmin, xmax, ymin, ymax, iy; local in function:sprite_point
204 xmax = (GLint) (x + iRadius);
212 xmax = xmin + iSize - 1;
228 span.end = xmax - xmin + 1;
312 const GLint xmax = (GLint) (x + radius); local in function:smooth_point
322 span.end = xmax - xmin + 1;
325 for (ix = xmin; ix <= xmax; ix++) {
410 GLint xmin, xmax, ymin, ymax, ix, iy; local in function:large_point
419 xmax = (GLint) (x + iRadius);
427 xmax
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/swrast/
H A Ds_points.c187 GLint xmin, xmax, ymin, ymax, iy; local in function:sprite_point
197 xmax = (GLint) (x + iRadius);
205 xmax = xmin + iSize - 1;
221 span.end = xmax - xmin + 1;
305 const GLint xmax = (GLint) (x + radius); local in function:smooth_point
315 span.end = xmax - xmin + 1;
318 for (ix = xmin; ix <= xmax; ix++) {
403 GLint xmin, xmax, ymin, ymax, ix, iy; local in function:large_point
412 xmax = (GLint) (x + iRadius);
420 xmax
[all...]
/xsrc/external/mit/pixman/dist/test/
H A Daffine-bench.c355 int32_t xmin, ymin, xmax, ymax; local in function:main
406 xmax = pixman_fixed_to_int (transformed.x2 + pixman_fixed_1 / 2);
413 * xmax = pixman_fixed_to_int (transformed.x2 + pixman_fixed_1 / 2 - pixman_fixed_e);
426 create_image (xmax - xmin + 64, ymax - ymin + 1, src_format, filter,
431 create_image (xmax - xmin + 64, ymax - ymin + 1, mask_format, filter,
/xsrc/external/mit/mesa-demos/dist/src/demos/
H A Dengine.c824 const float xmin = -3.0, xmax = 3.0; local in function:DrawBox
841 for (x = xmin; x <= xmax; x += step) {
849 glVertex3f(xmax, y, zmin);
855 for (x = xmin; x <= xmax; x += step) {
863 glVertex3f(xmax, ymin, z);
890 glVertex3f(xmax, ymin-d, zmin);
891 glVertex3f(xmax, ymin-d, zmax);
895 glVertex3f(xmax, ymin, zmin-d);
896 glVertex3f(xmax, ymax, zmin-d);
/xsrc/external/mit/xorg-server.old/dist/render/
H A Dmipict.c357 int xmin, ymin, xmax, ymax; local in function:miCompositeSourceValidate
365 xmax = ymax = -32737;
377 if (tx > xmax) xmax = tx;
384 width = xmax - xmin;

Completed in 138 milliseconds

123