[Mesa-dev] [PATCH 2/2] Revert "meson: drop GLESv1 .so version back to 1.0.0"

2019-02-25 Thread Ross Burton
This patch claimed that the autotools build generates libGLESv1_CM.so.1.0.0, but it doesn't: es1api_libGLESv1_CM_la_LDFLAGS = \ -no-undefined \ -version-number 1:1 \ $(GC_SECTIONS) \ $(LD_NO_UNDEFINED) Revert commit cc15460e182148292be877bec5a8a61cec57377d to ensur

[Mesa-dev] [PATCH 1/2] winsys/svga/drm: Include sys/types.h

2019-02-25 Thread Ross Burton
From: Khem Raj vmw_screen.h uses dev_t which is defines in sys/types.h this header is required to be included for getting dev_t definition. This issue happens on musl C library, it is hidden on glibc since sys/types.h is included through another system headers --- src/gallium/winsys/svga/drm/vmw

[Mesa-dev] [PATCH] src/egl/Makefile: fix build race

2018-06-28 Thread Ross Burton
There is a parallel make build issue in src/egl/drivers/dri2/ for wayland builds. Can be reproduced with: $ rm src/egl/drivers/dri2/*.h src/egl/drivers/dri2/platform_wayland.lo $ make -C src/egl/ drivers/dri2/platform_wayland.lo ../../../mesa-18.1.2/src/egl/drivers/dri2/platform_wayland.c:50:10: f

[Mesa-dev] winsys/svga/drm: Include sys/types.h

2018-06-12 Thread Ross Burton
From: Khem Raj vmw_screen.h uses dev_t which is defines in sys/types.h this header is required to be included for getting dev_t definition. This issue happens on musl C library, it is hidden on glibc since sys/types.h is included through another system headers Upstream-Status: Submitted Signed-o

[Mesa-dev] [PATCH] drivers/dri/i965: add missing #include

2018-06-12 Thread Ross Burton
brw_bufmgr.h uses time_t without include time.h, so the build fails under musl. --- src/mesa/drivers/dri/i965/brw_bufmgr.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mesa/drivers/dri/i965/brw_bufmgr.h b/src/mesa/drivers/dri/i965/brw_bufmgr.h index 68f5e0c2c8..5c2702652b 100644 ---

[Mesa-dev] [PATCH] src/intel/Makefile.vulkan.am: add missing MKDIR_GEN

2018-05-09 Thread Ross Burton
Out of tree builds can try to write into a directory that doesn't exist yet: | Traceback (most recent call last): | File "../../../mesa-18.0.2/src/intel/vulkan/anv_icd.py", line 46, in | with open(args.out, 'w') as f: | IOError: [Errno 2] No such file or directory: 'vulkan/intel_icd.x86_64

[Mesa-dev] [PATCH] src/intel/Makefile.vulkan.am: create target directories when required

2017-07-12 Thread Ross Burton
In out-of-tree builds src/intel/vulkan won't exist, so always create it before writing into it. Signed-off-by: Ross Burton --- src/intel/Makefile.vulkan.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/intel/Makefile.vulkan.am b/src/intel/Makefile.vulkan.am index 3857a

[Mesa-dev] [PATCH][mesa-demos] configure.ac: fix AC_WITH(glut) so that --without-glut works

2015-11-11 Thread Ross Burton
Currently if --without-glut is used on a system that has the GLUT libraries installed, GLUT is used regardless. Change the logic so that GLUT is searched for if and only if GLUT is requested. Signed-off-by: Ross Burton --- configure.ac | 26 +++--- 1 file changed, 15

[Mesa-dev] [PATCH][V3] build: fix out-of-tree builds in gallium/auxiliary

2013-08-06 Thread Ross Burton
The rules were writing files to e.g. util/u_indices_gen.py, but in an out-of-tree build this directory doesn't exist in the build directory. So, create the directories just in case. NOTE: This is a candidate for the stable branches. Cc: mesa-sta...@lists.freedesktop.org Signed-off-by:

[Mesa-dev] [PATCH][V2] build: fix out-of-tree builds in gallium/auxiliary

2013-08-06 Thread Ross Burton
The rules were writing files to e.g. util/u_indices_gen.py, but in an out-of-tree build this directory doesn't exist in the build directory. So, create the directories just in case. NOTE: This is a candidate for the stable branches. Cc: mesa-sta...@lists.freedesktop.org Signed-off-by:

[Mesa-dev] [PATCH] build: fix out-of-tree builds in gallium/auxiliary

2013-08-06 Thread Ross Burton
The rules were writing files to e.g. util/u_indices_gen.py, but in an out-of-tree build this directory doesn't exist in the build directory. So, create the directories just in case. NOTE: This is a candidate for the stable branches. Cc: mesa-sta...@lists.freedesktop.org Signed-off-by:

[Mesa-dev] [PATCH][V2] build: fix out-of-tree builds in gallium/auxiliary

2013-06-28 Thread Ross Burton
The rules were writing files to e.g. util/u_indices_gen.py, but in an out-of-tree build this directory doesn't exist in the build directory. So, create the directories just in case. Note: This patch is a candidate for the 9.0 and 9.1 branches. Signed-off-by: Ross Burton --- src/ga

[Mesa-dev] [PATCH] build: fix out-of-tree builds in gallium/auxiliary

2013-06-28 Thread Ross Burton
The rules were writing files to e.g. util/u_indices_gen.py, but in an out-of-tree build this directory doesn't exist in the build directory. So, create the directories just in case. Note: This patch is a candidate for the 9.0 and 9.1 branches. Signed-off-by: Ross Burton --- src/ga

[Mesa-dev] [PATCH 2/2] eglplatform: use unsigned long instead of 32-bit ints in generic platform

2013-06-27 Thread Ross Burton
In the generic Unix case use the "unsigned long" type instead of 32-bit integers so that the type sizes are consistant on 64-bit machines between X11 and not-X11. Signed-off-by: Ross Burton --- include/EGL/eglplatform.h |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) di

[Mesa-dev] [PATCH 1/2] build: fix EGL build when no X11 headers are present

2013-06-27 Thread Ross Burton
pull in X11 headers on systems where EGL was configured without X11 support. Signed-off-by: Ross Burton https://bugs.freedesktop.org/show_bug.cgi?id=64959 --- configure.ac |7 +++ 1 file changed, 7 insertions(+) diff --git a/configure.ac b/configure.ac index 6832b0d..3a0cd77 10064

[Mesa-dev] [PATCH 2/2] glsl: Fix builtin_compiler build by -I $(top_srcdir)/include.

2012-12-14 Thread Ross Burton
From: Johannes Obermayr Reviewed-by: Kenneth Graunke Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=56664 --- src/glsl/builtin_compiler/Makefile.am |1 + 1 file changed, 1 insertion(+) diff --git a/src/glsl/builtin_compiler/Makefile.am b/src/glsl/builtin_compiler/Makefile.am index

[Mesa-dev] [PATCH 1/2] build: Don't cross-compile GLSL builtin compiler

2012-12-14 Thread Ross Burton
From: Thierry Reding The builtin_compiler binary is used during the build process to generate code for the builtin GLSL functions. Since this binary needs to be run on the build host, it must not be cross-compiled. This patch fixes the build system to compile a second version of the source files

[Mesa-dev] [PATCH] Backport cross-compilation fixes to 9.0

2012-12-14 Thread Ross Burton
The cross-compilation fixes to the GLSL builtin compiler in master are incredibly useful for those of us who cross-compile, and cherry-pick with minimal conflicts (one chunk in configure.ac) to the 9.0 branch. Ross ___ mesa-dev mailing list mesa-dev@lis

Re: [Mesa-dev] [PATCH] build: fix --without-glut

2012-11-21 Thread Ross Burton
On Tuesday, 20 November 2012 at 21:48, Brian Paul wrote: > Personally, I trust Kilgard's GLUT more freeglut. > > Some versions of freeglut (hopefully fixed by now but I don't know) > spend an inordinate amount of time in a "InitSpaceBall()" function, > with a significant FPS hit. > > Another prob

[Mesa-dev] [PATCH V2] build: fix --without-glut

2012-11-20 Thread Ross Burton
The argument --without-glut is transformed to --with-glut=no, which the logic wasn't handling at all so --without-glut didn't work. Rewrite the logic to handle the case where the value passed to --with-glut is "no". Signed-off-by: Ross Burton ---

[Mesa-dev] [PATCH] build: fix --without-glut

2012-11-13 Thread Ross Burton
The argument --without-glut is transformed to --with-glut=no, which the logic wasn't handling at all so --without-glut didn't work. Rewrite the logic to handle the case where the value passed to --with-glut is "no". Signed-off-by: Ross Burton ---

[Mesa-dev] [PATCH] build: fix --without-glut

2012-11-13 Thread Ross Burton
Hi, A patch to mesa-demos configure.ac to make --without-glut actually work. I'm not an expert on autoconf when it doesn't involve PKG_CONFIG so a review of the logic would be much appreciated. Ross ___ mesa-dev mailing list mesa-dev@lists.freedesktop