summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/failover
Commit message (Collapse)AuthorAgeFilesLines
* failover: several fixes to failover pipe moduleJerome Glisse2008-02-082-24/+57
|
* gallium: minor cleanups to pipe interfaceKeith Whitwell2008-01-261-1/+0
| | | | | - Remove put/get tile, just have users call put_tile_raw, etc directly. - Remove surface_data call, just map it locally.
* gallium: rename pipe_buffer_handle to pipe_buffer, rework pipebuffer/ codeKeith Whitwell2008-01-251-1/+1
| | | | | | | | | | | 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: incorporate alpha state into depth_stencil state object.Keith Whitwell2007-12-173-58/+11
|
* gallium: remove set_sampler_units interfaceKeith Whitwell2007-12-113-20/+6
| | | | | 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-113-15/+0
|
* Eliminate struct pipe_region.Michel Dänzer2007-12-071-2/+0
| | | | | 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-063-3/+4
| | | | 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-291-3/+3
|
* Added pipe->get_paramf() to query float limits.Brian2007-11-081-0/+1
| | | | So far max point size, line width, texture anistopy and lod bias.
* Remove pipe->max_texture_size(), use get_param() instead.Brian2007-11-061-1/+1
| | | | Also, in st_init_limits(), clamp driver's values against Mesa's internal limits.
* Replace supported_formats with is_format_supported interface.Michal Krol2007-10-281-1/+1
| | | | | | | | | | | The old supported_formats interface returned a list of formats supported by a pipe/winsys implementation. This was reasonable when gallium had a fixed list of predefined format. Now things has changed and the definition of PIPE_FORMAT is more flexible. The new shiny is_format_supported interface gets PIPE_FORMAT as an argument and returns a boolean whether this particular format is supported.
* Re-implement GLSL texture sampler variables.Brian2007-10-262-0/+15
| | | | | | | | | | GLSL sampler variables indicate which texture unit to use for TEX instructions. Previously, this was baked into the fragment/vertex program and couldn't be readily changed once set. Now, SamplerUnits[] array indicates which texture unit is to be used for each sampler variable. These values are set with glUniform1i(). This is extra state that must be passed to the fragment/vertex program executor at runtime.
* surface_alloc() is now a winsys function.Brian2007-10-261-0/+2
| | | | | This allows surfaces to be allocated without a rendering context. A few loose ends to resolve, but in working condition.
* Move region_alloc() and region_release() to pipe_winsys.Brian2007-10-251-2/+0
| | | | This allows regions to be allocated w/out a rendering context.
* Revert "Undo indexOffset change (I think, git???)"Brian2007-10-241-4/+2
| | | | This reverts commit 11ce6244a79106c592364b30434b6ddade3fd6bb.
* Undo indexOffset change (I think, git???)Brian2007-10-241-2/+4
|
* Make the alpha test state a cso.Zack Rusin2007-09-213-10/+42
|
* Fix failover state binding and convert the sampler to use the newZack Rusin2007-09-203-28/+58
| | | | state constant state object semantics.
* Convert depth_stencil state to the new semantics.Zack Rusin2007-09-203-5/+35
|
* Switch fragment/vertex shaders to the new caching semantics.Zack Rusin2007-09-203-12/+73
| | | | | Allow driver custom allocation within cached objects. The shaders are currently twiced (by cso layer and by the program itself).
* Convert the rasterizer cso to the new semantics.Zack Rusin2007-09-193-6/+34
| | | | | Basically make cso hold the driver specific struct, while managing the template.
* Redo the cso cache to map driver data in a lot more pleasing way.Zack Rusin2007-09-193-5/+38
| | | | | | Drivers can now create whatever they want from the state template. We use cso_state object to store the template (necessary during lookups), and the driver data. Convert blend state to the new semantics.
* Convert shader to an immutable state object.Zack Rusin2007-09-183-14/+13
|
* converting the setup state to immutable object and renaming it to rasterizer ↵Zack Rusin2007-09-183-13/+13
| | | | state
* Combing depth and stencil objects and making them immutable.Zack Rusin2007-09-183-45/+27
| | | | | Converting depth and stencil objects into a single state object (d3d10 like) and making it immutable.
* Make sampler an immutable state object.Zack Rusin2007-09-183-7/+7
| | | | Switch the sample to be an immutable state object.
* First stab at immutable state objects (create/bind/delete)Zack Rusin2007-09-183-6/+8
| | | | | | | We want our state objects to be immutable, handled via the create/bind/delete calls instead of struct propagation. Only implementing the blend state to see how it would look like and work.
* Remove non-meaningful region_idle() interfaceKeith Whitwell2007-09-171-1/+0
| | | | This is already handled by the semanics of map(), etc.
* Implement query object interface.Brian2007-09-111-2/+2
| | | | | | This replaces the temporary occlusion counter functions we had before. Added new ctx->Driver.WaitQuery() function which should block until the result is ready. Sketch out some code for vertex transformation feedback counters.
* Clear all the dirtyflag wordsKeith Whitwell2007-08-221-0/+4
|
* fix cut and pastekeithw2007-08-211-18/+24
|
* First pass at a fallback concept for pipe devices.Keith Whitwell2007-08-216-0/+752
Creates a new pipe driver that feeds commands to either a hardware or software pipe depending on fallback state. Untested concept checkpoint. At this point it compiles.