[Mesa-dev] [PATCH 5/5] gallium/targets: Move api init into st code

2015-05-14 Thread Alexander von Gluck IV
We also reduce the amount of need-to-know information about st_api to require one less extern "C" in st_manager.h --- .../targets/haiku-softpipe/GalliumContext.cpp | 23 +++ .../targets/haiku-softpipe/GalliumContext.h|5 +--- 2 files changed, 10 insertions(+), 18

[Mesa-dev] [PATCH 3/5] gallium/winsys: Add needed extern "C" to hgl winsys

2015-05-14 Thread Alexander von Gluck IV
--- src/gallium/winsys/sw/hgl/hgl_sw_winsys.h |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/gallium/winsys/sw/hgl/hgl_sw_winsys.h b/src/gallium/winsys/sw/hgl/hgl_sw_winsys.h index bdcddfb..a81f890 100644 --- a/src/gallium/winsys/sw/hgl/hgl_sw_winsys.h +++ b/sr

[Mesa-dev] [PATCH 4/5] gallium/st: Move st_api creation to st and extern "C" it

2015-05-14 Thread Alexander von Gluck IV
..1e804c0 100644 --- a/src/gallium/state_trackers/hgl/hgl.c +++ b/src/gallium/state_trackers/hgl/hgl.c @@ -7,8 +7,7 @@ * Alexander von Gluck IV, kallis...@unixzen.com */ - -#include "GLView.h" +#include "hgl_context.h" #include @@ -17,8 +16,9 @@ #include "u

[Mesa-dev] [PATCH 2/5] gallium/drivers: Add extern "C" wrappers to public entry

2015-05-14 Thread Alexander von Gluck IV
--- src/gallium/drivers/llvmpipe/lp_public.h |8 src/gallium/drivers/rbug/rbug_public.h |8 src/gallium/drivers/softpipe/sp_public.h |8 3 files changed, 24 insertions(+), 0 deletions(-) diff --git a/src/gallium/drivers/llvmpipe/lp_public.h b/src/gallium/

Re: [Mesa-dev] [PATCH 5/5] gallium/targets: Move api init into st code

2015-05-14 Thread Alexander von Gluck IV
ndo it) Thanks! -- Alex On , Brian Paul wrote: In the past, you used the prefix "target/haiku-softpipe:" on changes to this code. I'd suggest using that again here. With these changes, Reviewed-by: Brian Paul On 05/14/2015 04:39 PM, Alexander von Gluck IV wrote: We also red

Re: [Mesa-dev] [PATCH 5/5] gallium/targets: Move api init into st code

2015-05-15 Thread Alexander von Gluck IV
can-do. I actually think I spotted one more extern "C" reduction I can do. Thanks! -- Alex On , Brian Paul wrote: Let's play it safe. Update your patch series and re-post it to the list for a final review, please. -Brian On 05/14/2015 06:01 PM, Alexander von Gluck I

[Mesa-dev] [PATCH 4/5] st/hgl: Move st_api creation to st and extern "C" it

2015-05-15 Thread Alexander von Gluck IV
..1e804c0 100644 --- a/src/gallium/state_trackers/hgl/hgl.c +++ b/src/gallium/state_trackers/hgl/hgl.c @@ -7,8 +7,7 @@ * Alexander von Gluck IV, kallis...@unixzen.com */ - -#include "GLView.h" +#include "hgl_context.h" #include @@ -17,8 +16,9 @@ #include "u

[Mesa-dev] [PATCH 3/5] winsys/hgl: Add needed extern "C" to hgl winsys

2015-05-15 Thread Alexander von Gluck IV
--- src/gallium/winsys/sw/hgl/hgl_sw_winsys.h |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/gallium/winsys/sw/hgl/hgl_sw_winsys.h b/src/gallium/winsys/sw/hgl/hgl_sw_winsys.h index bdcddfb..a81f890 100644 --- a/src/gallium/winsys/sw/hgl/hgl_sw_winsys.h +++ b/sr

[Mesa-dev] [PATCH 2/5] gallium/drivers: Add extern "C" wrappers to public entry

2015-05-15 Thread Alexander von Gluck IV
--- src/gallium/drivers/llvmpipe/lp_public.h |8 src/gallium/drivers/rbug/rbug_public.h |8 src/gallium/drivers/softpipe/sp_public.h |8 3 files changed, 24 insertions(+), 0 deletions(-) diff --git a/src/gallium/drivers/llvmpipe/lp_public.h b/src/gallium/

[Mesa-dev] [PATCH 5/5] target/haiku-softpipe: Move api init into st code

2015-05-15 Thread Alexander von Gluck IV
We also reduce the amount of need-to-know information about st_api to require one less extern "C" in st_manager.h --- .../targets/haiku-softpipe/GalliumContext.cpp | 23 +++ .../targets/haiku-softpipe/GalliumContext.h|6 + 2 files changed, 10 insertions(+), 1

[Mesa-dev] [PATCH 1/5] gallium/aux: Add needed extern "C" wrappers

2015-05-15 Thread Alexander von Gluck IV
--- src/gallium/auxiliary/postprocess/postprocess.h |9 + src/gallium/auxiliary/util/u_tests.h|8 2 files changed, 17 insertions(+), 0 deletions(-) diff --git a/src/gallium/auxiliary/postprocess/postprocess.h b/src/gallium/auxiliary/postprocess/postprocess.h

[Mesa-dev] Drop Haiku swrast code?

2015-05-16 Thread Alexander von Gluck IV
Good morning, I'm pondering dropping the Haiku software rasterization code. (src/mesa/drivers/haiku/swrast/) The Haiku extern "C" gallium changes are complete and llvmpipe is once again compiling + working. The Mesa based swrast code however doesn't have a C state_tracker to hide C++ code behi

[Mesa-dev] [PATCH] mesa/driver/haiku: Drop Mesa swrast renderer

2015-05-17 Thread Alexander von Gluck IV
This just created extra upkeep and the push to move extern C's into mesa code would mean a large number of extern's in core Mesa driver interfaces. The Haiku Gallium renderers are mostly insulated via the C-based Haiku state tracker. As any future hardware support in Haiku will be gallium based, l

Re: [Mesa-dev] [PATCH] mesa/driver/haiku: Drop Mesa swrast renderer

2015-05-18 Thread Alexander von Gluck IV
On , Emil Velikov wrote: Hi Alexander, On 17 May 2015 at 13:49, Alexander von Gluck IV wrote: This just created extra upkeep and the push to move extern C's into mesa code would mean a large number of extern's in core Mesa driver interfaces. The Haiku Gallium renderers are mostly

Re: [Mesa-dev] [PATCH 10/19] auxiliary/os: introduce os_get_total_physical_memory helper function

2014-08-18 Thread Alexander von Gluck IV
On , Emil Velikov wrote: Cc: Alexander von Gluck IV Signed-off-by: Emil Velikov --- src/gallium/auxiliary/os/os_misc.c | 64 ++ src/gallium/auxiliary/os/os_misc.h | 7 + 2 files changed, 71 insertions(+) The Haiku portion of this patch looks good

[Mesa-dev] [PATCH 3/3] gallium/target: Add needed mesautil lib to haiku-softpipe

2014-08-19 Thread Alexander von Gluck IV
--- src/gallium/targets/haiku-softpipe/SConscript |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/gallium/targets/haiku-softpipe/SConscript b/src/gallium/targets/haiku-softpipe/SConscript index 0381d05..c730fde 100644 --- a/src/gallium/targets/haiku-softpipe/SConscrip

[Mesa-dev] [PATCH 1/3] haiku/swrast: Add missing src include search path for missing util/macros.h

2014-08-19 Thread Alexander von Gluck IV
--- src/mesa/drivers/haiku/swrast/SConscript |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/mesa/drivers/haiku/swrast/SConscript b/src/mesa/drivers/haiku/swrast/SConscript index aef7300..2c25f72 100644 --- a/src/mesa/drivers/haiku/swrast/SConscript +++ b/src/mesa/dri

