[vlc-devel] [PATCH 2/4] vgl: expose opengl callbacks through libvlc
Rémi Denis-Courmont
remi at remlab.net
Wed Jul 4 10:41:45 CEST 2018
A brittle and/or special case piece of code that is justified only by the feature being allegedly special and unique.
Le 4 juillet 2018 11:15:38 GMT+03:00, Thomas Guillem <thomas at gllm.fr> a écrit :
>
>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
>_______________________________________________
>vlc-devel mailing list
>To unsubscribe or modify your subscription options:
>https://mailman.videolan.org/listinfo/vlc-devel
--
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20180704/87314229/attachment.html>
More information about the vlc-devel
mailing list