Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-01-26 | gallium: minor cleanups to pipe interface | Keith Whitwell | |
- Remove put/get tile, just have users call put_tile_raw, etc directly. - Remove surface_data call, just map it locally. | |||
2008-01-25 | gallium: replace prim pipeline begin/end() functions with flush() | Brian | |
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. | |||
2008-01-25 | gallium: rename pipe_buffer_handle to pipe_buffer, rework pipebuffer/ code | Keith Whitwell | |
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. | |||
2008-01-25 | gallium: Simplify winsys buffer interface. | Michel Dänzer | |
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. | |||
2008-01-24 | i915: add case for TGSI_FILE_IMMEDIATE to avoid error, but still needs ↵ | Brian | |
proper handling... | |||
2008-01-23 | gallium: rename FORMAT_x to EMIT_x and use EMIT_ALL to emit whole vertex ↵ | Brian | |
as-is in vbuf code | |||
2008-01-23 | gallium: remove support for separate depth/stencil buffers. Always combined ↵ | Brian | |
now. | |||
2008-01-23 | gallium: restore/rewrite vbuf code for softpipe | Brian | |
Now based on the draw_vbuf code, instead being a custom one-off. Disabled by default, enable with SP_VBUF env var. | |||
2008-01-23 | gallium: overhaul usage of vertex_info in draw module. | Brian | |
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. | |||
2008-01-21 | gallium: add a src_index[] array to draw's vertex_info for mapping ↵ | Brian | |
post-xform vertex attribs to hw vertex attribs | |||
2008-01-18 | Unify copy_rect helpers. | Michel Dänzer | |
Some of the copies were buggy. | |||
2008-01-17 | Back-port miscellaneous fixes from internal branch (mostly portability fixes). | José Fonseca | |
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 | |||
2008-01-17 | gallium: fix warning | Keith Whitwell | |
2008-01-16 | vbuf updates/fixes (KeithW) | Brian | |
Plus, update i915 and Cell drivers for latest vbuf->draw() params. | |||
2008-01-14 | Remove pipe->get/put_tile_rgba. | Michel Dänzer | |
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. | |||
2008-01-14 | Remove mapping fields from struct pipe_surface. | Michel Dänzer | |
It's now the responsibility of surface users to keep track of their mappings. | |||
2008-01-10 | Additional parameters to vbuf_render->draw() | Brian | |
Pass complete information about vertex/index buffer location, size, etc. | |||
2008-01-03 | replace void * with struct draw_vertex_shader opaque type | Brian | |
2007-12-17 | gallium: incorporate alpha state into depth_stencil state object. | Keith Whitwell | |
2007-12-15 | rename some 'mesa' functions | Brian | |
2007-12-15 | Use tile functions in new p_tile.[ch] | Brian | |
This removes quite a bit of code duplicated in the drivers. | |||
2007-12-14 | update comment for TGSI_TOKEN_TYPE_IMMEDIATE case | Brian | |
2007-12-13 | 965: get fragment shader compiler compiling | Keith Whitwell | |
Don't think that it will run though. | |||
2007-12-12 | Remove get/put_tile_rgba() functions. | Brian | |
Temporarily, use the functions from sp_rgba_tile.c | |||
2007-12-12 | Move float/rgba tile get/put functions into new file. | Brian | |
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. | |||
2007-12-12 | PIPE_SCREEN_SURFACE no longer needed | Brian | |
2007-12-12 | remove old assertion | Brian | |
2007-12-12 | add PIPE_FORMAT_R5G6B5_UNORM to list of supported screen surface types | Brian | |
2007-12-11 | Rework gallium and mesa queries a little. | Keith Whitwell | |
Add a 'CheckQuery()' driver callback to mesa to check query completion. Make pipe_query an opaque type. Rework softpipe queries, support overlapping occlusion queries. | |||
2007-12-11 | gallium: remove set_sampler_units interface | Keith Whitwell | |
The effect of this mapping can be acheived by the state tracker and setting up the pipe texture state pointers to incorporate its affects. | |||
2007-12-11 | gallium: remove redundant clear_color state. | Keith Whitwell | |
2007-12-11 | gallium: Remove feedback interfaces from pipe driver. | Keith Whitwell | |
Something similar will return when geometry shaders are added, but for now this interface is not required. | |||
2007-12-11 | Add surface storage allocation function to winsys interface. | José Fonseca | |
2007-12-10 | Add 'type' parameter to is_format_supported() to specify texture vs. drawing ↵ | Brian | |
surface, etc. Additional types may be added in the future. | |||
2007-12-10 | implement i915_put_tile_rgba() - temporary code though | Brian | |
2007-12-10 | Fix up some confusion wrt winsys->buffer_create alignment / flags parameters. | Michel Dänzer | |
intel_winsys works again. | |||
2007-12-09 | Adapt for winsys interface changes. | José Fonseca | |
2007-12-09 | gallium: add draw_stage::destroy(). | Michal | |
2007-12-09 | add fence interfaces and buffer create flags to pipe_winsys | keithw | |
2007-12-07 | Define 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-07 | Get rid of "duplicate" formats. | Brian | |
For example, replace PIPE_FORMAT_U_A8_R8_G8_B8 with PIPE_FORMAT_A8R8G8B8_UNORM | |||
2007-12-07 | Eliminate struct pipe_region. | Michel Dänzer | |
Directly use struct pipe_buffer_handle for storage and struct pipe_surface for (un)mapping. | |||
2007-12-06 | Hide texture layout details from the state tracker. | Michel Dänzer | |
pipe->get_tex_surface() has to be used for access to texture image data. | |||
2007-11-29 | Move dimensions from struct pipe_region to struct pipe_surface. | Michel Dänzer | |
2007-11-23 | gallium: reorg tgsi directories. | Michal Krol | |
2007-11-23 | gallium: back out winsys interface changes | Michal Krol | |
2007-11-22 | Use the new vertex buffer draw stage. | José Fonseca | |
2007-11-22 | Fix build. | José Fonseca | |
2007-11-22 | Fix compatibility issues between gcc and msvc. | Michal | |
2007-11-22 | Make it compile under Win32. | Michal | |