summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary
AgeCommit message (Collapse)Author
2010-09-09draw: minor reformattingBrian Paul
2010-09-05util: Helper function to determined whether two formats can be memcpy'ed.José Fonseca
These are the non-trivial conversions that this function recognizes, which was produced by u_format_compatible_test.c: b8g8r8a8_unorm -> b8g8r8x8_unorm a8r8g8b8_unorm -> x8r8g8b8_unorm b5g5r5a1_unorm -> b5g5r5x1_unorm b4g4r4a4_unorm -> b4g4r4x4_unorm l8_unorm -> r8_unorm i8_unorm -> l8_unorm i8_unorm -> a8_unorm i8_unorm -> r8_unorm l16_unorm -> r16_unorm z24_unorm_s8_uscaled -> z24x8_unorm s8_uscaled_z24_unorm -> x8z24_unorm r8g8b8a8_unorm -> r8g8b8x8_unorm a8b8g8r8_srgb -> x8b8g8r8_srgb b8g8r8a8_srgb -> b8g8r8x8_srgb a8r8g8b8_srgb -> x8r8g8b8_srgb a8b8g8r8_unorm -> x8b8g8r8_unorm r10g10b10a2_uscaled -> r10g10b10x2_uscaled r10sg10sb10sa2u_norm -> r10g10b10x2_snorm State trackers and pipe drivers should be updated to take advantage of this knowledge, e.g., in surface_copy.
2010-09-05util: Utility function to determine the channels that can be written in a ↵José Fonseca
color format.
2010-09-05gallivm: Pass condition masks as an unsigned bitmask.José Fonseca
Much more convenient than boolean arrays.
2010-09-05gallivm: Cope with tgsi instruction reallocation failure.José Fonseca
2010-09-02draw: Include missing headers in draw_vs_aos.h.Vinson Lee
Include tgsi_exec.h for TGSI_EXEC_NUM_TEMPS. Include draw_vs.h for draw_vs_varient.
2010-09-02util: Include missing header in u_linear.h.Vinson Lee
Include p_compiler.h for size_t and boolean symbols.
2010-08-31gallivm: fix bug in nested conditionalsBrian Paul
This, plus the previous commit fix fd.o bug 29806.
2010-08-30gallivm: Compute the 4 texel offsets for linear filtering en ensemble.José Fonseca
2010-08-30gallivm: Disable LLVM's pretty stack trace dumper.José Fonseca
By default LLVM adds a signal handler to output a pretty stack trace. This signal handler is never removed, causing problems when unloading the shared object where the gallium driver resides. Thanks to Chris Li for finding this.
2010-08-30gallivm: Correct copy'n'pasted comments.José Fonseca
2010-08-30gallivm: Fix lp_build_sum_vector.José Fonseca
The result is scalar, so when argument is zero/undef we can pass vector zero/undef. Also, support the scalar case.
2010-08-28util: Include missing header in u_draw.h.Vinson Lee
Include p_state.h for complete type to pipe_draw_info.
2010-08-28util: Add forward declaration in u_transfer.h.Vinson Lee
2010-08-29r300g,u_blitter: use u_framebufferMarek Olšák
Removing another function duplication in u_blitter.
2010-08-29util: remove util_is_pot in favor of util_is_power_of_twoMarek Olšák
The function was duplicated.
2010-08-28draw: Include missing header in draw_vs_llvm.c.Vinson Lee
Include p_screen.h for completely type to pipe_screen.
2010-08-27util: fix typo in MAX4Keith Whitwell
Thanks to Michal for spotting it.
2010-08-27util: add MIN4, MAX4Keith Whitwell
2010-08-27tgsi: Include missing header in tgsi_parse.h.Vinson Lee
Include p_compiler.h for boolean and INLINE symbols.
2010-08-27tgsi: Include missing header in tgsi_info.h.Vinson Lee
Include p_compiler.h for uint symbol.
2010-08-27tgsi: Include missing header in tgsi_dump.h.Vinson Lee
Include p_compiler.h for uint symbol.
2010-08-26util: Include missing header in u_simple_shaders.c.Vinson Lee
Include p_state.h for PIPE_MAX_COLOR_BUFS symbol.
2010-08-26tgsi: Include missing header in tgsi_sse2.h.Vinson Lee
Include p_compiler.h for boolean symbol. Clean up forward declarations.
2010-08-26rtasm: Include missing header in rtasm_x86sse.h.Vinson Lee
Include p_compiler.h for stdint.h uint*_t symbols.
2010-08-26pipebuffer: Clean up header file inclusion in pb_bufmgr.h.Vinson Lee
Remove p_compiler.h and p_defines.h. Include pb_buffer.h for pb_size symbol.
2010-08-25util: Include missing header in u_blit.h.Vinson Lee
Include p_compiler.h for uint symbol. Clean up forward declarations.
2010-08-25util: Include missing header in u_bitmask.h.Vinson Lee
Include p_compiler.h for boolean symbol.
2010-08-25util: Include missing header in u_dirty_surfaces.h.Vinson Lee
Include p_state.h for pipe_surface symbol.
2010-08-25util: Add include guard in u_split_prim.h.Vinson Lee
2010-08-25util: Include missing headers in u_split_prim.h.Vinson Lee
Include p_compiler.h for boolean symbol. Include u_debug.h for assert symbol.
2010-08-25util: Include missing headers in u_tile.h.Vinson Lee
Include p_format.h for enum pipe_format symbol. Include p_state.h for pipe_box symbol.
2010-08-25util: Clean up header file inclusion in u_upload_mgr.h.Vinson Lee
Remove p_defines.h. Remove unnecessary forward declarations. Add forward declaration for pipe_context.
2010-08-25tgsi: helper for dumping tokens as hexKeith Whitwell
2010-08-25draw: specialized cliptesting routinesKeith Whitwell
2010-08-25util: add rectangle helpers to u_rect.hKeith Whitwell
This begins a process of repurposing this file. The existing usage is as a header file for some software blit fallbacks, which should be moved to a more appropriately named header.
2010-08-25draw: Remove UNDEFINED_VERTEX_ID checks in emit pathes.Chia-I Wu
UNDEFINED_VERTEX_ID is used by draw_pipe_vbuf to decide whether a vertex has been emitted or not. The non-pipeline pathes do not use it (they tell the frontend the max vertex count when prepare() is called).
2010-08-25gallium: Use draw_set_index_buffer and others.Chia-I Wu
Update all drivers to use draw_set_index_buffer, draw_set_mapped_index_buffer, and draw_vbo. Remove draw_set_mapped_element_buffer and draw_set_mapped_element_buffer_range.
2010-08-25draw: Add draw_set_index_buffer and others.Chia-I Wu
This commit adds draw_set_index_buffer, draw_set_mapped_index_buffer, and draw_vbo. The idea behind the new functions is that an index buffer should be a state. draw_arrays and draw_set_mapped_element_buffer are preserved, but the latter will be removed soon.
2010-08-24gallivm: Include missing header in lp_bld_sample.h.Vinson Lee
Include p_format.h for enum pipe_format symbol.
2010-08-24gallivm: Include missing header in lp_bld_pack.h.Vinson Lee
Include p_compiler.h for boolean symbol.
2010-08-24translate_sse: clear state for each function emissionLuca Barbieri
Fixes #29771.
2010-08-23translate_sse: fix x86-64Luca Barbieri
2010-08-23auxiliary: fix nvfx/nv50 primitive splitting for line loopsLuca Barbieri
s->close_first was on the wrong side of the inequality. Caught by blender. Thanks to AndrewR for reporting this.
2010-08-23tgsi: fix false CondStackTop==0 assertionBrian Paul
2010-08-23util: fix util_fill_rect to take util_color instead of u32 paramRoland Scheidegger
util_fill_rect could not handle formats with more than 32 bits, since the fill color was a uint32_t value. Fix this by using a util_color union instead, and also expand the union so it works with formats which have up to 256 bits (the max of any format currently defined).
2010-08-23nvfx: support clip planes sensibly and fix them on nv30Luca Barbieri
Before, we were discarding the compiled vertex program on each vertex program change. Now we compile the program as if there were 6 clip planes and dynamically patch in an "end program" bit at the right place. Also, nv30 should now work.
2010-08-22util: implement depth blitting in u_blitMarek Olšák
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-08-22translate_sse: add R32G32B32A32_FLOAT -> X8X8X8X8_UNORM for EMIT_4UBJakob Bornecrantz
Changed by me to use movd instead of movss to avoid penalties.
2010-08-22translate_sse: refactor constant managementLuca Barbieri