Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gallium: change pipe->texture_create() to operate like the CSO functions | Brian | 2008-02-06 | 2 | -10/+12 |
| | | | | Now, pass in a template object and return a new object. | ||||
* | gallium: Use p_debug.h instead of non-portable stdio.h/assert.h functions. | José Fonseca | 2008-02-06 | 6 | -13/+12 |
| | |||||
* | gallium: Add SCons as alternative build system for Gallium. | José Fonseca | 2008-01-31 | 1 | -0/+29 |
| | |||||
* | gallium: minor cleanups to pipe interface | Keith Whitwell | 2008-01-26 | 1 | -24/+0 |
| | | | | | - Remove put/get tile, just have users call put_tile_raw, etc directly. - Remove surface_data call, just map it locally. | ||||
* | gallium: replace prim pipeline begin/end() functions with flush() | Brian | 2008-01-25 | 1 | -9/+2 |
| | | | | | | | | | | | | | This is basically half of Keith's draw/flush patch. The stage->point/line/tri() functions are now self-validating, the validator functions are installed by the flush() function. There were excessive calls to validate_pipeline(), however. This was caused by draw_prim_queue_flush() keeping a local 'first' variable that always pointed to the validate functions. Replaced 'first' with 'draw->pipeline.first'. Performance in gears is up just slightly with this patch. | ||||
* | gallium: rename pipe_buffer_handle to pipe_buffer, rework pipebuffer/ code | Keith Whitwell | 2008-01-25 | 9 | -15/+16 |
| | | | | | | | | | | | Provide an actual definition of the pipe_buffer struct, containing the parameters used to create the buffer, and its refcount. Shift refcounting buffers out of the winsys interface, similar to surfaces & textures. Rework pipebuffer/ to reflect the fact these changes, and also Michel's reworking of the buffer interface. | ||||
* | gallium: Simplify winsys buffer interface. | Michel Dänzer | 2008-01-25 | 4 | -17/+12 |
| | | | | | | The properties of a buffer represented by struct pipe_buffer_handle are now basically constant over its lifetime. The state tracker gets to deal with any more complex buffer semantics it may need to provide. | ||||
* | i915: add case for TGSI_FILE_IMMEDIATE to avoid error, but still needs ↵ | Brian | 2008-01-24 | 1 | -3/+4 |
| | | | | proper handling... | ||||
* | gallium: rename FORMAT_x to EMIT_x and use EMIT_ALL to emit whole vertex ↵ | Brian | 2008-01-23 | 2 | -16/+16 |
| | | | | as-is in vbuf code | ||||
* | gallium: remove support for separate depth/stencil buffers. Always combined ↵ | Brian | 2008-01-23 | 1 | -10/+5 |
| | | | | now. | ||||
* | gallium: restore/rewrite vbuf code for softpipe | Brian | 2008-01-23 | 1 | -8/+0 |
| | | | | | Now based on the draw_vbuf code, instead being a custom one-off. Disabled by default, enable with SP_VBUF env var. | ||||
* | gallium: overhaul usage of vertex_info in draw module. | Brian | 2008-01-23 | 1 | -3/+3 |
| | | | | | | | | Remove all dependencies on vertex_info, except for draw_vbuf. Drawing stages now strictly operate on post-transformed vertices and don't know anything about hw vertices. Use vertex program output info for two-side/flat/etc stages. Temporarily disable vbuf module in softpipe driver. | ||||
* | gallium: add a src_index[] array to draw's vertex_info for mapping ↵ | Brian | 2008-01-21 | 1 | -7/+8 |
| | | | | post-xform vertex attribs to hw vertex attribs | ||||
* | Unify copy_rect helpers. | Michel Dänzer | 2008-01-18 | 1 | -46/+11 |
| | | | | Some of the copies were buggy. | ||||
* | Back-port miscellaneous fixes from internal branch (mostly portability fixes). | José Fonseca | 2008-01-17 | 3 | -7/+8 |
| | | | | | | These are changes that are in our internal branch, but somehow were skipped so far. It was done using visual comparison of the branches -- it is likely that changes are being carried on the wrong way | ||||
* | gallium: fix warning | Keith Whitwell | 2008-01-17 | 1 | -2/+4 |
| | |||||
* | vbuf updates/fixes (KeithW) | Brian | 2008-01-16 | 1 | -5/+1 |
| | | | | Plus, update i915 and Cell drivers for latest vbuf->draw() params. | ||||
* | Remove pipe->get/put_tile_rgba. | Michel Dänzer | 2008-01-14 | 1 | -2/+0 |
| | | | | | | | pipe_get/put_tile_rgba() now use pipe->get/put_tile internally. Also simplify the <format>_get/put_tile_rgba() helper functions and clean up some inconsitencies in them. | ||||
* | Remove mapping fields from struct pipe_surface. | Michel Dänzer | 2008-01-14 | 1 | -8/+9 |
| | | | | It's now the responsibility of surface users to keep track of their mappings. | ||||
* | Additional parameters to vbuf_render->draw() | Brian | 2008-01-10 | 1 | -1/+5 |
| | | | | Pass complete information about vertex/index buffer location, size, etc. | ||||
* | replace void * with struct draw_vertex_shader opaque type | Brian | 2008-01-03 | 1 | -3/+3 |
| | |||||
* | gallium: incorporate alpha state into depth_stencil state object. | Keith Whitwell | 2007-12-17 | 3 | -66/+30 |
| | |||||
* | rename some 'mesa' functions | Brian | 2007-12-15 | 1 | -19/+15 |
| | |||||
* | Use tile functions in new p_tile.[ch] | Brian | 2007-12-15 | 1 | -87/+5 |
| | | | | This removes quite a bit of code duplicated in the drivers. | ||||
* | update comment for TGSI_TOKEN_TYPE_IMMEDIATE case | Brian | 2007-12-14 | 1 | -2/+3 |
| | |||||
* | 965: get fragment shader compiler compiling | Keith Whitwell | 2007-12-13 | 1 | -4/+0 |
| | | | | Don't think that it will run though. | ||||
* | Remove get/put_tile_rgba() functions. | Brian | 2007-12-12 | 1 | -102/+1 |
| | | | | Temporarily, use the functions from sp_rgba_tile.c | ||||
* | Move float/rgba tile get/put functions into new file. | Brian | 2007-12-12 | 1 | -0/+7 |
| | | | | | | This should be moved into a gallium util lib (location tbd) so it can also be used by the state tracker. Then, remove the pipe->get/put_tile_rgba() functions. | ||||
* | PIPE_SCREEN_SURFACE no longer needed | Brian | 2007-12-12 | 1 | -10/+2 |
| | |||||
* | remove old assertion | Brian | 2007-12-12 | 1 | -1/+0 |
| | |||||
* | add PIPE_FORMAT_R5G6B5_UNORM to list of supported screen surface types | Brian | 2007-12-12 | 1 | -0/+1 |
| | |||||
* | Rework gallium and mesa queries a little. | Keith Whitwell | 2007-12-11 | 1 | -17/+0 |
| | | | | | | Add a 'CheckQuery()' driver callback to mesa to check query completion. Make pipe_query an opaque type. Rework softpipe queries, support overlapping occlusion queries. | ||||
* | gallium: remove set_sampler_units interface | Keith Whitwell | 2007-12-11 | 2 | -15/+5 |
| | | | | | The effect of this mapping can be acheived by the state tracker and setting up the pipe texture state pointers to incorporate its affects. | ||||
* | gallium: remove redundant clear_color state. | Keith Whitwell | 2007-12-11 | 2 | -12/+0 |
| | |||||
* | gallium: Remove feedback interfaces from pipe driver. | Keith Whitwell | 2007-12-11 | 3 | -56/+0 |
| | | | | | Something similar will return when geometry shaders are added, but for now this interface is not required. | ||||
* | Add surface storage allocation function to winsys interface. | José Fonseca | 2007-12-11 | 1 | -1/+2 |
| | |||||
* | Add 'type' parameter to is_format_supported() to specify texture vs. drawing ↵ | Brian | 2007-12-10 | 1 | -44/+33 |
| | | | | | | surface, etc. Additional types may be added in the future. | ||||
* | implement i915_put_tile_rgba() - temporary code though | Brian | 2007-12-10 | 1 | -2/+32 |
| | |||||
* | Fix up some confusion wrt winsys->buffer_create alignment / flags parameters. | Michel Dänzer | 2007-12-10 | 1 | -3/+1 |
| | | | | intel_winsys works again. | ||||
* | Adapt for winsys interface changes. | José Fonseca | 2007-12-09 | 1 | -1/+2 |
| | |||||
* | gallium: add draw_stage::destroy(). | Michal | 2007-12-09 | 1 | -0/+6 |
| | |||||
* | add fence interfaces and buffer create flags to pipe_winsys | keithw | 2007-12-09 | 1 | -1/+1 |
| | |||||
* | Define PIPE_FORMAT_ tokens as an enum set, rather than #defines. | Brian | 2007-12-07 | 3 | -5/+6 |
| | | | | | This makes debugging a _lot_ easier. In gdb, "print format" used to display 613570600, now you see PIPE_FORMAT_A8R8G8B8_UNORM. | ||||
* | Get rid of "duplicate" formats. | Brian | 2007-12-07 | 4 | -25/+25 |
| | | | | For example, replace PIPE_FORMAT_U_A8_R8_G8_B8 with PIPE_FORMAT_A8R8G8B8_UNORM | ||||
* | Eliminate struct pipe_region. | Michel Dänzer | 2007-12-07 | 7 | -109/+35 |
| | | | | | Directly use struct pipe_buffer_handle for storage and struct pipe_surface for (un)mapping. | ||||
* | Hide texture layout details from the state tracker. | Michel Dänzer | 2007-12-06 | 9 | -153/+247 |
| | | | | pipe->get_tex_surface() has to be used for access to texture image data. | ||||
* | Move dimensions from struct pipe_region to struct pipe_surface. | Michel Dänzer | 2007-11-29 | 4 | -202/+189 |
| | |||||
* | gallium: reorg tgsi directories. | Michal Krol | 2007-11-23 | 2 | -3/+3 |
| | |||||
* | gallium: back out winsys interface changes | Michal Krol | 2007-11-23 | 1 | -1/+1 |
| | |||||
* | Use the new vertex buffer draw stage. | José Fonseca | 2007-11-22 | 1 | -307/+116 |
| |