summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util
Commit message (Collapse)AuthorAgeFilesLines
* draw: geometry shader fixesZack Rusin2010-06-101-0/+46
| | | | | don't overwrite the inputs and make sure the correct primitive is used on entry
* util: reference vertex buffers in blitterMarek Olšák2010-06-092-0/+18
|
* util: implement util_clear_depth_stencil fallbackRoland Scheidegger2010-06-072-1/+115
| | | | | | 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.
* util: new file u_dirty_flags.hKeith Whitwell2010-06-071-0/+28
|
* util: add u_box_3dKeith Whitwell2010-06-071-0/+19
|
* util: add util_framebuffer_min_sizeKeith Whitwell2010-06-072-0/+40
|
* util: allocate larger tmp_row in util_format_translateKeith Whitwell2010-06-071-3/+4
| | | | | | | | | 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.
* util: Remove unnecessary header.Vinson Lee2010-06-031-1/+0
|
* Merge branch 'gallium-newclear'Roland Scheidegger2010-06-035-95/+151
|\ | | | | | | | | Conflicts: src/gallium/state_trackers/python/p_context.i
| * gallium: rename clearRT / clearDS to clear_render_target / clear_depth_stencilRoland Scheidegger2010-06-035-41/+41
| | | | | | | | | | more consistent with rest of gallium naming conventions. Also rename driver-internal names for these the same.
| * util: adapt to clear interface changesRoland Scheidegger2010-05-295-95/+151
| |
* | gallium: add interpolation parameter to simple shader functionsBrian Paul2010-06-035-47/+56
| | | | | | | | | | This lets us specify linear interpolation instead of perspective interpolation for blit operations. Might be a bit faster.
* | util/u_debug: use MAX2 macroBrian Paul2010-06-031-7/+1
| |
* | util/u_debug: add description field to debug_named_valueJoakim Sindholt2010-06-032-6/+20
| |
* | gallium/util: Define isfinite and isnan for MSVC.Chia-I Wu2010-05-311-0/+3
| | | | | | | | | | Define isfinite and isnan to _finite and _isnan respectively for MSVC. Those macros are needed by st/vega.
* | util: Add inline function for approximate floating point comparison.José Fonseca2010-05-301-0/+9
| |
* | util: Generic pointer to func conversion helper.José Fonseca2010-05-301-0/+12
| | | | | | | | That observes strict-aliasing rules.
* | util: Also add a define for the dynamic library's prefix.José Fonseca2010-05-271-0/+3
| |
* | util: Remove unnecessary headers.Vinson Lee2010-05-261-2/+0
|/
* util: update comments at blitterMarek Olšák2010-05-251-1/+1
|
* util: fix indentation in blitterMarek Olšák2010-05-251-14/+14
|
* r300g,util: remove pipe_surface from the util_blitter_copy interface and ↵Marek Olšák2010-05-252-126/+121
| | | | clean up
* r300g,util: remove pipe_surface from the util_blitter_fill interface and ↵Marek Olšák2010-05-252-25/+29
| | | | clean up
* util: remove unused util_blitter_copy_surfaceMarek Olšák2010-05-251-19/+1
|
* util/blitter: allow NULL clear colorMarek Olšák2010-05-231-5/+14
|
* Merge branch 'gallium-msaa'Roland Scheidegger2010-05-218-202/+163
|\ | | | | | | | | | | Conflicts: src/mesa/state_tracker/st_gen_mipmap.c src/mesa/state_tracker/st_texture.c
| * util: fix obvious util_blitter_copy bugs...Roland Scheidegger2010-05-191-4/+3
| |
| * util: util_blitter_fill no longer needs to handle overlapRoland Scheidegger2010-05-191-52/+2
| |
| * util: fix some leftover util_surface_fill/copy callsRoland Scheidegger2010-05-182-8/+18
| |
| * gallium/util: adapt util code to interface changesRoland Scheidegger2010-05-178-143/+145
| | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge branch 'gallium-front-ccw'Keith Whitwell2010-05-215-12/+28
|\ \
| * | gallium: more work on ccw flag removalKeith Whitwell2010-05-141-0/+18
| | | | | | | | | | | | The linux-debug target builds...
| * | gallium: convert rasterizer state to use gl-style front/back conceptsKeith Whitwell2010-05-144-12/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | gallium: fix/update tex target dumpingBrian Paul2010-05-201-0/+2
| | |
* | | gallium: added util_dump_logicop()Brian Paul2010-05-202-0/+46
| | |
* | | util: Remove unused imports from Python scripts.Vinson Lee2010-05-192-4/+0
| | |
* | | util: Remove unnecessary semicolons in Python scripts.Vinson Lee2010-05-192-5/+5
| | |
* | | util: Remove unused cruft.José Fonseca2010-05-151-95/+0
|/ /
* | util: fix copy_rect stride in default transfer_inline_writeKeith Whitwell2010-05-141-2/+2
| |
* | util: Fix ptr -> int conversion.José Fonseca2010-05-131-1/+1
| |
* | util: Add function to dump PIPE_STENCIL_OP_xxxJosé Fonseca2010-05-122-0/+30
| |
* | util: Recognize FALSE and F in debug_get_bool_optionJakob Bornecrantz2010-05-061-0/+4
| | | | | | | | | | Concidering that we actually print FALSE when displaying the option we should also accept that value.
* | gallium: untrack u_indices_gen.c and u_indices_gen.cJosé Fonseca2010-05-061-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | 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 <[email protected]> Signed-off-by: José Fonseca <[email protected]>
* | gallium: untrack u_indices_gen.c and u_indices_gen.cXavier Chantry2010-05-061-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | 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 <[email protected]> Signed-off-by: José Fonseca <[email protected]>
* | util: Remove unnecessary headers.Vinson Lee2010-05-043-3/+0
| |
* | gallium/util: added is_format_compressed()Brian Paul2010-05-041-0/+20
| |
* | u_blitter: fix creating fragment shadersWiktor Janas2010-05-041-7/+6
|/ | | | | | See FDO bug #27887. Signed-off-by: Marek Olšák <[email protected]>
* gallium: move surface utility functions into u_surface.cBrian Paul2010-05-036-179/+175
| | | | This is a better place than in u_rect.c
* gallium: move framebuffer utility functions into a new fileBrian Paul2010-05-034-84/+160
|
* util: add util_format_short_nameMarek Olšák2010-05-031-0/+13
|