From: Chia-I Wu <ol...@gm...> - 2009-08-18 02:20:42
|
On Mon, Aug 17, 2009 at 05:58:11AM -0700, caner wrote: > I am trying to compile linux-dri with USING_EGL=1 option. I've tried both the > main branch and opengl-es branch. Both of them cannot compile radeon_egl.c > with following error: I think it fails to build for quite some time. I've been working on EGL with several other drivers. On X window, you can use egl_glx.so (src/egl/drivers/glx). It is a GLX wrapper to standard libGL.so. Or, egl_softpipe.so (src/gallium/winsys/egl_xlib/). It draws to a buffer which is uploaded to X as XImage. Both work well. I also have a patch pending to revive egl_xdri.so. In the console with intel KMS, you can try EGL_i915.so (src/gallium/winsys/drm/intel/egl/). It should work just fine too. There are some demos under progs/egl/. Under X, you can try those start with xegl. -- Regards, olv |