Skip to content
  • Adam Jackson's avatar
    glx: convert to direct GL dispatch (v2) · be668096
    Adam Jackson authored
    
    
    We now expect to be linked against something that provides the GL API,
    instead of manually grubbing about in the DRI driver's dispatch table.
    Since the GLX we expose calls GL functions that are meant to be looked
    up dynamically, also add a way to thunk through to GetProcAddress.
    
    This includes a refresh of the generated sources, which requires a
    correspondingly new Mesa.
    
    The GetProcAddress stubs are at the moment merely enough to make this
    link against Mesa 9.2, but should really be provided for everything not
    in the OpenGL 1.2 ABI.
    
    v2: Explicitly hide the GetProcAddress stubs so we can't conflict with
    libGL symbols; fix leading tab/space issues [anholt]
    
    Reviewed-by: default avatarKeith Packard <keithp@keithp.com>
    Signed-off-by: default avatarAdam Jackson <ajax@redhat.com>
    be668096