summaryrefslogtreecommitdiff
path: root/src/mesa/pipe
AgeCommit message (Collapse)Author
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-11Add inline funtion to comput format size based on code in st_format.c.José Fonseca
Including state_tracker/st_format.h from pipe drivers is not an option since it uses GL* types and pipe/p_util.h will clash with main/imports.h.
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-10minor clean-ups, commentsBrian
2007-12-10gallium: use hardcoded cliptest code for fixed planesKeith Whitwell
2007-12-10gallium: disable assert(0) in xmesa_surface()Keith Whitwell
2007-12-10gallium: remove unnecessary guards on qs->nextKeith 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-10remove ~ backup filesBrian
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-10disable assertion in sp_tile_cache_set_surface() for nowBrian
2007-12-10implement i915_put_tile_rgba() - temporary code thoughBrian
2007-12-10Fix up some confusion wrt winsys->buffer_create alignment / flags parameters.Michel Dänzer
intel_winsys works again.
2007-12-10Remove stray references to struct pipe_region.Michel Dänzer
2007-12-09use quadColor local varBrian
2007-12-09Fix looping for multi-color buffer writing.Brian
2007-12-09added null ptr check in draw_destroy() for rasterizer stageBrian
2007-12-09Adapt for winsys interface changes.José Fonseca
2007-12-09gallium: use SSE by defaultJosé Fonseca
2007-12-09Allow tgsi_dump print-out to stderr or a string buffer.Michal
Handle source register complement modifier in exec and dump.
2007-12-09gallium: Remove buffer_unfence and buffer_finish.José Fonseca
These interfaces have been deemed useless by Keith.
2007-12-09gallium: Reusable pipe buffer library.José Fonseca
This is an optional library that winsys drivers can use to simplify memory management, and help meet the winsys interface requirements.
2007-12-09gallium: fix ordering of arguments to pack_ui32_float4Keith Whitwell
2007-12-09gallium: initialized draw element buffer to NULLKeith Whitwell
2007-12-09gallium: add support for aliased 4ub formatKeith Whitwell
2007-12-09gallium: add draw_stage::destroy().Michal
2007-12-09gallium: Comment on winsys's fence functions. Fix comment layout for doxygen.José Fonseca
2007-12-09temporary _mesa_printf symbolkeithw
2007-12-09[pipe]: add Offset() util macrokeithw
2007-12-09Document return types.José Fonseca
2007-12-09add fence interfaces and buffer create flags to pipe_winsyskeithw
2007-12-07Try to reduce the frequency of calls to pipe->get_tex_surface()Brian
Save the surface info in the tile cache and re-use whenever possible.
2007-12-07shorten loops over color bufsBrian
2007-12-07code re-org in softpipe_clear()Brian
2007-12-07clean-upsBrian
2007-12-07Tile clearing optimizations.Brian
Clear using int values rather than floats when possible. Better performance now.
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-07Enable the tile clear "optimization"Brian
Not really faster yet because we're using the float-valued put/get_tile() functions so we're doing quite a bit of float/int conversion. That can be fixed though...
2007-12-07Make sp_tile_cache_flush_clear() static.Brian
Also, misc clean-ups, comments.
2007-12-07Convert the clearValue back to floats for sp_tile_cache_clear()Brian
It might be nice if sp->clear() took the color/value as floats...
2007-12-07Some tile cache improvements, clean-ups.Brian
Code for optimized clears (per-tile flag indicating clear status) in place but not enabled yet.
2007-12-07don't dereference pt after realloc - fixes valgrind errorBrian
2007-12-07add some whitespaceBrian
2007-12-07Move struct softpipe_texture definition into sp_texture.hBrian
Also, added softpipe_texture() cast wrapper.
2007-12-07minor code movementBrian
2007-12-07byteswapping fixes in choose_pixel_format()Brian
2007-12-07remove stray ;Brian
2007-12-07Remove obsolete xlib driver filesBrian