kaspter has quit [Remote host closed the connection]
kaspter has joined #lima
dev1990 has joined #lima
Barada has quit [Quit: Barada]
kaspter has quit [Ping timeout: 245 seconds]
kaspter has joined #lima
Barada has joined #lima
Barada has quit [Quit: Barada]
warpme_ has joined #lima
camus has joined #lima
kaspter has quit [Remote host closed the connection]
camus is now known as kaspter
bshah_ is now known as bshah
kaspter has quit [Ping timeout: 246 seconds]
kaspter has joined #lima
kaspter has quit [Ping timeout: 276 seconds]
kaspter has joined #lima
camus has joined #lima
kaspter has quit [Ping timeout: 246 seconds]
camus is now known as kaspter
kaspter has quit [Read error: Connection reset by peer]
kaspter has joined #lima
kaspter has quit [Quit: kaspter]
<linkmauve>
enunes, the main bottleneck in GTK 4 is actually the rounded rectangle clipping computation.
<linkmauve>
Removing that from gskSetOutputColor() makes the fragment shader go from 114 instructions down to just a single one.
<enunes>
linkmauve: hmm ok nice to hear some progress, now is that something that can be left out, or is it expected that particularly lima should optimize on something?
<linkmauve>
I’m fixing it in GTK, atm to at least use a different shader for non-clipped draw calls.
<linkmauve>
Making a theme which doesn’t use round rectangles would probably optimise things further a bit.
<linkmauve>
enunes, for the gradient though, would it make sense to specialise shaders based on the uniform used for the loop counter?
<linkmauve>
I can also fix that in GTK, since in the default theme it only ever uses two colour stops I can write a shader for that.
<enunes>
linkmauve: I think it could help since it would allow unrolling them at compile time, but after my last try I'm not convinced yet that it would lead to an actual increase in performance so probably needs some experimentation too
<linkmauve>
That’s what I get when I replace the uniform with a fixed 2.
<enunes>
wow that is a complicated shader
<linkmauve>
There are comparatively few elements that are rendered with a gradient in Adwaita.