summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
Commit message (Collapse)AuthorAgeFilesLines
* Make it compile under linux.Michal Krol2007-10-292-0/+2
| | | | | Move pipe_region/surface_reference functions to pipe/p_inlines.h. Remove #include "p_util.h" from pipe/p_context.h.
* remove dead codeBrian2007-10-291-77/+0
|
* check for signed vs. unsigned in st_get_format_info() - fixes accum buffer ↵Brian2007-10-291-6/+12
| | | | failure
* simplify code which access the current vertex/fragment shadersBrian2007-10-292-43/+5
|
* Remove typedefs from enums.Zack Rusin2007-10-291-1/+1
| | | | | typedefs are rather evil, remove them and use the enum keyword explicitely.
* Refactor the LLVM code a bit.Zack Rusin2007-10-291-3/+1
| | | | | | Move the CPU vertex shader execution code to the draw module, remove traces of LLVM from the state tracker, abstract execution engine for the purposes of the draw module.
* Remove TGSI_INTERPOLATE_ATTRIB.Michal Krol2007-10-291-8/+10
|
* Fix newlines.Michal Krol2007-10-291-840/+840
|
* Update comments.Michal Krol2007-10-281-2/+0
|
* Replace supported_formats with is_format_supported interface.Michal Krol2007-10-282-63/+40
| | | | | | | | | | | 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.
* Declare temporaries in a more compact fashion.michal2007-10-281-61/+61
| | | | | | | | | | | The following declarations: DCL TEMP[0] DCL TEMP[1] DCL TEMP[2] DCL TEMP[4] become: DCL TEMP[0..2] DCL TEMP[4]
* Declare temporaries in a more compact fashion.michal2007-10-281-55/+61
| | | | | | | | | | | The following declarations: DCL TEMP[0] DCL TEMP[1] DCL TEMP[2] DCL TEMP[4] become: DCL TEMP[0..2] DCL TEMP[4]
* Use PIPE_FORMAT in state tracker.michal2007-10-273-21/+191
| | | | | Fix PIPE_FORMAT field encoding. Re-implement st_get_format_info.
* Refactor supported format queries.michal2007-10-271-67/+73
|
* Remove PIPE_FORMAT_COUNT references.michal2007-10-271-2/+2
|
* Comments about texture instructions and the src regsBrian2007-10-271-3/+10
|
* Move mesa_to_tgsi.[ch] to state_trackerBrian2007-10-277-13/+73
|
* Move mesa_to_tgsi.[ch] into state tracker.Brian2007-10-272-0/+828
|
* Re-implement GLSL texture sampler variables.Brian2007-10-261-1/+32
| | | | | | | | | | 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-1/+1
| | | | | 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-253-9/+15
| | | | This allows regions to be allocated w/out a rendering context.
* silence warningBrian2007-10-251-0/+2
|
* Move the get/put_tile() functions to pipe_context.Brian2007-10-254-16/+16
| | | | The _rgba versions are temporary until the state tracker is updated.
* Fix glDrawElements + VBO rendering when ptr/offset is not zero.Brian2007-10-241-2/+5
| | | | | | | When an index VBO is bound, glDrawElement's indices pointer is really an offset into the element buffer. Add that offset to the prims[i].start value before calling pipe->draw_elements(). Fixes vbo.c conform test.
* 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
|
* flush pipe in draw_stencil_pixels()Brian2007-10-241-0/+2
|
* Add copyright headers and do some cleanups.Zack Rusin2007-10-241-2/+2
|
* Cleanup some code.Zack Rusin2007-10-241-1/+5
|
* Execution engine is a singleton, for now keep it in the pipe.Zack Rusin2007-10-241-2/+2
|
* Initial stab at LLVM integration.Zack Rusin2007-10-241-1/+3
|
* Don't pad renderbuffers to multiple of two pixels anymore.Brian2007-10-231-6/+1
| | | | | This was only needed to avoid out-of-bounds memory accesses with the 2x2 quad_read/write() functions which no longer exist.
* fix masking bug, memory leakBrian2007-10-221-29/+28
|
* new flag to control psize (from vertex shader or fixed size)Brian2007-10-221-0/+1
|
* add support for sprite texcoord modesBrian2007-10-221-0/+12
|
* add point_sprite flag to rasterizer stateBrian2007-10-221-0/+1
|
* flush the pipe before accum opsBrian2007-10-201-0/+3
|
* unmap regions when reallocating renderbuffer storageBrian2007-10-201-0/+4
|
* renderbuffer tweaks in update_framebuffer_state()Brian2007-10-201-4/+5
|
* Alternate CopyPixels path based on get/put_tile().Brian2007-10-183-8/+41
| | | | | | | For some drivers (like Xlib) it's not possible to treat the front/back color buffers as pipe_regions. So pipe->region_copy() won't work. Added a new state tracker field indicating if we can use regions for colorbuffer accesses. This should probably be re-considered someday...
* fix off-by-one error in CopyPixels src positionBrian2007-10-181-1/+1
|
* fix upside down CopyPixels imageBrian2007-10-181-17/+25
|
* fix function nameBrian2007-10-181-1/+1
|
* checkpoint: code refactoring for glCopyPixelsBrian2007-10-181-50/+123
|
* start implementing glCopyPixels (stencil works)Brian2007-10-181-0/+79
|
* make read_stencil_pixels() non-staticBrian2007-10-182-5/+11
|
* print vertex input mappingBrian2007-10-181-0/+6
|
* handle fogcoord/raster distanceBrian2007-10-181-4/+15
|
* debug functionsBrian2007-10-182-0/+96
|
* remove #include vf.hBrian2007-10-174-5/+0
|