summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/util
AgeCommit message (Collapse)Author
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
2010-05-25util: remove unused util_blitter_copy_surfaceMarek Olšák
2010-05-23util/blitter: allow NULL clear colorMarek Olšák
2010-05-21Merge branch 'gallium-msaa'Roland Scheidegger
Conflicts: src/mesa/state_tracker/st_gen_mipmap.c src/mesa/state_tracker/st_texture.c
2010-05-21Merge branch 'gallium-front-ccw'Keith Whitwell
2010-05-20gallium: fix/update tex target dumpingBrian Paul
2010-05-20gallium: added util_dump_logicop()Brian Paul
2010-05-19util: fix obvious util_blitter_copy bugs...Roland Scheidegger
2010-05-19util: util_blitter_fill no longer needs to handle overlapRoland Scheidegger
2010-05-18util: fix some leftover util_surface_fill/copy callsRoland Scheidegger
2010-05-17gallium/util: adapt util code to interface changesRoland Scheidegger
The util blit functions change their interface (apart from some rename) too (in particular util_blit_pixels now also takes a pipe_resource as the src blit argument instead of a surface, as it might just call resource_copy_region). Maybe the blit util code might need a bit more cleanup, it still doesn't feel very clean. In particular it seems that util_blit_pixels_tex should probably disappear, and I think it would be great if the code called by drivers for blitting (u_blitter.c, which isn't really touched by this change) could somehow be merged with the u_blit code.
2010-05-14gallium: more work on ccw flag removalKeith Whitwell
The linux-debug target builds...
2010-05-14gallium: convert rasterizer state to use gl-style front/back conceptsKeith Whitwell
Use front/back instead of cw/ccw throughout. Also, use offset_point/line/fill instead of offset_cw/ccw. Brings gallium representation of this state into line with its main user, and also what turns out to be the most common hardware representation. This fixes a long-standing bias in the interface towards the architecture of the software rasterizer.
2010-05-14util: fix copy_rect stride in default transfer_inline_writeKeith Whitwell
2010-05-13util: Fix ptr -> int conversion.José Fonseca
2010-05-12util: Add function to dump PIPE_STENCIL_OP_xxxJosé Fonseca
2010-05-06util: Recognize FALSE and F in debug_get_bool_optionJakob Bornecrantz
Concidering that we actually print FALSE when displaying the option we should also accept that value.
2010-05-06gallium: untrack u_indices_gen.c and u_indices_gen.cJosé Fonseca
These files are built with make and removed with make clean, so it does not seem necessary to track them. Looking at the Makefile, it seems that the two u_indices_* files are handled similarly to u_format_srgb.c u_format_table.c and u_half.c, and these 3 files are already untracked and in .gitignore Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com> Signed-off-by: José Fonseca <jfonseca@vmware.com>