summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util
Commit message (Collapse)AuthorAgeFilesLines
* u_blitter: add draw_rectangle callback which can be overridden by a driverMarek Olšák2010-07-122-19/+104
|
* u_blitter: clean up the texcoord computationsMarek Olšák2010-07-121-28/+35
|
* u_blitter: simplify blitter_set_rectangleMarek Olšák2010-07-121-19/+32
|
* u_blitter: rename blitter->base, add a way to get a pipe context from blitterMarek Olšák2010-07-122-70/+80
|
* util: print help for debug options on non-debug buildsMarek Olšák2010-07-071-2/+2
| | | | I'd like to see the help when I request it.
* auxiliary/util: Add SM3 meta-cap list.Corbin Simpson2010-07-051-0/+17
|
* util: Add a fetch_rgba_8unorm.José Fonseca2010-07-022-0/+15
| | | | | | Not always implemented, but useful in situations where we want 8unorms and the samples comes as 8unorms as we needlessly convert to/from floats.
* util: Expose util_format_fits_8unorm().José Fonseca2010-07-022-1/+4
|
* r600: use gallium list macros instead of making our own.Dave Airlie2010-07-021-1/+16
| | | | | | | | | 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 <[email protected]>
* util: reference surfaces and sampler views in blitter when saving themMarek Olšák2010-06-292-5/+46
| | | | Ooops. This should possibly fix some bugs...
* util: fix a memory leak in blitterMarek Olšák2010-06-271-6/+1
|
* gallium/util: fix pipe_sampler_view_reference() callsBrian Paul2010-06-251-7/+2
| | | | The conditionals aren't needed.
* u_math: Add align function npot alignmentsJakob Bornecrantz2010-06-221-0/+14
|
* util: add alloc checkAlan Hourihane2010-06-161-0/+2
|
* util: Use int type for format field width.José Fonseca2010-06-141-1/+1
| | | | As suggested by gcc warning.
* util: Add a func_to_pointer util function too.José Fonseca2010-06-141-0/+11
|
* 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
| | |