web-view icon indicating copy to clipboard operation
web-view copied to clipboard

Would it be possible to mix native OpenGL with the view?

Open notdanilo opened this issue 5 years ago • 1 comments

First of all, kudos for the project. I am super excited to start using it.

I would like to know if there is any supported way either to:

  1. Use the web view as a texture or
  2. Get the web view's window native handler.

notdanilo avatar May 07 '20 02:05 notdanilo

It is definitely possible but not with some changes to webview, we could exposive native window handle from webview, and you can do anything with the window, including putting opengl area where you want.

As for using as a webview as a texture, that is not possible, altough it should be possible to overlay the webview anywhere in the window with transparency, also with some small changes.

Unfortunately I do not have the time now to implement these changes but I could help someone who'd like to implement this and do the code review. The most difficult thing about this is that you need to figure out how to do it for three platforms each doing things a bit differently.

richardhozak avatar May 07 '20 16:05 richardhozak