summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/draw
AgeCommit message (Collapse)Author
2007-12-09added null ptr check in draw_destroy() for rasterizer stageBrian
2007-12-09Adapt for winsys interface changes.José Fonseca
2007-12-09gallium: use SSE by defaultJosé Fonseca
2007-12-09gallium: initialized draw element buffer to NULLKeith Whitwell
2007-12-09gallium: add support for aliased 4ub formatKeith Whitwell
2007-12-09gallium: add draw_stage::destroy().Michal
2007-12-07Define PIPE_FORMAT_ tokens as an enum set, rather than #defines.Brian
This makes debugging a _lot_ easier. In gdb, "print format" used to display 613570600, now you see PIPE_FORMAT_A8R8G8B8_UNORM.
2007-12-07Get rid of "duplicate" formats.Brian
For example, replace PIPE_FORMAT_U_A8_R8_G8_B8 with PIPE_FORMAT_A8R8G8B8_UNORM
2007-11-23gallium: reorg tgsi directories.Michal Krol
2007-11-22New vertex buffer stage.José Fonseca
2007-11-22Fix compatibility issues between gcc and msvc.Michal
2007-11-21more simplification, clean-up in draw_set_vertex_info()Brian
2007-11-21Replace 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-21Simplify draw module's vertex_info.Brian
No longer store the vertex header and clip pos info in the draw module's vertex_info. The vertex_info just describes the data[] elements. This simplifies the code in several places.
2007-11-16more convenient debug codeBrian
2007-11-16added a clip-bypass flag to rasterizer stateBrian
2007-11-09comments, assertionsBrian
2007-11-09minor simplifcation in vertex_fetch()Brian
2007-11-08Reorganize user-space vertex fields in draw_context into 'user' group.Brian
This sub-struct collects the incoming user-provided data/pointers in one place. Ex: draw->mapped_vbuffer becomes draw->user.vbuffer, etc.
2007-11-08remove unneeded #includes, added assertion in draw_compute_vertex_size()Brian
2007-11-08Remove unneeded header, draw_prim.hBrian
2007-11-08Fix minor logic error in get_queued_prim() which caused flushing when there ↵Brian
was still room in the prim queue.
2007-11-08new commentsBrian
2007-11-08remove unneeded #includesBrian
2007-11-08comments, remove unneeded #includesBrian
2007-11-07Reset temporary vertices ids.José Fonseca
2007-11-07Use a consistent number to identify undefined vertices.José Fonseca
2007-11-02Add basic entry points for fragment shaders.Zack Rusin
2007-11-02Renaming llvmtgsi to gallivm. Taking first steps on the way to supportingZack Rusin
fragment shaders through llvm.
2007-10-29Make gallium compile in win32.Michal Krol
Use FREE, MALLOC, CALLOC, GETENV wrappers. Silence compiler warnings. Add proper copyrights.
2007-10-29Remove typedefs from enums.Zack Rusin
typedefs are rather evil, remove them and use the enum keyword explicitely.
2007-10-29Refactor the LLVM code a bit.Zack Rusin
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.
2007-10-27Fix SSE bug.michal
2007-10-27Respect use_sse flag.michal
2007-10-27Enable SSE2 for vertex shaders.michal
2007-10-27Add sse2_program to draw_vertex_shader.michal
2007-10-27Silence compiler warnings.michal
2007-10-25set vcache.referenced bit alwayskeithw
2007-10-24better debug outputBrian
2007-10-24Add copyright headers and do some cleanups.Zack Rusin
2007-10-24Cleanup some code.Zack Rusin
2007-10-24Align the load/stores. Reduce the amount of debugging output.Zack Rusin
2007-10-24Cleanup some of the debugging output codeZack Rusin
2007-10-24Muchos fixos. gears kinda works. and cases don't crash.Zack Rusin
glorious
2007-10-24Draw first triangle. Start on the llvm builder.Zack Rusin
2007-10-24Cleanup some of the testing code. Implement first pass at actuallyZack Rusin
running shaders in llvm.
2007-10-24Execution engine is a singleton, for now keep it in the pipe.Zack Rusin
2007-10-24Generate the base shader.Zack Rusin
2007-10-24Implement the conversion and do the initial execution pass.Zack Rusin
2007-10-23Fix vertex cache bug that allows multiple vertices to fall into the same slot.Brian
Need to set the slot's bit in draw->vcache.referenced even when there was a cache hit since flushing the primitive buffer will have cleared the bitfield but not the cache's vertex indexes. Fixes a bug found when drawing long triangle fans but could be hit by other prim types as well. An alternate fix would be to call draw_vertex_cache_invalidate() from draw_vertex_cache_unreference().