summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary
AgeCommit message (Collapse)Author
2009-11-20util: Add MAX3 and MIN3.Corbin Simpson
2009-11-19pb: Make fenced buffers threadsafe.José Fonseca
2009-11-19tgsi: Provide ultimate solution for SOA dependencies in exec.Michal Krol
Reorder STOREs in such a way that they appear after the last FETCH.
2009-11-17gallium/util: replace //-style commentsBrian Paul
2009-11-10tgsi/exec: Exit early on error.Michal Krol
2009-11-10tgsi/ureg: Simplify logic in tokens_expand().Michal Krol
2009-11-05g3dvl: remove a debug lineCooper Yuan
2009-11-05g3dvl: add scissor settingCooper Yuan
2009-11-04util: Remove homegrown Windows KM profiler.José Fonseca
It's not sampling based so its results are biased towards functions called many times.
2009-11-04tgsi/ureg: Allow for multiple extended instruction tokens.Michal Krol
For example, we would like to have a predicate and texture token in one instruction to do predicated texture sampling.
2009-11-03tgsi: Up tgsi_exec's control flow nesting to 32.Michal Krol
2009-11-02tgsi/ureg: Add negate and swizzle for predicates.Michal Krol
2009-11-02gallium/util: add casts to silence warningsBrian Paul
2009-11-02tgsi/ureg: Update for gallium interface changes.Michal Krol
2009-11-02tgsi: Update for gallium interface changes.Michal Krol
2009-10-28util: Drop return value from cpuid().José Fonseca
2009-10-28util: Fix cpuid on MSVC.José Fonseca
2009-10-27draw: Fix memory leak.Vinson Lee
This would only be hit if we got and invalid index_size.
2009-10-25gallium: Move enum pipe_error into p_defines.h.José Fonseca
It's really just another define. No need for its own header.
2009-10-25util: Human readable output of texture states.José Fonseca
2009-10-23gallium: remove extended negate also, and also the ExtSwz tokenKeith Whitwell
Likewise, the extended negate functionality hasn't been used since mesa switched to using tgsi_ureg to build programs, and has been translating the SWZ opcode internally to a single MAD.
2009-10-23gallium: remove the swizzling parts of ExtSwizzleKeith Whitwell
These haven't been used by the mesa state tracker since the conversion to tgsi_ureg, and it seems that none of the other state trackers are using it either. This helps simplify one of the biggest suprises when starting off with TGSI shaders.
2009-10-23gallium: remove noise opcodesKeith Whitwell
Provide a dummy implementation in the GL state tracker (move 0.5 to the destination regs). At some point, a motivated person could add a better implementation of noise. Currently not even the nvidia binary drivers do anything more than this. In any case, the place to do this is in the GL state tracker, not the poor driver.
2009-10-22util: Set cpu endianness too.José Fonseca
2009-10-21gallium/util: fix cpu detection on ppcMarc Dietrich
As we are compiling with -D_BSD_SOURCE, sigjmp_buf and siglongjmp should be replaced by the non-sig functions (see man 3 setjmp). Tested on linux/cell.
2009-10-17gallium: Permit surface_copy and surface_fill to be NULL.Corbin Simpson
Uf. Lots of files touched. Would people with working vega, xorg, dri1, etc. please make sure you are not broken, and fix yourself up if you are. There were only two or three places where the code did not have painful fallbacks, so I would advise st maintainers to find less painful workarounds, or consider overhauling util_surface_copy and util_surface_fill. Per ymanton, darktama, and Dr_Jakob's suggestions, clear has been left as-is. I will not add PIPE_CAP_BLITTER unless it is deemed necessary.
2009-10-17util: Rename from u_* to util_* while we're at it.José Fonseca
To be consistent with the rest.
2009-10-16util: Change function names to begin with u_.Corbin Simpson
Avoids link-time clashes with Mesa's internal hash table.
2009-10-14util: Fix cpu detection on Windows. Cleanup.José Fonseca
2009-10-09util: Force ESI register for cpuid's ebx result.José Fonseca
Fixes a segfault and better code. Unfortunately using an arbitrary register ("=r") causes the gcc to abort when the code is optimized saying it can't satisfy the constraint. Setting seems to do the trick.
2009-10-07util: do some more util_blit_pixels cases without temporariesKeith 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-05Merge branch 'mesa_7_6_branch'Brian Paul
Conflicts: src/gallium/auxiliary/util/u_cpu_detect.c
2009-10-05util: 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-05util: 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-04util: 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-04util: Fix cpuid invocation for x86_64.José Fonseca
2009-10-02gallium: 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-02gallium: replace // comments with /* */Brian Paul
2009-10-02gallium: remove // comment and extra whitespaceBrian Paul
2009-10-01g3dvl: Copyright blocks.Younes Manton
2009-10-01g3dvl: Color space conv interface & vl impl.Younes Manton
Interface is pipe_video_context::set_csc_matrix(). vl_csc.h defines some helpers to generate CSC matrices based on one of the color standard and a user defined ProcAmp (brightness, contrast, saturation, hue).
2009-10-01gallium/util: silence uninitialized var warningBrian Paul
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-28g3dvl: Fix MSVC build.José Fonseca
pipe/p_compiler for integer types. No declarations out of scope.
2009-09-27g3dvl: Missing semicolon.Younes Manton
2009-09-27g3dvl: Formatting and cleanups.Younes Manton