Home
last modified time | relevance | path

Searched refs:cliprect (Results 1 - 3 of 3) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_state_derived.c246 * Recompute cliprect from scissor bounds, scissor enable and surface size.
266 sp->cliprect[i].minx = MAX2(sp->scissors[i].minx, 0); in compute_cliprect()
267 sp->cliprect[i].miny = MAX2(sp->scissors[i].miny, 0); in compute_cliprect()
268 sp->cliprect[i].maxx = MIN2(sp->scissors[i].maxx, surfWidth); in compute_cliprect()
269 sp->cliprect[i].maxy = MIN2(sp->scissors[i].maxy, surfHeight); in compute_cliprect()
273 sp->cliprect[i].minx = 0; in compute_cliprect()
274 sp->cliprect[i].miny = 0; in compute_cliprect()
275 sp->cliprect[i].maxx = surfWidth; in compute_cliprect()
276 sp->cliprect[i].maxy = surfHeight; in compute_cliprect()
H A Dsp_setup.c132 const struct pipe_scissor_state *cliprect = &setup->softpipe->cliprect[viewport_index]; in quad_clip() local
133 const int minx = (int) cliprect->minx; in quad_clip()
134 const int maxx = (int) cliprect->maxx; in quad_clip()
135 const int miny = (int) cliprect->miny; in quad_clip()
136 const int maxy = (int) cliprect->maxy; in quad_clip()
647 * Scissoring/cliprect is applied here too.
656 const struct pipe_scissor_state *cliprect = &setup->softpipe->cliprect[viewport_index]; in subtriangle() local
657 const int minx = (int) cliprect in subtriangle()
[all...]
H A Dsp_context.h141 struct pipe_scissor_state cliprect[PIPE_MAX_VIEWPORTS]; member

Completed in 3 milliseconds