gallium: add pipe cap for scissored clears and pass scissor state to clear() hook
this adds a new pipe cap that drivers can support which enables passing buffer clears with scissor test enabled through to be handled by the driver instead of having mesa draw a quad also adjust all existing clear() hooks to have the new parameter Reviewed-by:Marek Olšák <marek.olsak@amd.com> Reviewed-by:
Vasily Khoruzhick <anarsoul@gmail.com> Reviewed-by:
Kristian H. Kristensen <hoegsberg@google.com> Reviewed-by:
Kenneth Graunke <kenneth@whitecape.org> Part-of: <!4310>
Showing
- src/gallium/auxiliary/driver_ddebug/dd_draw.c 7 additions, 2 deletionssrc/gallium/auxiliary/driver_ddebug/dd_draw.c
- src/gallium/auxiliary/driver_ddebug/dd_pipe.h 1 addition, 0 deletionssrc/gallium/auxiliary/driver_ddebug/dd_pipe.h
- src/gallium/auxiliary/driver_noop/noop_pipe.c 1 addition, 1 deletionsrc/gallium/auxiliary/driver_noop/noop_pipe.c
- src/gallium/auxiliary/driver_rbug/rbug_context.c 2 additions, 0 deletionssrc/gallium/auxiliary/driver_rbug/rbug_context.c
- src/gallium/auxiliary/driver_trace/tr_context.c 5 additions, 1 deletionsrc/gallium/auxiliary/driver_trace/tr_context.c
- src/gallium/auxiliary/postprocess/pp_mlaa.c 1 addition, 1 deletionsrc/gallium/auxiliary/postprocess/pp_mlaa.c
- src/gallium/auxiliary/postprocess/pp_run.c 1 addition, 1 deletionsrc/gallium/auxiliary/postprocess/pp_run.c
- src/gallium/auxiliary/util/u_screen.c 1 addition, 0 deletionssrc/gallium/auxiliary/util/u_screen.c
- src/gallium/auxiliary/util/u_tests.c 1 addition, 1 deletionsrc/gallium/auxiliary/util/u_tests.c
- src/gallium/auxiliary/util/u_threaded_context.c 7 additions, 2 deletionssrc/gallium/auxiliary/util/u_threaded_context.c
- src/gallium/docs/source/screen.rst 2 additions, 0 deletionssrc/gallium/docs/source/screen.rst
- src/gallium/drivers/etnaviv/etnaviv_blt.c 1 addition, 1 deletionsrc/gallium/drivers/etnaviv/etnaviv_blt.c
- src/gallium/drivers/etnaviv/etnaviv_rs.c 1 addition, 1 deletionsrc/gallium/drivers/etnaviv/etnaviv_rs.c
- src/gallium/drivers/freedreno/freedreno_draw.c 1 addition, 1 deletionsrc/gallium/drivers/freedreno/freedreno_draw.c
- src/gallium/drivers/i915/i915_clear.c 2 additions, 0 deletionssrc/gallium/drivers/i915/i915_clear.c
- src/gallium/drivers/i915/i915_context.h 2 additions, 0 deletionssrc/gallium/drivers/i915/i915_context.h
- src/gallium/drivers/iris/iris_clear.c 1 addition, 0 deletionssrc/gallium/drivers/iris/iris_clear.c
- src/gallium/drivers/lima/lima_draw.c 1 addition, 1 deletionsrc/gallium/drivers/lima/lima_draw.c
- src/gallium/drivers/llvmpipe/lp_clear.c 1 addition, 0 deletionssrc/gallium/drivers/llvmpipe/lp_clear.c
- src/gallium/drivers/llvmpipe/lp_clear.h 1 addition, 0 deletionssrc/gallium/drivers/llvmpipe/lp_clear.h
Loading
Please register or sign in to comment