summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/i915simple
Commit message (Collapse)AuthorAgeFilesLines
* gallium: change pipe->texture_create() to operate like the CSO functionsBrian2008-02-062-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é Fonseca2008-02-066-13/+12
|
* gallium: Add SCons as alternative build system for Gallium.José Fonseca2008-01-311-0/+29
|
* gallium: minor cleanups to pipe interfaceKeith Whitwell2008-01-261-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()Brian2008-01-251-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/ codeKeith Whitwell2008-01-259-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änzer2008-01-254-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 ↵Brian2008-01-241-3/+4
| | | | proper handling...
* gallium: rename FORMAT_x to EMIT_x and use EMIT_ALL to emit whole vertex ↵Brian2008-01-232-16/+16
| | | | as-is in vbuf code
* gallium: remove support for separate depth/stencil buffers. Always combined ↵Brian2008-01-231-10/+5
| | | | now.
* gallium: restore/rewrite vbuf code for softpipeBrian2008-01-231-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.Brian2008-01-231-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 ↵Brian2008-01-211-7/+8
| | | | post-xform vertex attribs to hw vertex attribs
* Unify copy_rect helpers.Michel Dänzer2008-01-181-46/+11
| | | | Some of the copies were buggy.
* Back-port miscellaneous fixes from internal branch (mostly portability fixes).José Fonseca2008-01-173-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 warningKeith Whitwell2008-01-171-2/+4
|
* vbuf updates/fixes (KeithW)Brian2008-01-161-5/+1
| | | | Plus, update i915 and Cell drivers for latest vbuf->draw() params.
* Remove pipe->get/put_tile_rgba.Michel Dänzer2008-01-141-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änzer2008-01-141-8/+9
| | | | It's now the responsibility of surface users to keep track of their mappings.
* Additional parameters to vbuf_render->draw()Brian2008-01-101-1/+5
| | | | Pass complete information about vertex/index buffer location, size, etc.
* replace void * with struct draw_vertex_shader opaque typeBrian2008-01-031-3/+3
|
* gallium: incorporate alpha state into depth_stencil state object.Keith Whitwell2007-12-173-66/+30
|
* rename some 'mesa' functionsBrian2007-12-151-19/+15
|
* Use tile functions in new p_tile.[ch]Brian2007-12-151-87/+5
| | | | This removes quite a bit of code duplicated in the drivers.
* update comment for TGSI_TOKEN_TYPE_IMMEDIATE caseBrian2007-12-141-2/+3
|
* 965: get fragment shader compiler compilingKeith Whitwell2007-12-131-4/+0
| | | | Don't think that it will run though.
* Remove get/put_tile_rgba() functions.Brian2007-12-121-102/+1
| | | | Temporarily, use the functions from sp_rgba_tile.c
* Move float/rgba tile get/put functions into new file.Brian2007-12-121-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 neededBrian2007-12-121-10/+2
|
* remove old assertionBrian2007-12-121-1/+0
|
* add PIPE_FORMAT_R5G6B5_UNORM to list of supported screen surface typesBrian2007-12-121-0/+1
|
* Rework gallium and mesa queries a little.Keith Whitwell2007-12-111-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 interfaceKeith Whitwell2007-12-112-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 Whitwell2007-12-112-12/+0
|
* gallium: Remove feedback interfaces from pipe driver.Keith Whitwell2007-12-113-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é Fonseca2007-12-111-1/+2
|
* Add 'type' parameter to is_format_supported() to specify texture vs. drawing ↵Brian2007-12-101-44/+33
| | | | | | surface, etc. Additional types may be added in the future.
* implement i915_put_tile_rgba() - temporary code thoughBrian2007-12-101-2/+32
|
* Fix up some confusion wrt winsys->buffer_create alignment / flags parameters.Michel Dänzer2007-12-101-3/+1
| | | | intel_winsys works again.
* Adapt for winsys interface changes.José Fonseca2007-12-091-1/+2
|
* gallium: add draw_stage::destroy().Michal2007-12-091-0/+6
|
* add fence interfaces and buffer create flags to pipe_winsyskeithw2007-12-091-1/+1
|
* Define PIPE_FORMAT_ tokens as an enum set, rather than #defines.Brian2007-12-073-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.Brian2007-12-074-25/+25
| | | | For example, replace PIPE_FORMAT_U_A8_R8_G8_B8 with PIPE_FORMAT_A8R8G8B8_UNORM
* Eliminate struct pipe_region.Michel Dänzer2007-12-077-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änzer2007-12-069-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änzer2007-11-294-202/+189
|
* gallium: reorg tgsi directories.Michal Krol2007-11-232-3/+3
|
* gallium: back out winsys interface changesMichal Krol2007-11-231-1/+1
|
* Use the new vertex buffer draw stage.José Fonseca2007-11-221-307/+116
|