Skip to content
Snippets Groups Projects
Commit 7f09e6bf authored by Dmitry Osipenko's avatar Dmitry Osipenko Committed by Marge Bot
Browse files

virgl: Document and check expected return values for make_current() callback


The values retuned by Qemu's make_current() callback varies based on
used GL backend. In case of SDL GLX, Qemu returns 0 on success, while for
EGL backends Qemu confusingly returns 1. Document the expected return values
and enforce the new requirement for the callbacks v4, preserving compatibility
for older virglrenderer users implementing v1 callbacks.

Signed-off-by: default avatarDmitry Osipenko <dmitry.osipenko@collabora.com>
Part-of: <!1125>
parent ca25f515
No related branches found
No related tags found
Loading
Pipeline #897307 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment