Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make it compile under linux. | Michal Krol | 2007-10-29 | 2 | -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 code | Brian | 2007-10-29 | 1 | -77/+0 |
| | |||||
* | check for signed vs. unsigned in st_get_format_info() - fixes accum buffer ↵ | Brian | 2007-10-29 | 1 | -6/+12 |
| | | | | failure | ||||
* | simplify code which access the current vertex/fragment shaders | Brian | 2007-10-29 | 2 | -43/+5 |
| | |||||
* | Remove typedefs from enums. | Zack Rusin | 2007-10-29 | 1 | -1/+1 |
| | | | | | typedefs are rather evil, remove them and use the enum keyword explicitely. | ||||
* | Refactor the LLVM code a bit. | Zack Rusin | 2007-10-29 | 1 | -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 Krol | 2007-10-29 | 1 | -8/+10 |
| | |||||
* | Fix newlines. | Michal Krol | 2007-10-29 | 1 | -840/+840 |
| | |||||
* | Update comments. | Michal Krol | 2007-10-28 | 1 | -2/+0 |
| | |||||
* | Replace supported_formats with is_format_supported interface. | Michal Krol | 2007-10-28 | 2 | -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. | michal | 2007-10-28 | 1 | -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. | michal | 2007-10-28 | 1 | -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. | michal | 2007-10-27 | 3 | -21/+191 |
| | | | | | Fix PIPE_FORMAT field encoding. Re-implement st_get_format_info. | ||||
* | Refactor supported format queries. | michal | 2007-10-27 | 1 | -67/+73 |
| | |||||
* | Remove PIPE_FORMAT_COUNT references. | michal | 2007-10-27 | 1 | -2/+2 |
| | |||||
* | Comments about texture instructions and the src regs | Brian | 2007-10-27 | 1 | -3/+10 |
| | |||||
* | Move mesa_to_tgsi.[ch] to state_tracker | Brian | 2007-10-27 | 7 | -13/+73 |
| | |||||
* | Move mesa_to_tgsi.[ch] into state tracker. | Brian | 2007-10-27 | 2 | -0/+828 |
| | |||||
* | Re-implement GLSL texture sampler variables. | Brian | 2007-10-26 | 1 | -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. | Brian | 2007-10-26 | 1 | -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. | Brian | 2007-10-25 | 3 | -9/+15 |
| | | | | This allows regions to be allocated w/out a rendering context. | ||||
* | silence warning | Brian | 2007-10-25 | 1 | -0/+2 |
| | |||||
* | Move the get/put_tile() functions to pipe_context. | Brian | 2007-10-25 | 4 | -16/+16 |
| | | | | The _rgba versions are temporary until the state tracker is updated. | ||||
* | Fix glDrawElements + VBO rendering when ptr/offset is not zero. | Brian | 2007-10-24 | 1 | -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???)" | Brian | 2007-10-24 | 1 | -4/+2 |
| | | | | This reverts commit 11ce6244a79106c592364b30434b6ddade3fd6bb. | ||||
* | Undo indexOffset change (I think, git???) | Brian | 2007-10-24 | 1 | -2/+4 |
| | |||||
* | flush pipe in draw_stencil_pixels() | Brian | 2007-10-24 | 1 | -0/+2 |
| | |||||
* | Add copyright headers and do some cleanups. | Zack Rusin | 2007-10-24 | 1 | -2/+2 |
| | |||||
* | Cleanup some code. | Zack Rusin | 2007-10-24 | 1 | -1/+5 |
| | |||||
* | Execution engine is a singleton, for now keep it in the pipe. | Zack Rusin | 2007-10-24 | 1 | -2/+2 |
| | |||||
* | Initial stab at LLVM integration. | Zack Rusin | 2007-10-24 | 1 | -1/+3 |
| | |||||
* | Don't pad renderbuffers to multiple of two pixels anymore. | Brian | 2007-10-23 | 1 | -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 leak | Brian | 2007-10-22 | 1 | -29/+28 |
| | |||||
* | new flag to control psize (from vertex shader or fixed size) | Brian | 2007-10-22 | 1 | -0/+1 |
| | |||||
* | add support for sprite texcoord modes | Brian | 2007-10-22 | 1 | -0/+12 |
| | |||||
* | add point_sprite flag to rasterizer state | Brian | 2007-10-22 | 1 | -0/+1 |
| | |||||
* | flush the pipe before accum ops | Brian | 2007-10-20 | 1 | -0/+3 |
| | |||||
* | unmap regions when reallocating renderbuffer storage | Brian | 2007-10-20 | 1 | -0/+4 |
| | |||||
* | renderbuffer tweaks in update_framebuffer_state() | Brian | 2007-10-20 | 1 | -4/+5 |
| | |||||
* | Alternate CopyPixels path based on get/put_tile(). | Brian | 2007-10-18 | 3 | -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 position | Brian | 2007-10-18 | 1 | -1/+1 |
| | |||||
* | fix upside down CopyPixels image | Brian | 2007-10-18 | 1 | -17/+25 |
| | |||||
* | fix function name | Brian | 2007-10-18 | 1 | -1/+1 |
| | |||||
* | checkpoint: code refactoring for glCopyPixels | Brian | 2007-10-18 | 1 | -50/+123 |
| | |||||
* | start implementing glCopyPixels (stencil works) | Brian | 2007-10-18 | 1 | -0/+79 |
| | |||||
* | make read_stencil_pixels() non-static | Brian | 2007-10-18 | 2 | -5/+11 |
| | |||||
* | print vertex input mapping | Brian | 2007-10-18 | 1 | -0/+6 |
| | |||||
* | handle fogcoord/raster distance | Brian | 2007-10-18 | 1 | -4/+15 |
| | |||||
* | debug functions | Brian | 2007-10-18 | 2 | -0/+96 |
| | |||||
* | remove #include vf.h | Brian | 2007-10-17 | 4 | -5/+0 |
| |