summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/util
AgeCommit message (Collapse)Author
2009-10-01util: Enable sockets on BSDRobert Noland
I think this should be safe for all of the BSDs. Signed-off-by: Robert Noland <rnoland@2hip.net> Signed-off-by: Brian Paul <brianp@vmware.com>
2009-09-29util: Cleanup u_cpu_detect, build. Support X86_64 and detect SSE4.1 too.José Fonseca
I was waiting for the need to use this code to arise, and it finally came. I've tested building this on Linux and Windows, both x86 and x64_64. But it might break other platforms. Please bear with me and help me fix it. Many thanks to Dennis Smit who submitted this, and Eric Anholt whose work this was based on.
2009-09-28Merge branch 'mesa_7_6_branch'Brian Paul
2009-09-28Merge branch 'mesa_7_5_branch' into mesa_7_6_branchBrian Paul
2009-09-28gallium/util: add sanity check assertionsBrian Paul
2009-09-27util: Add util_next_power_of_two() for rounding a uint up to a POT.Younes Manton
2009-09-23Merge branch 'softpipe-opt'Keith Whitwell
Conflicts: progs/demos/cubemap.c src/gallium/drivers/softpipe/sp_tex_sample.c src/gallium/drivers/softpipe/sp_texture.c
2009-09-21gallium debug: Add gcc printf hint to debug_printfNicolai Hähnle
This causes gcc to issue warnings when format parameters do not match up with the format string in calls to debug_printf. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-09-14util: Add _BitScanForward intrinsic's declaration.José Fonseca
It is missing in some Microsoft DDKs.
2009-09-14util: Fix a1r5g5b5's format description.José Fonseca
2009-09-12tgsi/ureg: VS inputs don't have any semantic tags, just an indexKeith Whitwell
Fix ureg_DECL_vs_input to reflect this and fix up all callers.
2009-09-10util: remove unneeded #includesBrian Paul
2009-09-10util: minor clean-ups, reformattingBrian Paul
2009-09-10gallium: Add PIPE_OS_APPLE back to auxiliary/util/u_time.h.Vinson Lee
Fixes typo from commit c6c44bf48124dd5b4661014a8d58482c5a54557f.
2009-09-10util: Add PIPE_OS_APPLE back to auxiliary/util/u_time.h.Vinson Lee
Fixes typo from commit c6c44bf48124dd5b4661014a8d58482c5a54557f.
2009-09-09util: Fix depth/stencil format description.José Fonseca
Inverse channel order.
2009-09-09Merge branch 'mesa_7_6_branch'Brian Paul
2009-09-09Merge branch 'mesa_7_5_branch' into mesa_7_6_branchBrian Paul
Conflicts: Makefile configs/default progs/glsl/Makefile src/gallium/auxiliary/util/u_simple_shaders.c src/gallium/state_trackers/glx/xlib/xm_api.c src/mesa/drivers/dri/i965/brw_draw_upload.c src/mesa/drivers/dri/i965/brw_vs_emit.c src/mesa/drivers/dri/intel/intel_context.h src/mesa/drivers/dri/intel/intel_pixel.c src/mesa/drivers/dri/intel/intel_pixel_read.c src/mesa/main/texenvprogram.c src/mesa/main/version.h
2009-09-09gallium: Added HaikuOS platformaljen
2009-09-08gallium: added r8g8b8_get/put_tile_rgba()Brian Paul
2009-09-09util: Add super simple fifoJakob Bornecrantz
2009-09-07util: Utility function to check if a number is a power of two.José Fonseca
2009-09-03util: add version of u_blit_pixels which takes a writemaskKeith Whitwell
Values outside the writemask are set in the destination to {0,0,0,1}
2009-09-03aux/tgsi: pull back ureg work from 0.1 branchKeith Whitwell
Manual merge of ureg changes on the branch. Too much unrelated stuff for a proper merge.
2009-09-02util: add version of u_blit_pixels which takes a writemaskKeith Whitwell
Values outside the writemask are set in the destination to {0,0,0,1}
2009-08-30util: Auto generate pixel format accessor functions fromJosé Fonseca
This has several advantages over the u_ - not hand written - no intermediate memcpy of raw pixels - supports 4 ubytes in addition to floats - no need to pass a pipe_transfer It also has (hopefully temporary) limitations: - no support for YUV - no support for SRGB
2009-08-30Merge branch 'mesa_7_5_branch'Michel Dänzer
Conflicts: src/glx/x11/glxcmds.c
2009-08-29util: Add util_unsigned_logbase2.José Fonseca
Cherry picked from Keith's commit f911c3b9897b90132c8621a72bfeb824eb3b01e5.
2009-08-29util: Dump PIPE_FUNC_x value names.José Fonseca
2009-08-29util: Fix SCons build.José Fonseca
2009-08-29util: Auto-generate u_format_table.c from SConscript.José Fonseca
2009-08-29util: Fix blend factor dumping.José Fonseca
2009-08-29util: New file dedicated to dump state in human/machine readable format.José Fonseca
2009-08-29util: Make pixel format layout more meaningful.José Fonseca
Namelly, explicitly distinguish formats coded by arithmetic manipulation, from formats layed out in array.
2009-08-29util: Don't commit u_format_table.cJosé Fonseca
At least not until stabilizes, to reduce noise.
2009-08-29util: Fix r5g6b5 description.José Fonseca
2009-08-29util: Pixel format database.José Fonseca
There are some inconsistencies in pipe_format, but above all, there simply aren't enough bits in an enum to conveniently store all information about a pixel format we need to be able to dynamically generate pixel packing/unpacking code.
2009-08-28util: Reset size to zero when failed to allocate buffer.José Fonseca
2009-08-27Merge branch 'mesa_7_5_branch'Brian Paul
2009-08-27gallium/util: added support for SRGB formatsBrian Paul
Fixes glean/texture_srgb failure, bug #23449.
2009-08-27gallium/util: added cases for SRGB formatsBrian Paul
2009-08-24tgsi: Fix build error due to commit acc7da90Cooper Yuan
2009-08-21util: add util_is_power_of_two functionKeith Whitwell
2009-08-19gallium: rename copy/fill_rect utility functionsBrian Paul
2009-08-13util: silence warnings for third REALLOC argumentKeith Whitwell
Our fallback realloc path requires an old_size argument, but the posix varient doesn't need this. Add some code to avoid gcc unused variable warnings for this extra argument.
2009-08-13util: remove unneeded includesKeith Whitwell
2009-08-13util: convert u_simple_shaders to use tgsi_uregKeith Whitwell
Much nicer now.
2009-08-11gallium: Add texture usage information to surface_buffer_createJakob Bornecrantz
We need aditional meta data about the usage of the surface in softpipe because we need to be able tell the diffrence between PRIMARY and DISPLAY_TARGET surfaces.
2009-08-07gallium: Move minify() to u_math.Corbin Simpson
minify() is usually used in mipmap size calculation. Strangely enough, we all defined it as MAX2(1, d >> 1); imagine that. :3
2009-08-07util: fix incorrect assertionBrian Paul
Check that the dest surface/format is renderable.