summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/util
AgeCommit message (Collapse)Author
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>
2010-05-06gallium: untrack u_indices_gen.c and u_indices_gen.cXavier Chantry
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>
2010-05-04util: Remove unnecessary headers.Vinson Lee
2010-05-04gallium/util: added is_format_compressed()Brian Paul
2010-05-04u_blitter: fix creating fragment shadersWiktor Janas
See FDO bug #27887. Signed-off-by: Marek Olšák <maraeo@gmail.com>
2010-05-03gallium: move surface utility functions into u_surface.cBrian Paul
This is a better place than in u_rect.c
2010-05-03gallium: move framebuffer utility functions into a new fileBrian Paul
2010-05-03util: add util_format_short_nameMarek Olšák
2010-05-03util: add util_format_is_plainMarek Olšák
2010-05-03gallium/util: print \n after DXTn printfLuca Barbieri
Re-add commit 2d65a7caf97684aa654088c76a74b632fbd685fa Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com> Signed-off-by: José Fonseca <jfonseca@vmware.com>
2010-05-19util: Remove unused imports from Python scripts.Vinson Lee
2010-05-19util: Remove unnecessary semicolons in Python scripts.Vinson Lee
2010-05-15util: Remove unused cruft.José Fonseca
2010-04-30util: Add missing break statement in u_caps.cJakob Bornecrantz
Thanks Vinson.
2010-04-29util: Update caps after helpfull inputJakob Bornecrantz
In no particular order: * Make list const * Add function comments * Clearly state that demo lists are not complete * Fix whitespace * Use __FUNCTION__ instead of __func__ * Add unimplemented check which always fail Thanks Brian and Keith.
2010-04-29util: Add small caps checker helperJakob Bornecrantz
2010-04-29util: Format error format string as the rest of the pipe formatsJakob Bornecrantz