[vlc-devel] [PATCH 2/4] vgl: expose opengl callbacks through libvlc

Thomas Guillem thomas at gllm.fr
Wed Jul 4 10:15:38 CEST 2018


On Wed, Jul 4, 2018, at 10:13, Pierre Lamot wrote:
> > > + * \param opaque private pointer passed to the @a
> > > libvlc_video_set_opengl_callbacks() [IN]
> > > + * \param enter true before
> > > performing the rendering, false after [IN]
> > > + * \version LibVLC 4.0.0 or
> > > later
> > > + */
> > > +typedef void (*libvlc_gl_render_cb)(void* opaque, bool enter);
> > 
> > I don't really see why this should be different from everything else - a post-
> > render swap callback.
> 
> The idea was to let the user set up his context before rendering (ie: 
> select the right FBO), I thought
> it was easier this way. This might work with a single post render swap, 
> I'll try to do it this way.
> 
> > In fact, special snowflake callbacks are notorious problems when revectoring 
> > the backends.
> 
> I can make it two callbacks, but i don't think that's your point.

What is a special snowflake callback?

> 
> --
> Pierre Lamot
> 
> 
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list