Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-02-15 | Code reorganization: update build. | José Fonseca | |
Update the Makefiles and includes for the new paths. Note that there hasn't been no separation of the Makefiles yet, and make is jumping all over the place. That will be taken care shortly. But for now, make should work. It was tested with linux and linux-dri. Linux-cell and linux-llvm might require some minor tweaks. | |||
2008-02-08 | gallium: added inClipCoords param to st_draw_vertices() to indicate coord ↵ | Brian | |
system of vertices Also, export st_make_passthrough_vertex_shader() from st_cb_drawpixels.c | |||
2008-01-29 | gallium: don't rely on assert(0) for error handling - may be disabled | Keith Whitwell | |
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-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-23 | gallium: s/INTERP_NONE/INTERP_LINEAR/ to fix assertion with ↵ | Brian | |
progs/samples/select.c | |||
2008-01-14 | Fix problems with vertex shaders and the private draw module. | Brian | |
The CSO returned by pipe->create_vs_state() can't be passed to the private draw module. That was causing glRasterPos to blow up. Add a 'draw_shader' field to st_vertex_program for use with the private draw module. Change st_context->state.vs type from cso_vertex_shader to st_vertex_program. | |||
2008-01-01 | unref buffer after drawing, fixes rastpos mem leak | Brian | |
2007-12-19 | actually set the max_index. useful in the driver | Zack Rusin | |
2007-12-18 | gallium: rationalize vertex_element state packet | Keith Whitwell | |
Remove dst_offset (not used) Add nr_components, which could be calculated from format, but would be too much effort. Update i965 driver to cope. | |||
2007-12-10 | XXX comments about some hard-coded values that need to be fixed | Brian | |
2007-12-10 | Correct user VBO size. | Ben Skeggs | |
2007-12-09 | gallium: support the full range of possible vertex types | Keith Whitwell | |
2007-12-09 | add fence interfaces and buffer create flags to pipe_winsys | keithw | |
2007-12-07 | New vbo_set_draw_func() to keep vbo context opaque to state tracker and tnl ↵ | Brian | |
module. | |||
2007-12-05 | silence warning | Brian | |
2007-11-21 | Replace draw_set_vertex_attributes() with simpler draw_set_vertex_info(). | Brian | |
Just pass in the vertex_info object and make a copy of it. | |||
2007-11-16 | adjustments so st_feedback_draw_vbo() can be used for glRasterPos | Brian | |
2007-11-06 | Supply buffer usage hints to winsys. | José Fonseca | |
Winsys driver needs some hints in order to allocate the appropriate kind of memory for the buffer. | |||
2007-10-31 | Use ffvertex_prog.c code instead of t_vp_build.c code. | Brian | |
2007-10-29 | Remove typedefs from enums. | Zack Rusin | |
typedefs are rather evil, remove them and use the enum keyword explicitely. | |||
2007-10-24 | Fix glDrawElements + VBO rendering when ptr/offset is not zero. | Brian | |
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. | |||
2007-10-24 | Revert "Undo indexOffset change (I think, git???)" | Brian | |
This reverts commit 11ce6244a79106c592364b30434b6ddade3fd6bb. | |||
2007-10-24 | Undo indexOffset change (I think, git???) | Brian | |
2007-10-15 | GL_UNSIGNED_BYTE indexes | Brian | |
2007-10-15 | Undo prev changes. | Brian | |
2007-10-15 | GL_SELECT mode works now | Brian | |
2007-10-15 | call pipe->set_vertex_buffer() after drawing/unreferencing. | Brian | |
This fixes potential a stale reference to vertex buffers. Fixes cubemap demo on i915. | |||
2007-10-12 | added assertion to be sure we don't exceed bitfield size | Brian | |
2007-10-11 | rename some vars, updated comments | Brian | |
2007-10-11 | remove unused tgsi_attrib_to_mesa_attrib() | Brian | |
2007-10-11 | update st_feedback_draw_vbo() | Brian | |
2007-10-11 | streamline st_draw_vbo() a bit more, free user-space buffers at end | Brian | |
2007-10-11 | clean-up, streamline st_draw_vbo() | Brian | |
2007-10-10 | Use winsys->user_buffer_create() to wrap user-space vertex arrays and ↵ | Brian | |
element buffers. Now client-side vertex arrays and glDrawElements work. More testing/debug/clean-up to come... | |||
2007-09-28 | Redoing the way we handle vertex shaders for the draw module. | Zack Rusin | |
2007-09-28 | Revert "Redoing the way we handle vertex shaders for the draw module." | Zack Rusin | |
This reverts commit 6dcfddb8e2ec2bfb6187b912807fa65f28da2c5e. | |||
2007-09-28 | Redoing the way we handle vertex shaders for the draw module. | Zack Rusin | |
2007-09-25 | st_draw_vertices() no longer needs attribs[] array parameter | Brian | |
2007-09-20 | remove #includes of tgsi_attribs.h | Brian | |
2007-09-20 | checkpoint: TGSI_ATTRIB_x tokens no longer used | Brian | |
2007-09-20 | Switch fragment/vertex shaders to the new caching semantics. | Zack Rusin | |
Allow driver custom allocation within cached objects. The shaders are currently twiced (by cso layer and by the program itself). | |||
2007-09-19 | Checkpoint: replacement of TGSI_ATTRIB_x tokens with input/output semantics. | Brian | |
TGSI_ATTRIB_x tokens still present and used in a few places. Expanded set of TGSI_SEMANTIC_x tokens for describing the meaning of inputs/outputs. These tokens are in a crude state ATM. Lots of #if 0 / disabled code to be removed yet, etc... Softpipe and i915 drivers should be in working condition but not heavily tested. | |||
2007-09-19 | Adding proper includes often helps with the warnings, | Zack Rusin | |
or so i hear.. | |||
2007-09-19 | Convert the rasterizer cso to the new semantics. | Zack Rusin | |
Basically make cso hold the driver specific struct, while managing the template. | |||
2007-09-19 | grab vertex program pointer after state validation | Brian | |
2007-09-18 | Checkpoint: rework shader input/output register mapping. | Brian | |
This is a step toward removing TGSI_ATTRIB_ tokens. Basically, when translating Mesa programs to TGSI programs, pass in input and output register re-maps, plus interpolation info. There's some known breakage (cubemap.c) so more to be done... | |||
2007-09-18 | Convert shader to an immutable state object. | Zack Rusin | |
2007-09-18 | Finishing up rename of the setup state to the rasterizer state. | Zack Rusin | |