0-2012 Haiku, Inc. All Rights Reserved.
+ * Distributed under the terms of the MIT License.
+ *
+ * Authors:
+ * Brian Paul
+ * Philippe Houdoin
+ * Alexander von Gluck IV
+ */
+
+
+extern "C" {
+#include "glapi/glapi.h"
+#include "glapi
On Sun, 2013-10-13 at 12:36 -0700, Ian Romanick wrote:
> On 10/13/2013 10:52 AM, Alexander von Gluck IV wrote:
> > * As discussed on the mailing list,
> > forced no-rtti breaks C++ public
> > API's such as the Haiku C++ libGL.so
> > * -fno-rtti *can* be st
ber 2013, 16:57:20 schrieb Francisco Jerez:
> >> > > Alexander von Gluck IV writes:
> >> > >
> >> > > > * As discussed on the mailing list,
> >> > > > forced no-rtti breaks C++ public
> >> > > > API's
On Wed, 2013-10-16 at 22:09 +0200, Johannes Obermayr wrote:
> Am Dienstag, 15. Oktober 2013, 17:22:54 schrieb Alexander von Gluck:
> > On Tue, 2013-10-15 at 15:05 -0700, Francisco Jerez wrote:
> > > Johannes Obermayr writes:
> > >
> > > > Am Dienstag, 1
On Wed, 2013-10-16 at 18:34 -0400, Jan Vesely wrote:
> On Wed, 2013-10-16 at 16:58 -0500, Alexander von Gluck wrote:
> > On Wed, 2013-10-16 at 22:09 +0200, Johannes Obermayr wrote:
> > > Am Dienstag, 15. Oktober 2013, 17:22:54 schrieb Alexander von Gluck:
> > > > On
On Wed, 2013-10-16 at 15:20 -0700, Jose Fonseca wrote:
> +# Match llvm --fno-rtti flag
> +cxxflags = env.backtick('llvm-config --cxxflags').split()
> +if '-fno-rtti' in cxxflags:
> +env.Append(CXXFLAGS = ['-fno-rtti'])
Ah, thats a good idea. I d
On Wed, 2013-10-16 at 18:32 -0500, Alexander von Gluck wrote:
> > Jan Vesely wrote:
> > > We've seen no other complaints on this issue, so likely it is
> something
> > > environmental on your end. (unless an older version of LLVM has an
> > > issue.
* Can be redefined on some platforms through u_debug.h
---
src/gallium/auxiliary/cso_cache/cso_hash.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/gallium/auxiliary/cso_cache/cso_hash.c
b/src/gallium/auxiliary/cso_cache/cso_hash.c
index e04d8ed..2a3f361 100644
--- a/src/gallium/auxili
On 2013-01-07 02:48, Brian Paul wrote:
On 01/06/2013 03:14 PM, Alex wrote:
* We have a symbol conflict as rtasm in
Mesa collides with rtasm in gallium.
* As us linking gallium and mesa together
is an edge case, lets just omit the rtasm
code from Mesa as we should be going
llvmpipe s
Good afternoon!
The Haiku OS project (not-for-profit organization, founded in 2001) has
found ourselves in a weird spot, we have a working Mesa software
render library based on a *heavily* modified Mesa 7.4.4.
http://cgit.haiku-os.org/haiku/tree/src/libs/mesa
However as you can imagine, updatin
On Mon, 19 Dec 2011 11:44:51 -0700, Brian Paul wrote:
On Mon, Dec 19, 2011 at 11:18 AM, Alexander von Gluck
wrote:
Good afternoon!
The Haiku OS project (not-for-profit organization, founded in 2001)
has
found ourselves in a weird spot, we have a working Mesa software
render library based on
On Mon, 19 Dec 2011 11:44:51 -0700, Brian Paul wrote:
On Mon, Dec 19, 2011 at 11:18 AM, Alexander von Gluck
wrote:
Good afternoon!
The Haiku OS project (not-for-profit organization, founded in 2001)
has
found ourselves in a weird spot, we have a working Mesa software
render library based on
pport for a new architecture, you can
# start with this:
diff --git a/configs/haiku b/configs/haiku
new file mode 100644
index 000..12f958e
--- /dev/null
+++ b/configs/haiku
@@ -0,0 +1,66 @@
+# Configuration for Haiku
+# Written by Alexander von Gluck IV
+#
+# Based on th
On Thu, 22 Dec 2011 09:45:01 +0100, Maarten Lankhorst wrote:
Hey Alexander,
On 12/21/2011 07:16 PM, Alexander von Gluck wrote:
* Doesn't reintroduce legacy drivers
* Adds Haiku mklib code
* Removes some broken PIPE_OS_HAIKU defines
* Removes an NDEBUG ifdef in link_uniforms.cpp,
there
* Use generic pthread barrier on Haiku.
* Re-add debug_printf define for Haiku.
* Add mapi headers to r300 build (to not rely on makedepend?)
* Remove NDEBUG define of union, as the union is used
regardless of NDEFINE setting.
* Remove BeOS reference to not building GLU as BeOS is no
longer a
---
bin/mklib | 37 +
1 files changed, 37 insertions(+), 0 deletions(-)
diff --git a/bin/mklib b/bin/mklib
index 70bd1a2..93dd989 100755
--- a/bin/mklib
+++ b/bin/mklib
@@ -959,6 +959,43 @@ case $ARCH in
fi
;;
+ 'Haiku')
+
# PIC is the default for these OSes.
;;
mingw*|os2*|pw32*)
diff --git a/configs/haiku b/configs/haiku
new file mode 100644
index 000..12f958e
--- /dev/null
+++ b/configs/haiku
@@ -0,0 +1,66 @@
+# Configuration for Haiku
+# Written by Alexander von Gluck IV
+#
+# Bas
* Several platforms try to build static libGLU.a
however, the libGLU makefile only will build a shared .so
* Haiku links libGLU into libGL, so this makes the process easier
---
configs/haiku|3 +++
src/glu/sgi/Makefile | 10 +-
2 files changed, 12 insertions(+), 1 deletio
On 24.12.2011 07:29, Brian Paul wrote:
On Fri, Dec 23, 2011 at 4:24 PM, Alexander von Gluck
wrote:
---
bin/mklib | 37 +
1 files changed, 37 insertions(+), 0 deletions(-)
diff --git a/bin/mklib b/bin/mklib
index 70bd1a2..93dd989 100755
--- a/bin/mklib
On 24.12.2011 07:30, Brian Paul wrote:
On Fri, Dec 23, 2011 at 4:24 PM, Alexander von Gluck
wrote:
---
Makefile | 1 +
acinclude.m4 | 2 +-
configs/haiku | 66
+
3 files changed, 68 insertions(+), 1 deletions(-)
create
On 24.12.2011 07:35, Brian Paul wrote:
On Fri, Dec 23, 2011 at 4:25 PM, Alexander von Gluck
wrote:
* Several platforms try to build static libGLU.a
however, the libGLU makefile only will build a shared .so
* Haiku links libGLU into libGL, so this makes the process easier
---
configs/haiku
---
src/glsl/link_uniforms.cpp |2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/src/glsl/link_uniforms.cpp b/src/glsl/link_uniforms.cpp
index c7de480..fc1c1f7 100644
--- a/src/glsl/link_uniforms.cpp
+++ b/src/glsl/link_uniforms.cpp
@@ -336,9 +336,7 @@ link_assign_uniform
---
bin/mklib |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/bin/mklib b/bin/mklib
index 510ac91..56e0b36 100755
--- a/bin/mklib
+++ b/bin/mklib
@@ -986,7 +986,7 @@ case $ARCH in
# remove temporary extracted .o files
rm
---
src/mesa/main/querymatrix.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/mesa/main/querymatrix.c b/src/mesa/main/querymatrix.c
index eaedf7c..2843d55 100644
--- a/src/mesa/main/querymatrix.c
+++ b/src/mesa/main/querymatrix.c
@@ -73,7 +73,7 @@ fpclassify(doubl
---
src/gallium/auxiliary/os/os_thread.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/gallium/auxiliary/os/os_thread.h
b/src/gallium/auxiliary/os/os_thread.h
index d830129..3e1c273 100644
--- a/src/gallium/auxiliary/os/os_thread.h
+++ b/src/gallium/auxiliary/os
---
src/glu/sgi/Makefile |7 +--
1 files changed, 1 insertions(+), 6 deletions(-)
diff --git a/src/glu/sgi/Makefile b/src/glu/sgi/Makefile
index c8b29ed..94427e2 100644
--- a/src/glu/sgi/Makefile
+++ b/src/glu/sgi/Makefile
@@ -124,12 +124,7 @@ OBJECTS = $(C_OBJECTS) $(CC_OBJECTS)
#
---
src/gallium/drivers/r300/Makefile |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/gallium/drivers/r300/Makefile
b/src/gallium/drivers/r300/Makefile
index 5f56fc4..3e3a765 100644
--- a/src/gallium/drivers/r300/Makefile
+++ b/src/gallium/drivers/r300/Makefile
@@
On 27.12.2011 10:31, Brian Paul wrote:
On Tue, Dec 27, 2011 at 8:40 AM, Alexander von Gluck
wrote:
---
src/gallium/drivers/r300/Makefile | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/gallium/drivers/r300/Makefile
b/src/gallium/drivers/r300/Makefile
index
On 28.12.2011 13:51, Ian Romanick wrote:
On Dec 27, 2011, at 8:35 AM, Brian Paul wrote:
On Tue, Dec 27, 2011 at 8:41 AM, Alexander von Gluck
wrote:
---
src/glsl/link_uniforms.cpp |2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/src/glsl/link_uniforms.cpp b/src
---
src/glsl/link_uniforms.cpp |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/glsl/link_uniforms.cpp b/src/glsl/link_uniforms.cpp
index c7de480..b331db7 100644
--- a/src/glsl/link_uniforms.cpp
+++ b/src/glsl/link_uniforms.cpp
@@ -365,9 +365,9 @@ link_assign_uniform
---
src/gallium/auxiliary/util/u_debug.h |6 --
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/gallium/auxiliary/util/u_debug.h
b/src/gallium/auxiliary/util/u_debug.h
index b5ea405..448d799 100644
--- a/src/gallium/auxiliary/util/u_debug.h
+++ b/src/gallium/auxiliar
---
src/gallium/auxiliary/util/u_debug.h |6 --
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/gallium/auxiliary/util/u_debug.h
b/src/gallium/auxiliary/util/u_debug.h
index b5ea405..3aa6aaf 100644
--- a/src/gallium/auxiliary/util/u_debug.h
+++ b/src/gallium/auxiliary
---
src/gallium/auxiliary/util/u_debug.h |6 --
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/gallium/auxiliary/util/u_debug.h
b/src/gallium/auxiliary/util/u_debug.h
index b5ea405..3aa6aaf 100644
--- a/src/gallium/auxiliary/util/u_debug.h
+++ b/src/gallium/auxiliary
Good morning!
I really appreciate Mesa being open to accepting the Haiku patches.
The Haiku support is close to done. Given the current patches applied (plus
a few small tweaks mentioned below), Mesa (and a few Gallium drivers!) build
under Haiku.
Here is whats left for the basic build...
---
src/mesa/main/arrayobj.c |2 +-
src/mesa/main/imports.h |2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/mesa/main/arrayobj.c b/src/mesa/main/arrayobj.c
index 4b3e07b..29bfed8 100644
--- a/src/mesa/main/arrayobj.c
+++ b/src/mesa/main/arrayobj.c
@@ -303,7 +303
On 03.01.2012 16:54, Brian Paul wrote:
On Tue, Jan 3, 2012 at 1:49 PM, Alexander von Gluck
wrote:
---
src/mesa/main/arrayobj.c | 2 +-
src/mesa/main/imports.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/mesa/main/arrayobj.c b/src/mesa/main/arrayobj.c
---
src/mesa/main/imports.h | 16
1 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h
index b7e8743..522ffeb 100644
--- a/src/mesa/main/imports.h
+++ b/src/mesa/main/imports.h
@@ -568,13 +568,19 @@ _mesa_init_sqrt_t
---
src/mesa/main/imports.h | 16
1 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h
index b7e8743..522ffeb 100644
--- a/src/mesa/main/imports.h
+++ b/src/mesa/main/imports.h
@@ -568,13 +568,19 @@ _mesa_init_sqrt_t
On 10.01.2012 21:53, Brian Paul wrote:
On Mon, Jan 9, 2012 at 2:39 PM, Alexander von Gluck
wrote:
---
src/mesa/main/imports.h | 16
1 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h
index b7e8743..522ffeb
- Ensure mesa code uses the _mesa_ffs(l) functions
consistantly instead of jumping around between ffs
and _mesa_ffs
- This makes ffs/ffsl behave more like the popcount code
- Better detects and handles edge cases of missing ffs/ffsl
- Use builtin ffs/ffsl more often as it may provide
perfor
On 11.01.2012 15:19, Brian Paul wrote:
On 01/11/2012 02:14 PM, Kenneth Graunke wrote:
On 01/11/2012 12:50 PM, Brian Paul wrote:
Call ffs() and ffsll() everywhere. Define our own ffs(), ffsll()
functions when the platform doesn't have them.
Looks great, Brian. Thanks!
Reviewed-by: Kenneth Gra
On 11.01.2012 14:50, Brian Paul wrote:
Call ffs() and ffsll() everywhere. Define our own ffs(), ffsll()
functions when the platform doesn't have them.
---
src/mesa/main/imports.c | 11 ++-
diff --git a/src/mesa/main/imports.c b/src/mesa/main/imports.c
index 2469e42.
On 11.01.2012 21:11, Brian Paul wrote:
On 01/11/2012 08:06 PM, Alexander von Gluck wrote:
On 11.01.2012 14:50, Brian Paul wrote:
Call ffs() and ffsll() everywhere. Define our own ffs(), ffsll()
functions when the platform doesn't have them.
---
src/mesa/main/imports.c | 11 ++-
Enables building stock Mesa under the Haiku operating system.
---
common.py |2 +-
scons/gallium.py |2 ++
src/SConscript |5 +++--
src/gallium/SConscript | 14 ++
src/glu/sgi/SConscript | 16 +++-
5 files changed, 27 insertions(
is no llvm / clang in Haiku (yet) so it doesn't build :)
-- Alexander von Gluck
On 16.01.2012 12:53, Jose Fonseca wrote:
Looks good.
What's preventing src/gallium/drivers/llvmpipe and
src/gallium/drivers/svga from building on haiku? These pipe
drivers should be fairly portable (unlik
Should I commit this for you?
If you approve :)
-- Alexander von Gluck
On 16.01.2012 13:31, Jose Fonseca wrote:
- Original Message -
svga is close, however there is a type conflict.
Haiku defines uint32, uint8, etc by default... the svga gallium
driver
defines them as well.
I think
The Haiku swrast driver is out of tree and this causes issues.
---
scons/gallium.py |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/scons/gallium.py b/scons/gallium.py
index 5a0c6fe..86adc3e 100755
--- a/scons/gallium.py
+++ b/scons/gallium.py
@@ -350,7 +350,7 @@ def g
Enables building stock Mesa under the Haiku operating system.
---
common.py |2 +-
scons/gallium.py |2 ++
src/SConscript |5 +++--
src/gallium/SConscript | 14 ++
src/glu/sgi/SConscript | 16 +++-
5 files changed, 27 insertions(
The Haiku swrast driver is out of tree.
---
scons/gallium.py |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/scons/gallium.py b/scons/gallium.py
index 5a0c6fe..86adc3e 100755
--- a/scons/gallium.py
+++ b/scons/gallium.py
@@ -350,7 +350,7 @@ def generate(env):
On 17.01.2012 14:15, Matt Turner wrote:
On Wed, Jan 11, 2012 at 6:37 PM, Matt Turner wrote:
---
No one on IRC knows why an unshared glapi is useful.
Does anyone have a use-case for this?
If not, we can drop it to simplify automake work.
Okay to commit? Anyone tested it?
Haiku uses all sta
Quick question, I noticed that Mesa and gallium both implement rtasm...
src/gallium/auxiliary/rtasm/rtasm_x86sse.c: p->need_emms = 1;
src/gallium/auxiliary/rtasm/rtasm_x86sse.c: assert(p->need_emms);
src/gallium/auxiliary/rtasm/rtasm_x86sse.c: p->need_emms = 0;
src/gallium/auxiliary/rtasm/r
---
src/gallium/SConscript |9 ++---
1 files changed, 2 insertions(+), 7 deletions(-)
diff --git a/src/gallium/SConscript b/src/gallium/SConscript
index 8efd04c..ae94637 100644
--- a/src/gallium/SConscript
+++ b/src/gallium/SConscript
@@ -14,18 +14,13 @@ SConscript('auxiliary/SConscript'
---
src/gallium/drivers/llvmpipe/lp_rast.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/gallium/drivers/llvmpipe/lp_rast.c
b/src/gallium/drivers/llvmpipe/lp_rast.c
index 873c261..efa5024 100644
--- a/src/gallium/drivers/llvmpipe/lp_rast.c
+++ b/src/gallium/dri
---
src/gallium/drivers/svga/include/svga_types.h |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/gallium/drivers/svga/include/svga_types.h
b/src/gallium/drivers/svga/include/svga_types.h
index 7fd9bab..7a99f34 100644
--- a/src/gallium/drivers/svga/include/svga_t
---
src/mesa/main/imports.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/mesa/main/imports.c b/src/mesa/main/imports.c
index bbc6ac6..82713a1 100644
--- a/src/mesa/main/imports.c
+++ b/src/mesa/main/imports.c
@@ -764,7 +764,7 @@ float
_mesa_strtof( const char *s,
---
src/glsl/strtod.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/glsl/strtod.c b/src/glsl/strtod.c
index ff34591..a876e13 100644
--- a/src/glsl/strtod.c
+++ b/src/glsl/strtod.c
@@ -44,7 +44,8 @@
double
glsl_strtod(const char *s, char **end)
{
-#if defined(_G
So I've been digging through the assertion error I am getting under Haiku
and have finally found the issue...
The Mesa tnl depends on the Mesa rtasm header (mesa/x86/rtasm/x86sse.h),
however scons never compiles mesa/x86/rtasm/x86sse.c into libmesa. As
x86/rtasm/x86sse.c is never compiled in,
- Mesa tnl used the Mesa rtasm headers, however
it was using the gallium rtasm symbols causing
heap corruption. (seen especially on scons
builds as Mesa rtasm wasn't even compiled).
- Mesa tnl updated to use Gallium rtasm.
---
src/mesa/sources.mak|1 -
src/mesa/tnl/t_vertex_sse.
---
src/mesa/x86/rtasm/x86sse.c | 1203
---
src/mesa/x86/rtasm/x86sse.h | 256 -
2 files changed, 0 insertions(+), 1459 deletions(-)
delete mode 100644 src/mesa/x86/rtasm/x86sse.c
delete mode 100644 src/mesa/x86/rtasm/x86sse.h
diff --git a/src
On 23.01.2012 14:44, Jose Fonseca wrote:
I don't think that one should introduce a dependency between Mesa and
Gallium as each should be built without the
other.
The right way to do this is to move rtasm to side by side w/ MEsa &
gallium (e.g., src/rtasm), and have Mesa and
Gallium both depen
renderer (gcc2)
A wrapper arround Mesa 7.8.2 (last version of mesa I could get compiled on
gcc2)
I know we need a ring buffer in the driver to manage dataflow to the card,
any
thoughts where the state tracker would fit in?
-- Alexander von Gluck
__
On 27.07.2012 09:10, Alexander von Gluck wrote:
I'm trying to get together a solid plan for Haiku's OpenGL kit.
It should be kept in mind that we indend to keep Mesa upstream code
minimal
to keep from Haiku code suffering the same state as BeOS code :)
Currently we are using
On 11.06.2012 14:04, Jose Fonseca wrote:
- Original Message -
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
'! window
On 11.06.2012 14:32, Alexander von Gluck wrote:
On 11.06.2012 14:04, Jose Fonseca wrote:
- Original Message -
From 44fa55d3f49884c824306504943ca2a1382601f0 Mon Sep 17 00:00:00
2001
* Our binary compatibility is targeted to Pentimum or higher,
these changes ensure we keep proper
From: Jerome Duval
---
src/gallium/winsys/sw/hgl/hgl_sw_winsys.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/gallium/winsys/sw/hgl/hgl_sw_winsys.c
b/src/gallium/winsys/sw/hgl/hgl_sw_winsys.c
index 89dd547..f7bc907 100644
--- a/src/gallium/winsys/sw/hgl/hgl_sw_winsy
From: Jerome Duval
---
src/gallium/auxiliary/util/u_debug.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/gallium/auxiliary/util/u_debug.h
b/src/gallium/auxiliary/util/u_debug.h
index 7da7f53..63940b7 100644
--- a/src/gallium/auxiliary/util/u_debug.h
+++ b/src/gall
This was causing a failure to build on SCons due to a missing
-Isrc/egl. Instead of adding in that path, lets just -Isrc/
and include "utils/u_atomic.h".
---
src/egl/Makefile.am | 1 +
src/egl/SConscript | 1 +
src/egl/drivers/dri2/egl_dri2.c | 2 +-
3 files changed, 3 ins
---
src/egl/SConscript | 17 ++---
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git a/src/egl/SConscript b/src/egl/SConscript
index 1b2a427..00761e8 100644
--- a/src/egl/SConscript
+++ b/src/egl/SConscript
@@ -15,14 +15,17 @@ env.Append(CPPPATH = [
# parse Makefile.sourc
On 2015-08-07 14:49, Emil Velikov wrote:
Ouch seems like a git rebase slip, as I was nuking the final dri scons
target around the same time.
On 07/08/15 19:19, Alexander von Gluck IV wrote:> ---
src/egl/SConscript | 17 ++---
1 file changed, 10 insertions(+), 7 deletions(-)
d
---
src/egl/SConscript |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/egl/SConscript b/src/egl/SConscript
index 1b2a427..b05da84 100644
--- a/src/egl/SConscript
+++ b/src/egl/SConscript
@@ -1,6 +1,7 @@
Good afternoon,
One more cherry pick for 11.0:
5abbd1caccf4653ac1a8760de68d8ed101c814d8
egl: scons: fix the haiku build, do not build the dri2 backend
Fixes the scons build after support for scons building egl + dri2
was dropped.
-- Alex
On 2015-08-31 10:05, Emil Velikov wrote:
The second
August 30 2016 8:53 AM, "Emil Velikov" wrote:
> On 25 August 2016 at 16:58, Emil Velikov wrote:
>
>> From: Emil Velikov
>>
>> The symbol is a no-op since, the EXTRA_DEBUG macro is not set in the
>> build. Unused by !Haiku people/platforms since 2010 (commit
>> a73c6540d9a7f6e26d8568ba2fc522cb
---
src/gallium/auxiliary/util/u_debug.h | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/gallium/auxiliary/util/u_debug.h
b/src/gallium/auxiliary/util/u_debug.h
index 7da7f53..7dc4ce8 100644
--- a/src/gallium/auxiliary/util/u_debug.h
+++ b/src/gallium/auxiliary/util/u_
July 18 2016 3:29 AM, "Nicolai Hähnle" wrote:
> A comment further up in the same file says
>
> /* Haiku provides debug_printf in libroot with OS.h */
>
> Is that no longer true?
>
> Nicolai
>
> On 16.07.2016 16:27, Alexander von Gluck IV wrote:
&g
July 18 2016 9:20 AM, "Emil Velikov" wrote:
> On 18 July 2016 at 14:39, Alexander von Gluck IV
> wrote:
>
>> July 18 2016 3:29 AM, "Nicolai Hähnle" wrote:
>>> A comment further up in the same file says
>>>
>>> /* Haiku provides d
July 18 2016 1:10 PM, "Emil Velikov" wrote:
> On 18 July 2016 at 16:28, Alexander von Gluck IV
> wrote:
>
>> July 18 2016 9:20 AM, "Emil Velikov" wrote:
>>> On 18 July 2016 at 14:39, Alexander von Gluck IV
>>> wrote:
>>>
>&
ors:
+ * Brian Paul
+ * Philippe Houdoin
+ * Alexander von Gluck IV
+ */
+
+
+extern "C" {
+#include "glapi/glapi.h"
+#include "glapi/glapi_priv.h"
+
+/*
+ * NOTE: this file portion implements C-based dispatch of the OpenGL
entrypoints
+ * (glAccum,
* Use LoadableModule vs SharedLibrary
---
src/gallium/targets/haiku-softpipe/SConscript | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/targets/haiku-softpipe/SConscript
b/src/gallium/targets/haiku-softpipe/SConscript
index 0a99976..6e12dc4 100644
--- a/src/gallium
* Thanks for the help xexaxo!
---
src/gallium/targets/haiku-softpipe/GalliumContext.cpp | 16 ++--
1 file changed, 6 insertions(+), 10 deletions(-)
diff --git a/src/gallium/targets/haiku-softpipe/GalliumContext.cpp
b/src/gallium/targets/haiku-softpipe/GalliumContext.cpp
index 1c08fb1
c
b/src/gallium/targets/haiku-softpipe/haiku-softpipe.c
deleted file mode 100644
index d0a427b..000
--- a/src/gallium/targets/haiku-softpipe/haiku-softpipe.c
+++ /dev/null
@@ -1,65 +0,0 @@
-/**
- *
- * Copyright 2013 Alexander von Gluck IV
- *
- * Permission is hereby granted, free of charge, to any person obtain
---
scons/gallium.py | 2 ++
src/gallium/targets/haiku-softpipe/SConscript | 1 -
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/scons/gallium.py b/scons/gallium.py
index 2e341e9..5b20f3f 100755
--- a/scons/gallium.py
+++ b/scons/gallium.py
@@ -506,6 +50
0,0 +1,528 @@
+/*
+ * Copyright 2012, Haiku, Inc. All Rights Reserved.
+ * Distributed under the terms of the MIT License.
+ *
+ * Authors:
+ * Artur Wyszynski, harak...@gmail.com
+ * Alexander von Gluck IV, kallis...@unixzen.com
+ */
+
+
+#include "GalliumContext
On Fri, 04 Oct 2013 13:31:11 -0600
Brian Paul wrote:
> The series look OK to me. Do you want to add/update any docs/ files?
>
> Reviewed-by: Brian Paul
>
> Do you need me to push this for you?
>
Nah, I can push it.
I'll see if I can add anything meaningful to the docs.
Thanks!
-- Alex
* /boot/common no longer exists in Haiku as of
a few days ago (and this is undefined)
---
src/gallium/targets/libgl-haiku/GLRendererRoster.cpp | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/gallium/targets/libgl-haiku/GLRendererRoster.cpp
b/src/gallium/targets/libgl-haiku/GLRendererRo
* Fix LLVM library and defines
* Only enable tracing when scons build=debug
---
src/gallium/targets/haiku-softpipe/GalliumContext.cpp | 3 +--
src/gallium/targets/haiku-softpipe/GalliumFramebuffer.cpp | 3 +--
src/gallium/targets/haiku-softpipe/SConscript | 5 +++--
src/gallium/tar
In llvm.py -fno-rtti is always a build flag if LLVM present >= 3.2
This breaks everything on our end (missing rtti related symbols) in our
C++ libGL.so as Haiku uses dynamic casts.
We build our LLVM packages with rtti (REQUIRES_RTTI=1).
Not 100% sure why we're forcing no-rtti if LLVM >= 3.2.
"l
On Fri, 11 Oct 2013 09:50:08 -0700
Francisco Jerez wrote:
> Kenneth Graunke writes:
>
> > On 10/10/2013 04:27 PM, Alexander von Gluck IV wrote:
> >>
> >> In llvm.py -fno-rtti is always a build flag if LLVM present >= 3.2
> >>
> >> This
* As discussed on the mailing list,
forced no-rtti breaks C++ public
API's such as the Haiku C++ libGL.so
* -fno-rtti *can* be still set however
instead of blindly forcing -fno-rtti,
we can rely on the llvm-config
--cppflags output.
If the system llvm is built without
rtti (default),
On Tue, 15 Oct 2013 17:04:26 +0200
Johannes Obermayr wrote:
> Am Montag, 14. Oktober 2013, 16:57:20 schrieb Francisco Jerez:
> > Alexander von Gluck IV writes:
> >
> > > * As discussed on the mailing list,
> > > forced no-rtti breaks C++ public
> > &
* The rtti fix actually dug up a bug in the scons build scripts.
* Autotools took the LLVM cpp and cxx flags, while scons only took
the cpp flags.
* This grabs the cxx flags and applies them where needed.
* I'm going to run over this and clean things up further, however
this fixes the build whe
On Tue, 15 Oct 2013 17:04:26 +0200
Johannes Obermayr wrote:
> Am Montag, 14. Oktober 2013, 16:57:20 schrieb Francisco Jerez:
> > Alexander von Gluck IV writes:
> >
> > > * As discussed on the mailing list,
> > > forced no-rtti breaks C++ public
> > &
On Tue, 15 Oct 2013 19:51:19 +0200
Johannes Obermayr wrote:
> Am Dienstag, 15. Oktober 2013, 12:19:40 schrieben Sie:
> > On Tue, 15 Oct 2013 17:04:26 +0200
> > Johannes Obermayr wrote:
> > > Am Montag, 14. Oktober 2013, 16:57:20 schrieb Francisco Jerez:
> > >
* Based on ideas of Jose Fonseca
* A rework of ce8eadb6e8
---
scons/llvm.py | 5 +
1 file changed, 5 insertions(+)
diff --git a/scons/llvm.py b/scons/llvm.py
index c1c3736..8388d8e 100644
--- a/scons/llvm.py
+++ b/scons/llvm.py
@@ -190,6 +190,11 @@ def generate(env):
pass
On Thu, 17 Oct 2013 18:11:07 +0200
Johannes Obermayr wrote:
>
> Simply make llvm devs to push this fix to all branches (again my words: "Sth.
> like [...]):
Yeah, I can't make anyone do anything... you have to ask them nicely.
> diff --git a/tools/llvm-config/CMakeLists.txt
> b/tools/llvm-con
* The softpipe add-on needs libtranslation
due to the use of BTranslatorRoster
---
scons/gallium.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scons/gallium.py b/scons/gallium.py
index 5b20f3f..be3c3e7 100755
--- a/scons/gallium.py
+++ b/scons/gallium.py
@@ -507,7 +507,7
* Use more consistant data sources
* Fix improper color space assignments
* Remove unnecessary comments and code
* Drop unnecessary round_up function (this was leftover
from moving winsys code out of renderer)
---
.../targets/haiku-softpipe/GalliumContext.cpp | 27
..
* Instead of assuming the displaytarget is the same
stride / colorspace as the destination, lets
actually check the source bitmap.
* Fixes random stride issues in rendering
---
src/gallium/winsys/sw/hgl/bitmap_wrapper.cpp | 20
src/gallium/winsys/sw/hgl/bitmap_wrapper.h
* Call mesa viewport call on winndow resize
* Add initial postprocessing code
* Pass hgl_context to private statetracker
as it is more useful than GalliumContext
* Use Lock and Unlock functions to standardize
GalliumContext locking
* Create texture resources in texture validation
---
.../targe
On Mon, Nov 4, 2013 at 1:05 PM, Alexander von Gluck IV
wrote:
* Call mesa viewport call on winndow resize
* Add initial postprocessing code
* Pass hgl_context to private statetracker
as it is more useful than GalliumContext
* Use Lock and Unlock functions to standardize
GalliumContext
On Mon, Nov 4, 2013 at 6:48 PM, Brian Paul wrote:
---
include/GL/gl.h |2 +-
include/GL/osmesa.h |5 -
2 files changed, 1 insertion(+), 6 deletions(-)
diff --git a/include/GL/gl.h b/include/GL/gl.h
index 0efa6ef..31a2813 100644
--- a/include/GL/gl.h
+++ b/include/GL/gl.h
@@ -69
1 - 100 of 226 matches
Mail list logo