Re:New Renderers for GTK
by JoeyJoJoJr on Monday January 29, 2024 @08:59AM
(#39176305)
I gotta disagree that PixiJS is fast. I’ve worked with a bunch of 2D graphics engines going back to the Flash days, and I found it’s really easy to hit a wall with PixiJS performance, especially if you are using text and filters. I wouldn’t have much issue with it if the cacheAsBitmap feature was reliable, but I found it buggy as heck and it didn’t help performance as much as you would expect. There is no way I would use PixiJS for a full screen game or mobile game.
[ Parent
| on HN ]
Can you give examples of better JS renderers?
What is needed for performance of traditional GUI app rendering? I'm particularly interested in table rendering. Glide and Perspective are both canvas based renderers, but I haven't dug into the internals.
Re:New Renderers for GTK
by jassmith87 on Friday February 02, 2024 @11:10AM
(#39230271)
I am the author of GDG. If you have any questions feel free to let em rip.
Ok, I also found that performance can drop in unexpected ways, causing workarounds, to get it flowing again.
And I don't use cacheasbitmap, but do my own caching. (Not because I knew of flaws, but because I was already doing it)
And for text I really recommend BitmapText. That is fast. (But not possible with all use cases, sure)
Also Pixi8 with WebGPU will be stable soon, looking forward to it.
But all in all I am really impressed, I used quite a few other js graphic engines before and Pixi was by far the best. Or which one did you find better?