summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
Commit message (Collapse)AuthorAgeFilesLines
* util: Add inline function for approximate floating point comparison.José Fonseca2010-05-301-0/+9
|
* draw: Use pointer_to_func() instead of custom wrappers.José Fonseca2010-05-301-30/+3
|
* util: Generic pointer to func conversion helper.José Fonseca2010-05-301-0/+12
| | | | That observes strict-aliasing rules.
* gallivm: add assertions to check type of phi variablesBrian Paul2010-05-271-0/+2
|
* util: Also add a define for the dynamic library's prefix.José Fonseca2010-05-271-0/+3
|
* gallivm: Remove unnecessary headers.Vinson Lee2010-05-261-2/+0
|
* 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
|
* gallivm: Choose an appropriate code generation optimization level.José Fonseca2010-05-251-1/+33
| | | | 'Default' unless GALLIVM_DEBUG=nopt option is set.
* gallivm: Efficient implementation of sin/cos.Qicheng Christopher Li2010-05-241-105/+429
| | | | | | Based on Julien Pommier's SSE and SSE2 algorithms. Signed-off-by: José Fonseca <[email protected]>
* util/blitter: allow NULL clear colorMarek Olšák2010-05-231-5/+14
|
* Merge branch 'gallium-msaa'Roland Scheidegger2010-05-2110-202/+176
|\ | | | | | | | | | | 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 commit 'origin/master' into gallium-msaaRoland Scheidegger2010-05-0431-782/+843
| |\
| * \ Merge commit 'origin/master' into gallium-msaaRoland Scheidegger2010-04-3035-362/+725
| |\ \
| * | | gallium: fix glaring bugs in last commitRoland Scheidegger2010-04-271-1/+1
| | | |
| * | | gallium: interface changes for multisamplingRoland Scheidegger2010-04-262-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add function to set sample mask, and state for alpha-to-coverage and alpha-to-one. Also make it possible to query for supported sample count with is_msaa_supported(). Use explicit resource_resolve() to resolve a resource. Note that it is illegal to bind a unresolved resource as a sampler view, must be resolved first (as per d3d10 and OGL APIs, binding unresolved resource would mean that special texture fetch functions need to be used which give explicit control over what samples to fetch, which isn't supported yet). Also change surface_fill() and surface_copy() to operate directly on resources. Blits should operate directly on resources, most often state trackers just used get_tex_surface() then did a blit. Note this also means the blit bind flags are gone, if a driver implements this functionality it is expected to handle it for all resources having depth_stencil/render_target/sampler_view bind flags (might even require it for all bind flags?). Might want to introduce quality levels for MSAA later. Might need to revisit this for hw which does instant resolve.
* | | | Merge branch 'gallium-front-ccw'Keith Whitwell2010-05-2110-29/+55
|\ \ \ \
| * | | | draw: fix front/back error in unfilled pipeline stageKeith Whitwell2010-05-141-3/+4
| | | | |
| * | | | draw: fix typo checking for unfilled polygonsKeith Whitwell2010-05-141-1/+1
| | | | |
| * | | | 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-149-28/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | gallivm: rename a var: s/val/array_size/Brian Paul2010-05-201-3/+3
| | | | |
* | | | | gallivm: fix spelling in commentBrian Paul2010-05-201-1/+1
| | | | |
* | | | | gallivm: handle pointer types in lp_dump_llvmtype()Brian Paul2010-05-201-0/+5
| | | | |
* | | | | gallium: fix/update tex target dumpingBrian Paul2010-05-201-0/+2
| | | | |
* | | | | gallium: added util_dump_logicop()Brian Paul2010-05-202-0/+46
| | | | |
* | | | | util: Remove unused imports from Python scripts.Vinson Lee2010-05-192-4/+0
| | | | |
* | | | | util: Remove unnecessary semicolons in Python scripts.Vinson Lee2010-05-192-5/+5
| | | | |
* | | | | tgsi: Implement OPCODE_DIV.Michal Krol2010-05-191-1/+1
| | | | |
* | | | | gallivm: Tweak ret_mask handling.José Fonseca2010-05-171-24/+15
| | | | |
* | | | | gallivm: implement function calls by inliningZack Rusin2010-05-171-11/+134
| | | | | | | | | | | | | | | | | | | | with this approach we inline the entire function body in the caller
* | | | | util: Remove unused cruft.José Fonseca2010-05-151-95/+0
| | | | |
* | | | | draw: Use GALLIVM_DEBUG opt.José Fonseca2010-05-151-21/+34
| | | | |
* | | | | gallivm: Centralize some of the LLVM debugging options.José Fonseca2010-05-152-0/+31
| | | | |
* | | | | gallivm: Temporarily remove function call supportJosé Fonseca2010-05-151-438/+53
| | | | | | | | | | | | | | | | | | | | | | | | | Commits moved to the gallivm-call feature branch for further experimentation and stabilization.
* | | | | gallivm: use our util_snprintfZack Rusin2010-05-151-1/+2
| | | | |
* | | | | gallivm: implement function callsZack Rusin2010-05-151-53/+437
| | | | |
* | | | | gallivm: added some vector length sanity checksBrian Paul2010-05-141-0/+2
| | | | |
* | | | | gallivm: added lp_sizeof_llvm_type()Brian Paul2010-05-142-0/+41
| | | | |
* | | | | gallivm: comments, const qualifiersBrian Paul2010-05-141-4/+11
| | | | |
* | | | | tgsi: clean up in emit_fetch()Brian Paul2010-05-141-43/+41
| | | | |
* | | | | tgsi: add a dummy function to silence warningBrian Paul2010-05-141-0/+8
|/ / / /