<html><head></head><body>A brittle and/or special case piece of code that is justified only by the feature being allegedly special and unique.<br><br><div class="gmail_quote">Le 4 juillet 2018 11:15:38 GMT+03:00, Thomas Guillem <thomas@gllm.fr> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail"><br>On Wed, Jul 4, 2018, at 10:13, Pierre Lamot wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #8ae234; padding-left: 1ex;"> + * \param opaque private pointer passed to the @a<br> libvlc_video_set_opengl_callbacks() [IN]<br> + * \param enter true before<br> performing the rendering, false after [IN]<br> + * \version LibVLC 4.0.0 or<br> later<br> + */<br> +typedef void (*libvlc_gl_render_cb)(void* opaque, bool enter);<br></blockquote> <br> I don't really see why this should be different from everything else - a post-<br> render swap callback.<br></blockquote> <br> The idea was to let the user set up his context before rendering (ie: <br> select the right FBO), I thought<br> it was easier this way. This might work with a single post render swap, <br> I'll try to do it this way.<br> <br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;"> In fact, special snowflake callbacks are notorious problems when revectoring <br> the backends.<br></blockquote> <br> I can make it two callbacks, but i don't think that's your point.<br></blockquote><br>What is a special snowflake callback?<br><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> <br> --<br> Pierre Lamot<br> <br> <br> <br><hr><br> vlc-devel mailing list<br> To unsubscribe or modify your subscription options:<br> <a href="https://mailman.videolan.org/listinfo/vlc-devel">https://mailman.videolan.org/listinfo/vlc-devel</a><br></blockquote><hr><br>vlc-devel mailing list<br>To unsubscribe or modify your subscription options:<br><a href="https://mailman.videolan.org/listinfo/vlc-devel">https://mailman.videolan.org/listinfo/vlc-devel</a></pre></blockquote></div><br>
-- <br>
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</body></html>