summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* Port i965 driver to Gallium3D.Zack Rusin2007-12-1183-11/+24260
| | | | | | | | 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.
* Add surface storage allocation function to winsys interface.José Fonseca2007-12-116-66/+108
|
* Add inline funtion to comput format size based on code in st_format.c.José Fonseca2007-12-111-0/+47
| | | | | 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.
* Cell: first triangle.Brian2007-12-107-58/+935
| | | | | | | | 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.
* XXX comments about some hard-coded values that need to be fixedBrian2007-12-102-0/+2
|
* minor clean-ups, commentsBrian2007-12-101-16/+19
|
* gallium: use hardcoded cliptest code for fixed planesKeith Whitwell2007-12-101-1/+12
|
* gallium: disable assert(0) in xmesa_surface()Keith Whitwell2007-12-101-1/+1
|
* gallium: remove unnecessary guards on qs->nextKeith Whitwell2007-12-1012-30/+14
|
* Cell driver state-setter functions, basic tile get/put, glClear.Brian2007-12-1022-50/+2197
| | | | | | | | 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
* remove ~ backup filesBrian2007-12-101-1/+1
|
* Add 'type' parameter to is_format_supported() to specify texture vs. drawing ↵Brian2007-12-1013-157/+142
| | | | | | surface, etc. Additional types may be added in the future.
* disable assertion in sp_tile_cache_set_surface() for nowBrian2007-12-101-1/+1
|
* implement i915_put_tile_rgba() - temporary code thoughBrian2007-12-101-2/+32
|
* don't use get/put_tile_rgba() for accum buffer accessesBrian2007-12-101-19/+98
|
* Fix up some confusion wrt winsys->buffer_create alignment / flags parameters.Michel Dänzer2007-12-103-8/+3
| | | | intel_winsys works again.
* Link fewer common objects into Gallium winsys layers.Michel Dänzer2007-12-102-6/+8
| | | | | These are useless or even harmful due to referencing symbols no longer available in the Gallium build.
* Correct user VBO size.Ben Skeggs2007-12-101-3/+8
|
* Remove stray references to struct pipe_region.Michel Dänzer2007-12-103-9/+0
|
* use quadColor local varBrian2007-12-095-108/+114
|
* Fix looping for multi-color buffer writing.Brian2007-12-096-9/+11
|
* added null ptr check in draw_destroy() for rasterizer stageBrian2007-12-091-1/+2
|
* Adapt for winsys interface changes.José Fonseca2007-12-097-26/+43
|
* gallium: use SSE by defaultJosé Fonseca2007-12-092-2/+2
|
* Allow tgsi_dump print-out to stderr or a string buffer.Michal2007-12-093-100/+220
| | | | Handle source register complement modifier in exec and dump.
* gallium: Remove buffer_unfence and buffer_finish.José Fonseca2007-12-092-45/+0
| | | | These interfaces have been deemed useless by Keith.
* gallium: Reusable pipe buffer library.José Fonseca2007-12-0916-3/+2266
| | | | | This is an optional library that winsys drivers can use to simplify memory management, and help meet the winsys interface requirements.
* gallium: fix ordering of arguments to pack_ui32_float4Keith Whitwell2007-12-091-2/+2
|
* gallium: initialized draw element buffer to NULLKeith Whitwell2007-12-091-0/+1
|
* gallium: add support for aliased 4ub formatKeith Whitwell2007-12-091-0/+2
|
* gallium: support the full range of possible vertex typesKeith Whitwell2007-12-091-23/+129
|
* gallium: add draw_stage::destroy().Michal2007-12-0917-7/+128
|
* gallium: Comment on winsys's fence functions. Fix comment layout for doxygen.José Fonseca2007-12-091-11/+23
|
* temporary _mesa_printf symbolkeithw2007-12-091-0/+4
|
* [pipe]: add Offset() util macrokeithw2007-12-091-0/+1
|
* Document return types.José Fonseca2007-12-091-2/+12
|
* add fence interfaces and buffer create flags to pipe_winsyskeithw2007-12-096-20/+42
|
* Try to reduce the frequency of calls to pipe->get_tex_surface()Brian2007-12-071-9/+32
| | | | Save the surface info in the tile cache and re-use whenever possible.
* shorten loops over color bufsBrian2007-12-073-3/+3
|
* code re-org in softpipe_clear()Brian2007-12-071-4/+13
|
* clean-upsBrian2007-12-071-14/+6
|
* Tile clearing optimizations.Brian2007-12-073-151/+147
| | | | Clear using int values rather than floats when possible. Better performance now.
* Disable, remove tnl module from the Gallium build since no longer used.Brian2007-12-071-1/+1
|
* New vbo_set_draw_func() to keep vbo context opaque to state tracker and tnl ↵Brian2007-12-075-10/+22
| | | | module.
* Disable swrast, swrast_setup and driverfuncs in the build.Brian2007-12-071-3/+3
| | | | The gallium/state tracker no longer uses them and this speeds up the build a bit.
* Move _mesa_init_glsl_driver_functions() into shader_api.cBrian2007-12-075-199/+100
| | | | | This allows making a bunch of functions static, and removes a state tracker dependency on driverfuncs.c
* Define PIPE_FORMAT_ tokens as an enum set, rather than #defines.Brian2007-12-0719-118/+127
| | | | | This makes debugging a _lot_ easier. In gdb, "print format" used to display 613570600, now you see PIPE_FORMAT_A8R8G8B8_UNORM.
* include tgsi_dump.hBrian2007-12-071-0/+1
|
* Replace "duplicate" formatsBrian2007-12-074-69/+69
|
* Get rid of "duplicate" formats.Brian2007-12-0714-105/+93
| | | | For example, replace PIPE_FORMAT_U_A8_R8_G8_B8 with PIPE_FORMAT_A8R8G8B8_UNORM