Skip to content
Commits on Jul 16, 2015
  1. Merge pull request #12 from mosra/extension-api-profile-restrictions

    committed
    Respect API/profile restrictions for extensions, if specified in the gl.xml file
  2. @mosra

    Respect API/profile restrictions for extensions, if specified.

    mosra committed
    Affects mainly GLES and KHR extensions. For example, KHR_debug
    extension names are without `KHR` suffix on desktop GL, but they do have
    the suffix on ES.
    
    For example, currently, if KHR_debug extension was requested either on
    desktop or on ES, it resulted in both `glObjectLabel()` and
    `glObjectLabelKHR()` being added to the generated files, which may be
    confusing and error-prone to use and may cause the "get proc address"
    code to complain that one of these functions is not found.
    
    Another example is ARB_robustness on core desktop profile, which now
    doesn't contain functions like glGetnHistogramARB() that were only part
    of the compatibility profile. Sadly this is not true for
    EXT_direct_state_access names, which are not properly marked in the
    XML and thus still include ugly compatibility-profile-only names like
    glMatrixPushEXT().
    
    In short, this change should result in slightly shorter generated files
    without irrelevant "noise".
  3. @mosra

    Some documentation.

    mosra committed
Commits on Feb 1, 2015
  1. Update README.md

    committed
Commits on Jan 30, 2015
  1. @eternalrain
Commits on Jan 29, 2015
  1. @eternalrain
  2. @eternalrain
Commits on Jan 16, 2015
  1. Merge pull request #9 from LeanderBB/unix_fixes

    committed
    Android Support
  2. @LeanderBB

    Android Support

    LeanderBB committed
    Tested OpenGL 4.x  with NVidia Shield Tablet (Tegra K1)
Commits on Dec 11, 2014
Commits on Dec 5, 2014
  1. Some style fixes

    committed
Commits on Nov 20, 2014
  1. @LeanderBB
Commits on Nov 19, 2014
  1. @LeanderBB

    Updated flextGL.c.template

    LeanderBB committed
    Removed Duplicate Checks
    Added possibility to disable loggin with define FLEXT_NO_LOGGING
    Fixed compile errors under GCC
      - No __stdcall on Linux
      - FLEXT_C_EXTENSION to handle cases where the compiler is in
        strict mode and produces errors due to void* to function ptr
        not being legal according to the C standard.
Commits on Aug 13, 2014
  1. Merge pull request #8 from mosra/gles-unique-types

    committed
    Keep only the most specialized type definitions
Commits on Aug 12, 2014
  1. @mosra

    Keep only the most specialized type definitions.

    mosra committed
    Not an issue on desktop GL, but most types have specialized definitions
    for GLES, e.g. in the original XML:
    
        <type requires="stddef">typedef ptrdiff_t <name>GLintptr</name>;</type>
        <type api="gles2" requires="khrplatform">typedef khronos_intptr_t <name>GLintptr</name>;</type>
    
    The parser originally added all found definitions for each type (along
    with all dependencies) to the header. On some platforms these
    definitions are not the same and that can cause compilation errors.
    Moreover the additional (otherwise unneeded) dependencies on stddef,
    inttypes etc. bloat the generated file.
    
    The parser now selects only the most specialized definition available
    for each type.
Commits on Aug 8, 2014
Commits on Aug 7, 2014
  1. Update README.md

    committed
  2. Update README.md

    committed
  3. Updating changes in README.md

    Thomas Weber committed
  4. Merge branch 'testing'

    Thomas Weber committed
Commits on Aug 6, 2014
  1. Update README.md

    committed
Commits on Aug 5, 2014
  1. @mosra

    Added glfw3-es template for GLES contexts using GLFW3.

    mosra committed
    The only changes in comparison to original `glfw3` template are:
    
     * Removed core/compatibility profile distinction.
     * Replaced 'VERSION_1_0' etc. branch with GLES-specific values.
Commits on Aug 4, 2014
  1. Merge branch 'duplicate-commands' of https://github.com/mosra/flextgl

    Thomas Weber committed
    …into gles
  2. Merge pull request #7 from mosra/minor

    committed
    Some minor improvements
Commits on Aug 2, 2014
  1. @mosra

    Leave the "do not edit" comment also up to the template.

    mosra committed
    Might be a bit confusing when looking at the *.template files, but
    allows for even more flexibility.
  2. @mosra
  3. @mosra

    Make flextGLgen.py executable from shell.

    mosra committed
    Now it can be easily invoked using ./flextGLgen.py.
  4. @mosra

    Less optimistic stripping of duplicate commands.

    mosra committed
    Currently in the gl.xml file there is duplicated glGetPointerv() in GL
    4.3 and also glProgramUniformMatrix4fvEXT() in
    EXT_separate_shader_objects ES extension. It's thus needed to remove
    duplicates also inside the subset itself.
  5. @mosra

    Minimal support for OpenGL ES.

    mosra committed
    Currently only XML parsing and function extraction, no ES-specific
    changes in template files.
Something went wrong with that request. Please try again.