summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary
AgeCommit message (Collapse)Author
2009-12-11gallium/util: added util_unreference_framebuffer_state()Brian Paul
2009-12-11gallium/util: simplify util_framebuffer_state_equal()Brian Paul
And copy width, height in util_copy_framebuffer_state().
2009-12-10gallium/util: added framebuffer compare, copy util funcsBrian Paul
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
2009-09-27g3dvl: pipe_video_context interface, softpipe impl, auxiliary libsYounes Manton
2009-09-27util: Add util_next_power_of_two() for rounding a uint up to a POT.Younes Manton
2009-09-24Merge branch 'mesa_7_6_branch'Brian Paul
Conflicts: src/mesa/drivers/dri/r600/r700_assembler.c src/mesa/drivers/dri/r600/r700_chip.c src/mesa/drivers/dri/r600/r700_render.c src/mesa/drivers/dri/r600/r700_vertprog.c src/mesa/drivers/dri/r600/r700_vertprog.h src/mesa/drivers/dri/radeon/radeon_span.c
2009-09-24tgsi/sse: remove old commentsBrian Paul
2009-09-24tgsi/sse: implement SEQ, SGT, SLE, SNEBrian Paul
2009-09-24tgsi/sse: Pass the lodbias, not zero. More comments.Brian Paul
This fixes the glean/glsl1 "texture2D(), with bias" test when using SSE.
2009-09-24pipebuffer: fix printf warningsKeith Whitwell
2009-09-24pipebuffer: fix warningsKeith Whitwell
2009-09-24draw: fix warningKeith Whitwell
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-17tgsi: Scan input interpolators, too.Michal Krol
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-13tgsi: handle some src/dst aliasing in tgsi_sse2.cKeith Whitwell
Src/Dst aliasing (aka SOA dependencies) requires some care to ensure intermediate results do not overwrite yet-to-be read source registers. This change ensures that MOV/SWZ handle this correctly, which is poor but no worse than the current tgsi_exec.c path. Remove the fallback as there is nothing to be gained correctness-wise between the two implementations now. Fixing this properly looks like a bit of work in this code, but might be easily achieved by sending destination writes to temporary storage.
2009-09-12tgsi: implement saturationKeith Whitwell
Fix recent performance regression.
2009-09-12tgsi: add missing implementation of constant decl changeKeith Whitwell
2009-09-12ureg: add a mechanism to get the built tokens rather than a full shaderKeith Whitwell
Previously ureg would always call the driver's create-shader function. This allows the caller the opportunity to hold onto the tokens if it needs to reuse them, eg. to create an internal draw shader.
2009-09-12ureg: add generic emitters for tex and branch instructionsKeith Whitwell
Couldn't previously emit these except by calling the opcode-specific helper.
2009-09-12tgsi/ureg: give ureg_DECL_constant an explicit index parameterKeith Whitwell
Avoid the need to emit all constant declarations in order. Makes referring to a specific constant in the constant buffer much easier.
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-12tgsi: free tokens on errorKeith Whitwell
2009-09-12tgsi: sanity check ureg programsKeith Whitwell
2009-09-12tgsi: add const qualifierKeith Whitwell
2009-09-10util: remove unneeded #includesBrian Paul
2009-09-10util: minor clean-ups, reformattingBrian Paul