Replies: 4 comments
-
The short answer would be no (not currently). This library uses third party browser engines' APIs to render into native windows/widgets/views, and has no API for rendering to a texture or buffer. The only way I can currently imagine getting something like this to work using this library would be to let the browser engine render to a native widget and then copy pixels from it, which seems inefficient to me. Maybe something like servo is more suitable. |
Beta Was this translation helpful? Give feedback.
-
Thanks, yeah I was looking at e.g. Microsofts WebView2 implementation and couldn't find any info about the possibility to use texture sharing or/and off screen rendering. Servo looks very interesting but from my understanding isn't yet supporting this feature neither. CEF has "some" support but no full hardware accelerated pipeline from my understanding. |
Beta Was this translation helpful? Give feedback.
-
Have you looked into Ultralight?
|
Beta Was this translation helpful? Give feedback.
-
Thanks, I indeed found Ultralight but it's a commercial package; which is fine but if a opensource/MIT-licensed library exists that would have my preference for now. |
Beta Was this translation helpful? Give feedback.
-
Is it possible to use e.g. texture sharing or off screen rendering so that I can use the rendered output as a texture in with a graphics API?
Beta Was this translation helpful? Give feedback.
All reactions