Home
last modified time | relevance | path

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

12345

/external/chromium_org/third_party/mesa/src/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()
/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()
/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 …]
/external/chromium_org/third_party/mesa/src/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 …]
/external/chromium_org/third_party/mesa/src/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()
/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()
/external/chromium_org/gpu/command_buffer/service/
Dgles2_cmd_decoder_unittest_2_autogen.h16 EXPECT_CALL(*gl_, Scissor(1, 2, 3, 4)); in TEST_P()
17 SpecializedSetup<cmds::Scissor, 0>(true); in TEST_P()
18 cmds::Scissor cmd; in TEST_P()
25 EXPECT_CALL(*gl_, Scissor(_, _, _, _)).Times(0); in TEST_P()
26 SpecializedSetup<cmds::Scissor, 0>(false); in TEST_P()
27 cmds::Scissor cmd; in TEST_P()
34 EXPECT_CALL(*gl_, Scissor(_, _, _, _)).Times(0); in TEST_P()
35 SpecializedSetup<cmds::Scissor, 0>(false); in TEST_P()
36 cmds::Scissor cmd; in TEST_P()
/external/mesa3d/src/glx/apple/
Dapple_glapi.c79 __ogl_framework_api->Scissor(x, y, width, height); in apple_glapi_oglfw_viewport_scissor()
/external/chromium_org/third_party/mesa/src/src/glx/apple/
Dapple_glapi.c79 __ogl_framework_api->Scissor(x, y, width, height); in apple_glapi_oglfw_viewport_scissor()
/external/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/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/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/chromium_org/third_party/mesa/src/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/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/skia/src/gpu/gl/
DGrGLIRect.h31 GR_GL_CALL(gl, Scissor(fLeft, fBottom, fWidth, fHeight)); in pushToGLScissor()
/external/chromium_org/third_party/skia/src/gpu/gl/
DGrGLIRect.h31 GR_GL_CALL(gl, Scissor(fLeft, fBottom, fWidth, fHeight)); in pushToGLScissor()
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
Dbrw_clear.c110 if (ctx->Scissor.Enabled) { in brw_fast_clear_depth()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_clear.c110 if (ctx->Scissor.Enabled) { in brw_fast_clear_depth()

12345