4 ms·
What's the point of GTK4 and why does it have to be incompatible with GTK3? Is it really worth it to spend so much developer effort across so many projects to m
by jcarrano 3y ago
What's the point of GTK4 and why does it have to be incompatible with GTK3? Is it really worth it to spend so much developer effort across so many projects to migrate them to GTK4?
- deleted 3y ago[deleted]
- TingPing 3y agoThe biggest changes are to rendering. GTK 1-3 used Cairo to do CPU rendering. It is slow and incapable of modern rendering features. GTK4 makes good use of the GPU with OpenGL (and kinda Vulkan). It has been a huge win for performance improving animations, shaders, multimedia, zero-copy integration with external projects like WebKit, etc.
- Liskni_si 3y agoYeah, "good use", and also just happens to no longer support subpixel font antialiasing, so good luck if your screen isn't 4K. Which a lot of screens out there aren't. :-(
- jcarrano 3y agoWas it impossible to add GPU acceleration while keeping the old API?
- TingPing 3y agoYes the entire rendering API was based on Cairo. There was an attempt to have Cairo use OpenGL but it was mostly unsuccessful and abandoned. Even if that worked the paradigms used are very different and would fight performant GPU usage.