summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary
AgeCommit message (Collapse)Author
2008-03-23gallium: Fix memory leak.José Fonseca
pipe cso's were being destroyed, but the hash elements themselves not. proper fix is IMHO add a destructor callback to cso_hash.
2008-03-23gallium: Remove the debug_mask_* stuff.José Fonseca
Overcomplex and not much different from using a global variable...
2008-03-23gallium: Fix typo.José Fonseca
2008-03-23gallium: Memory debugging utilities.José Fonseca
There are no known tools for windows kernel memory debugging, so this is a simple set of malloc etc wrappers. Enabled by default on win32 debug builds
2008-03-23draw: fix some unsigned vs ushort confusionKeith Whitwell
Middle-end elements are ushort, but prior to that have to treat all elements as unsigned to avoid wrapping and/or overruns.
2008-03-23gallium: beginnings of draw module vertex reworkKeith Whitwell
Trying to put a structure in place that we can actually optimize. Initially just implementing a passthrough mode, this will fairly soon replace all the vertex_cache/prim_queue/shader_queue stuff that's so hard to understand... Split the vertex processing into a couple of distinct stages: - Frontend - Prepares two lists of elements (fetch and draw) to be processed by the next stage. This stage doesn't fetch or draw vertices, but makes the decision which to draw. Multiple implementations of this will implement different strategies, currently just a vcache implementation. - MiddleEnd - Takes the list of fetch elements, fetches them, runs the vertex shader, cliptest, viewport transform on them to produce a linear array of vertex_header vertices. - Passes that list of vertices, plus the draw_elements (which index into that list) onto the backend - Backend - Either the existing primitive/clipping pipeline, or the vbuf_render hardware backend provided by the driver. Currently, the middle-end is the old passthrough code, and it build hardware vertices, not vertex_header vertices as above. It may be that passthrough is a special case in this respect.
2008-03-22gallium: free samplers, textures in destroy()Brian
2008-03-22gallium: fix mem leak (fee pstipple stage)Brian
2008-03-22gallium: Remove pedantic asserts.José Fonseca
Move these to a higher level instead.
2008-03-20gallium: set fb.width/heightBrian
2008-03-20gallium: enable vp input semantic infoBrian
2008-03-20gallium: create one vertex buffer and re-useBrian
2008-03-20gallium: use sizeof(vertex buffer)Brian
2008-03-20gallium: Give some chance for the table to actually grow.José Fonseca
2008-03-20gallium: Fix build on Windows.Michal Krol
2008-03-20gallium: Fix build on Windows.Michal Krol
2008-03-20gallium: remove unused local varKeith Whitwell
2008-03-20gallium: create vertex buffer once and re-use.Brian
2008-03-20gallium: added util_draw_vertex_buffer()Brian
2008-03-20gallium: temporarily disable the memcmp() in cso_set_framebuffer()Brian
The memcmp() fails to detect buffer size changes...
2008-03-20gallium: added util_make_fragment_passthrough_shader()Brian
2008-03-20gallium: add debug facility to dump random blobs as hexKeith Whitwell
2008-03-19gallium: add face, dirtyLevels params to pipe->texture_update()Brian Paul
This provides better information about which images in texture object have changed. Also, call texture_update() from more places previously missed.
2008-03-19gallium: fix bug in cso_single_sampler_done() in computation of nr_samplersBrian Paul
Need to find highest used sampler so search from end toward beginning.
2008-03-19gallium: Fix broken logic.José Fonseca
2008-03-19gallium: explict float castsKeith Whitwell
2008-03-19gallium: implement CSO save/restore functions for use by meta operations ↵Brian
(blit, gen-mipmaps, quad-clear, etc) Also, additional cso_set_*() functions for viewport, framebuffer, blend color, etc. state.
2008-03-19gallium: Add generic enum and flags dumping utility functions.José Fonseca
2008-03-18gallium: added braces to silence warningBrian
2008-03-18gallium: s/copy_pixels_state/blit_stateBrian
2008-03-18gallium: added cso_unset_*() functionsBrian
If we go behind the CSO context's back and set pipe state directly we need to invalidate the CSO's 'current' pointers. This will be revisited...
2008-03-18gallium: new pixel blit codeBrian
Copy rectangular region from one surface to another w/ scaling. Disables most fragment operations.
2008-03-18gallium: protect against multi-#includeBrian
2008-03-18added u_simple_shaders.cBrian
2008-03-18gallium: make the gen_mipmap_state struct privateBrian
2008-03-18gallium: use new simple shader utility routinesBrian
2008-03-18gallium: utilities for creating simple vertex/fragment shadersBrian
2008-03-18d3d: Allow to iterate over the handle table.José Fonseca
2008-03-18d3d: Add function to walk through all items in the hash table.José Fonseca
2008-03-18gallium: Don't be pedantic about removing non exiting items from the table.José Fonseca
2008-03-18gallium: fix a mix-up in the uint[1] do_row() caseBrian
2008-03-18gallium: utility for packing color, z values according to pipe_formatBrian
2008-03-18gallium: Silencium warnings on Windows.Michal Krol
2008-03-17gallium: initial gen mipmap s/w fallback codeBrian
2008-03-17cell: Don't free NULL code pointersIan Romanick
2008-03-17cell: Fix simple register allocatorIan Romanick
THere are 64-bits in a uint64_t, not 128. Duh.
2008-03-17gallium: added new u_draw_quad.c and u_gen_mipmap.c files.Brian
2008-03-17gallium: new mipmap generation codeBrian
Based on code from Mesa's state tracker. Still need to implement fallbacks for those texture formats which can't generally be rendered to.
2008-03-17gallium: new util_draw_texquad() function.Brian
2008-03-17gallium: improvements, or extensions at least, to the passthrough pathKeith Whitwell
Passthrough is actually more tricky than you'd think...