ackwell / BrowserHost

Dalamud plugin for in-game browser rendering. Think OverlayPlugin, but it's in the game itself.
GNU Lesser General Public License v3.0
9 stars 12 forks source link

Add alternate frame transport #2

Closed ackwell closed 3 years ago

ackwell commented 4 years ago

Currently, I'm using a DirectX shared texture to transport frame data between the render process and the game. This is, unfortunately, unsupported on linux/wine/dxvk - with no solution in sight.

Look into adding a secondary frame transport method that will work on linux.

Current idea: Transport dirty bitmap rect from render to plugin over shared memory (might need a secondary loop separate from the ipc buffer) - plugin can then use a regular dynamic texture updating with the dirty rects.