You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey there! I've been working on finishing up the existing OpenGL support in WGPU that was recently rewritten by the WGPU folks, and I thought I'd try it out with iced real quick. The OpenGL updates are still on WGPU master, so they haven't been releasd yet, but I did a quick update to WGPU master in my own branch on Iced and I got the tour working, except for images.
From the issues it looks like images don't work in the glow backend anyway, so that might make it already up-to-par with the existing GL backend. The WGPU GL backend targets GLES 3. Super excited about WGPU GL support comming together! 🎉
So far there was no extra work required to make WGPU target GL without problems ( other than a super-duper small fix during surface creation ), but we'd have to see what the issue with images. Looks like not all the other examples work yet, such as the game of life and clock exmples.
Not sure I'll get the time to look more into fixing what's not working, but I thought I'd post what I got here so far.
Here's the commit that makes it work if anybody's interested: katharostech@2c4dc2e.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey there! I've been working on finishing up the existing OpenGL support in WGPU that was recently rewritten by the WGPU folks, and I thought I'd try it out with iced real quick. The OpenGL updates are still on WGPU master, so they haven't been releasd yet, but I did a quick update to WGPU master in my own branch on Iced and I got the tour working, except for images.
From the issues it looks like images don't work in the
glow
backend anyway, so that might make it already up-to-par with the existing GL backend. The WGPU GL backend targets GLES 3. Super excited about WGPU GL support comming together! 🎉So far there was no extra work required to make WGPU target GL without problems ( other than a super-duper small fix during surface creation ), but we'd have to see what the issue with images. Looks like not all the other examples work yet, such as the game of life and clock exmples.
Not sure I'll get the time to look more into fixing what's not working, but I thought I'd post what I got here so far.
Here's the commit that makes it work if anybody's interested: katharostech@2c4dc2e.
Beta Was this translation helpful? Give feedback.
All reactions