[Mesa-dev] [Bug 105105] Suffixless KHR_robustness functions aren't exposed in ES 3.2

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Mar 1 11:19:07 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=105105

--- Comment #4 from Tapani Pälli <lemody at gmail.com> ---
(In reply to Kenneth Graunke from comment #0)
> The readnpixels test does:
> 
>    PFNGLREADNPIXELS pReadnPixels =
> (PFNGLREADNPIXELS)context->getRenderContext().
> getProcAddress("glReadnPixels");
> 
> and then calls that function pointer...but ends up in generic_nop().

It does not actually call it, instead it calls api via "gl.readnPixels", gl
contains the API functions that have been resolved already earlier. The
pReadnPixels would actually work if it would be utilized, I changed test to use
that and it passes.

I'm wanted to write this down here so that I won't forget this. Will need to
figure out how context functions in 'gl.*' get resolved.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180301/7df8d9a9/attachment.html>


More information about the mesa-dev mailing list