mesa/src/gallium/auxiliary/draw
Erik Faye-Lund c69637a2a5 gallium/draw: support lowering stipple + smooth
When computing line smoothing, we can also do something similar to
compute the line stippling. This can be useful for some drivers, who
can't easily split the lines before rasterizing them.

This does lead to slightly inaccurate stippling, because the
line-smoothing extends the line-length by a small amount. That leads to
the line-stippling pattern being over-stretched over the line-segment by
a fraction of a pixel in lenght. For short lines, this can be quite a
lot of error.

Reviewed-by: Soroush Kashani <soroush.kashani@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20134>
2023-01-10 22:50:07 +00:00
..
draw_cliptest_tmp.h draw: asst. clean-ups in draw_cliptest_tmp.h 2022-10-11 20:04:36 +00:00
draw_context.c draw: remove unused draw_has_llvm() 2022-10-11 20:04:36 +00:00
draw_context.h draw: remove unused draw_has_llvm() 2022-10-11 20:04:36 +00:00
draw_decompose_tmp.h gallium: Replace the usage of __FUNCTION__ with __func__ in all gallium code 2022-11-22 06:53:47 +00:00
draw_fs.c llvmpipe/nir: handle texcoord requirements 2019-12-12 09:16:24 +10:00
draw_fs.h
draw_gs.c gallium: Fixes -Wundef in draw_gs.c 2022-11-24 04:33:07 +00:00
draw_gs.h draw: make draw_geometry_shader_run() return void 2022-10-11 20:04:37 +00:00
draw_gs_tmp.h Change all debug_assert calls to assert 2022-07-10 00:50:35 +00:00
draw_llvm.c gallivm: add coro malloc hooks earlier and always. 2022-11-15 04:30:23 +00:00
draw_llvm.h draw: s/start_or_maxelt/start/ in llvm VS code 2022-10-11 20:04:37 +00:00
draw_llvm_sample.c draw/llvmpipe: add way to return pointer types to generic code. 2022-10-05 06:20:20 +10:00
draw_pipe.c gallium: Replace the usage of __FUNCTION__ with __func__ in all gallium code 2022-11-22 06:53:47 +00:00
draw_pipe.h draw: asst. clean-ups in draw_pipe.h 2022-10-11 20:04:36 +00:00
draw_pipe_aaline.c gallium/draw: support lowering stipple + smooth 2023-01-10 22:50:07 +00:00
draw_pipe_aapoint.c draw: asst. clean-ups in draw_pipe_aapoint.c 2022-10-11 20:04:36 +00:00
draw_pipe_clip.c draw: asst. clean-ups in draw_pipe_clip.c 2022-10-11 20:04:36 +00:00
draw_pipe_cull.c draw: asst. clean-ups in draw_pipe_cull.c 2022-10-11 20:04:36 +00:00
draw_pipe_flatshade.c draw: asst. clean-ups in draw_pipe_flatshade.c 2022-10-11 20:04:36 +00:00
draw_pipe_offset.c draw: asst. clean-ups in draw_pipe_offset.c 2022-10-11 20:04:36 +00:00
draw_pipe_pstipple.c draw: asst. clean-ups in draw_pipe_pstipple.c 2022-10-11 20:04:36 +00:00
draw_pipe_stipple.c draw: fix stippling of fractional lines 2021-08-19 09:44:16 +00:00
draw_pipe_twoside.c draw: asst. clean-ups in draw_pipe_twoside.c 2022-10-11 20:04:36 +00:00
draw_pipe_unfilled.c draw: asst. clean-ups in draw_pipe_unfilled.c 2022-10-11 20:04:36 +00:00
draw_pipe_user_cull.c draw: asst. clean-ups in draw_pipe_user_cull.c 2022-10-11 20:04:36 +00:00
draw_pipe_util.c draw: asst. clean-ups in draw_pipe_util.c 2022-10-11 20:04:36 +00:00
draw_pipe_validate.c draw: asst. clean-up in draw_pipe_validate.c 2022-06-16 23:46:23 +00:00
draw_pipe_vbuf.c draw: pass the view index to the render driver 2021-03-12 05:05:51 +00:00
draw_pipe_wide_line.c draw: asst. clean-ups in draw_pipe_wide_line.c 2022-10-11 20:04:36 +00:00
draw_pipe_wide_point.c draw: asst. clean-ups in draw_pipe_wide_point.c 2022-10-11 20:04:36 +00:00
draw_prim_assembler.c draw: asst. clean-ups in draw_prim_assembler.[ch] 2022-10-11 20:04:37 +00:00
draw_prim_assembler.h draw: asst. clean-ups in draw_prim_assembler.[ch] 2022-10-11 20:04:37 +00:00
draw_prim_assembler_tmp.h Change all debug_assert calls to assert 2022-07-10 00:50:35 +00:00
draw_private.h draw,util: Refactor draw_overflow_uadd into util. 2022-11-14 23:00:03 +00:00
draw_pt.c draw,util: Refactor draw_overflow_uadd into util. 2022-11-14 23:00:03 +00:00
draw_pt.h draw: asst. clean-up in draw_pt.h 2022-06-16 23:46:23 +00:00
draw_pt_decompose.h
draw_pt_emit.c gallium: Replace the usage of __FUNCTION__ with __func__ in all gallium code 2022-11-22 06:53:47 +00:00
draw_pt_fetch.c draw: asst. clean-ups in draw_pt_fetch.c 2022-10-11 20:04:36 +00:00
draw_pt_fetch_shade_emit.c gallium: Replace the usage of __FUNCTION__ with __func__ in all gallium code 2022-11-22 06:53:47 +00:00
draw_pt_fetch_shade_pipeline.c draw: asst. clean-up in draw_pt_fetch_shader_pipeline.c 2022-06-16 23:46:23 +00:00
draw_pt_fetch_shade_pipeline_llvm.c draw: s/start_or_maxelt/start/ in llvm VS code 2022-10-11 20:04:37 +00:00
draw_pt_post_vs.c draw: asst. clean-ups in draw_pt_post_vs.c 2022-10-11 20:04:36 +00:00
draw_pt_so_emit.c draw: asst. clean-ups in draw_pt_so_emit.c 2022-10-11 20:04:36 +00:00
draw_pt_util.c draw: asst. clean-up in draw_pt_util.c 2022-06-16 23:46:23 +00:00
draw_pt_vsplit.c gallium: Use common CONCAT/PASTE macros 2022-11-15 11:54:42 +00:00
draw_pt_vsplit_tmp.h gallium: Use common CONCAT/PASTE macros 2022-11-15 11:54:42 +00:00
draw_so_emit_tmp.h Change all debug_assert calls to assert 2022-07-10 00:50:35 +00:00
draw_split_tmp.h gallium: Replace the usage of __FUNCTION__ with __func__ in all gallium code 2022-11-22 06:53:47 +00:00
draw_tess.c Change all debug_assert calls to assert 2022-07-10 00:50:35 +00:00
draw_tess.h draw: s/unsigned/enum pipe_prim_type/ 2022-06-16 23:46:23 +00:00
draw_vbuf.h draw: asst. clean-up in draw_vbuf.h 2022-06-16 23:46:23 +00:00
draw_vertex.c draw: asst. clean-ups in draw_vertex.[ch] 2022-10-11 20:04:36 +00:00
draw_vertex.h draw: asst. clean-ups in draw_vertex.[ch] 2022-10-11 20:04:36 +00:00
draw_vs.c draw: asst. clean-ups in draw_vs.[ch] 2022-10-11 20:04:36 +00:00
draw_vs.h util: Rename PIPE_CDECL to UTIL_CDECL and moved into util/macros.h 2022-11-24 06:21:39 +00:00
draw_vs_exec.c Change all debug_assert calls to assert 2022-07-10 00:50:35 +00:00
draw_vs_llvm.c draw: asst. clean-ups in draw_vs_llvm.c 2022-10-11 20:04:36 +00:00
draw_vs_variant.c util: Rename PIPE_CDECL to UTIL_CDECL and moved into util/macros.h 2022-11-24 06:21:39 +00:00