qt - Draw to WebGL canvas directly from C++ application -
i have been experimenting qt webkit render video element in browser. of frames decoded c++ application (source video packets received on network), , can display video in element using qt described here: qtwebengine rendering native qt widgets in dom? limited z-index issues of qt webkit :(
instead, wondering if of following possible , if has achieved before.
i have c++ application launches chrome embedded framework window (basically browser window). there way c++ application can render video directly browser window - using webgl or similar library? maybe there way can use opengl in c++ app write graphics card memory , have webgl read off graphics card data - awesome if such technique existed fear sandboxing not allow this.
e.g.
browser webgl surface/object <--- c++ application <--- file/network data a (very!) naive approach browser window connect c++ core application using websocket on loopback address, , websocket stream surfaces browser. these surfaces drawn html5 canvas or used webgl - terrible in terms of latency though.
e.g
browser <--- websocket <--- c++ decode <--- file/network data many - other suggestions alternative libraries use / code examples appreciated :)
Comments
Post a Comment