summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/xlib
AgeCommit message (Collapse)Author
2007-12-11Hmm, missed these two files. Sorry.Zack Rusin
2007-12-11Port i965 driver to Gallium3D.Zack Rusin
This is a squashed commit of i965 branch on ssh://people.freedesktop.org/~zack/mesa Because of the porting the branch often didn't compile so squashing it makes more sense. The port is still far from complete.
2007-12-11Add surface storage allocation function to winsys interface.José Fonseca
2007-12-10Cell: first triangle.Brian
This is a feeble first step, but it works. The cell_clear_surface() function has been hijacked to set up a "draw triangle" command and send it to all the SPUs. The Gallium softpipe triangle code was copied to the SPU module and modified. Only the progs/trivial/clear.c program runs.
2007-12-10gallium: disable assert(0) in xmesa_surface()Keith Whitwell
2007-12-10Cell driver state-setter functions, basic tile get/put, glClear.Brian
The state setting code was mostly just copied from the softpipe driver. The SPUs can now get/put framebuffer tiles from/to main memory and clear them to a given color. Lots of debug code in effect. Tiled framebuffer is displayed in X window via the xmwinsys layer. To enable Cell driver, export GALLIUM_CELL=1
2007-12-10Add 'type' parameter to is_format_supported() to specify texture vs. drawing ↵Brian
surface, etc. Additional types may be added in the future.
2007-12-09Adapt for winsys interface changes.José Fonseca
2007-12-07Define PIPE_FORMAT_ tokens as an enum set, rather than #defines.Brian
This makes debugging a _lot_ easier. In gdb, "print format" used to display 613570600, now you see PIPE_FORMAT_A8R8G8B8_UNORM.
2007-12-07Get rid of "duplicate" formats.Brian
For example, replace PIPE_FORMAT_U_A8_R8_G8_B8 with PIPE_FORMAT_A8R8G8B8_UNORM
2007-12-07byteswapping fixes in choose_pixel_format()Brian
2007-12-07remove stray ;Brian
2007-12-07Remove obsolete xlib driver filesBrian
2007-12-07Overhaul the Xlib winsys layer.Brian
Front/back color buffers are now allocated with ordinary malloc() via the winsys buffer functions. To display surfaces in SwapBuffers() or flush_frontbuffer() we create an XImage that wraps the surface, then use XPutImage to copy to the window. Shared memory transport disabled for now.
2007-12-07Eliminate struct pipe_region.Michel Dänzer
Directly use struct pipe_buffer_handle for storage and struct pipe_surface for (un)mapping.
2007-12-05added B8G8R8A8 support and improved pixel format selection when doing remote ↵Brian
display to X server of different endianness.
2007-11-29Move dimensions from struct pipe_region to struct pipe_surface.Michel Dänzer
2007-11-07fix warningBrian
2007-11-07Remove winsys->wait_idle(), subsumed by pipe->flush().Brian
Connect intel_i915_batch_finish() into i915_winsys, just like intel_i915_batch_flush(). Call i915_winsys->batch_finish() in response to pipe->flush(PIPE_FLUSH_WAIT). Now all the batchbuffer/fence code is in one place and a little cleaner.
2007-11-07Remove context dependencies in winsys layer.Brian
The winsys object is now per-screen and shared by multiple contexts. The regionPool is now part of the i915 winsys layer. The winsys wait_idle() and flush_frontbuffer() funcs will get more attention...
2007-11-07re-enable PIPE_FORMAT_U_Z32 supportBrian
2007-11-07better depth buffer selectionBrian
2007-11-07redo xm_surface_release() to match i915Brian
2007-11-07fix bad varnameBrian
2007-11-07Add winsys->surface_release() to complement winsys->surface_alloc().Brian
pipe_surface now has a pointer to the winsys which create/owns the surface. This allows clean surface deallocation w/out a rendering context.
2007-11-06disable PIPE_FORMAT_U_Z32, doesn't work ATMBrian
2007-11-06Update xmesa_is_format_supported()Brian
2007-11-06rename xmesa_create_softpipe() xmesa_create_context()Brian
2007-11-06rename xmesa_create_softpipe() xmesa_create_context()Brian
2007-11-06disable finish_or_flush() for nowBrian
2007-11-06need to call pipe->flush() in finish_or_flush()Brian
2007-11-06define CLIP_TILE as in sp_surface.cBrian
2007-11-06remove debug abort() callBrian
2007-11-06Call xmesa_init_driver_functions() to install xmesa_viewport() function.Brian
Fixes failed assertion in glxgears.
2007-11-06Supply buffer usage hints to winsys.José Fonseca
Winsys driver needs some hints in order to allocate the appropriate kind of memory for the buffer.
2007-11-05Remove some temporary state tracker context/framebuffer_create functions.Brian
2007-11-05Update xlib driver to use newer state tracker context/framebuffer functions.Brian
XMesaContext has an st_context * which contains a mesa context.
2007-11-01Start re-working SwapBuffers.Brian
intelCopyBuffer() is now intelDisplayBuffer(): it displays the given surface in the on-screen window. Added a pipe_surface parameter to winsys->flush_frontbuffer(). Front buffer rendering/flushing actually works now. But, we should only allocate the front surface on demand...
2007-11-01don't call _mesa_init_driver_functions()Brian
2007-11-01Obsolete fileBrian
2007-11-01remove xmesa_set_renderbuffer_funcs()Brian
2007-11-01disable/omit renderbuffer span codeBrian
2007-11-01remove unused funcs, macrosBrian
2007-11-01xget_image() wrapper to catch BadMatch errorsBrian
2007-11-01move dither kernels to xm_surface.cBrian
2007-11-01fix some tile clipping bugsBrian
2007-11-01move CLIP_TILE, add commentsBrian
2007-11-01rewrite xmesa_get_tile_rgba() to not use span funcsBrian
2007-11-01reimplement xmesa_put_tile_rgba() w/out span funcsBrian
2007-11-01implement get/put_tile() for xlib driverBrian