summaryrefslogtreecommitdiff
path: root/src/glx/create_context.c
AgeCommit message (Collapse)AuthorFilesLines
2013-07-18glx: Store the RENDER_TYPE in indirect renderingTomasz Lis1-1/+3
v2 (idr): Open-code the check for GLX_RENDER_TYPE. dri2_convert_glx_attribs can't be called from here because that function only exists in direct-rendering builds. Also add a stub version of indirect_create_context_attribs to tests/fake_glx_screen.cpp to prevent 'make check' regressions. Signed-off-by: Tomasz Lis <tomasz.lis@intel.com> Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2012-07-12mesa: Require current libxcb.Eric Anholt1-14/+0
Without that, people with buggy apps that looked at just the server string for GLX_ARB_create_context would call this function that just threw an error when you tried to make a context. Google shows plenty of complaints about this. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2012-03-16darwin: Build create_context.cJeremy Huddleston1-1/+6
Fixes a build regression from: 588042a8ec4ea91a952c07a0768516fd590758f4 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2012-01-04glx: More hacking around versions of XCB that lack GLX_ARB_create_context ↵Ian Romanick1-1/+1
support Detect whether a new enough version of XCB is installed at configure time. If it is not, don't enable the extension and don't build the unit tests. v2: Move the AM_CONDIATION outside the case-statement so that it is invoked even for non-GLX builds. This prevents build failures with osmesa, for example. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Tested-by: Robert Hooker <robert.hooker@canonical.com>
2012-01-03glx: Hack around versions of XCB that lack GLX_ARB_create_context supportIan Romanick1-0/+14
A lot of tests in 'make check' will fail under these circumstances, but at least the build should work. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-01-02glx: Initial implementation of glXCreateContextAttribsARBIan Romanick1-0/+117
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>