Searched refs:ScissorArray (Results 1 – 12 of 12) sorted by relevance
/external/mesa3d/src/mesa/state_tracker/ |
D | st_atom_scissor.c | 64 GLint xmax = MAX2(0, ctx->Scissor.ScissorArray[i].X + ctx->Scissor.ScissorArray[i].Width); in update_scissor() 65 GLint ymax = MAX2(0, ctx->Scissor.ScissorArray[i].Y + ctx->Scissor.ScissorArray[i].Height); in update_scissor() 67 if (ctx->Scissor.ScissorArray[i].X > (GLint)scissor[i].minx) in update_scissor() 68 scissor[i].minx = ctx->Scissor.ScissorArray[i].X; in update_scissor() 69 if (ctx->Scissor.ScissorArray[i].Y > (GLint)scissor[i].miny) in update_scissor() 70 scissor[i].miny = ctx->Scissor.ScissorArray[i].Y; in update_scissor()
|
D | st_cb_clear.c | 316 const struct gl_scissor_rect *scissor = &ctx->Scissor.ScissorArray[0]; in is_scissor_enabled()
|
/external/mesa3d/src/mesa/main/ |
D | scissor.c | 45 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() 52 ctx->Scissor.ScissorArray[idx].X = x; in set_scissor_no_notify() 53 ctx->Scissor.ScissorArray[idx].Y = y; in set_scissor_no_notify() 54 ctx->Scissor.ScissorArray[idx].Width = width; in set_scissor_no_notify() 55 ctx->Scissor.ScissorArray[idx].Height = height; in set_scissor_no_notify()
|
D | framebuffer.c | 373 if (ctx->Scissor.ScissorArray[idx].X > bbox[0]) { in _mesa_intersect_scissor_bounding_box() 374 bbox[0] = ctx->Scissor.ScissorArray[idx].X; in _mesa_intersect_scissor_bounding_box() 376 if (ctx->Scissor.ScissorArray[idx].Y > bbox[2]) { in _mesa_intersect_scissor_bounding_box() 377 bbox[2] = ctx->Scissor.ScissorArray[idx].Y; in _mesa_intersect_scissor_bounding_box() 379 if (ctx->Scissor.ScissorArray[idx].X + ctx->Scissor.ScissorArray[idx].Width < bbox[1]) { in _mesa_intersect_scissor_bounding_box() 380 bbox[1] = ctx->Scissor.ScissorArray[idx].X + ctx->Scissor.ScissorArray[idx].Width; in _mesa_intersect_scissor_bounding_box() 382 if (ctx->Scissor.ScissorArray[idx].Y + ctx->Scissor.ScissorArray[idx].Height < bbox[3]) { in _mesa_intersect_scissor_bounding_box() 383 bbox[3] = ctx->Scissor.ScissorArray[idx].Y + ctx->Scissor.ScissorArray[idx].Height; in _mesa_intersect_scissor_bounding_box()
|
D | get.c | 721 v->value_int_4[0] = ctx->Scissor.ScissorArray[0].X; in find_custom_value() 722 v->value_int_4[1] = ctx->Scissor.ScissorArray[0].Y; in find_custom_value() 723 v->value_int_4[2] = ctx->Scissor.ScissorArray[0].Width; in find_custom_value() 724 v->value_int_4[3] = ctx->Scissor.ScissorArray[0].Height; in find_custom_value() 2059 v->value_int_4[0] = ctx->Scissor.ScissorArray[index].X; in find_value_indexed() 2060 v->value_int_4[1] = ctx->Scissor.ScissorArray[index].Y; in find_value_indexed() 2061 v->value_int_4[2] = ctx->Scissor.ScissorArray[index].Width; in find_value_indexed() 2062 v->value_int_4[3] = ctx->Scissor.ScissorArray[index].Height; in find_value_indexed()
|
D | attrib.c | 1302 scissor->ScissorArray[i].X, in _mesa_PopAttrib() 1303 scissor->ScissorArray[i].Y, in _mesa_PopAttrib() 1304 scissor->ScissorArray[i].Width, in _mesa_PopAttrib() 1305 scissor->ScissorArray[i].Height); in _mesa_PopAttrib()
|
D | mtypes.h | 812 struct gl_scissor_rect ScissorArray[MAX_VIEWPORTS]; member
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | i830_state.c | 539 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 …]
|
D | i915_state.c | 505 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 …]
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_common.c | 108 GLint x = ctx->Scissor.ScissorArray[0].X, y = ctx->Scissor.ScissorArray[0].Y; in radeonUpdateScissor() 109 GLsizei w = ctx->Scissor.ScissorArray[0].Width, h = ctx->Scissor.ScissorArray[0].Height; in radeonUpdateScissor()
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | radeon_common.c | 108 GLint x = ctx->Scissor.ScissorArray[0].X, y = ctx->Scissor.ScissorArray[0].Y; in radeonUpdateScissor() 109 GLsizei w = ctx->Scissor.ScissorArray[0].Width, h = ctx->Scissor.ScissorArray[0].Height; in radeonUpdateScissor()
|
/external/mesa3d/src/mesa/drivers/common/ |
D | meta.c | 924 save->Scissor.ScissorArray[i].X, in _mesa_meta_end() 925 save->Scissor.ScissorArray[i].Y, in _mesa_meta_end() 926 save->Scissor.ScissorArray[i].Width, in _mesa_meta_end() 927 save->Scissor.ScissorArray[i].Height); in _mesa_meta_end()
|