Commits on Source (14)
-
Mathieu Bridon authored
An added advantage to this is that it makes it really easy to build with Python 3, the same way other Autotools projects support it: $ export PYTHON=/usr/bin/python3 $ ./configure
-
Kyle Brenneman authored
build: Find Python the Autotools way
-
Kyle Brenneman authored
The $(VM_V_GEN) variable should be $(AM_V_GEN).
-
Kyle Brenneman authored
When you run "make dist", the resulting tarball includes all of the generated files. When building from that, we don't need to generate anything.
-
Kyle Brenneman authored
In __glDispatchCheckMultithreaded, don't unlock the mutex until after calling stubCurrentPatchCb->threadAttach. Without that lock, another thread could come along and change stubCurrentPatchCb out from under it.
-
Kyle Brenneman authored
This is important for testing the TSD stubs, which have a separate fast path for single-threaded programs. The TSD stubs start with a simple global variable to hold the dispatch table so that a single-threaded program doesn't have to deal with the overhead of calling pthread_getspecific. When a second thread comes along, it sets that variable to NULL, which makes the stubs call pthread_getspecific instead. This change adds a flag to the testgldispatch test program that tells it to call into libGLdispatch from two threads to force it into its multi-threaded mode. It also adds three new test scripts, which are the same testgldispatch tests but for the multithreaded path.
-
Kyle Brenneman authored
In GL/gl.h, remove PFNGLBLENDCOLORPROC, PFNGLBLENDEQUATIONPROC, and the GL_OES_EGL_image section. PFNGLBLENDCOLORPROC and PFNGLBLENDEQUATIONPROC are defined in GL/glext.h in the GL_VERSION_1_4 section. GL_OES_EGL_image is defined in GLES/glext.h and GLES2/gl2ext.h, and the GLeglImageOES typedef is also defined in GL/glext.h under GL_EXT_EGL_image_storage.
-
Kyle Brenneman authored
Call _glapi_get_current through the PLT call stub. The PLT call stub takes care of saving the TOC pointer. Also rearranged the assembly code to remove the need for a backwards jump after calling _glapi_get_current.
-
Kyle Brenneman authored
We can't use a simple ld instruction for a slot greater than or equal to 4096, because the offset no longer fits in the signed 16-bit offset field. Instead, use an addis instruction to deal with the high-order bits in the offset.
-
Kyle Brenneman authored
We don't need to save and restore r12 across the call to _glapi_get_current. It's only used for function linkage, and the dispatch stub overwrites the value a few instructions later anyway.
-
Kyle Brenneman authored
GLdispatch: Fix the TOC save in the PPC64LE TSD stubs (v2)
-
Sai Kiran Korwar authored
The entrypointExec address is modified before being passed to clear_cache function. We do a small add/subtract for ARMv7 in order to enable Thumb mode. This is not required for Aarch64 as it does not support Thumb mode. Since we were not adding anything, do not subtract as well before passing the address to clear_cache. This was causing a crash while calling glXGetProcAddress.
-
Kyle Brenneman authored
AARCH64 : Fix address passed to clear cache
-
Kyle Brenneman authored
tests/testgldispatch_generated_thr.sh
0 → 100755
tests/testgldispatch_patched_thr.sh
0 → 100755
tests/testgldispatch_static_thr.sh
0 → 100755