[Mesa-dev] [PATCH 2/3] gallium/aux: Fill in Haiku get process name code

2014-08-19 Thread Alexander von Gluck IV
--- src/gallium/auxiliary/os/os_process.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/gallium/auxiliary/os/os_process.c b/src/gallium/auxiliary/os/os_process.c index 3e060b9..a626228 100644 --- a/src/gallium/auxiliary/os/os_process.c +++ b/src/gallium/auxili

[Mesa-dev] [PATCH 2/2] gallium/targets: Haiku, Fix some improper type warnings

2014-08-21 Thread Alexander von Gluck IV
--- .../targets/haiku-softpipe/GalliumFramebuffer.cpp |2 +- .../targets/haiku-softpipe/SoftwareRenderer.cpp|2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/targets/haiku-softpipe/GalliumFramebuffer.cpp b/src/gallium/targets/haiku-softpipe/GalliumFram

[Mesa-dev] [PATCH 1/2] gallium/targets: Clean up Haiku softpipe renderer visual

2014-08-21 Thread Alexander von Gluck IV
* Drop creating gl_config first as it's only really used to create the state tracker visual. --- .../targets/haiku-softpipe/GalliumContext.cpp | 196 ++-- .../targets/haiku-softpipe/GalliumContext.h|2 + 2 files changed, 96 insertions(+), 102 deletions(-) diff

Re: [Mesa-dev] [PATCH 1/2] gallium/targets: Clean up Haiku softpipe renderer visual

2014-08-21 Thread Alexander von Gluck IV
On , Alexander von Gluck IV wrote: * Drop creating gl_config first as it's only really used to create the state tracker visual. --- .../targets/haiku-softpipe/GalliumContext.cpp | 196 ++-- .../targets/haiku-softpipe/GalliumContext.h|2 + 2 files ch

[Mesa-dev] Haiku GLTeapot, an example of llvmpipe rendering calls

2014-08-24 Thread Alexander von Gluck IV
I have a feeling the Haiku gallium softpipe driver is doing a lot of extra work resulting in some performance hits. In this example, I have tracing enabled and am running the simple "GLTeapot" Be demo. http://unixzen.com/patchwork/glteapot-log.txt The terminology should be easy to follow. An

[Mesa-dev] [PATCH] glsl: Correct string.h to strings.h

2014-08-27 Thread Alexander von Gluck IV
* IEEE Std 1003.1-2001 placed strcasecmp() in strings.h. * On a lot of platforms, strcasecmp is in strings.h and string.h * Technically strcasecmp should be only in strings.h * Haiku decided to stop providing strcasecmp in string.h as it is a crutch to code looking in the wrong place. --- src/gl

Re: [Mesa-dev] [PATCH] glsl: Correct string.h to strings.h

2014-08-27 Thread Alexander von Gluck IV
On , Kenneth Graunke wrote: On Wednesday, August 27, 2014 11:35:06 AM Alexander von Gluck IV wrote: * IEEE Std 1003.1-2001 placed strcasecmp() in strings.h. * On a lot of platforms, strcasecmp is in strings.h and string.h * Technically strcasecmp should be only in strings.h * Haiku decided to

[Mesa-dev] [PATCH] glsl: Add strings.h on non-MSC platforms

2014-08-27 Thread Alexander von Gluck IV
* IEEE Std 1003.1-2001 placed strcasecmp() in strings.h. * ISO C99 doesn't mention strcase* in string.h * On all platforms I could find, strcasecmp is in strings.h and string.h as a compatibility layer for software written pre-2001 POSIX * Technically strcasecmp should be only in strings.h and th

[Mesa-dev] [PATCH 1/2] gallium/targets: Haiku softpipe, perform better framebuffer validation

