[vlc-devel] [PATCH 2/9] libvlc: add a callback to notify the host when the rendering starts/ends

Rémi Denis-Courmont remi at remlab.net
Fri Jan 18 21:00:31 CET 2019


Le perjantaina 18. tammikuuta 2019, 21.44.08 EET Thomas Guillem a écrit :
> On Fri, Jan 18, 2019, at 17:46, Rémi Denis-Courmont wrote:
> > Le perjantaina 18. tammikuuta 2019, 15.58.58 EET Steve Lhomme a écrit :
> > > This is going to be necessary for Direct3D rendering as we will need to
> > > share the rendering context on both sides.
> > 
> > No. The API was deliberately made to look like GL/GL ES so it is easy to
> > use.

> So maybe we should use different functions for d3d (and factorize the
> implementation).

Well, yes but I don't even see the point of all those callbacks for DirectX, 
which unlike OpenGL, does not have many different frontends (EGL this, EGL 
that, GLX, WGL, Qt, etc).

-- 
Реми Дёни-Курмон
http://www.remlab.net/





More information about the vlc-devel mailing list