Searched refs:xmin (Results 1 - 25 of 62) sorted by relevance

123

/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/swr/rasterizer/core/core/
H A Dbinner.h123 bbox.xmin = vMinX;
146 scisXmin = _simd_set_epi32(pScissorsInFixedPoint[pViewportIndex[7]].xmin,
147 pScissorsInFixedPoint[pViewportIndex[6]].xmin,
148 pScissorsInFixedPoint[pViewportIndex[5]].xmin,
149 pScissorsInFixedPoint[pViewportIndex[4]].xmin,
150 pScissorsInFixedPoint[pViewportIndex[3]].xmin,
151 pScissorsInFixedPoint[pViewportIndex[2]].xmin,
152 pScissorsInFixedPoint[pViewportIndex[1]].xmin,
153 pScissorsInFixedPoint[pViewportIndex[0]].xmin);
187 scisXmin = _simd16_set_epi32(pScissorsInFixedPoint[pViewportIndex[15]].xmin,
[all...]
H A Dapi.h47 int32_t xmin; ///< inclusive member in struct:SWR_RECT
54 return (this->ymin == rhs.ymin && this->ymax == rhs.ymax && this->xmin == rhs.xmin &&
62 this->xmin = std::max(this->xmin, other.xmin);
67 if (xmax - xmin < 0 || ymax - ymin < 0)
70 ymin = ymax = xmin = xmax = 0;
79 this->xmin = std::min(this->xmin, othe
[all...]
H A Dbinner.cpp361 SIMD_T::template slli_epi32<ER_SIMD_TILE_X_SHIFT + FIXED_POINT_SHIFT>(er_bbox.xmin);
888 // (xmin + 127) & ~255
898 Integer<SIMD_T> xmin = SIMD_T::add_epi32(bbox.xmin, SIMD_T::set1_epi32(127)); local in function:BinTrianglesImpl
899 xmin = SIMD_T::and_si(xmin, SIMD_T::set1_epi32(~255));
903 Integer<SIMD_T> vMaskH = SIMD_T::cmpeq_epi32(xmin, xmax);
941 scisXmin = SIMD_T::set1_epi32(state.scissorsInFixedPoint[0].xmin);
951 bbox.xmin = SIMD_T::max_epi32(bbox.xmin, scisXmi
[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.h658 scissor.xmin = std::max(triBBox.xmin, scissorBBox.xmin);
663 POS topLeft{scissor.xmin, scissor.ymin};
664 POS bottomLeft{scissor.xmin, scissor.ymax};
674 vEdgeFix16[3] = _mm256_set1_pd((rastEdges[3].a * (x - scissor.xmin)) +
676 vEdgeFix16[4] = _mm256_set1_pd((rastEdges[4].a * (x - scissor.xmin)) +
713 POS topLeft{scissor.xmin, scissor.ymin};
714 POS bottomLeft{scissor.xmin, scissor.ymax};
724 vEdgeFix16[3] = _mm256_set1_pd((rastEdges[3].a * (x - scissor.xmin))
[all...]
H A Dbackend_clear.cpp111 clearTile.xmin >>= (KNOB_TILE_X_DIM_SHIFT);
133 pitch, clearTile.xmin, clearTile.ymin)) *
144 for (int32_t x = clearTile.xmin; x <= clearTile.xmax; ++x)
H A Dutils.h43 simdscalari xmin; member in struct:simdBBox
51 simd16scalari xmin; member in struct:simd16BBox
60 typename SIMD_T::Integer xmin; member in struct:SIMDBBOX_T
/xsrc/external/mit/MesaLib/dist/src/intel/common/
H A Dintel_guardband.h29 float *xmin, float *xmax,
74 *xmin = -1.0f;
104 *xmin = ndc_gb_xmin;
110 *xmin = 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
58 xmin = ymin = 1000.0;
70 if (x < xmin)
71 xmin = x;
87 xpos + xmin, xpos + xmax,
90 if (xmax - xmin != 1.0 - Step) {
96 if (xmin < 0.0) {
97 printf(" => Points should be X biased by about %f\n", xmin);
239 float xmin, xmax; local in function:VLineCalibrate
244 xmin
362 float xmin, ymin, xmax, ymax; local in function:QuadCalibrate
[all...]
/xsrc/external/mit/mesa-demos/dist/src/glsl/
H A Dtrirast.c59 GLfloat *xmin, GLfloat *ymin,
63 *xmin = *xmax = vertsIn[0][0];
66 if (vertsIn[i][0] < *xmin)
67 *xmin = vertsIn[i][0];
81 GLfloat v[3][2], xmin, ymin, xmax, ymax; local in function:Redisplay
84 ComputeBounds(3, v, &xmin, &ymin, &xmax, &ymax);
94 glVertex2f(xmin, ymin);
97 glVertex2f(xmin, 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;
81 x = xmin;
H A Dvert-tex.c54 GLfloat xmin = -2.0, xmax = 2.0; local in function:DrawMesh
57 GLfloat dx = (xmax - xmin) / xdivs;
66 x = xmin;
/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
203 xmin = (GLint) (x - iRadius);
211 xmin = (GLint) (x + 0.501F) - iRadius;
212 xmax = xmin + iSize - 1;
226 span.x = xmin;
228 span.end = xmax - xmin + 1;
311 const GLint xmin = (GLint) (x - radius); local in function:smooth_point
320 span.x = xmin;
322 span.end = xmax - xmin + 1;
325 for (ix = xmin; i
410 GLint xmin, xmax, ymin, ymax, ix, iy; local in function:large_point
[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
196 xmin = (GLint) (x - iRadius);
204 xmin = (GLint) (x + 0.501F) - iRadius;
205 xmax = xmin + iSize - 1;
219 span.x = xmin;
221 span.end = xmax - xmin + 1;
304 const GLint xmin = (GLint) (x - radius); local in function:smooth_point
313 span.x = xmin;
315 span.end = xmax - xmin + 1;
318 for (ix = xmin; i
403 GLint xmin, xmax, ymin, ymax, ix, iy; local in function:large_point
[all...]
/xsrc/external/mit/xorg-server.old/dist/mi/
H A Dmizerclip.c413 miZeroClipLine(int xmin, int ymin, int xmax, int ymax,
476 utmp = xmin - x1_orig;
487 utmp = x2_orig - xmin;
495 x1 = xmin;
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) \
106 if (x < xmin) outcode |= OUT_LEFT;\
155 int /*xmin*/,
H A Dmispans.c83 int ymin, ymax, xmin, xmax; local in function:miSubtractSpans
117 xmin = subPt->x;
118 xmax = xmin + *subWid;
119 if (xmin >= spansPt->x + *spansWid || spansPt->x >= xmax)
123 else if (xmin <= spansPt->x)
144 *spansWid = xmin - spansPt->x;
169 *spansWid = xmin - spansPt->x;
/xsrc/external/mit/xorg-server/dist/mi/
H A Dmizerclip.c412 miZeroClipLine(int xmin, int ymin, int xmax, int ymax,
468 utmp = xmin - x1_orig;
478 utmp = x2_orig - xmin;
486 x1 = xmin;
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) \
105 if (x < xmin) outcode |= OUT_LEFT;\
154 extern _X_EXPORT int miZeroClipLine(int /*xmin */ ,
/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) {
848 glVertex3f(xmin, y, zmin);
855 for (x = xmin; x <= xmax; x += step) {
862 glVertex3f(xmin, ymin, z);
870 glVertex3f(xmin, y, zmin);
871 glVertex3f(xmin, y, zmax);
876 glVertex3f(xmin, ymin, z);
877 glVertex3f(xmin, ymax, z);
883 /* xmin */
[all...]
H A Dprojtex.c489 float xmin = -0.035, xmax = 0.035; variable in typeref:typename:float
509 glFrustum(xmin, xmax, ymin, ymax, nnear, ffar);
522 n[0][0] = xmin;
534 n[3][0] = xmin;
538 f[0][0] = xmin * t;
550 f[3][0] = xmin * t;
/xsrc/external/mit/pixman/dist/test/
H A Daffine-bench.c355 int32_t xmin, ymin, xmax, ymax; local in function:main
404 xmin = pixman_fixed_to_int (transformed.x1 - pixman_fixed_1 / 2);
418 binfo.src_x = -xmin;
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/xorg-server.old/dist/render/
H A Dmipict.c357 int xmin, ymin, xmax, ymax; local in function:miCompositeSourceValidate
364 xmin = ymin = 32767;
376 if (tx < xmin) xmin = tx;
382 x = xmin;
384 width = xmax - xmin;
/xsrc/external/mit/MesaLib.old/dist/src/mesa/main/
H A Dimage.h125 _mesa_clip_to_region(GLint xmin, GLint ymin,
/xsrc/external/mit/MesaLib/dist/src/mesa/main/
H A Dimage.h125 _mesa_clip_to_region(GLint xmin, GLint ymin,

Completed in 22 milliseconds

123