summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/xlib
AgeCommit message (Collapse)Author
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-20gallium: Remove the standalone surfaces.José Fonseca
This commit is mostly just a cosmetic change that cleans-up the interfaces, replacing pipe_winsys::surface_* calls by /** * Allocate storage for a display target surface. * * Often surfaces which are meant to be blitted to the front screen (i.e., * display targets) must be allocated with special characteristics, memory * pools, or obtained directly from the windowing system. * * This callback is invoked by the pipe_screenwhen creating a texture marked * with the PIPE_TEXTURE_USAGE_DISPLAY_TARGET flag to get the underlying * buffer storage. */ struct pipe_buffer *(*surface_buffer_create)(struct pipe_winsys *ws, unsigned width, unsigned height, enum pipe_format format, unsigned usage, unsigned *stride); Most drivers were updated but not all were tested. Use the softpipe pipe driver and the xlib winsys changes as a reference when fixing other drivers.
2009-01-19xlib: fix dependenciesKeith Whitwell
2009-01-19gallium: use align() intead of round_up()Brian Paul
2009-01-19Merge commit 'origin/gallium-0.2' into gallium-xlib-reworkKeith Whitwell
Conflicts: src/gallium/state_trackers/glx/xlib/fakeglx.c src/gallium/state_trackers/glx/xlib/xm_api.c src/gallium/winsys/xlib/xmesaP.h
2009-01-19xlib: fix compilation after xmesa header movesKeith Whitwell
2009-01-17xlib: don't explicitly create the pipe_winsys structKeith Whitwell
2009-01-13xlib: split off cell to its own backendKeith Whitwell
Also remove compile-time USE_XSHM flag. Still check for XSHM at runtime though.
2009-01-13xlib: allow winsys's to register themselves with glx/xlib state trackerKeith Whitwell
2009-01-09xlib: move state tracker to glx/xlibKeith Whitwell
Also, remove makefile hacks.
2009-01-09xlib: disable more cell calls when GALLIUM_CELL not definedKeith Whitwell
2009-01-09xlib: combine and eliminate some header filesKeith Whitwell
2009-01-08cell: fix breakage from xlib re-orgBrian Paul
Some of these fixes are quick band-aids for now.
2009-01-08gallium: split driver-independent code out of xlib winsysKeith Whitwell
Place in new xlib state-tracker. This is a statetracker for the GLX API.
2008-12-19cell: fix build breakageBrian Paul
2008-12-17winsys: fix depth buffer size when using stencilBrian Paul
2008-12-10Merge commit 'origin/gallium-0.1' into gallium-0.2Brian Paul
2008-12-10gallium: restore default_depth_bits() call in xlib winsysBrian Paul
This was accidentally disabled in a long-ago commit.
2008-10-23scons: Don't hardcode any drivers for the xlib winsys, just pick suitable ones.Michel Dänzer
2008-09-19cell: disable XShmPutImage for tiled surface for nowBrian Paul
Multiple displays of same surface data causes pixels to get scrambled.
2008-09-12cell: fix twiddled tile display for XSHM. Fixed blank window problem.Brian Paul
2008-09-12cell: fix twiddled tile display for XSHM. Fixed blank window problem.Brian Paul
2008-09-11cell: fix tile twidding bug seen in the event of multiple expose eventsBrian Paul
2008-09-11gallium: typo: s/PIPE_FORMAT_Z16UNORM/PIPE_FORMAT_Z16_UNORM/Brian Paul
2008-09-11cell: checkpoint commit of new per-fragment processingBrian Paul
Do code generation for alpha test, z test, stencil, blend, colormask and framebuffer/tile read/write as a single code block. Ian's previous blend/z/stencil test code is still there but mostly disabled and will be removed soon.
2008-09-08scons: Install libGL.so and respective symlinks.José Fonseca
2008-09-03gallium: do image clipping in xmesa_display_surface_tiled()Brian Paul
2008-09-03cell: move misplaced assertions; put them after ximage is assigned.Brian Paul
2008-09-03Cell: added linux-cell-debug configBrian Paul
linux-cell is now the optimized configuration. Remove some Cell-specific stuff from winsys/xlib/Makefile.
2008-09-03gallium: Have pipe_buffer_* receive a pipe_screen instead of a pipe_context.José Fonseca
We want to use the pipe_buffer_* inlines everywhere, but a pipe context is not always available nor is it needed.
2008-08-27gallium: call st_finish() in XMesaFlush()Brian Paul
2008-08-26gallium: thread wrapper clean-upBrian Paul
In p_thread.h replace _glthread_* functions with new pipe_* functions. Remove other old cruft.
2008-08-25gallium: include u_math.hBrian Paul
2008-08-24gallium: include u_memory.h, u_math.hBrian
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-08-19xlib: Revert destroying pipe_screen (temporary).José Fonseca
2008-08-15xlib: Kill xmesa_surface.José Fonseca
A winsys cannot expect that the surfaces passed display_surface are the surfaces it created, as surface are now in generate texture views created by pipe_screen. Indeed, the fact it was working so far was mere luck. This fixes a weird tiled output when using the trace pipe driver. Winsys' surfaces should die.
2008-08-14xlib: Use trace usage.José Fonseca
2008-08-09trace: Trace pipe_winsys calls.José Fonseca
2008-08-07gallium: use PIPE_FORMAT_X8Z24_UNORM for 24-bit Z but no stencilBrian Paul
2008-08-07xlib: Integrate with the trace pipe driver.José Fonseca
2008-06-27gallium: Drop pipe_texture->cpp and pipe_surface->cpp.José Fonseca
The chars-per-pixel concept falls apart with compressed and yuv images, where more than one pixel are coded in a single data block.
2008-06-27scons: Fix i965/xlib build.José Fonseca
2008-06-06gallium: additional commentBrian Paul
2008-06-03scons: Integrate gdi winsys.José Fonseca
Conditional build of the winsys based on the platform.
2008-05-28Merge branch 'gallium-vertex-linear' into gallium-0.1Jakob Bornecrantz
Conflicts: src/gallium/auxiliary/draw/draw_pt_varray.c
2008-05-12xlib: add failure paths for context creationKeith Whitwell
2008-05-09Merge branch 'gallium-0.1' into gallium-tex-surfacesKeith Whitwell
2008-05-08xlib: more SP_NO_RAST supportKeith Whitwell
For some resaon normal (non-display-buffer) buffers are being allocated through Xshm... Bypass at least for SP_NO_RAST
2008-05-07gallium: Propagate tex_usage flags down to winsys.José Fonseca