- Sep 04, 2019
-
-
Kyle Brenneman authored
Add copies of glcorearb.h, and of the GLES2 and GLES3 headers.
-
Kyle Brenneman authored
Updated the EGL headers and XML file to the Khronos repository, from commit 598f20e3b7b7eec3e8d8a83e64b9592a21c55bb6.
-
- Sep 03, 2019
-
-
Kyle Brenneman authored
Updated the OpenGL and GLX header and XML files to the Khronos repository, from commit 08749e62826f34ba2e6e3733af545895f23e784b.
-
Kyle Brenneman authored
This preserves the names from Mesa's gl, glesv1_cm, glesv2, and egl pkgconfig data, and for compatibility with that, gl.pc gives you libGL. Also added glx.pc and opengl.pc for libglvnd's libGLX and libOpenGL libraries. If newer applications want to explicitly depend on libGLX and the appropriate rendering API they can ask for the new pkgconfig names. Note that the version numbers in each file are the API versions that each library exposes, not the libglvnd package version.
-
- Jul 31, 2019
-
-
Kyle Brenneman authored
src/util/trace.c calls glvnd_vasprintf, which is defined in src/util/utils_misc.c, so any tests that use trace.c also need to use utils_misc.c.
-
- Apr 26, 2019
-
-
Kyle Brenneman authored
Add a check in the configure script to check if the dirent struct has a d_type member, since that's not available on all systems.
-
Kyle Brenneman authored
vasprintf isn't available on all systems, so use the local implementation instead.
-
- Mar 13, 2019
-
- Feb 13, 2019
-
-
Kyle Brenneman authored
AARCH64 : Fix address passed to clear cache
-
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.
-
- Nov 26, 2018
-
-
Kyle Brenneman authored
GLdispatch: Fix the TOC save in the PPC64LE TSD stubs (v2)
-
- Nov 01, 2018
-
-
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
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
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.
-
- Oct 04, 2018
-
-
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.
-
- Sep 20, 2018
-
-
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.
-
- Sep 19, 2018
-
-
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.
-
- Aug 17, 2018
-
-
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
The $(VM_V_GEN) variable should be $(AM_V_GEN).
-
Kyle Brenneman authored
build: Find Python the Autotools way
-
- Aug 16, 2018
-
-
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
-
- Jul 24, 2018
-
- Jun 20, 2018
-
-
Kyle Brenneman authored
Update the gl.xml, GL/glext.h, and the GLES headers to commit 42f61786696df5102625d9b046976ee857645704 from the Khronos registry.
-
- Jun 06, 2018
-
-
Kyle Brenneman authored
Remove FindProcIndex, __eglSetDispatchIndex, and __eglDispatchFindDispatchFunction from egldispatchstubs.c. The dispatch indices are allocated and assigned during initialization, so none of those functions are ever called.
-
- May 24, 2018
-
-
Kyle Brenneman authored
Add a separate version script export_list_tsd.ver for the TSD build of libGLdispatch, since the two builds don't have the same set of symbols.
-
- Apr 13, 2018
-
-
Kyle Brenneman authored
Don't point nonst_HEADERS or EXTRA_DIST at entire directories. That causes "make dist" to include files that it shouldn't, such as configured makefiles and .pyc files. Also added a few generated header files to noinst_HEADERS.
-
- Apr 11, 2018
-
-
Kyle Brenneman authored
The -export-symbols option in libtool creates a version script on Linux, but on FreeBSD it instead uses the -retain-symbols-file option, which doesn't do anything with the dynamic symbol table. Instead, manually pass the --version-script option to the linker.
-
- Mar 27, 2018
-
-
Kyle Brenneman authored
Various fixes so that libglvnd can build and run on FreeBSD. The only change to C code is to deal with a difference in the parameters for mincore(2). Most of the rest is to to remove the dependency on GNU make and bash.
-
- Mar 26, 2018
-
-
Kyle Brenneman authored
The third parameter to mincore(2) can be a pointer to char or unsigned char, depending on what system it's building on. To build in either case, just cast that argument to a (void *).
-
Kyle Brenneman authored
Not all systems have bash available, and in those that do, we can't assume that it's located at /bin/bash.
-
Kyle Brenneman authored
On FreeBSD, $host_cpu is set to "amd64" instead of "x86_64", so update the configure script to recognize either string.
-
Kyle Brenneman authored
Add an AC_CHECK_FUNC call to check whether dlopen is available without any additional libraries. Some systems provide dlopen as part of libc, in which case we can't (and don't need to) link against libdl.so.
-
Kyle Brenneman authored
glapi_gen_libglglxstubs is only used once, so just expand it out instead of using a function.
-
Kyle Brenneman authored
Remove the now-empty file glvnd_gen.mk.
-
Kyle Brenneman authored
Change glapi_gen_mapi to be a makefile variable instead of a function, so that it still works when not using GNU make.
-
Kyle Brenneman authored
$(glapi_gen_mapi) is only used in the vnd-glapi makefile, so define it there.
-
Kyle Brenneman authored
Generating a symbol list for the entrypoint libraries used to be necessary when we generated the same set of dispatch stubs in each library. Since then, we only generate the stubs that each library is going to export, so we don't need a separate export list anymore.
-
Kyle Brenneman authored
Don't generate g_glapi_mapi_gl_tmp.h in the libGL makefile. That's not needed anymore, because all of the GLDispatch stuff is built separately under src/GLdispatch/vnd-glapi. Likewise, remove the STATIC_DISPATCH_ONLY define from the compiler flags.
-
- Mar 08, 2018
-
-
Kyle Brenneman authored
GLX: Work around 'X_GLXCreateContextAtrribsARB' typo fix API break
-
- Mar 05, 2018
-
-
Kyle Brenneman authored
Handle dlsym succeeding with info.dli_sname == NULL.
-