3 ms·
Optimized 2D engine? Hmm, is there any chance that there's a hardware-accelerated version of Skia somewhere in there? A while ago I was looking for a nice OpenG
by archagon 11y ago
Optimized 2D engine? Hmm, is there any chance that there's a hardware-accelerated version of Skia somewhere in there? A while ago I was looking for a nice OpenGL vector (read: path rendering) library for an iOS app I was working on, but none of the available options at the time were good enough. Ended up hacking together a custom implementation in Cocos2d. (Actually, still hacking...)
- napsterbr 11y agoLooks like so, as per their architecture diagram: https://docs.google.com/presentation/d/1cw7A4HbvM_Abv320rVgPVGiUP2msVs7tfGbkgdrTy0I/edit?usp=sharing https://docs.google.com/presentation/d/1cw7A4HbvM_Abv320rVgP...
- archagon 11y agoLooks like it's there but I don't think it uses OpenGL. (Also, the page states: "Today we don’t support for 3D via OpenGL ES or similar. We have long-term plans to expose an optimized 3D API, but right now we’re focused on 2D.") Still, this is very promising!
- fit2rule 11y agoMOAI has some nice features that make OpenGL-based path rendering interesting: https://github.com/moai/moai-dev/blob/develop/samples/vector-svg/svg.lua https://github.com/moai/moai-dev/blob/develop/samples/vector...
- kllrnohj 11y agoSkia has an optional OpenGL backend. It's used by Chrome for things like <canvas>