Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_derived.c267 sp->cliprect[i].minx = MAX2(sp->scissors[i].minx, 0); in compute_cliprect()
268 sp->cliprect[i].miny = MAX2(sp->scissors[i].miny, 0); in compute_cliprect()
269 sp->cliprect[i].maxx = MIN2(sp->scissors[i].maxx, surfWidth); in compute_cliprect()
270 sp->cliprect[i].maxy = MIN2(sp->scissors[i].maxy, surfHeight); in compute_cliprect()
274 sp->cliprect[i].minx = 0; in compute_cliprect()
275 sp->cliprect[i].miny = 0; in compute_cliprect()
276 sp->cliprect[i].maxx = surfWidth; in compute_cliprect()
277 sp->cliprect[i].maxy = surfHeight; in compute_cliprect()
Dsp_setup.c131 const struct pipe_scissor_state *cliprect = &setup->softpipe->cliprect[viewport_index]; in quad_clip() local
132 const int minx = (int) cliprect->minx; in quad_clip()
133 const int maxx = (int) cliprect->maxx; in quad_clip()
134 const int miny = (int) cliprect->miny; in quad_clip()
135 const int maxy = (int) cliprect->maxy; in quad_clip()
716 const struct pipe_scissor_state *cliprect = &setup->softpipe->cliprect[viewport_index]; in subtriangle() local
717 const int minx = (int) cliprect->minx; in subtriangle()
718 const int maxx = (int) cliprect->maxx; in subtriangle()
719 const int miny = (int) cliprect->miny; in subtriangle()
720 const int maxy = (int) cliprect->maxy; in subtriangle()
Dsp_context.h149 struct pipe_scissor_state cliprect[PIPE_MAX_VIEWPORTS]; member