Add support for GL_ARB_robustness

Review Request #110522 - Created May 19, 2013 and submitted

Fredrik Höglund
commit 6a2e47c44ee9b330972e29afff657529fe475855
Author: Fredrik Höglund <>
Date:   Sun May 19 16:21:11 2013 +0200

    kwin: Use the robust access functions
    Use glReadnPixels() instead of glReadPixels(), and glGetnUniformfv()
    instead of glGetUniformfv().

commit 625b9241374e2cf6cc5905a2976255af16f874bc
Author: Fredrik Höglund <>
Date:   Sun May 19 16:17:41 2013 +0200

    kwin/es: Resolve functions for GL_EXT_robustness

commit a2aa75ccad1627853c65f43bfd79595f036b733f
Author: Fredrik Höglund <>
Date:   Sun May 19 16:14:47 2013 +0200

    kwin: Resolve functions for GL_ARB_robustness

    Only the subset of functions available in core contexts is resolved,
    except for glGetnTexImageARB() and glGetnUniformivARB(), which are not
    used by kwin.
    Instead of setting the function pointers to NULL when the extension isn't
    supported, kwin provides its own implementations that call the non-robust
    versions of the functions.  This is so callers don't have to check if the
    extension is supported before calling the functions.

Martin Flöser
Fredrik Höglund
Review request changed

Status: Closed (submitted)