Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-10-07 | util: do some more util_blit_pixels cases without temporaries | Keith Whitwell | |
When the source surface is pointing at a 2d texture with only one mipmap level, use that directly rather than creating a temporary. Probably want to cover more cases, but this is a start. | |||
2009-10-05 | Merge branch 'mesa_7_6_branch' | Brian Paul | |
Conflicts: src/gallium/auxiliary/util/u_cpu_detect.c | |||
2009-10-05 | util: Improve the cpuid assembly. | José Fonseca | |
No need to save ebx on 64bit. Use just xchgl. Refer to gcc's cpuid.h header. Thanks to Uros Bizjak for pointing this out. | |||
2009-10-05 | util: add lost code to util_make_fragment_tex_shader_writemask() | Keith Whitwell | |
This got ported to ureg at some point, but lost the code that distinguishes it from regular util_make_fragment_tex_shader(). | |||
2009-10-04 | util: Make assert a no-op on non-debug builds. | José Fonseca | |
This ensures that an assertion like assert(expensive_test()); won't have any penalty on release builds. It also implies that no vital code should be in assert expressions. | |||
2009-10-04 | util: Fix cpuid invocation for x86_64. | José Fonseca | |
2009-10-02 | gallium: Preparations for adding more PIPE_TRANSFER_* usage flags. | Michel Dänzer | |
Always test for PIPE_TRANSFER_READ/WRITE using the bit-wise and operator, and add a pipe_transfer_buffer_flags() helper for getting the buffer usage flags corresponding to them. | |||
2009-10-02 | gallium: replace // comments with /* */ | Brian Paul | |
2009-10-01 | gallium/util: silence uninitialized var warning | Brian Paul | |
2009-10-01 | util: Enable sockets on BSD | Robert 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-29 | util: 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-28 | Merge branch 'mesa_7_6_branch' | Brian Paul | |
2009-09-28 | Merge branch 'mesa_7_5_branch' into mesa_7_6_branch | Brian Paul | |
2009-09-28 | gallium/util: add sanity check assertions | Brian Paul | |
2009-09-27 | util: Add util_next_power_of_two() for rounding a uint up to a POT. | Younes Manton | |
2009-09-23 | Merge 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-21 | gallium debug: Add gcc printf hint to debug_printf | Nicolai 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-14 | util: Add _BitScanForward intrinsic's declaration. | José Fonseca | |
It is missing in some Microsoft DDKs. | |||
2009-09-14 | util: Fix a1r5g5b5's format description. | José Fonseca | |
2009-09-12 | tgsi/ureg: VS inputs don't have any semantic tags, just an index | Keith Whitwell | |
Fix ureg_DECL_vs_input to reflect this and fix up all callers. | |||
2009-09-10 | util: remove unneeded #includes | Brian Paul | |
2009-09-10 | util: minor clean-ups, reformatting | Brian Paul | |
2009-09-10 | gallium: Add PIPE_OS_APPLE back to auxiliary/util/u_time.h. | Vinson Lee | |
Fixes typo from commit c6c44bf48124dd5b4661014a8d58482c5a54557f. | |||
2009-09-10 | util: Add PIPE_OS_APPLE back to auxiliary/util/u_time.h. | Vinson Lee | |
Fixes typo from commit c6c44bf48124dd5b4661014a8d58482c5a54557f. | |||
2009-09-09 | util: Fix depth/stencil format description. | José Fonseca | |
Inverse channel order. | |||
2009-09-09 | Merge branch 'mesa_7_6_branch' | Brian Paul | |
2009-09-09 | Merge branch 'mesa_7_5_branch' into mesa_7_6_branch | Brian 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-09 | gallium: Added HaikuOS platform | aljen | |
2009-09-08 | gallium: added r8g8b8_get/put_tile_rgba() | Brian Paul | |
2009-09-09 | util: Add super simple fifo | Jakob Bornecrantz | |
2009-09-07 | util: Utility function to check if a number is a power of two. | José Fonseca | |
2009-09-03 | util: add version of u_blit_pixels which takes a writemask | Keith Whitwell | |
Values outside the writemask are set in the destination to {0,0,0,1} | |||
2009-09-03 | aux/tgsi: pull back ureg work from 0.1 branch | Keith Whitwell | |
Manual merge of ureg changes on the branch. Too much unrelated stuff for a proper merge. | |||
2009-09-02 | util: add version of u_blit_pixels which takes a writemask | Keith Whitwell | |
Values outside the writemask are set in the destination to {0,0,0,1} | |||
2009-08-30 | util: Auto generate pixel format accessor functions from | José 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-30 | Merge branch 'mesa_7_5_branch' | Michel Dänzer | |
Conflicts: src/glx/x11/glxcmds.c | |||
2009-08-29 | util: Add util_unsigned_logbase2. | José Fonseca | |
Cherry picked from Keith's commit f911c3b9897b90132c8621a72bfeb824eb3b01e5. | |||
2009-08-29 | util: Dump PIPE_FUNC_x value names. | José Fonseca | |
2009-08-29 | util: Fix SCons build. | José Fonseca | |
2009-08-29 | util: Auto-generate u_format_table.c from SConscript. | José Fonseca | |
2009-08-29 | util: Fix blend factor dumping. | José Fonseca | |
2009-08-29 | util: New file dedicated to dump state in human/machine readable format. | José Fonseca | |
2009-08-29 | util: Make pixel format layout more meaningful. | José Fonseca | |
Namelly, explicitly distinguish formats coded by arithmetic manipulation, from formats layed out in array. | |||
2009-08-29 | util: Don't commit u_format_table.c | José Fonseca | |
At least not until stabilizes, to reduce noise. | |||
2009-08-29 | util: Fix r5g6b5 description. | José Fonseca | |
2009-08-29 | util: 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-28 | util: Reset size to zero when failed to allocate buffer. | José Fonseca | |
2009-08-27 | Merge branch 'mesa_7_5_branch' | Brian Paul | |
2009-08-27 | gallium/util: added support for SRGB formats | Brian Paul | |
Fixes glean/texture_srgb failure, bug #23449. | |||
2009-08-27 | gallium/util: added cases for SRGB formats | Brian Paul | |