feature request: off screen rendering
Hi There,
If this feature exists or if someone has found a way to do this please do let me know!
I love how simple this project is to work with and was wondering if you would be interested in adding off screen rendering support? This is useful when embedding the web view in other environments such as an Open GL application. If you don't have access to a texture then there could be a callback when ever the image is being re-rendered that would pass a buffer of pixels that you can then copy into an OpenGL texture (or DirectX Texture or image etc). You then also need to manually pass the cursor event into the webview.
Seems that this would be an option to remove some of the existing functionality. I think this would be pretty popular. I and many others have been having a terrible time trying to implement and maintain this with CEF!
Cheers, nay.
@naychrist Hi, I'm working on this feature. Currently off screen rendering supported in linux and GTK 16c93bc
correct url: https://github.com/zserge/webview/commit/3fd0fcc20ca0140723db0d134aae23149b528607
Hi! I second that request. Any update on this, especially regarding macOS and Windows implementations? Or at least a few quick inputs in case someone might want to contribute to that feature?
Is there an update on this ? Such a feature is ideal for embedded apps. In many cases, the graphics libs are unavailable or not necessary. The user can supply an RGBA buffer and web view can just render to it. Alternatively, the internal buffer can be exposed without showing the window.