2006-01-28 01:13:31 +00:00
|
|
|
# This is a very dirty hack to allow hardware acceleration of OpenGL
|
|
|
|
# applications for most (?) users. It will use the driver that your
|
|
|
|
# Linux distribution installed in /usr/lib/libGL.so.1. Hopefully,
|
|
|
|
# this driver uses hardware acceleration.
|
|
|
|
#
|
|
|
|
# Of course, use of the driver in /usr/lib is highly impure. But it
|
|
|
|
# might actually work ;-)
|
|
|
|
|
2015-09-15 10:26:18 +01:00
|
|
|
{stdenv, xorg, expat, libdrm}:
|
2006-01-28 01:13:31 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2008-06-14 18:06:39 +01:00
|
|
|
name = "xorg-sys-opengl-3";
|
2006-01-28 01:13:31 +00:00
|
|
|
builder = ./builder.sh;
|
2016-04-14 12:41:13 +01:00
|
|
|
neededLibs = map (p: p.out)
|
|
|
|
[xorg.libXxf86vm xorg.libXext expat libdrm stdenv.cc.cc];
|
2006-01-28 01:13:31 +00:00
|
|
|
}
|