URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=960d854a9866be4e335dd20465342026f660fc78 Author: Emil Velikov <emil.l.veli...@gmail.com> Date: Sun May 1 13:48:12 2016 +0100
anv: remove define _DEFAULT_SOURCE The build systems already add this as applicable. There's no need to have this in the source file. Signed-off-by: Emil Velikov <emil.l.veli...@gmail.com> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1b64d1247d233dd649eb18ac22222b6e2273099a Author: Emil Velikov <emil.l.veli...@gmail.com> Date: Sun May 1 13:48:11 2016 +0100 gbm: remove define _DEFAULT_SOURCE The build systems already add this as applicable. There's no need to have this in the source file. Signed-off-by: Emil Velikov <emil.l.veli...@gmail.com> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=efe4beb717e62afd4ef5e560b81fbbec5f131371 Author: Emil Velikov <emil.l.veli...@gmail.com> Date: Sun May 1 13:48:10 2016 +0100 gbm: remove define _BSD_SOURCE The build systems already add this as applicable. There's no need to have this in the source file. Signed-off-by: Emil Velikov <emil.l.veli...@gmail.com> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a6ce91fe526a5dee4c79b9deffac6829d22dd805 Author: Jiri Slaby <jsl...@suse.cz> Date: Tue May 17 08:35:29 2016 +0200 glxcmds: glXGetFBConfigs, fix screen bounds Bounds of screen are 0 (inclusive) and ScreenCount(dpy) (exclusive). The upper bound was too ScreenCount(dpy) (inclusive). This causes a crash invoked by java3d which passes down an invalid screen: 6 0x00007f0e5198ba70 in <signal handler called> () at /lib64/libc.so.6 7 0x00007f0e14531e14 in glXGetFBConfigs (dpy=<optimized out>, screen=1, nelements=nelements@entry=0x7f0dab3c522c) at glxcmds.c:1660 8 0x00007f0e14532f7f in glXChooseFBConfig (dpy=<optimized out>, screen=<optimized out>, attribList=0x7f0dab3c54e0, nitems=0x7f0dab3c535c) at glxcmds.c:1611 9 0x00007f0e1478d29b in find_S_FBConfigs () at /usr/lib64/libj3dcore-ogl.so 10 0x00007f0e1478d3dc in find_S_S_FBConfigs () at /usr/lib64/libj3dcore-ogl.so 11 0x00007f0e1478d567 in find_AA_S_S_FBConfigs () at /usr/lib64/libj3dcore-ogl.so 12 0x00007f0e1478d728 in find_DB_AA_S_S_FBConfigs () at /usr/lib64/libj3dcore-ogl.so 13 0x00007f0e1478d97c in Java_javax_media_j3d_X11NativeConfigTemplate3D_chooseOglVisual () at /usr/lib64/libj3dcore-ogl.so While ScreenCount(dpy) is actually 1: (gdb) p dpy->nscreens $2 = 1 screen=1 is passed to glXGetFBConfigs. Fix this typo in glXGetFBConfigs. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=95456 Signed-off-by: Jiri Slaby <jsl...@suse.cz> Cc: <mesa-sta...@lists.freedesktop.org> Reviewed-by: Adam Jackson <a...@redhat.com> Reviewed-by: Emil Velikov <emil.veli...@collabora.com> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0f738fa23ee2220841ad293654c6394dcc5943a4 Author: Elie TOURNIER <tournier.e...@gmail.com> Date: Tue May 10 22:04:49 2016 +0200 doxygen: Add missing modules to Windows runner Acked-by: Rhys Kidd <rhysk...@gmail.com> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=793574afad9b06222f2625ebd18357b6287a82d0 Author: Emil Velikov <emil.l.veli...@gmail.com> Date: Thu May 19 18:43:03 2016 +0100 egl: add missing link against $(CLOCK_LIB) Some platforms require separate library in order to resolve the clock_gettime() symbol. Add the link or the build will fail. Fixes: 70299474f58 ("egl: add EGL_KHR_reusable_sync to egl_dri") Cc: Dongwon Kim <dongwon....@intel.com> Reported-by: Pali Rohár <pali.ro...@gmail.com> Tested-by: Pali Rohár <pali.ro...@gmail.com> Signed-off-by: Emil Velikov <emil.l.veli...@gmail.com> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d67e757d11342f9cfa566f85c3961259bc4d6870 Author: Emil Velikov <emil.l.veli...@gmail.com> Date: Sun May 1 12:42:55 2016 +0100 egl: android: remove explicit glFlush call The DRI flush extension should already do the same thing. Signed-off-by: Emil Velikov <emil.l.veli...@gmail.com> Tested-by: Rob Herring <r...@kernel.org> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9b3c7481c61098be1f780f91d8e06dc55afd5b0b Author: Emil Velikov <emil.l.veli...@gmail.com> Date: Sun May 1 12:42:54 2016 +0100 egl: android: drop dri2_create_image_android_native_buffer argument The drv is no longer used/needed as of last commit. Signed-off-by: Emil Velikov <emil.l.veli...@gmail.com> Acked-by: Rob Herring <r...@kernel.org> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=38ef6f5f6019e168f584d99f94bc675afbb0b33a Author: Emil Velikov <emil.l.veli...@gmail.com> Date: Sun May 1 12:42:53 2016 +0100 egl: android: directly use dri2_create_image_dma_buf() Make the function non static so that we can use it directly from the android platform code. Signed-off-by: Emil Velikov <emil.l.veli...@gmail.com> Acked-by: Rob Herring <r...@kernel.org> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2cd687ce97f39bd98fab4d72d607b7a1644cd2a0 Author: Emil Velikov <emil.veli...@collabora.com> Date: Wed May 4 11:47:14 2016 +0100 configure.ac: error out when building from git without python3 Bail early, as opposed to later on during the build. Signed-off-by: Emil Velikov <emil.veli...@collabora.com> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a155cdaace09e5fd2712528a6fa28ca3818d41a3 Author: Emil Velikov <emil.l.veli...@gmail.com> Date: Sat May 14 16:33:12 2016 +0100 vl/drm: don't call close(-1) in vl_drm_screen_create error path Analogous to previous commits. Signed-off-by: Emil Velikov <emil.l.veli...@gmail.com> Reviewed-by: Leo Liu <leo....@amd.com> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ed3f6ccce0f4fdc25705dd8c0beea8e9325db57f Author: Emil Velikov <emil.l.veli...@gmail.com> Date: Sat May 14 16:33:11 2016 +0100 st/xa: don't call close(-1) in xa_tracker_create error path Analogous to previous commit. Signed-off-by: Emil Velikov <emil.l.veli...@gmail.com> Reviewed-by: Leo Liu <leo....@amd.com> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6e00a1e6cba7b32e575521c7a92aae18761e0a37 Author: Emil Velikov <emil.l.veli...@gmail.com> Date: Sat May 14 16:33:10 2016 +0100 st/dri: don't call close(-1) in dri{2, kms_}_init_screen error path Add separate labels and jump to the correct one as needed. Signed-off-by: Emil Velikov <emil.l.veli...@gmail.com> Reviewed-by: Leo Liu <leo....@amd.com> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7362bb3e219ec819835799c400cf4215a1b387d0 Author: Eric Engestrom <eric.engest...@imgtec.com> Date: Thu Apr 21 10:53:48 2016 +0100 vk/intel: use negative VK_NO_PROTOTYPES scheme 3d0fac7aca237bbe8ed8e2a362d3b42d0ef8c46c changed all VK_PROTOTYPES to VK_NO_PROTOTYPES This brings the Intel header in line with the rest of the Vulkan code. Signed-off-by: Eric Engestrom <eric.engest...@imgtec.com> Reviewed-by: Emil Velikov <emil.veli...@collabora.com> Reviewed-by: Chad Versace <chad.vers...@intel.com> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8aeb6d768b4285f600d09f38d0b406adf46c251d Author: Rob Herring <r...@kernel.org> Date: Tue May 3 21:02:47 2016 -0500 gbm: Add map/unmap functions This adds map and unmap functions to GBM utilizing the DRIimage extension mapImage/unmapImage functions or existing internal mapping for dumb buffers. Unlike prior attempts, this version provides a region to map and usage flags for the mapping. The operation follows the same semantics as the gallium transfer_map() function. This was tested with GBM based gralloc on Android. Signed-off-by: Rob Herring <r...@kernel.org> [Emil Velikov: drop no longer relevant hunk from commit message.] Reviewed-by: Emil Velikov <emil.l.veli...@gmail.com> Reviewed-by: Eric Anholt <e...@anholt.net> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1f4869a2089c6172feff382e177d74ac68c241a7 Author: Rob Herring <r...@kernel.org> Date: Tue May 3 21:02:46 2016 -0500 configure.ac: add pthreadstubs support Add pthreadstubs to avoid pulling in full pthreads library. GBM will be the first user. Signed-off-by: Rob Herring <r...@kernel.org> Reviewed-by: Emil Velikov <emil.l.veli...@gmail.com> Reviewed-by: Eric Anholt <e...@anholt.net> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0a4275b5343974073ca7c35fa1ff3c5b581573b8 Author: Rob Herring <r...@kernel.org> Date: Mon May 16 21:14:21 2016 -0500 gbm: rename gbm_dri_bo_{map,unmap} to gbm_dri_bo_{map,unmap}_dumb In preparation to add public map/unmap functions, rename the existing gbm_dri_bo_{map,unmap} functions to indicate that they are only for dumb buffers. Signed-off-by: Rob Herring <r...@kernel.org> Reviewed-by: Emil Velikov <emil.l.veli...@gmail.com> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e8431a630d64a39c1cf2feda08e0450d4e522d7d Author: Rob Herring <r...@kernel.org> Date: Tue May 3 21:02:44 2016 -0500 st/dri: Add support for DRIimage extension mapImage/unmapImage Implement support for mapImage/unmapImage functions in version 12 of the DRIimage extension. Signed-off-by: Rob Herring <r...@kernel.org> [Emil Velikov: align/indent the map/unmap vfuncs] Signed-off-by: Emil Velikov <emil.l.veli...@gmail.com> Reviewed-by: Eric Anholt <e...@anholt.net> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a0f06f168fd951d5b50b892786f041b58e9554ae Author: Rob Herring <r...@kernel.org> Date: Tue May 3 21:02:43 2016 -0500 DRI: Add DRIimage map and unmap functions Add mapImage and unmapImage functions to DRIimage extension for mapping and unmapping DRIimages for CPU access. The caller provides the region of the image to map and is returned a pointer to the beginning of the region and the stride (which could be different from the original). Signed-off-by: Rob Herring <r...@kernel.org> Reviewed-by: Emil Velikov <emil.l.veli...@gmail.com> Reviewed-by: Eric Anholt <e...@anholt.net> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bdfa635f726d77457db9ab6298c7910138befbcd Author: Rob Herring <r...@kernel.org> Date: Tue May 3 21:02:42 2016 -0500 gbm: Add Android build support In order to use libgbm for gralloc, add it to the Android build. Signed-off-by: Rob Herring <r...@kernel.org> Reviewed-by: Emil Velikov <emil.l.veli...@gmail.com> Reviewed-by: Eric Anholt <e...@anholt.net> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=64a005e3eef2e12b11b2837dc7253020bb5c0e60 Author: Rob Herring <r...@kernel.org> Date: Tue May 3 21:02:41 2016 -0500 gbm: add Android gallium_dri.so library loading support GBM needs the same special gallium_dri.so loading as EGL for Android, so copy over the same hunk from the EGL code. Signed-off-by: Rob Herring <r...@kernel.org> Reviewed-by: Emil Velikov <emil.l.veli...@gmail.com> Reviewed-by: Eric Anholt <e...@anholt.net> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7d79eec4561b992ab2e007a67ffd1c34beb60f5d Author: Rob Herring <r...@kernel.org> Date: Tue May 3 21:02:40 2016 -0500 gbm: split out source file to Makefile.sources In preparation to add Android build support, split out the source file lists to Makefile.sources Signed-off-by: Rob Herring <r...@kernel.org> Reviewed-by: Eric Anholt <e...@anholt.net> [Emil Velikov: Whitespace cleanup.] Signed-off-by: Emil Velikov <emil.l.veli...@gmail.com> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=fc1806e041b4ce93ab9b5710164bf96d725437ba Author: Rob Herring <r...@kernel.org> Date: Tue May 3 21:02:39 2016 -0500 Android: Move setting DEFAULT_DRIVER_DIR to shared location Move the defining of DEFAULT_DRIVER_DIR path to a common location so both EGL and GBM can use it. Signed-off-by: Rob Herring <r...@kernel.org> Reviewed-by: Emil Velikov <emil.l.veli...@gmail.com> Reviewed-by: Eric Anholt <e...@anholt.net> URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6ce11e7e2c6be033e0d712fc39359de7b955c2bf Author: Emil Velikov <emil.veli...@collabora.com> Date: Sun Apr 24 16:14:04 2016 +0100 c11/threads: create mutexattrs only when needed If the mutexattrs are the default one can just pass NULL to pthread_mutex_init. As the compiler does not know this detail it unnecessarily creates/destroys the attrs. Signed-off-by: Emil Velikov <emil.veli...@collabora.com> _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit