Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose epoxy_extension_in_string() in public headers #136

Merged
merged 1 commit into from
Oct 19, 2017

Commits on Aug 24, 2017

  1. Expose epoxy_extension_in_string() in public headers

    The EGL_EXT_device_query extension introduces the
    eglQueryDeviceStringEXT() function, which can be used with an
    EGLDeviceEXT enumeration to receive an OpenGL extension string
    containing all of the device extensions supported by it. From the
    EGL_EXT_device_query spec's amendments to section "3.2 Devices" after
    "3.1 Errors":
    
        const char *eglQueryDeviceStringEXT(EGLDeviceEXT device,
        				    EGLint name);
    
        returns a pointer to a static, zero-terminated string describing
        some aspect of the specified EGLDeviceEXT.  <name> must be
        EGL_EXTENSIONS.
    
    Since OpenGL extension parsing is rather simple, and we could always run
    into additional cases similar to this one in the future, we expose the
    shared epoxy_extension_in_string() function in libepoxy's public headers
    so that users can save themselves the hassle of having to write their
    own extension parser.
    
    Signed-off-by: Lyude Paul <thatslyude@gmail.com>
    Lyude committed Aug 24, 2017
    Configuration menu
    Copy the full SHA
    4bde48e View commit details
    Browse the repository at this point in the history