summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/util
AgeCommit message (Collapse)Author
2010-07-29gallium: Use unified pipe_context::draw_vbo.Chia-I Wu
Update u_draw_quad, st/vega, and st/mesa to use pipe_context::draw_vbo.
2010-07-29gallium: Implement draw_vbo and set_index_buffer for all drivers.Chia-I Wu
Some drivers define a generic function that is called by all drawing functions. To implement draw_vbo for such drivers, either draw_vbo calls the generic function or the prototype of the generic function is changed to match draw_vbo. Other drivers have no such generic function. draw_vbo is implemented by calling either draw_arrays and draw_elements. For most drivers, set_index_buffer does not mark the state dirty for tracking. Instead, the index buffer state is emitted whenever draw_vbo is called, just like the case with draw_elements. It surely can be improved.
2010-07-26util: fix unused function warning on non-x86Brian Paul
2010-07-26util: fix CPU detection on OS Xnobled
s/PIPE_OS_DARWIN/PIPE_OS_APPLE, since there is no PIPE_OS_DARWIN. Acked-by: Vinson Lee <vlee@vmware.com>
2010-07-26util: fix another mutex leak in mempoolMarek Olšák
By fixing one, I introduced another. Crap.
2010-07-26util: fix mutex leaks in mempoolMarek Olšák
2010-07-23util: Add PIPE_OS_CYGWIN to u_network.Vinson Lee
2010-07-20util: mempool: initialize last block's magic number in a pageMarek Olšák
2010-07-19util: remove the dummy field in mempoolMarek Olšák
It should allocate less memory now.
2010-07-19util: add dummy field to empty structure typesBrian Paul
Empty structure types aren't allowed with MSVC. I haven't tested this change. Hope I haven't broken it...
2010-07-19util: add a memory pool for equally sized memory allocationsMarek Olšák
malloc/free are in O(1).
2010-07-12u_blitter: add draw_rectangle callback which can be overridden by a driverMarek Olšák
2010-07-12u_blitter: clean up the texcoord computationsMarek Olšák
2010-07-12u_blitter: simplify blitter_set_rectangleMarek Olšák
2010-07-12u_blitter: rename blitter->base, add a way to get a pipe context from blitterMarek Olšák
2010-07-07util: print help for debug options on non-debug buildsMarek Olšák
I'd like to see the help when I request it.
2010-07-05auxiliary/util: Add SM3 meta-cap list.Corbin Simpson
2010-07-02util: Add a fetch_rgba_8unorm.José Fonseca
Not always implemented, but useful in situations where we want 8unorms and the samples comes as 8unorms as we needlessly convert to/from floats.
2010-07-02util: Expose util_format_fits_8unorm().José Fonseca
2010-07-02r600: use gallium list macros instead of making our own.Dave Airlie
before this change, r600 glxinfo segfaulted in the list code, and I wasn't debugging another linked list implementation, its 2010 after all. So add the two missing list macros to the gallium header from X.org list header file (after fixing them), then port all r600 lists to the new header. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-06-29util: reference surfaces and sampler views in blitter when saving themMarek Olšák
Ooops. This should possibly fix some bugs...
2010-06-27util: fix a memory leak in blitterMarek Olšák
2010-06-25gallium/util: fix pipe_sampler_view_reference() callsBrian Paul
The conditionals aren't needed.
2010-06-22u_math: Add align function npot alignmentsJakob Bornecrantz
2010-06-16util: add alloc checkAlan Hourihane
2010-06-14util: Use int type for format field width.José Fonseca
As suggested by gcc warning.
2010-06-14util: Add a func_to_pointer util function too.José Fonseca
2010-06-10draw: geometry shader fixesZack Rusin
don't overwrite the inputs and make sure the correct primitive is used on entry
2010-06-09util: reference vertex buffers in blitterMarek Olšák
2010-06-07util: implement util_clear_depth_stencil fallbackRoland Scheidegger
this doesn't really look terribly useful for drivers to use, but until drivers use their own implementation provide this since some state trackers really want to use these functions.
2010-06-07util: new file u_dirty_flags.hKeith Whitwell
2010-06-07util: add u_box_3dKeith Whitwell
2010-06-07util: add util_framebuffer_min_sizeKeith Whitwell
2010-06-07util: allocate larger tmp_row in util_format_translateKeith Whitwell
The tmp_row storage allocation took into account the format's y block size by allocating y_step rows of data. However, the x block size was not being taken into account when deciding how wide those rows need to be. Now make sure that tmp_row is at least x_step by y_step in size.
2010-06-03util: Remove unnecessary header.Vinson Lee
2010-06-03Merge branch 'gallium-newclear'Roland Scheidegger
Conflicts: src/gallium/state_trackers/python/p_context.i
2010-06-03gallium: rename clearRT / clearDS to clear_render_target / clear_depth_stencilRoland Scheidegger
more consistent with rest of gallium naming conventions. Also rename driver-internal names for these the same.
2010-06-03gallium: add interpolation parameter to simple shader functionsBrian Paul
This lets us specify linear interpolation instead of perspective interpolation for blit operations. Might be a bit faster.
2010-06-03util/u_debug: use MAX2 macroBrian Paul
2010-06-03util/u_debug: add description field to debug_named_valueJoakim Sindholt
2010-05-31gallium/util: Define isfinite and isnan for MSVC.Chia-I Wu
Define isfinite and isnan to _finite and _isnan respectively for MSVC. Those macros are needed by st/vega.
2010-05-30util: Add inline function for approximate floating point comparison.José Fonseca
2010-05-30util: Generic pointer to func conversion helper.José Fonseca
That observes strict-aliasing rules.
2010-05-29util: adapt to clear interface changesRoland Scheidegger
2010-05-27util: Also add a define for the dynamic library's prefix.José Fonseca
2010-05-26util: Remove unnecessary headers.Vinson Lee
2010-05-25util: update comments at blitterMarek Olšák
2010-05-25util: fix indentation in blitterMarek Olšák
2010-05-25r300g,util: remove pipe_surface from the util_blitter_copy interface and ↵Marek Olšák
clean up
2010-05-25r300g,util: remove pipe_surface from the util_blitter_fill interface and ↵Marek Olšák
clean up