/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() 54 ctx->Scissor.ScissorArray[idx].X = x; in set_scissor_no_notify() 55 ctx->Scissor.ScissorArray[idx].Y = y; in set_scissor_no_notify() 56 ctx->Scissor.ScissorArray[idx].Width = width; in set_scissor_no_notify() 57 ctx->Scissor.ScissorArray[idx].Height = height; in set_scissor_no_notify() 80 if (ctx->Driver.Scissor) in scissor() 81 ctx->Driver.Scissor(ctx); in scissor() [all …]
|
D | framebuffer.c | 344 if (ctx->Scissor.EnableFlags & (1u << idx)) { in _mesa_intersect_scissor_bounding_box() 345 if (ctx->Scissor.ScissorArray[idx].X > bbox[0]) { in _mesa_intersect_scissor_bounding_box() 346 bbox[0] = ctx->Scissor.ScissorArray[idx].X; in _mesa_intersect_scissor_bounding_box() 348 if (ctx->Scissor.ScissorArray[idx].Y > bbox[2]) { in _mesa_intersect_scissor_bounding_box() 349 bbox[2] = ctx->Scissor.ScissorArray[idx].Y; in _mesa_intersect_scissor_bounding_box() 351 if (ctx->Scissor.ScissorArray[idx].X + ctx->Scissor.ScissorArray[idx].Width < bbox[1]) { in _mesa_intersect_scissor_bounding_box() 352 bbox[1] = ctx->Scissor.ScissorArray[idx].X + ctx->Scissor.ScissorArray[idx].Width; in _mesa_intersect_scissor_bounding_box() 354 if (ctx->Scissor.ScissorArray[idx].Y + ctx->Scissor.ScissorArray[idx].Height < bbox[3]) { in _mesa_intersect_scissor_bounding_box() 355 bbox[3] = ctx->Scissor.ScissorArray[idx].Y + ctx->Scissor.ScissorArray[idx].Height; in _mesa_intersect_scissor_bounding_box()
|
D | get.c | 831 v->value_int_4[0] = ctx->Scissor.ScissorArray[0].X; in find_custom_value() 832 v->value_int_4[1] = ctx->Scissor.ScissorArray[0].Y; in find_custom_value() 833 v->value_int_4[2] = ctx->Scissor.ScissorArray[0].Width; in find_custom_value() 834 v->value_int_4[3] = ctx->Scissor.ScissorArray[0].Height; in find_custom_value() 838 v->value_bool = ctx->Scissor.EnableFlags & 1; in find_custom_value() 2534 v->value_int_4[0] = ctx->Scissor.ScissorArray[index].X; in find_value_indexed() 2535 v->value_int_4[1] = ctx->Scissor.ScissorArray[index].Y; in find_value_indexed() 2536 v->value_int_4[2] = ctx->Scissor.ScissorArray[index].Width; in find_value_indexed() 2537 v->value_int_4[3] = ctx->Scissor.ScissorArray[index].Height; in find_value_indexed() 2545 v->value_int_4[0] = ctx->Scissor.WindowRects[index].X; in find_value_indexed() [all …]
|
D | enable.c | 842 if (newEnabled != ctx->Scissor.EnableFlags) { in _mesa_set_enable() 846 ctx->Scissor.EnableFlags = newEnabled; in _mesa_set_enable() 1366 if (((ctx->Scissor.EnableFlags >> index) & 1) != state) { in _mesa_set_enablei() 1371 ctx->Scissor.EnableFlags |= (1 << index); in _mesa_set_enablei() 1373 ctx->Scissor.EnableFlags &= ~(1 << index); in _mesa_set_enablei() 1445 return (ctx->Scissor.EnableFlags >> index) & 1; in _mesa_IsEnabledi() 1686 return ctx->Scissor.EnableFlags & 1; /* return state for index 0 */ in _mesa_IsEnabled()
|
D | attrib.c | 117 GLbitfield Scissor; member 383 attr->Scissor = ctx->Scissor.EnableFlags; in _mesa_PushAttrib() 502 (void*)&ctx->Scissor)) in _mesa_PushAttrib() 713 if (ctx->Scissor.EnableFlags != enable->Scissor) { in pop_enable_group() 717 _mesa_set_enablei(ctx, GL_SCISSOR_TEST, i, (enable->Scissor >> i) & 1); in pop_enable_group()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_atom_scissor.c | 57 if (!ctx->Scissor.EnableFlags) in st_update_scissor() 66 if (ctx->Scissor.EnableFlags & (1 << i)) { in st_update_scissor() 68 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() 115 const struct gl_scissor_attrib *scissor = &ctx->Scissor; in st_update_window_rectangles()
|
D | st_scissor.c | 40 blit->num_window_rectangles = ctx->Scissor.NumWindowRects; in st_window_rectangles_to_blit() 42 ctx->Scissor.WindowRectMode == GL_INCLUSIVE_EXT; in st_window_rectangles_to_blit() 44 const struct gl_scissor_rect *src_rect = &ctx->Scissor.WindowRects[i]; in st_window_rectangles_to_blit()
|
D | st_cb_clear.c | 374 const struct gl_scissor_rect *scissor = &ctx->Scissor.ScissorArray[0]; in is_scissor_enabled() 376 return (ctx->Scissor.EnableFlags & 1) && in is_scissor_enabled() 391 return ctx->Scissor.NumWindowRects > 0 || in is_window_rectangle_enabled() 392 ctx->Scissor.WindowRectMode == GL_INCLUSIVE_EXT; in is_window_rectangle_enabled() 516 const struct gl_scissor_rect *scissor = &ctx->Scissor.ScissorArray[0]; in st_Clear()
|
D | st_atom.c | 136 if (ctx->Scissor.EnableFlags & u_bit_consecutive(0, num_viewports)) in check_program_state()
|
/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/i965/ |
D | brw_clear.c | 124 if ((ctx->Scissor.EnableFlags & 1) && !noop_scissor(fb)) { in brw_fast_clear_depth() 248 bool partial_clear = ctx->Scissor.EnableFlags && !noop_scissor(fb); in brw_clear()
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | radeon_common.c | 107 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() 147 if (ctx->Scissor.EnableFlags) { in radeonScissor()
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_common.c | 107 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() 147 if (ctx->Scissor.EnableFlags) { in radeonScissor()
|
/external/mesa3d/src/glx/apple/ |
D | apple_glapi.c | 78 __ogl_framework_api->Scissor(x, y, width, height); in apple_glapi_oglfw_viewport_scissor()
|
/external/angle/src/tests/perf_tests/ |
D | DrawCallPerf.cpp | 27 Scissor, enumerator 70 case StateChange::Scissor: in story() 514 case StateChange::Scissor: in drawBenchmark()
|
/external/mesa3d/src/mesa/drivers/common/ |
D | driverfuncs.c | 154 driver->Scissor = NULL; in _mesa_init_driver_functions() 258 ctx->Driver.Enable(ctx, GL_SCISSOR_TEST, ctx->Scissor.EnableFlags); in _mesa_init_driver_state() 286 ctx->Driver.Scissor(ctx); in _mesa_init_driver_state()
|
/external/angle/src/tests/gles1_conformance_tests/ |
D | PrimtestTests.cpp | 142 TEST_P(GLES1PrimtestTest, Scissor) in TEST_P() argument
|
/external/skqp/src/gpu/gl/ |
D | GrGLIRect.h | 45 GR_GL_CALL(gl, Scissor(fLeft, fBottom, fWidth, fHeight)); in pushToGLScissor()
|
/external/deqp/doc/testspecs/GLES3/ |
D | functional.fbo.blit.txt | 33 + Scissor test
|
D | functional.occlusion_query.txt | 26 - Scissor boxes
|
/external/deqp/doc/testspecs/GLES2/ |
D | functional.scissors.txt | 32 + Scissor configurations
|
/external/deqp/external/openglcts/modules/common/ |
D | glcViewportArrayTests.hpp | 852 class Scissor : public DrawMultipleLayers class 856 Scissor(deqp::Context& context, const glcts::ExtParameters& extParams); 858 virtual ~Scissor() in ~Scissor()
|
/external/clang/lib/CodeGen/ |
D | CGRecordLayoutBuilder.cpp | 80 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/skia/src/gpu/gl/ |
D | GrGLAssembleWebGLInterfaceAutogen.cpp | 113 GET_PROC(Scissor); in GrGLMakeAssembledWebGLInterface()
|