Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-08-02 | util: Fix unpacking of R8G8Bx_SNORM format. | Michal Krol | |
Apparently, we must always use integers to perform calculations, otherwise the results won't match D3D's CxV8U8 definition. | |||
2010-07-30 | util: Fix the range of util_draw_elements_instanced. | Chia-I Wu | |
Keep min_index and max_index at their defaults (0 and ~0). | |||
2010-07-30 | util: more helpers for old draw code | Keith Whitwell | |
2010-07-29 | util: add uint version of pack_z_stencil | Keith Whitwell | |
Useful for packing mask values. | |||
2010-07-29 | util: Don't include xmmintrin.h. | José Fonseca | |
Unnecessary. | |||
2010-07-29 | gallium: 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-29 | gallium: 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-26 | util: fix unused function warning on non-x86 | Brian Paul | |
2010-07-26 | util: fix CPU detection on OS X | nobled | |
s/PIPE_OS_DARWIN/PIPE_OS_APPLE, since there is no PIPE_OS_DARWIN. Acked-by: Vinson Lee <vlee@vmware.com> | |||
2010-07-26 | util: fix another mutex leak in mempool | Marek Olšák | |
By fixing one, I introduced another. Crap. | |||
2010-07-26 | util: fix mutex leaks in mempool | Marek Olšák | |
2010-07-23 | util: Add PIPE_OS_CYGWIN to u_network. | Vinson Lee | |
2010-07-20 | util: mempool: initialize last block's magic number in a page | Marek Olšák | |
2010-07-19 | util: remove the dummy field in mempool | Marek Olšák | |
It should allocate less memory now. | |||
2010-07-19 | util: add dummy field to empty structure types | Brian Paul | |
Empty structure types aren't allowed with MSVC. I haven't tested this change. Hope I haven't broken it... | |||
2010-07-19 | util: add a memory pool for equally sized memory allocations | Marek Olšák | |
malloc/free are in O(1). | |||
2010-07-12 | u_blitter: add draw_rectangle callback which can be overridden by a driver | Marek Olšák | |
2010-07-12 | u_blitter: clean up the texcoord computations | Marek Olšák | |
2010-07-12 | u_blitter: simplify blitter_set_rectangle | Marek Olšák | |
2010-07-12 | u_blitter: rename blitter->base, add a way to get a pipe context from blitter | Marek Olšák | |
2010-07-07 | util: print help for debug options on non-debug builds | Marek Olšák | |
I'd like to see the help when I request it. | |||
2010-07-05 | auxiliary/util: Add SM3 meta-cap list. | Corbin Simpson | |
2010-07-02 | util: 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-02 | util: Expose util_format_fits_8unorm(). | José Fonseca | |
2010-07-02 | r600: 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-29 | util: reference surfaces and sampler views in blitter when saving them | Marek Olšák | |
Ooops. This should possibly fix some bugs... | |||
2010-06-27 | util: fix a memory leak in blitter | Marek Olšák | |
2010-06-25 | gallium/util: fix pipe_sampler_view_reference() calls | Brian Paul | |
The conditionals aren't needed. | |||
2010-06-22 | u_math: Add align function npot alignments | Jakob Bornecrantz | |
2010-06-16 | util: add alloc check | Alan Hourihane | |
2010-06-14 | util: Use int type for format field width. | José Fonseca | |
As suggested by gcc warning. | |||
2010-06-14 | util: Add a func_to_pointer util function too. | José Fonseca | |
2010-06-10 | draw: geometry shader fixes | Zack Rusin | |
don't overwrite the inputs and make sure the correct primitive is used on entry | |||
2010-06-09 | util: reference vertex buffers in blitter | Marek Olšák | |
2010-06-07 | util: implement util_clear_depth_stencil fallback | Roland 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-07 | util: new file u_dirty_flags.h | Keith Whitwell | |
2010-06-07 | util: add u_box_3d | Keith Whitwell | |
2010-06-07 | util: add util_framebuffer_min_size | Keith Whitwell | |
2010-06-07 | util: allocate larger tmp_row in util_format_translate | Keith 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-03 | util: Remove unnecessary header. | Vinson Lee | |
2010-06-03 | Merge branch 'gallium-newclear' | Roland Scheidegger | |
Conflicts: src/gallium/state_trackers/python/p_context.i | |||
2010-06-03 | gallium: rename clearRT / clearDS to clear_render_target / clear_depth_stencil | Roland Scheidegger | |
more consistent with rest of gallium naming conventions. Also rename driver-internal names for these the same. | |||
2010-06-03 | gallium: add interpolation parameter to simple shader functions | Brian Paul | |
This lets us specify linear interpolation instead of perspective interpolation for blit operations. Might be a bit faster. | |||
2010-06-03 | util/u_debug: use MAX2 macro | Brian Paul | |
2010-06-03 | util/u_debug: add description field to debug_named_value | Joakim Sindholt | |
2010-05-31 | gallium/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-30 | util: Add inline function for approximate floating point comparison. | José Fonseca | |
2010-05-30 | util: Generic pointer to func conversion helper. | José Fonseca | |
That observes strict-aliasing rules. | |||
2010-05-29 | util: adapt to clear interface changes | Roland Scheidegger | |
2010-05-27 | util: Also add a define for the dynamic library's prefix. | José Fonseca | |