Home
last modified time | relevance | path

Searched refs:Scissor (Results 1 – 25 of 46) sorted by relevance

12

/external/mesa3d/src/mesa/main/
Dscissor.c70 if (x == ctx->Scissor.X && in _mesa_set_scissor()
71 y == ctx->Scissor.Y && in _mesa_set_scissor()
72 width == ctx->Scissor.Width && in _mesa_set_scissor()
73 height == ctx->Scissor.Height) in _mesa_set_scissor()
77 ctx->Scissor.X = x; in _mesa_set_scissor()
78 ctx->Scissor.Y = y; in _mesa_set_scissor()
79 ctx->Scissor.Width = width; in _mesa_set_scissor()
80 ctx->Scissor.Height = height; in _mesa_set_scissor()
82 if (ctx->Driver.Scissor) in _mesa_set_scissor()
83 ctx->Driver.Scissor( ctx, x, y, width, height ); in _mesa_set_scissor()
[all …]
Dframebuffer.c457 if (ctx->Scissor.Enabled) { in _mesa_update_draw_buffer_bounds()
458 if (ctx->Scissor.X > buffer->_Xmin) { in _mesa_update_draw_buffer_bounds()
459 buffer->_Xmin = ctx->Scissor.X; in _mesa_update_draw_buffer_bounds()
461 if (ctx->Scissor.Y > buffer->_Ymin) { in _mesa_update_draw_buffer_bounds()
462 buffer->_Ymin = ctx->Scissor.Y; in _mesa_update_draw_buffer_bounds()
464 if (ctx->Scissor.X + ctx->Scissor.Width < buffer->_Xmax) { in _mesa_update_draw_buffer_bounds()
465 buffer->_Xmax = ctx->Scissor.X + ctx->Scissor.Width; in _mesa_update_draw_buffer_bounds()
467 if (ctx->Scissor.Y + ctx->Scissor.Height < buffer->_Ymax) { in _mesa_update_draw_buffer_bounds()
468 buffer->_Ymax = ctx->Scissor.Y + ctx->Scissor.Height; in _mesa_update_draw_buffer_bounds()
Dattrib.c118 GLboolean Scissor; member
312 attr->Scissor = ctx->Scissor.Enabled; in _mesa_PushAttrib()
409 memcpy( attr, &ctx->Scissor, sizeof(struct gl_scissor_attrib) ); in _mesa_PushAttrib()
599 TEST_AND_UPDATE(ctx->Scissor.Enabled, enable->Scissor, GL_SCISSOR_TEST); in pop_enable_group()
Denable.c654 if (ctx->Scissor.Enabled == state) in _mesa_set_enable()
657 ctx->Scissor.Enabled = state; in _mesa_set_enable()
1409 return ctx->Scissor.Enabled; in _mesa_IsEnabled()
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_scissor.c56 if (ctx->Scissor.Enabled) { in update_scissor()
58 GLint xmax = MAX2(0, ctx->Scissor.X + ctx->Scissor.Width); in update_scissor()
59 GLint ymax = MAX2(0, ctx->Scissor.Y + ctx->Scissor.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()
Dst_cb_clear.c338 if (ctx->Scissor.Enabled && in check_clear_color_with_quad()
339 (ctx->Scissor.X != 0 || in check_clear_color_with_quad()
340 ctx->Scissor.Y != 0 || in check_clear_color_with_quad()
341 ctx->Scissor.Width < rb->Width || in check_clear_color_with_quad()
342 ctx->Scissor.Height < rb->Height)) in check_clear_color_with_quad()
368 if (ctx->Scissor.Enabled && in check_clear_depth_stencil_with_quad()
369 (ctx->Scissor.X != 0 || in check_clear_depth_stencil_with_quad()
370 ctx->Scissor.Y != 0 || in check_clear_depth_stencil_with_quad()
371 ctx->Scissor.Width < rb->Width || in check_clear_depth_stencil_with_quad()
372 ctx->Scissor.Height < rb->Height)) in check_clear_depth_stencil_with_quad()
[all …]
Dst_atom_rasterizer.c237 if (ctx->Scissor.Enabled) in update_raster_state()
/external/mesa3d/src/mesa/drivers/common/
Ddriverfuncs.c149 driver->Scissor = NULL; in _mesa_init_driver_functions()
270 ctx->Driver.Enable(ctx, GL_SCISSOR_TEST, ctx->Scissor.Enabled); in _mesa_init_driver_state()
298 ctx->Driver.Scissor(ctx, ctx->Scissor.X, ctx->Scissor.Y, in _mesa_init_driver_state()
299 ctx->Scissor.Width, ctx->Scissor.Height); in _mesa_init_driver_state()
Dmeta.c129 struct gl_scissor_attrib Scissor; member
611 save->Scissor = ctx->Scissor; /* struct copy */ in _mesa_meta_begin()
929 _mesa_set_enable(ctx, GL_SCISSOR_TEST, save->Scissor.Enabled); in _mesa_meta_end()
930 _mesa_Scissor(save->Scissor.X, save->Scissor.Y, in _mesa_meta_end()
931 save->Scissor.Width, save->Scissor.Height); in _mesa_meta_end()
/external/mesa3d/src/glx/apple/
Dapple_glapi.c79 __ogl_framework_api->Scissor(x, y, width, height); in apple_glapi_oglfw_viewport_scissor()
/external/mesa3d/src/mesa/drivers/dri/i915/
Di915_vtbl.c814 ctx->Driver.Scissor(ctx, ctx->Scissor.X, ctx->Scissor.Y, in i915_update_draw_buffer()
815 ctx->Scissor.Width, ctx->Scissor.Height); in i915_update_draw_buffer()
Di830_vtbl.c843 ctx->Driver.Scissor(ctx, ctx->Scissor.X, ctx->Scissor.Y, in i830_update_draw_buffer()
844 ctx->Scissor.Width, ctx->Scissor.Height); in i830_update_draw_buffer()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_common.c110 GLint x = ctx->Scissor.X, y = ctx->Scissor.Y; in radeonUpdateScissor()
111 GLsizei w = ctx->Scissor.Width, h = ctx->Scissor.Height; in radeonUpdateScissor()
150 if (ctx->Scissor.Enabled) { in radeonScissor()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_common.c110 GLint x = ctx->Scissor.X, y = ctx->Scissor.Y; in radeonUpdateScissor()
111 GLsizei w = ctx->Scissor.Width, h = ctx->Scissor.Height; in radeonUpdateScissor()
150 if (ctx->Scissor.Enabled) { in radeonScissor()
/external/skia/src/gpu/gl/
DGrGLIRect.h31 GR_GL_CALL(gl, Scissor(fLeft, fBottom, fWidth, fHeight)); in pushToGLScissor()
DGrGLAssembleInterface.cpp197 GET_PROC(Scissor); in GrGLAssembleGLInterface()
630 GET_PROC(Scissor); in GrGLAssembleGLESInterface()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_clear.c110 if (ctx->Scissor.Enabled) { in brw_fast_clear_depth()
Dgen7_sf_state.c246 if (ctx->Scissor.Enabled) in upload_sf_state()
Dgen6_sf_state.c197 if (ctx->Scissor.Enabled) in upload_sf_state()
Dbrw_sf_state.c199 if (ctx->Scissor.Enabled) in upload_sf_unit()
/external/deqp/doc/testspecs/GLES3/
Dfunctional.fbo.blit.txt33 + Scissor test
Dfunctional.occlusion_query.txt26 - Scissor boxes
/external/deqp/doc/testspecs/GLES2/
Dfunctional.scissors.txt32 + Scissor configurations
/external/clang/lib/CodeGen/
DCGRecordLayoutBuilder.cpp80 enum InfoKind { VFPtr, VBPtr, Field, Base, VBase, Scissor } Kind; enumerator
491 Members.push_back(MemberInfo(ScissorOffset, MemberInfo::Scissor, nullptr, in accumulateVBases()
553 if (!Member->Data && Member->Kind != MemberInfo::Scissor) in clipTailPadding()
/external/libdrm/intel/tests/
Dgen6-3d.batch-ref.txt93 0x12300170: 0x22000000: AA disable, CullMode 1, Scissor disable, Multisample m ode 0
216 0x1230035c: 0x62000000: AA disable, CullMode 3, Scissor disable, Multisample m ode 0
346 0x12300564: 0x62000000: AA disable, CullMode 3, Scissor disable, Multisample m ode 0
413 0x12300670: 0x62000000: AA disable, CullMode 3, Scissor disable, Multisample m ode 0
483 0x12300788: 0x62000000: AA disable, CullMode 3, Scissor disable, Multisample m ode 0
616 0x1230099c: 0x62000000: AA disable, CullMode 3, Scissor disable, Multisample m ode 0
683 0x12300aa8: 0x62000000: AA disable, CullMode 3, Scissor disable, Multisample m ode 0
753 0x12300bc0: 0x62000000: AA disable, CullMode 3, Scissor disable, Multisample m ode 0
886 0x12300dd4: 0x62000000: AA disable, CullMode 3, Scissor disable, Multisample m ode 0
953 0x12300ee0: 0x62000000: AA disable, CullMode 3, Scissor disable, Multisample m ode 0

12