Home
last modified time | relevance | path

Searched refs:ScissorArray (Results 1 – 12 of 12) sorted by relevance

/third_party/mesa3d/src/mesa/state_tracker/
Dst_atom_scissor.c68 GLint xmax = MAX2(0, ctx->Scissor.ScissorArray[i].X + ctx->Scissor.ScissorArray[i].Width); in st_update_scissor()
69 GLint ymax = MAX2(0, ctx->Scissor.ScissorArray[i].Y + ctx->Scissor.ScissorArray[i].Height); in st_update_scissor()
71 if (ctx->Scissor.ScissorArray[i].X > (GLint)scissor[i].minx) in st_update_scissor()
72 scissor[i].minx = ctx->Scissor.ScissorArray[i].X; in st_update_scissor()
73 if (ctx->Scissor.ScissorArray[i].Y > (GLint)scissor[i].miny) in st_update_scissor()
74 scissor[i].miny = ctx->Scissor.ScissorArray[i].Y; in st_update_scissor()
Dst_cb_clear.c374 const struct gl_scissor_rect *scissor = &ctx->Scissor.ScissorArray[0]; in is_scissor_enabled()
520 const struct gl_scissor_rect *scissor = &ctx->Scissor.ScissorArray[0]; in st_Clear()
/third_party/mesa3d/src/mesa/main/
Dscissor.c45 if (x == ctx->Scissor.ScissorArray[idx].X && in set_scissor_no_notify()
46 y == ctx->Scissor.ScissorArray[idx].Y && in set_scissor_no_notify()
47 width == ctx->Scissor.ScissorArray[idx].Width && in set_scissor_no_notify()
48 height == ctx->Scissor.ScissorArray[idx].Height) in set_scissor_no_notify()
55 ctx->Scissor.ScissorArray[idx].X = x; in set_scissor_no_notify()
56 ctx->Scissor.ScissorArray[idx].Y = y; in set_scissor_no_notify()
57 ctx->Scissor.ScissorArray[idx].Width = width; in set_scissor_no_notify()
58 ctx->Scissor.ScissorArray[idx].Height = height; in set_scissor_no_notify()
Dframebuffer.c326 if (ctx->Scissor.ScissorArray[idx].X > bbox[0]) { in _mesa_intersect_scissor_bounding_box()
327 bbox[0] = ctx->Scissor.ScissorArray[idx].X; in _mesa_intersect_scissor_bounding_box()
329 if (ctx->Scissor.ScissorArray[idx].Y > bbox[2]) { in _mesa_intersect_scissor_bounding_box()
330 bbox[2] = ctx->Scissor.ScissorArray[idx].Y; in _mesa_intersect_scissor_bounding_box()
332 if (ctx->Scissor.ScissorArray[idx].X + ctx->Scissor.ScissorArray[idx].Width < bbox[1]) { in _mesa_intersect_scissor_bounding_box()
333 bbox[1] = ctx->Scissor.ScissorArray[idx].X + ctx->Scissor.ScissorArray[idx].Width; in _mesa_intersect_scissor_bounding_box()
335 if (ctx->Scissor.ScissorArray[idx].Y + ctx->Scissor.ScissorArray[idx].Height < bbox[3]) { in _mesa_intersect_scissor_bounding_box()
336 bbox[3] = ctx->Scissor.ScissorArray[idx].Y + ctx->Scissor.ScissorArray[idx].Height; in _mesa_intersect_scissor_bounding_box()
Dget.c846 v->value_int_4[0] = ctx->Scissor.ScissorArray[0].X; in find_custom_value()
847 v->value_int_4[1] = ctx->Scissor.ScissorArray[0].Y; in find_custom_value()
848 v->value_int_4[2] = ctx->Scissor.ScissorArray[0].Width; in find_custom_value()
849 v->value_int_4[3] = ctx->Scissor.ScissorArray[0].Height; in find_custom_value()
2549 v->value_int_4[0] = ctx->Scissor.ScissorArray[index].X; in find_value_indexed()
2550 v->value_int_4[1] = ctx->Scissor.ScissorArray[index].Y; in find_value_indexed()
2551 v->value_int_4[2] = ctx->Scissor.ScissorArray[index].Width; in find_value_indexed()
2552 v->value_int_4[3] = ctx->Scissor.ScissorArray[index].Height; in find_value_indexed()
Dattrib.c1128 attr->Scissor.ScissorArray[i].X, in _mesa_PopAttrib()
1129 attr->Scissor.ScissorArray[i].Y, in _mesa_PopAttrib()
1130 attr->Scissor.ScissorArray[i].Width, in _mesa_PopAttrib()
1131 attr->Scissor.ScissorArray[i].Height); in _mesa_PopAttrib()
Dmtypes.h785 struct gl_scissor_rect ScissorArray[MAX_VIEWPORTS]; member
/third_party/mesa3d/src/mesa/drivers/dri/i915/
Di830_state.c539 ctx->Scissor.ScissorArray[0].X, ctx->Scissor.ScissorArray[0].Y, in i830Scissor()
540 ctx->Scissor.ScissorArray[0].Width, ctx->Scissor.ScissorArray[0].Height); in i830Scissor()
543 x1 = ctx->Scissor.ScissorArray[0].X; in i830Scissor()
544 y1 = ctx->DrawBuffer->Height - (ctx->Scissor.ScissorArray[0].Y in i830Scissor()
545 + ctx->Scissor.ScissorArray[0].Height); in i830Scissor()
546 x2 = ctx->Scissor.ScissorArray[0].X in i830Scissor()
547 + ctx->Scissor.ScissorArray[0].Width - 1; in i830Scissor()
548 y2 = y1 + ctx->Scissor.ScissorArray[0].Height - 1; in i830Scissor()
554 x1 = ctx->Scissor.ScissorArray[0].X; in i830Scissor()
555 y1 = ctx->Scissor.ScissorArray[0].Y; in i830Scissor()
[all …]
Di915_state.c505 ctx->Scissor.ScissorArray[0].X, ctx->Scissor.ScissorArray[0].Y, in i915Scissor()
506 ctx->Scissor.ScissorArray[0].Width, ctx->Scissor.ScissorArray[0].Height); in i915Scissor()
509 x1 = ctx->Scissor.ScissorArray[0].X; in i915Scissor()
510 y1 = ctx->DrawBuffer->Height - (ctx->Scissor.ScissorArray[0].Y in i915Scissor()
511 + ctx->Scissor.ScissorArray[0].Height); in i915Scissor()
512 x2 = ctx->Scissor.ScissorArray[0].X in i915Scissor()
513 + ctx->Scissor.ScissorArray[0].Width - 1; in i915Scissor()
514 y2 = y1 + ctx->Scissor.ScissorArray[0].Height - 1; in i915Scissor()
520 x1 = ctx->Scissor.ScissorArray[0].X; in i915Scissor()
521 y1 = ctx->Scissor.ScissorArray[0].Y; in i915Scissor()
[all …]
/third_party/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_common.c107 GLint x = ctx->Scissor.ScissorArray[0].X, y = ctx->Scissor.ScissorArray[0].Y; in radeonUpdateScissor()
108 GLsizei w = ctx->Scissor.ScissorArray[0].Width, h = ctx->Scissor.ScissorArray[0].Height; in radeonUpdateScissor()
/third_party/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_common.c107 GLint x = ctx->Scissor.ScissorArray[0].X, y = ctx->Scissor.ScissorArray[0].Y; in radeonUpdateScissor()
108 GLsizei w = ctx->Scissor.ScissorArray[0].Width, h = ctx->Scissor.ScissorArray[0].Height; in radeonUpdateScissor()
/third_party/mesa3d/src/mesa/drivers/common/
Dmeta.c964 save->Scissor.ScissorArray[i].X, in _mesa_meta_end()
965 save->Scissor.ScissorArray[i].Y, in _mesa_meta_end()
966 save->Scissor.ScissorArray[i].Width, in _mesa_meta_end()
967 save->Scissor.ScissorArray[i].Height); in _mesa_meta_end()