Home
last modified time | relevance | path

Searched refs:scissor (Results 1 – 25 of 185) sorted by relevance

12345678

/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
Dst_atom_scissor.c46 struct pipe_scissor_state scissor; in update_scissor() local
51 scissor.minx = 0; in update_scissor()
52 scissor.miny = 0; in update_scissor()
53 scissor.maxx = fb->Width; in update_scissor()
54 scissor.maxy = fb->Height; in update_scissor()
61 if (ctx->Scissor.X > (GLint)scissor.minx) in update_scissor()
62 scissor.minx = ctx->Scissor.X; in update_scissor()
63 if (ctx->Scissor.Y > (GLint)scissor.miny) in update_scissor()
64 scissor.miny = ctx->Scissor.Y; in update_scissor()
66 if (xmax < (GLint) scissor.maxx) in update_scissor()
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_scissor.c46 struct pipe_scissor_state scissor; in update_scissor() local
51 scissor.minx = 0; in update_scissor()
52 scissor.miny = 0; in update_scissor()
53 scissor.maxx = fb->Width; in update_scissor()
54 scissor.maxy = fb->Height; in update_scissor()
61 if (ctx->Scissor.X > (GLint)scissor.minx) in update_scissor()
62 scissor.minx = ctx->Scissor.X; in update_scissor()
63 if (ctx->Scissor.Y > (GLint)scissor.miny) in update_scissor()
64 scissor.miny = ctx->Scissor.Y; in update_scissor()
66 if (xmax < (GLint) scissor.maxx) in update_scissor()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dgen6_scissor_state.c40 struct gen6_scissor_rect *scissor; in gen6_upload_scissor_state() local
43 scissor = brw_state_batch(brw, AUB_TRACE_SCISSOR_STATE, in gen6_upload_scissor_state()
44 sizeof(*scissor), 32, &scissor_state_offset); in gen6_upload_scissor_state()
63 scissor->xmin = 1; in gen6_upload_scissor_state()
64 scissor->xmax = 0; in gen6_upload_scissor_state()
65 scissor->ymin = 1; in gen6_upload_scissor_state()
66 scissor->ymax = 0; in gen6_upload_scissor_state()
69 scissor->xmin = ctx->DrawBuffer->_Xmin; in gen6_upload_scissor_state()
70 scissor->xmax = ctx->DrawBuffer->_Xmax - 1; in gen6_upload_scissor_state()
71 scissor->ymin = ctx->DrawBuffer->_Ymin; in gen6_upload_scissor_state()
[all …]
Dbrw_sf_state.c94 sfv->scissor.xmin = 1; in upload_sf_vp()
95 sfv->scissor.xmax = 0; in upload_sf_vp()
96 sfv->scissor.ymin = 1; in upload_sf_vp()
97 sfv->scissor.ymax = 0; in upload_sf_vp()
100 sfv->scissor.xmin = ctx->DrawBuffer->_Xmin; in upload_sf_vp()
101 sfv->scissor.xmax = ctx->DrawBuffer->_Xmax - 1; in upload_sf_vp()
102 sfv->scissor.ymin = ctx->DrawBuffer->_Ymin; in upload_sf_vp()
103 sfv->scissor.ymax = ctx->DrawBuffer->_Ymax - 1; in upload_sf_vp()
107 sfv->scissor.xmin = ctx->DrawBuffer->_Xmin; in upload_sf_vp()
108 sfv->scissor.xmax = ctx->DrawBuffer->_Xmax - 1; in upload_sf_vp()
[all …]
Dbrw_state_dump.c315 vp->scissor.xmin, vp->scissor.ymin); in dump_sf_viewport_state()
317 vp->scissor.xmax, vp->scissor.ymax); in dump_sf_viewport_state()
432 struct gen6_scissor_rect *scissor = intel->batch.bo->virtual + offset; in dump_scissor() local
435 scissor->xmin, scissor->ymin); in dump_scissor()
437 scissor->xmax, scissor->ymax); in dump_scissor()
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
Dgen6_scissor_state.c40 struct gen6_scissor_rect *scissor; in gen6_upload_scissor_state() local
43 scissor = brw_state_batch(brw, AUB_TRACE_SCISSOR_STATE, in gen6_upload_scissor_state()
44 sizeof(*scissor), 32, &scissor_state_offset); in gen6_upload_scissor_state()
63 scissor->xmin = 1; in gen6_upload_scissor_state()
64 scissor->xmax = 0; in gen6_upload_scissor_state()
65 scissor->ymin = 1; in gen6_upload_scissor_state()
66 scissor->ymax = 0; in gen6_upload_scissor_state()
69 scissor->xmin = ctx->DrawBuffer->_Xmin; in gen6_upload_scissor_state()
70 scissor->xmax = ctx->DrawBuffer->_Xmax - 1; in gen6_upload_scissor_state()
71 scissor->ymin = ctx->DrawBuffer->_Ymin; in gen6_upload_scissor_state()
[all …]
Dbrw_sf_state.c94 sfv->scissor.xmin = 1; in upload_sf_vp()
95 sfv->scissor.xmax = 0; in upload_sf_vp()
96 sfv->scissor.ymin = 1; in upload_sf_vp()
97 sfv->scissor.ymax = 0; in upload_sf_vp()
100 sfv->scissor.xmin = ctx->DrawBuffer->_Xmin; in upload_sf_vp()
101 sfv->scissor.xmax = ctx->DrawBuffer->_Xmax - 1; in upload_sf_vp()
102 sfv->scissor.ymin = ctx->DrawBuffer->_Ymin; in upload_sf_vp()
103 sfv->scissor.ymax = ctx->DrawBuffer->_Ymax - 1; in upload_sf_vp()
107 sfv->scissor.xmin = ctx->DrawBuffer->_Xmin; in upload_sf_vp()
108 sfv->scissor.xmax = ctx->DrawBuffer->_Xmax - 1; in upload_sf_vp()
[all …]
Dbrw_state_dump.c315 vp->scissor.xmin, vp->scissor.ymin); in dump_sf_viewport_state()
317 vp->scissor.xmax, vp->scissor.ymax); in dump_sf_viewport_state()
432 struct gen6_scissor_rect *scissor = intel->batch.bo->virtual + offset; in dump_scissor() local
435 scissor->xmin, scissor->ymin); in dump_scissor()
437 scissor->xmax, scissor->ymax); in dump_scissor()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/
Dsp_state_clip.c62 const struct pipe_scissor_state *scissor) in softpipe_set_scissor_state() argument
68 softpipe->scissor = *scissor; /* struct copy */ in softpipe_set_scissor_state()
Dsp_state_derived.c186 if (sp->rasterizer->scissor) { in compute_cliprect()
192 sp->cliprect.minx = MAX2(sp->scissor.minx, 0); in compute_cliprect()
193 sp->cliprect.miny = MAX2(sp->scissor.miny, 0); in compute_cliprect()
194 sp->cliprect.maxx = MIN2(sp->scissor.maxx, surfWidth); in compute_cliprect()
195 sp->cliprect.maxy = MIN2(sp->scissor.maxy, surfHeight); in compute_cliprect()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_clip.c62 const struct pipe_scissor_state *scissor) in softpipe_set_scissor_state() argument
68 softpipe->scissor = *scissor; /* struct copy */ in softpipe_set_scissor_state()
Dsp_state_derived.c186 if (sp->rasterizer->scissor) { in compute_cliprect()
192 sp->cliprect.minx = MAX2(sp->scissor.minx, 0); in compute_cliprect()
193 sp->cliprect.miny = MAX2(sp->scissor.miny, 0); in compute_cliprect()
194 sp->cliprect.maxx = MIN2(sp->scissor.maxx, surfWidth); in compute_cliprect()
195 sp->cliprect.maxy = MIN2(sp->scissor.maxy, surfHeight); in compute_cliprect()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_clip.c62 const struct pipe_scissor_state *scissor) in llvmpipe_set_scissor_state() argument
68 llvmpipe->scissor = *scissor; /* struct copy */ in llvmpipe_set_scissor_state()
Dlp_setup.c484 boolean scissor, in lp_setup_set_triangle_state() argument
494 if (setup->scissor_test != scissor) { in lp_setup_set_triangle_state()
496 setup->scissor_test = scissor; in lp_setup_set_triangle_state()
600 const struct pipe_scissor_state *scissor ) in lp_setup_set_scissor() argument
604 assert(scissor); in lp_setup_set_scissor()
606 setup->scissor.x0 = scissor->minx; in lp_setup_set_scissor()
607 setup->scissor.x1 = scissor->maxx-1; in lp_setup_set_scissor()
608 setup->scissor.y0 = scissor->miny; in lp_setup_set_scissor()
609 setup->scissor.y1 = scissor->maxy-1; in lp_setup_set_scissor()
887 u_rect_possible_intersection(&setup->scissor, in try_update_scene_state()
Dlp_setup.h79 boolean scissor,
120 const struct pipe_scissor_state *scissor );
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
Dlp_state_clip.c62 const struct pipe_scissor_state *scissor) in llvmpipe_set_scissor_state() argument
68 llvmpipe->scissor = *scissor; /* struct copy */ in llvmpipe_set_scissor_state()
Dlp_setup.c484 boolean scissor, in lp_setup_set_triangle_state() argument
494 if (setup->scissor_test != scissor) { in lp_setup_set_triangle_state()
496 setup->scissor_test = scissor; in lp_setup_set_triangle_state()
600 const struct pipe_scissor_state *scissor ) in lp_setup_set_scissor() argument
604 assert(scissor); in lp_setup_set_scissor()
606 setup->scissor.x0 = scissor->minx; in lp_setup_set_scissor()
607 setup->scissor.x1 = scissor->maxx-1; in lp_setup_set_scissor()
608 setup->scissor.y0 = scissor->miny; in lp_setup_set_scissor()
609 setup->scissor.y1 = scissor->maxy-1; in lp_setup_set_scissor()
887 u_rect_possible_intersection(&setup->scissor, in try_update_scene_state()
Dlp_setup.h79 boolean scissor,
120 const struct pipe_scissor_state *scissor );
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_state_framebuffer.c464 const struct pipe_scissor_state *scissor = &svga->curr.scissor; in emit_scissor_rect() local
467 rect.x = scissor->minx; in emit_scissor_rect()
468 rect.y = scissor->miny; in emit_scissor_rect()
469 rect.w = scissor->maxx - scissor->minx; /* + 1 ?? */ in emit_scissor_rect()
470 rect.h = scissor->maxy - scissor->miny; /* + 1 ?? */ in emit_scissor_rect()
Dsvga_pipe_misc.c35 const struct pipe_scissor_state *scissor ) in svga_set_scissor_state() argument
39 memcpy( &svga->curr.scissor, scissor, sizeof(*scissor) ); in svga_set_scissor_state()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/
Dsvga_state_framebuffer.c464 const struct pipe_scissor_state *scissor = &svga->curr.scissor; in emit_scissor_rect() local
467 rect.x = scissor->minx; in emit_scissor_rect()
468 rect.y = scissor->miny; in emit_scissor_rect()
469 rect.w = scissor->maxx - scissor->minx; /* + 1 ?? */ in emit_scissor_rect()
470 rect.h = scissor->maxy - scissor->miny; /* + 1 ?? */ in emit_scissor_rect()
Dsvga_pipe_misc.c35 const struct pipe_scissor_state *scissor ) in svga_set_scissor_state() argument
39 memcpy( &svga->curr.scissor, scissor, sizeof(*scissor) ); in svga_set_scissor_state()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/
Di915_state_dynamic.c269 unsigned x1 = i915->scissor.minx; in upload_SCISSOR_RECT()
270 unsigned y1 = i915->scissor.miny; in upload_SCISSOR_RECT()
271 unsigned x2 = i915->scissor.maxx - 1; in upload_SCISSOR_RECT()
272 unsigned y2 = i915->scissor.maxy - 1; in upload_SCISSOR_RECT()
/external/mesa3d/src/gallium/drivers/i915/
Di915_state_dynamic.c269 unsigned x1 = i915->scissor.minx; in upload_SCISSOR_RECT()
270 unsigned y1 = i915->scissor.miny; in upload_SCISSOR_RECT()
271 unsigned x2 = i915->scissor.maxx - 1; in upload_SCISSOR_RECT()
272 unsigned y2 = i915->scissor.maxy - 1; in upload_SCISSOR_RECT()
/external/chromium_org/third_party/angle/src/libGLESv2/
DContext.cpp65 mState.scissor.x = 0; in Context()
66 mState.scissor.y = 0; in Context()
67 mState.scissor.width = 0; in Context()
68 mState.scissor.height = 0; in Context()
301 mState.scissor.x = 0; in makeCurrent()
302 mState.scissor.y = 0; in makeCurrent()
303 mState.scissor.width = surface->getWidth(); in makeCurrent()
304 mState.scissor.height = surface->getHeight(); in makeCurrent()
562 mState.scissor.x = x; in setScissorParams()
563 mState.scissor.y = y; in setScissorParams()
[all …]

12345678