summaryrefslogtreecommitdiff
path: root/src/gallium/winsys
AgeCommit message (Collapse)Author
2009-08-28st/xorg: Pass dri driver name as driverName on screenJakob Bornecrantz
2009-08-26egl_softpipe: Make winsys and pipe screen per display.Chia-I Wu
This is to allow a driver to drive multiple displays. Remove the use of _EGL_PLATFORM_X along the way. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-08-24xlib: fix single buffer window resize bugBrian Paul
When a single-buffered window was resized the new window size was never detected. This fix that, but there's still a bug which causes window contents corruption for certain window sizes...
2009-08-22i915g: Remove bad assert on fenceJakob Bornecrantz
2009-08-21egl_softpipe: Do not flush unlinked context.Chia-I Wu
An unlinked context is destroyed after _eglMakeCurrent. Flushing such context would cause segfault. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-08-18radeon-gallium: Oh, look, we *do* already support DONTBLOCK.Corbin Simpson
Well, okay, the kernel doesn't, but that's no excuse for us! :3
2009-08-18radeon-gallium: Stop using outdated ioctls.Corbin Simpson
2009-08-18Revert "r300-gallium, radeon-gallium: Nuke gb_pipes from orbit."Corbin Simpson
This reverts commit 6a40d1e9d96f8e8c57bc3bbd6f567cacd4471f59. Turns out that we *do* need these for OQ after all. Go figure. Conflicts: src/gallium/winsys/drm/radeon/core/radeon_r300.h
2009-08-18egl/xlib: move call to create_configs() after we set the Xdpy fieldBrian Paul
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-13gallium/drm: Handle circular dependencies in the auxiliary libraries with make.Michel Dänzer
2009-08-11gallium/xlib: add missing tex_usage parameterBrian Paul
2009-08-11gallium/egl: add missing tex_usage parameterBrian Paul
2009-08-11gallium/xlib: add missing tex_usage parameterBrian Paul
2009-08-12i915g: Reduce max relocsJakob Bornecrantz
2009-08-11i915g: Implement surface_buffer_create for softpipeJakob Bornecrantz
In order to run softpipe on st/xorg we need this function
2009-08-08i915g: Don't try to free a mapped buffer at shutdownJakob Bornecrantz
2009-08-06i915g: Compile with sconsJakob Bornecrantz
2009-08-06i915g: Always run in sync with the HWJakob Bornecrantz
2009-08-06i915g: The i915 seems more happier with sampler domain so lets use thatJakob Bornecrantz
2009-08-06i915g: Switch to mapping the batch buffer instead of using subdataJakob Bornecrantz
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-05i915g: Treat primary textures as scanout buffersJakob Bornecrantz
2009-08-05i915g: Link with trace on EGL and XorgJakob Bornecrantz
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-26radeon-gallium: If BO allocation fails, return NULL.Corbin Simpson
2009-07-24radeon-gallium: remove old getparam ioctlJoakim Sindholt
2009-07-23r300g, radeon-gallium: Fix API, cleanup.Corbin Simpson
Something called "validate" should return FALSE on failure, not TRUE.
2009-07-23radeon-gallium: Build fixes wrt changed libdrm_radeon space check APINicolai Hähnle
Had to be hacked up a bit to apply to master. Sorry 'bout that. :3
2009-07-20r300g: Fix SCons build.Michel Dänzer
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-07-13r300g, radeon: Whitespace fixes.Nicolai Hähnle
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
2009-07-05radeon-gallium: Compile warning fix.Corbin Simpson
Fixes flush during validation, in case a buffer is double-validated.
2009-07-05radeon-gallium: Use FLINK to do proper global buffers.Corbin Simpson
2009-07-05radeon-gallium: Wait for BOs before mapping them.Corbin Simpson
2009-07-02r300g: Readd trace driver supportJakob Bornecrantz
2009-07-02i915g: Readd trace driver supportJakob Bornecrantz
2009-07-01radeon-gallium: Adapt to drm_api changes.Corbin Simpson
Note that trace debugging is temporarily gone. I'll rework it later.
2009-07-01nouveau: fix build...Ben Skeggs
2009-07-01drm/st: Remove drm_api struct from driversJakob Bornecrantz
Remove the drm_api from the functions in the softpipe and i915simple drivers. Create wrapper functions in the backends instead.
2009-06-30identity: Create a drm_api wrapperJakob Bornecrantz
2009-06-30drm/st: Return drm_api struct from a functionJakob Bornecrantz
2009-06-22gallium-intel: Improve Xorg Makefile a bitJakob Bornecrantz
The real solution is to create a Makefile.template for xorg drivers and use that here.
2009-06-10winsys/gdi: Link to ws2_32 library.Michal Krol
2009-06-05nouveau: remove unneeded code from ws, use pipe_buffer_ instead of ws->Ben Skeggs
2009-06-05nouveau: move channel creation into pipe driversBen Skeggs