gtk/gsk/gpu
Benjamin Otte d1d1af1a62 gpu: Improve conic gradient rendering
1. Compute the fwidth() twice with offset offsets
   That way, we avoid glitches at the boundary between 0.0 and 1.0,
   because by offsetting it by 0.5, that boundary goes away.
   Then we take the min() of both which gives us the one we care about.

2. Set the gradient to repeating
   By doing that, we don't get values at the 0.0/1.0 boundary clamped,
   but things smoothly transition.
   This smoothes the line at that boundary and makes it look just like
   every other line.
2024-01-07 07:22:50 +01:00
..
shaders gpu: Improve conic gradient rendering 2024-01-07 07:22:50 +01:00
gskglbuffer.c gpu: Add float array to shaders and add an ubershader 2024-01-07 07:22:50 +01:00
gskglbufferprivate.h gpu: Add float array to shaders and add an ubershader 2024-01-07 07:22:50 +01:00
gskgldevice.c gpu: Add ability to run shaders 2024-01-07 07:22:49 +01:00
gskgldeviceprivate.h gpu: Add ability to run shaders 2024-01-07 07:22:49 +01:00
gskglframe.c gpu: Add float array to shaders and add an ubershader 2024-01-07 07:22:50 +01:00
gskglframeprivate.h gpu: Add ability to run shaders 2024-01-07 07:22:49 +01:00
gskglimage.c gpu: Add a flip_y argument to shader execution 2024-01-07 07:22:49 +01:00
gskglimageprivate.h gpu: Add a flip_y argument to shader execution 2024-01-07 07:22:49 +01:00
gskgpublitop.c gpu: Add a flip_y argument to shader execution 2024-01-07 07:22:49 +01:00
gskgpublitopprivate.h
gskgpuborderop.c gpu: Make shader image access a vfunc 2024-01-07 07:22:50 +01:00
gskgpuborderopprivate.h gpu: Add a border shader 2024-01-07 07:22:50 +01:00
gskgpubuffer.c gpu: Add ability to run shaders 2024-01-07 07:22:49 +01:00
gskgpubufferprivate.h gpu: Add ability to run shaders 2024-01-07 07:22:49 +01:00
gskgpubufferwriter.c gpu: Handle nested buffer writes 2024-01-07 07:22:50 +01:00
gskgpubufferwriterprivate.h gpu: Handle nested buffer writes 2024-01-07 07:22:50 +01:00
gskgpuclip.c gpu: Add ability to run shaders 2024-01-07 07:22:49 +01:00
gskgpuclipprivate.h gpu: Add ability to run shaders 2024-01-07 07:22:49 +01:00
gskgpudevice.c gpu: Add glyphs support 2024-01-07 07:22:50 +01:00
gskgpudeviceprivate.h gpu: Add glyphs support 2024-01-07 07:22:50 +01:00
gskgpudownloadop.c gpu: Add a flip_y argument to shader execution 2024-01-07 07:22:49 +01:00
gskgpudownloadopprivate.h
gskgpuframe.c gpu: Handle nested buffer writes 2024-01-07 07:22:50 +01:00
gskgpuframeprivate.h gpu: Make frames carry a timestamp 2024-01-07 07:22:50 +01:00
gskgpuglobalsop.c gpu: Add a flip_y argument to shader execution 2024-01-07 07:22:49 +01:00
gskgpuglobalsopprivate.h gpu: Add ability to run shaders 2024-01-07 07:22:49 +01:00
gskgpuimage.c gpu: Add gsk_gpu_image_get_projection_matrix() 2024-01-07 07:22:49 +01:00
gskgpuimageprivate.h gpu: Add gsk_gpu_image_get_projection_matrix() 2024-01-07 07:22:49 +01:00
gskgpunodeprocessor.c gpu: Round offscreens to pixel boundaries 2024-01-07 07:22:50 +01:00
gskgpunodeprocessorprivate.h
gskgpuop.c gpu: Add a flip_y argument to shader execution 2024-01-07 07:22:49 +01:00
gskgpuopprivate.h gpu: Add a flip_y argument to shader execution 2024-01-07 07:22:49 +01:00
gskgpuprint.c
gskgpuprintprivate.h
gskgpurenderer.c gpu: Make frames carry a timestamp 2024-01-07 07:22:50 +01:00
gskgpurenderer.h
gskgpurendererprivate.h
gskgpurenderpassop.c gpu: Make shader image access a vfunc 2024-01-07 07:22:50 +01:00
gskgpurenderpassopprivate.h gpu: Add ability to run shaders 2024-01-07 07:22:49 +01:00
gskgpuscissorop.c gpu: Add a flip_y argument to shader execution 2024-01-07 07:22:49 +01:00
gskgpuscissoropprivate.h gpu: Add scissor operation 2024-01-07 07:22:49 +01:00
gskgpushaderop.c gpu: Make shader image access a vfunc 2024-01-07 07:22:50 +01:00
gskgpushaderopprivate.h gpu: Make shader image access a vfunc 2024-01-07 07:22:50 +01:00
gskgputextureop.c gpu: Make shader image access a vfunc 2024-01-07 07:22:50 +01:00
gskgputextureopprivate.h gpu: Add ability to run shaders 2024-01-07 07:22:49 +01:00
gskgputypesprivate.h gpu: Add clip pattern 2024-01-07 07:22:50 +01:00
gskgpuuberop.c gpu: Make shader image access a vfunc 2024-01-07 07:22:50 +01:00
gskgpuuberopprivate.h gpu: Make shader image access a vfunc 2024-01-07 07:22:50 +01:00
gskgpuuploadop.c gpu: Add glyphs support 2024-01-07 07:22:50 +01:00
gskgpuuploadopprivate.h gpu: Add glyphs support 2024-01-07 07:22:50 +01:00
gsknglrenderer.c
gsknglrendererprivate.h
gskvulkanbuffer.c gpu: Add ability to run shaders 2024-01-07 07:22:49 +01:00
gskvulkanbufferprivate.h gpu: Add ability to run shaders 2024-01-07 07:22:49 +01:00
gskvulkandevice.c gpu: Add ability to run shaders 2024-01-07 07:22:49 +01:00
gskvulkandeviceprivate.h gpu: Add ability to run shaders 2024-01-07 07:22:49 +01:00
gskvulkanframe.c gpu: Add float array to shaders and add an ubershader 2024-01-07 07:22:50 +01:00
gskvulkanframeprivate.h
gskvulkanimage.c gpu: Add gsk_gpu_image_get_projection_matrix() 2024-01-07 07:22:49 +01:00
gskvulkanimageprivate.h gpu: Add ability to run shaders 2024-01-07 07:22:49 +01:00
gskvulkanmemory.c
gskvulkanmemoryprivate.h
gskvulkanrenderer.c