summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/egl_xlib/egl_xlib.c
AgeCommit message (Collapse)Author
2009-08-18egl: Some per-driver data should be per-display.Chia-I Wu
Move some fields of _EGLDriver to _EGLDisplay. It also becomes unnecessary to pass _EGLDisplay to drivers when _eglMain is called. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-08-18egl: Overhaul driver API.Chia-I Wu
The motivation is so that drivers do not need to look up and check for bad display, context, and etc. It also becomes unnecessary for drivers to call the link functions. This commit makes eglapi.[ch] do the lookup and check. As a result, the driver API is overhauled, and almost all sources and drivers need update. The updates are mainly find and replace with human brains. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-08-05egl_softpipe: Add support for pbuffer binding.Chia-I Wu
This adds support for eglBindTexImage and eglReleaseTexImage. They rely on the state tracker to do the real work. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-08-05egl_softpipe: Flush when switching current context.Chia-I Wu
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-08-03egl_softpipe: Add support for pbuffer surface.Chia-I Wu
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-05-01egl_xlib: Pass RTLD_LAZY to dlopen.José Fonseca
dlopen manpage mandates that either RTLD_LAZY or RTLD_NOW flags must be passed. Not doing so was causing a NULL return on debian unstable x86-64.
2009-04-18softpipe: Simplify softpipe_create's prototype.José Fonseca
2009-04-17egl: don't crash with one more khronos apiZack Rusin
2009-02-18gallium/winsys/egl_xlib: Fix build after introduction of struct pipe_transfer.Michel Dänzer
2009-02-02gallium: remove pipe_buffer from surfacesZack Rusin
this change disassociates, at least from the driver perspective, the surface from buffer. surfaces are technically now views on the textures so make it so by hiding the buffer in the internals of textures.
2009-01-30gallium: make p_winsys internalZack Rusin
move it to pipe/internal/p_winsys_screen.h and start converting the state trackers to the screen usage
2009-01-26egl: compilation fixZack Rusin
2008-09-26st: change from ** to * for st_unreference_framebuffer()Alan Hourihane
2008-08-24gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.hBrian Paul
Also, rename p_tile.[ch] to u_tile.[ch]
2008-07-10egl: added EGL_OPENVG_API case (allow all APIs)Brian Paul
2008-07-09egl: plug a small memleakZack Rusin
2008-06-28egl: set config's EGL_CONFORMANT, EGL_RENDERABLE_TYPE, EGL_SURFACE_TYPE ↵Brian Paul
attributes
2008-06-27eh, we need a buildbot... fix the compilationZack Rusin
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-20egl: added null ptr checksBrian Paul
2008-06-19egl: use dlsym() to try to identify APIsBrian Paul
2008-06-18egl: call st_get_proc_address()Brian Paul
2008-06-06egl: open X display if neededBrian Paul
2008-06-04egl: do proper setup/init of EGL configsBrian Paul
2008-06-04egl: prototype some multi-API codeBrian Paul
2008-05-30egl: eglGetProcAddress() stubBrian Paul
2008-05-30egl: specify client API by bit flag, not stringBrian Paul
2008-05-30egl: added eglDestroySurface functionBrian Paul
2008-05-30egl: fix-up window resizesBrian Paul
2008-05-30egl: assorted fixes. The code works now.Brian Paul
2008-05-29egl: new EGL/gallium/softpipe/xlib winsysBrian Paul
Checkpoint commit. Most required code is in place, and compiles, but totally untested.