Otherwise it fails like so:
CC egl_dri2.lo
In file included from egl_dri2.h:40:0,
from egl_dri2.c:42:
../../../../../../src/egl/wayland/wayland-drm/wayland-drm.h:8:41:
fatal error: wayland-drm-server-protocol.h: No such file or directory
compilation terminated.
---
src/egl/
This fixes it here -
diff --git a/src/egl/drivers/dri2/Makefile.am b/src/egl/drivers/dri2/Makefile.am
index e4d4abb..49ec06b 100644
--- a/src/egl/drivers/dri2/Makefile.am
+++ b/src/egl/drivers/dri2/Makefile.am
@@ -26,6 +26,7 @@ AM_CFLAGS = \
-I$(top_srcdir)/src/gbm/backends/dri \
-
dri builds are fine with this, but
./configure --prefix=/usr --mandir=\${prefix}/share/man \
--infodir=\${prefix}/share/info --sysconfdir=/etc \
--libdir=\${prefix}/lib/x86_64-linux-gnu \
--localstatedir=/var --build=x86_64-lin
On Mon, Apr 4, 2011 at 4:48 PM, Ian Romanick wrote:
> From: Ian Romanick
>
> ---
> src/mesa/drivers/dri/common/utils.c | 5 ++---
> src/mesa/drivers/dri/common/utils.h | 2 +-
> src/mesa/drivers/dri/i810/i810context.c | 4 +---
> src/mesa/drivers
Signed-off-by: Robert Hooker
---
src/egl/drivers/dri2/egl_dri2.c | 12
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c
index 6db44c7..a83f32b 100644
--- a/src/egl/drivers/dri2/egl_dri2.c
+++ b/src
From: Robert Hooker
Signed-off-by: Robert Hooker
---
src/mesa/drivers/dri/intel/intel_chipset.h |4 +++-
src/mesa/drivers/dri/intel/intel_context.c |1 +
2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/mesa/drivers/dri/intel/intel_chipset.h
b/src/mesa/drivers/dri
From: Robert Hooker
This prevents failures like this when using one of these devices:
Unrecognized deviceID 116
X Error of failed request: BadAlloc (insufficient resources for operation)
Major opcode of failed request: 155 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext