ed2a9d119f
Finally, the Mesa meta-package ! MesaLib is a 3-D graphics library with an API which is very similar to that of OpenGL*. To the extent that Mesa utilizes the OpenGL command syntax or state machine, it is being used with authorization from Silicon Graphics, Inc. However, the author makes no claim that Mesa is in any way a compatible replacement for OpenGL or associated with Silicon Graphics, Inc.
24 lines
898 B
Text
24 lines
898 B
Text
These packages are copy-pasta of graphics/Mesa* files. The goal is to have
|
|
a r600 dri driver...
|
|
|
|
To use this new Mesa package, you can either :
|
|
|
|
1) - copy wip/MesaLib/buildlink3.mk to graphics/MesaLib/buildlink3.mk
|
|
- make install wip/MesaLib and wip/Mesa
|
|
|
|
2) - copy wip/gl/buildlink3.mk to graphics/MesaLib/buildlink3.mk
|
|
- add include wip/dri/buildlink3.mk into x11/modular-xorg-server/Makefile
|
|
- add include wip/glw/buildlink3.mk into packages that need it...
|
|
(my favorite method)
|
|
|
|
I chose modular packages (gl dri glw) over a MesaLib katamari, and used
|
|
the configure script.
|
|
|
|
It seems that binutils>=2.16 is needed for the x86-64 asm option.
|
|
|
|
Tested on :
|
|
- NetBSD/amd64 current, options "dri asm" "dri" "", on a r700 radeon
|
|
swrast_dri : ok
|
|
r600_dri : libGL error: drmOpenOnce failed (Operation not permitted)
|
|
- NetBSD/i386 current, options "dri asm", on an intel i915
|
|
i915_dri : ok
|