2014-08-27 Thread Alexander von Gluck IV
* Check for back left attachment as well * Set and act on pipe format none --- .../targets/haiku-softpipe/GalliumFramebuffer.cpp | 20 +--- 1 files changed, 13 insertions(+), 7 deletions(-) diff --git a/src/gallium/targets/haiku-softpipe/GalliumFramebuffer.cpp b/src/gallium/ta

[Mesa-dev] [PATCH 2/2] gallium/targets: Break haiku state_tracker out to own directory

2014-08-27 Thread Alexander von Gluck IV
p new file mode 100644 index 000..ef81edc --- /dev/null +++ b/src/gallium/state_trackers/hgl/bitmap_wrapper.cpp @@ -0,0 +1,146 @@ +/********** + * + * Copyright 2009 Artur Wyszynski + * Copyright 2013 Alexander von Gluck IV + * + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this so

Re: [Mesa-dev] [PATCH 3/4] targets/haiku-softpipe: explicitly prefix sw/hgl header

2014-08-28 Thread Alexander von Gluck IV
On , Emil Velikov wrote: Cc: Alexander von Gluck IV Signed-off-by: Emil Velikov --- src/gallium/targets/haiku-softpipe/GalliumContext.cpp | 2 +- src/gallium/targets/haiku-softpipe/SConscript | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/targets

Re: [Mesa-dev] [PATCH 2/2] gallium/targets: Break haiku state_tracker out to own directory

2014-08-28 Thread Alexander von Gluck IV
On , Emil Velikov wrote: On 28/08/14 01:31, Alexander von Gluck IV wrote: Hi Alex, Does that mean that we'll get non-softpipe hgl drivers soon :P Maybe! I'm mostly cleaning all of this up in preperation for work on a haiku-intel target on my github. Not sure if it will go anywh

[Mesa-dev] [PATCH 2/2] st/hgl: Move st_visual create/destroy into hgl state_tracker

2014-08-29 Thread Alexander von Gluck IV
--- src/gallium/state_trackers/hgl/hgl.c | 103 +++- src/gallium/state_trackers/hgl/hgl_context.h |4 + .../targets/haiku-softpipe/GalliumContext.cpp | 102 +-- .../targets/haiku-softpipe/GalliumContext.h|2 - 4 files chang

[Mesa-dev] [PATCH 1/2] st/hgl: Move st_manager create/destroy into hgl state_tracker

2014-08-29 Thread Alexander von Gluck IV
--- src/gallium/state_trackers/hgl/hgl.c | 50 +++- src/gallium/state_trackers/hgl/hgl_context.h |5 ++ .../targets/haiku-softpipe/GalliumContext.cpp | 32 ++--- 3 files changed, 58 insertions(+), 29 deletions(-) diff --git a/src/gallium/st

[Mesa-dev] [PATCH 1/2] egl/haiku: Correct invalid void* conversion in calloc

2017-11-12 Thread Alexander von Gluck IV
--- src/egl/drivers/haiku/egl_haiku.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/egl/drivers/haiku/egl_haiku.cpp b/src/egl/drivers/haiku/egl_haiku.cpp index 237cebf056..287760661e 100644 --- a/src/egl/drivers/haiku/egl_haiku.cpp +++ b/src/egl/drivers/haiku/egl_hai

[Mesa-dev] [PATCH 2/2] c11/haiku: Define missing timespec_get on Haiku

2017-11-12 Thread Alexander von Gluck IV
--- include/c11/threads_posix.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/c11/threads_posix.h b/include/c11/threads_posix.h index 7bf6a0f6ef..2d7ac1326d 100644 --- a/include/c11/threads_posix.h +++ b/include/c11/threads_posix.h @@ -382,7 +382,7 @@ tss_set(tss_t ke

[Mesa-dev] [PATCH 1/2] egl/egldevice: Fix broken reference to dev->device without LIBDRM

2018-12-27 Thread Alexander von Gluck IV
--- src/egl/main/egldevice.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/egl/main/egldevice.c b/src/egl/main/egldevice.c index 4878039be0..96042f4c5c 100644 --- a/src/egl/main/egldevice.c +++ b/src/egl/main/egldevice.c @@ -211,7 +211,11 @@ _eglDeviceSupports(_EGLDe

[Mesa-dev] [PATCH 2/2] egl/drivers/haiku: Fix reference to disp vs dpy

2018-12-27 Thread Alexander von Gluck IV
--- src/egl/drivers/haiku/egl_haiku.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/egl/drivers/haiku/egl_haiku.cpp b/src/egl/drivers/haiku/egl_haiku.cpp index a9c5cf8d29..d4b046c79b 100644 --- a/src/egl/drivers/haiku/egl_haiku.cpp +++ b/src/egl/drivers/haiku/egl_hai

[Mesa-dev] [PATCH 3/3] meson: Only GLX_USE_TLS when glx is in use

2018-02-19 Thread Alexander von Gluck IV
--- meson.build | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 6fc7ec7fc9..54572a5bb8 100644 --- a/meson.build +++ b/meson.build @@ -331,7 +331,6 @@ if with_egl and not (with_platform_drm or with_platform_surfaceless) endif endif -pre

[Mesa-dev] [PATCH 2/3] haiku-softpipe: Build fix, drop un-needed flip

2018-02-19 Thread Alexander von Gluck IV
--- .../targets/haiku-softpipe/GalliumContext.cpp | 25 -- 1 file changed, 25 deletions(-) diff --git a/src/gallium/targets/haiku-softpipe/GalliumContext.cpp b/src/gallium/targets/haiku-softpipe/GalliumContext.cpp index 0356f65417..3922fa61b2 100644 --- a/src/gallium/tar

[Mesa-dev] [PATCH 1/3] hgl: Correct glheader.h context inline with glx

2018-02-19 Thread Alexander von Gluck IV
--- src/hgl/GLDispatcher.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hgl/GLDispatcher.h b/src/hgl/GLDispatcher.h index 8aaf58a623..7a4bcd3329 100644 --- a/src/hgl/GLDispatcher.h +++ b/src/hgl/GLDispatcher.h @@ -15,7 +15,7 @@ #include #include -#include "glheader

Re: [Mesa-dev] [PATCH 3/3] meson: Only GLX_USE_TLS when glx is in use

2018-02-19 Thread Alexander von Gluck IV
February 19, 2018 12:25 PM, "Alexander von Gluck IV" wrote: > --- > meson.build | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/meson.build b/meson.build > index 6fc7ec7fc9..54572a5bb8 100644 > --- a/meson.build > +++ b/meson.build

Re: [Mesa-dev] [PATCH 3/3] meson: Only GLX_USE_TLS when glx is in use

2018-02-19 Thread Alexander von Gluck IV
February 19, 2018 3:00 PM, "Emil Velikov" wrote: > On 19 February 2018 at 18:40, Alexander von Gluck IV >> Thanks to Dylan for figuring this one out. >> >> This was discussed previously on the ML >> " >> This can be applied to all GLX implementati

[Mesa-dev] [PATCH] meson: Add Haiku platform support

2018-02-15 Thread Alexander von Gluck IV
--- include/meson.build| 8 + meson.build| 18 +++--- src/egl/meson.build| 33 + src/gallium/meson.build| 9 + src/gallium/state_trackers/hgl/meson.buil

[Mesa-dev] [PATCH] meson: Add Haiku platform support v2

2018-02-15 Thread Alexander von Gluck IV
--- include/meson.build| 8 + meson.build| 18 +++--- src/egl/meson.build| 35 +- src/gallium/meson.build| 9 + src/gallium/state_trackers/hgl/meson.bui

Re: [Mesa-dev] [PATCH] meson: Add Haiku platform support v2

2018-02-15 Thread Alexander von Gluck IV
February 15, 2018 3:22 PM, "Alexander von Gluck IV" wrote: > --- > include/meson.build | 8 + > meson.build | 18 +++--- > src/egl/meson.build | 35 +- > src/gallium/meson.build | 9 + > src/gallium/state_trackers/hgl/meson.build | 41 +++

Re: [Mesa-dev] [PATCH] meson: Add Haiku platform support

2018-02-15 Thread Alexander von Gluck IV
February 15, 2018 5:37 PM, "Dylan Baker" wrote: > Quoting Alexander von Gluck IV (2018-02-15 13:12:40) > >> --- >> include/meson.build | 8 + >> meson.build | 18 +++--- >> src/egl/meson.build | 33 + >> src/gallium/meson.bui

[Mesa-dev] [PATCH] meson: Add Haiku platform support v3

2018-02-15 Thread Alexander von Gluck IV
--- include/meson.build| 8 + meson.build| 18 +++ src/egl/meson.build| 34 - src/gallium/meson.build| 9 ++ src/gallium/state_trackers/hgl/meso

Re: [Mesa-dev] [PATCH] meson: Add Haiku platform support

2018-02-15 Thread Alexander von Gluck IV
February 15, 2018 6:36 PM, "Dylan Baker" wrote: > Quoting Alexander von Gluck IV (2018-02-15 16:04:37) > >> I'm actually not 100% sure here. I have missing symbols at link without both >> included. More investigation needed on my part. > > That may be my

Re: [Mesa-dev] [PATCH] meson: Add Haiku platform support v3

2018-02-16 Thread Alexander von Gluck IV
andwidth. > There's a couple of comments inline, but nothing major. > > On 16 February 2018 at 00:32, Alexander von Gluck IV > wrote: > >> --- a/meson.build >> +++ b/meson.build >> >> gl_priv_libs = [] >> -if dep_thread.found() >> +i

[Mesa-dev] [PATCH] meson: Add Haiku platform support v4

2018-02-16 Thread Alexander von Gluck IV
--- include/meson.build| 8 + meson.build| 16 +++--- src/egl/meson.build| 36 +++--- src/gallium/meson.build| 9 ++ src/gallium/state_trackers/hgl/meso

[Mesa-dev] [PATCH] gallium/auxiliary: Extern "c" fixes.

2018-07-27 Thread Alexander von Gluck IV
Used by C++ code such as Haiku's renderer. --- src/gallium/auxiliary/driver_ddebug/dd_public.h | 8 src/gallium/auxiliary/driver_noop/noop_public.h | 8 .../auxiliary/target-helpers/inline_debug_helper.h | 9 - 3 files changed, 24 insertions(+), 1

Re: Moving code around, post classic

2021-12-07 Thread Alexander von Gluck IV
December 6, 2021 5:51 PM, "Dylan Baker" wrote: > 4. What to do about the src/loader, src/glx, src/egl, src/mapi, > src/glapi > > These are all part of OpenGL, but not really part of gallium, but if > we don't move src/gallium/* to src/ does it make sense to leave them > in the root? > You can

Re: [Mesa-dev] [PATCH 1/2] haiku/hgl: Fix build via header reordering

2020-01-08 Thread Alexander von Gluck IV
Oh.. lol. I just realized mesa is doing PR's now in gitlab and i'm being old-fashion. January 8, 2020 7:04 PM, "Alexander von Gluck IV" wrote: > --- > src/gallium/state_trackers/hgl/hgl_context.h | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-)

[Mesa-dev] [PATCH 1/2] haiku/hgl: Fix build via header reordering

2020-01-08 Thread Alexander von Gluck IV
--- src/gallium/state_trackers/hgl/hgl_context.h | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/gallium/state_trackers/hgl/hgl_context.h b/src/gallium/state_trackers/hgl/hgl_context.h index c5995f1cd2b..e2ebfbad4bc 100644 --- a/src/gallium/state_trackers/hgl/hgl_con

[Mesa-dev] [PATCH 2/2] util/u_thread: Fix build under Haiku

2020-01-08 Thread Alexander von Gluck IV
From: X512 --- src/util/u_thread.h | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/util/u_thread.h b/src/util/u_thread.h index 6fc89099fec..5bb06608fc9 100644 --- a/src/util/u_thread.h +++ b/src/util/u_thread.h @@ -40,6 +40,10 @@ #endif #endif +#ifdef __HAIKU__

Re: [Mesa-dev] Rust drivers in Mesa

2020-10-15 Thread Alexander von Gluck IV
October 1, 2020 8:36 PM, "Alyssa Rosenzweig" wrote: > Hi all, > > Recently I've been thinking about the potential for the Rust programming > language in Mesa. Rust bills itself a safe system programming language > with comparable performance to C [0], which is a naturally fit for > graphics driv

[Mesa-dev] [PATCH] haiku: Fix hgl dispatch build. Tested under meson/scons.

2019-03-30 Thread Alexander von Gluck IV
--- src/hgl/GLDispatcher.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hgl/GLDispatcher.h b/src/hgl/GLDispatcher.h index 8aaf58a6237..7a4bcd33299 100644 --- a/src/hgl/GLDispatcher.h +++ b/src/hgl/GLDispatcher.h @@ -15,7 +15,7 @@ #include #include -#include "glhead

Re: [Mesa-dev] [PATCH 1/3] build: Require X11 pkg-config files

2012-12-12 Thread Alexander von Gluck IV
On Tue, 14 Aug 2012 12:59:42 -0700 Matt Turner wrote: > Cc: Jeremy Huddleston > --- > Jeremy, does OS X ship the pkg-config files? Haiku doesn't... Mesa should have a path to properly handle a system not having X11 installed. ( Mesa *is* the only open source GL project in town... lets keep a le

[Mesa-dev] [PATCH] scons: Ensure platform map is consistent

2012-02-06 Thread Alexander von Gluck IV
* This matches 5481b5a and makes sure the platform translation maps match --- scons/gallium.py |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/scons/gallium.py b/scons/gallium.py index eed89cf..443e801 100755 --- a/scons/gallium.py +++ b/scons/gallium.py @@ -165,8 +16

[Mesa-dev] [PATCH] scons: Ensure platform map is consistent

2012-02-06 Thread Alexander von Gluck IV
* This matches 5481b5a and makes sure the platform translation maps match --- scons/gallium.py |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/scons/gallium.py b/scons/gallium.py index eed89cf..443e801 100755 --- a/scons/gallium.py +++ b/scons/gallium.py @@ -165,8 +16

[Mesa-dev] [PATCH] scons: Fix Haiku binary compatibility

2012-06-07 Thread Alexander von Gluck IV
* Our binary compatibility is targeted to Pentimum or higher, these changes ensure we keep proper optimizations * Fixes strange if statement '! windows or debug or True' --- scons/gallium.py |9 - 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/scons/gallium.py b/sco

[Mesa-dev] [PATCH] scons: Fix Haiku binary compatibility

2012-06-07 Thread Alexander von Gluck IV
>From 44fa55d3f49884c824306504943ca2a1382601f0 Mon Sep 17 00:00:00 2001 * Our binary compatibility is targeted to Pentimum or higher, these changes ensure we keep proper optimizations * Fixes strange if statement '! windows or debug or True' --- scons/gallium.py |9 - 1 files chan

[Mesa-dev] Odd error while compiling Haiku softpipe wrapper code

2012-11-24 Thread Alexander von Gluck IV
I'm working on some wrapper code for Haiku softpipe driver, and I stumbled across the following strange build error when including sp_context.h: (Mesa 9.0) In file included from ../../../../generated/build_packages/mesa-9.0-x86-gcc4-2012-11-17/src/gallium/drivers/softpipe/sp_context.h:36:0,

Re: [Mesa-dev] Odd error while compiling Haiku softpipe wrapper code

2012-11-26 Thread Alexander von Gluck IV
On 2012-11-24 5:38 pm, Alexander von Gluck IV wrote: I'm working on some wrapper code for Haiku softpipe driver, and I stumbled across the following strange build error when including sp_context.h: (Mesa 9.0) In file included from ../../../../generated/build_packages/mesa-9.0-x86-gcc4-20

<    1   2