summaryrefslogtreecommitdiff
path: root/src/egl/drivers/xdri
AgeCommit message (Collapse)Author
2010-02-05egl: Remove egl_xdri.Chia-I Wu
egl_xdri steals code from src/glx/x11/. This makes it broken from time to time when there is a bigger change to the GLX code. As egl_dri2 has been merged, which also functions as a DRI2 driver loader, remove egl_xdri for good.
2010-02-04egl: Convert drivers to use typecast macros.Chia-I Wu
Use macros to define the standard typecasts. This saves lots of typings.
2010-01-31egl: Initialize display configs with the display.Chia-I Wu
This changes _eglInitConfig to take the display as its argument.
2010-01-31egl: Initialize display resources with their display.Chia-I Wu
Change _eglInitSurface, _eglInitContext, and _eglInitImage to take an _EGLDisplay instead of an _EGLDriver. This is a more natural form, and plus, the display encodes information such as the extensions supported that might be required for attribute list parsing.
2010-01-30egl: Rename Binding to CurrentContext in _EGLSurface.Chia-I Wu
A context can be bound to a surface just like it can be bound to a thread. CurrentContext is a more consistent name.
2010-01-30egl: Clean up header inclusions.Chia-I Wu
Mainly to remove eglcurrent.h and egldisplay.h from eglglobals.h.
2010-01-28egl: Migrate drivers to use _eglBindContext.Chia-I Wu
_eglMakeCurrent is a big hammer that is not easy to use. Migrate drivers to use _eglBindContext and un-export _eglMakeCurrent.
2010-01-28egl: eglMakeCurrent should accept an uninitialized display.Chia-I Wu
When no context or surface are given, the display is allowed to be uninitialized. Most drivers cannot handle an uninitialized display. But they are updated to at least throw a fatal message.
2010-01-26egl: Remove _eglGetCurrentSurface and _eglGetCurrentDisplay.Chia-I Wu
They have little use in drivers since drivers need to work for multiple current contexts.
2010-01-26egl/xdri: Update with glxclient.h change.Chia-I Wu
__glXFindDisplay is no longer static since 7a9329ba99fe1242c07fbf4fd04e7a4dbeba2e72.
2010-01-25egl: Native types are renamed in EGL 1.3.Chia-I Wu
Rename Native*Type to EGLNative*Type.
2010-01-22egl_xdri: Add support for DRISW.Chia-I Wu
Try DRISW if both DRI2 and DRI fail. It can also be forced by setting EGL_SOFTWARE. When DRISW is used, single-buffered modes are ignored.
2010-01-22egl_xdri: Flush commands on context switch and buffer swap.Chia-I Wu
The corresponding DRI functions does not flush for us.
2010-01-22egl_xdri: Report only OpenGL support.Chia-I Wu
It reported OpenGL ES support because some demos did not set EGL_RENDERABLE_TYPE correctly. The demos are fixed.
2010-01-22egl_xdri: Do not reinitialize in __glXInitialize.Chia-I Wu
__glXInitialize should return the same GLX display for the same X display. This issue is triggered by a35f6bb207efe3c959bbd16a37f2049e5aceeea9.
2010-01-22egl: Update driver Makefiles.Chia-I Wu
Update to use the new Makefile.template.
2010-01-12egl: Add _EGLDriver as the first argument to GetProcAddress.Chia-I Wu
The rest of the driver API has it as the first argument. It should be there so that a driver has access to itself.
2010-01-12egl_xdri: Fix build breakage.Chia-I Wu
driScreen->swapBuffers takes 3 more arguments since daf7fe69f7bd0caa955d30b43fc35b7ce0069b6b.
2009-09-29egl_xdri: Report full list of supported configs.Chia-I Wu
Call _eglConfigFromContextModesRec to convert __GLcontextModes to _EGLConfig. Single-buffered configs are no longer skipped. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-08-24egl_xdri: Revive the driver.Chia-I Wu
egl_xdri does not compile for some time. This commit revives the driver. It no longer depends on libGL.so for GLX related functions. Instead, it uses code from src/glx/ directly. Both DRI and DRI2 are supported. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-08-03egl: Replace IsBound by a pointer to the binding.Chia-I Wu
IsBound tells if a context or surface is current. What it does not tell is, to which thread a context is current, or to which context a surface is current. This commit replaces IsBound by a pointer to the binding thread or context. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-07-17egl: Remove redundant DeletePending flag.Chia-I Wu
A context or surface that is neither linked to a display nor current to a thread should be destroyed. Therefore, an unlinked context or surface implies a pending delete automatically. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-07-17egl: Use the link functions to manage resources.Chia-I Wu
This commit uses the newly introduced link functions to manage EGL contexts and surfaces. As a result of this, the API for drivers are changed. All drivers are updated for the change. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-06-01Use separate $(MINSTALL) for installing librariesDan Nicholson
The special feature of bin/minstall to copy symlinks is only ever needed when installing libraries which may have .so symlinks. All the headers and directories can use a normal install program. These two modes are separated as $(INSTALL) and $(MINSTALL) to allow the user (or autoconf) to override installing normal files as they please. An autoconf check for the install program has been added and will be used in preference to minstall when available. Fixes bug 16053.
2009-03-26egl: Fix newline typo in MakefilesCarl-Johan Kjellander
2009-02-11Add install target for eglJohannes Engel
Signed-off-by: Johannes Engel <jcnengel@googlemail.com> Acked-by: Jakob Bornecrantz <jakob@vmware.com>
2008-10-02egl: check for null ptr/nameBrian Paul
2008-10-02egl: remove space after -L flagBrian Paul
2008-09-26st: change from ** to * for st_unreference_framebuffer()Alan Hourihane
2008-09-11egl_xdri: Add the top-level lib dir so we link against the libGL we built.Dima Zavin
2008-09-11egl_dri/egl_xdri: Makefiles should use pkg-config to find libdrm.Dima Zavin
2008-09-01egl: CreatePbufferSurface, Bind/ReleaseTexImage functionsBrian Paul
2008-08-27egl: free display ext data in xdri_eglTerminate().Brian Paul
2008-07-16egl: set EGL_SAMPLES, EGL_SAMPLE_BUFFERS config attribsBrian Paul
2008-07-14egl: set EGL_CONFORMANT, EGL_RENDERABLE_TYPE config fields, fix null ptr ↵Brian Paul
crashes in MakeCurrent
2008-07-11egl: a minor overhauld of egl_xdri.cBrian Paul
Rely more on the libGL code to avoid duplicated efforts. Also fix confusion arising from multiple __DRIscreen objects.
2008-07-10egl: add all EGL_*_BITs to ClientAPIsMaskBrian Paul
2008-07-10egl: implement xdri_eglGetProcAddress() for galliumBrian Paul
Plus comments, clean-ups.
2008-07-09egl: link libEGL w/ additional libsBrian Paul
2008-07-09egl: misc updates/fixesBrian Paul
Set surface size when created. Implement dri_find_dri_screen(). Look for "egl_xxx_dri.so" library before regular DRI driver.
2008-06-27egl: These changes allow an eglBindAPI(EGL_OPENGL_ES_API) to succeed, and to ↵Robert Ellison
work correctly with GLES1 and GLES2. - egl_xdri.c just sets the EGL_OPENGL_ES_BIT as well as the EGL_OPENGL_BIT in ClientAPIsMask - eglconfig.c allows the renderable type to include EGL_OPENGL_ES2_BIT as well as EGL_OPENGL_ES_BIT. - egl_xlib.c sets the EGL_NATIVE_RENDERABLE attribute to EGL_FALSE for all softpipe configurations. (Otherwise, an eglChooseConfig() that looks for particular values of EGL_NATIVE_RENDERABLE will fail.)
2008-06-13egl: added a debug msgBrian Paul
2008-06-10egl: only windows are renderable at this timeBrian Paul
2008-06-06egl: EGL->DRI adaptor/driverBrian Paul
Allows regular DRI drivers to work with libEGL.