Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | util: Include missing header in u_draw.h. | Vinson Lee | 2010-08-28 | 1 | -0/+1 |
| | | | | Include p_state.h for complete type to pipe_draw_info. | ||||
* | util: Add forward declaration in u_transfer.h. | Vinson Lee | 2010-08-28 | 1 | -0/+1 |
| | |||||
* | r300g,u_blitter: use u_framebuffer | Marek Olšák | 2010-08-29 | 2 | -35/+3 |
| | | | | Removing another function duplication in u_blitter. | ||||
* | util: remove util_is_pot in favor of util_is_power_of_two | Marek Olšák | 2010-08-29 | 5 | -17/+7 |
| | | | | The function was duplicated. | ||||
* | draw: Include missing header in draw_vs_llvm.c. | Vinson Lee | 2010-08-28 | 1 | -0/+1 |
| | | | | Include p_screen.h for completely type to pipe_screen. | ||||
* | util: fix typo in MAX4 | Keith Whitwell | 2010-08-27 | 1 | -1/+1 |
| | | | | Thanks to Michal for spotting it. | ||||
* | util: add MIN4, MAX4 | Keith Whitwell | 2010-08-27 | 1 | -0/+3 |
| | |||||
* | tgsi: Include missing header in tgsi_parse.h. | Vinson Lee | 2010-08-27 | 1 | -0/+1 |
| | | | | Include p_compiler.h for boolean and INLINE symbols. | ||||
* | tgsi: Include missing header in tgsi_info.h. | Vinson Lee | 2010-08-27 | 1 | -0/+1 |
| | | | | Include p_compiler.h for uint symbol. | ||||
* | tgsi: Include missing header in tgsi_dump.h. | Vinson Lee | 2010-08-27 | 1 | -0/+1 |
| | | | | Include p_compiler.h for uint symbol. | ||||
* | util: Include missing header in u_simple_shaders.c. | Vinson Lee | 2010-08-26 | 1 | -0/+1 |
| | | | | Include p_state.h for PIPE_MAX_COLOR_BUFS symbol. | ||||
* | tgsi: Include missing header in tgsi_sse2.h. | Vinson Lee | 2010-08-26 | 1 | -1/+4 |
| | | | | | Include p_compiler.h for boolean symbol. Clean up forward declarations. | ||||
* | rtasm: Include missing header in rtasm_x86sse.h. | Vinson Lee | 2010-08-26 | 1 | -0/+1 |
| | | | | Include p_compiler.h for stdint.h uint*_t symbols. | ||||
* | pipebuffer: Clean up header file inclusion in pb_bufmgr.h. | Vinson Lee | 2010-08-26 | 1 | -2/+1 |
| | | | | | Remove p_compiler.h and p_defines.h. Include pb_buffer.h for pb_size symbol. | ||||
* | util: Include missing header in u_blit.h. | Vinson Lee | 2010-08-25 | 1 | -5/+7 |
| | | | | | Include p_compiler.h for uint symbol. Clean up forward declarations. | ||||
* | util: Include missing header in u_bitmask.h. | Vinson Lee | 2010-08-25 | 1 | -0/+3 |
| | | | | Include p_compiler.h for boolean symbol. | ||||
* | util: Include missing header in u_dirty_surfaces.h. | Vinson Lee | 2010-08-25 | 1 | -0/+4 |
| | | | | Include p_state.h for pipe_surface symbol. | ||||
* | util: Add include guard in u_split_prim.h. | Vinson Lee | 2010-08-25 | 1 | -0/+6 |
| | |||||
* | util: Include missing headers in u_split_prim.h. | Vinson Lee | 2010-08-25 | 1 | -1/+4 |
| | | | | | Include p_compiler.h for boolean symbol. Include u_debug.h for assert symbol. | ||||
* | util: Include missing headers in u_tile.h. | Vinson Lee | 2010-08-25 | 1 | -0/+3 |
| | | | | | Include p_format.h for enum pipe_format symbol. Include p_state.h for pipe_box symbol. | ||||
* | util: Clean up header file inclusion in u_upload_mgr.h. | Vinson Lee | 2010-08-25 | 1 | -4/+1 |
| | | | | | | Remove p_defines.h. Remove unnecessary forward declarations. Add forward declaration for pipe_context. | ||||
* | tgsi: helper for dumping tokens as hex | Keith Whitwell | 2010-08-25 | 2 | -13/+25 |
| | |||||
* | draw: specialized cliptesting routines | Keith Whitwell | 2010-08-25 | 11 | -205/+267 |
| | |||||
* | util: add rectangle helpers to u_rect.h | Keith Whitwell | 2010-08-25 | 1 | -4/+53 |
| | | | | | | 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. | ||||
* | draw: Remove UNDEFINED_VERTEX_ID checks in emit pathes. | Chia-I Wu | 2010-08-25 | 3 | -28/+0 |
| | | | | | | 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). | ||||
* | gallium: Use draw_set_index_buffer and others. | Chia-I Wu | 2010-08-25 | 3 | -59/+4 |
| | | | | | | 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. | ||||
* | draw: Add draw_set_index_buffer and others. | Chia-I Wu | 2010-08-25 | 5 | -31/+104 |
| | | | | | | | | | 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. | ||||
* | gallivm: Include missing header in lp_bld_sample.h. | Vinson Lee | 2010-08-24 | 1 | -0/+2 |
| | | | | Include p_format.h for enum pipe_format symbol. | ||||
* | gallivm: Include missing header in lp_bld_pack.h. | Vinson Lee | 2010-08-24 | 1 | -0/+2 |
| | | | | Include p_compiler.h for boolean symbol. | ||||
* | translate_sse: clear state for each function emission | Luca Barbieri | 2010-08-24 | 1 | -3/+3 |
| | | | | Fixes #29771. | ||||
* | translate_sse: fix x86-64 | Luca Barbieri | 2010-08-23 | 1 | -0/+1 |
| | |||||
* | auxiliary: fix nvfx/nv50 primitive splitting for line loops | Luca Barbieri | 2010-08-23 | 1 | -1/+1 |
| | | | | | | | s->close_first was on the wrong side of the inequality. Caught by blender. Thanks to AndrewR for reporting this. | ||||
* | tgsi: fix false CondStackTop==0 assertion | Brian Paul | 2010-08-23 | 1 | -0/+5 |
| | |||||
* | util: fix util_fill_rect to take util_color instead of u32 param | Roland Scheidegger | 2010-08-23 | 4 | -61/+47 |
| | | | | | | | | 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). | ||||
* | nvfx: support clip planes sensibly and fix them on nv30 | Luca Barbieri | 2010-08-23 | 1 | -0/+3 |
| | | | | | | | | | | 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. | ||||
* | util: implement depth blitting in u_blit | Marek Olšák | 2010-08-22 | 1 | -17/+43 |
| | | | | Signed-off-by: Brian Paul <[email protected]> | ||||
* | translate_sse: add R32G32B32A32_FLOAT -> X8X8X8X8_UNORM for EMIT_4UB | Jakob Bornecrantz | 2010-08-22 | 1 | -0/+26 |
| | | | | Changed by me to use movd instead of movss to avoid penalties. | ||||
* | translate_sse: refactor constant management | Luca Barbieri | 2010-08-22 | 1 | -81/+76 |
| | |||||
* | draw: reduce the size of the llvm variant key | Keith Whitwell | 2010-08-22 | 4 | -38/+100 |
| | |||||
* | util: Use #ifdef instead of #if. | Vinson Lee | 2010-08-21 | 1 | -1/+1 |
| | | | | This is a typo fix of earlier commit 0f3b3751b8643352dcc242567b3696bd1505df1d. | ||||
* | util: Define dump_cpu only for DEBUG builds. | Vinson Lee | 2010-08-21 | 1 | -0/+2 |
| | | | | | | | dump_cpu is used only when DEBUG is defined. Fixes the following GCC warning on builds without DEBUG defined. util/u_cpu_detect.c:76: warning: 'debug_get_option_dump_cpu' defined but not used | ||||
* | translate_sse: Silence uninitialized variable warnings. | Vinson Lee | 2010-08-21 | 1 | -0/+14 |
| | | | | Initialize variables on error paths. | ||||
* | draw: Don't assert if indices point outside vertex buffer. | José Fonseca | 2010-08-22 | 1 | -2/+7 |
| | | | | | | | | | | | | This is valid input, and asserting here does causes the test suites that verify this to crash. Also, the assert was wrongly accepting the case max_index == vert_info->count which, IIUC, is the first vertex outside the buffer. Assuming the vert_info->count is precise (which often is not the case). | ||||
* | util: Silence uninitialized variable warnings. | Vinson Lee | 2010-08-21 | 1 | -0/+4 |
| | |||||
* | util: Move loop variable declaration outside for loop. | Vinson Lee | 2010-08-21 | 1 | -1/+2 |
| | | | | Fixes build error with MSVC. | ||||
* | gallivm: Emit DIVPS instead of RCPPS. | José Fonseca | 2010-08-21 | 1 | -12/+24 |
| | | | | | | | See comments for detailed rationale. Thanks to Michal Krol and Zack Rusin for detecting and investigating this in detail. | ||||
* | auxiliary: Add missing files to SCons build. | Vinson Lee | 2010-08-21 | 1 | -14/+16 |
| | | | | | Add u_linear.c and u_linkages.c to SCons build. Reorder list of files to be more alphabetical. | ||||
* | auxiliary: Reorder list of files in Makefile. | Vinson Lee | 2010-08-21 | 1 | -14/+14 |
| | | | | This patch reorders the list of files so that the order is more alphabetic. | ||||
* | gallium/auxiliary: add semantic linkage utility code | Luca Barbieri | 2010-08-21 | 3 | -0/+211 |
| | |||||
* | u_debug_describe: use switch instead of if chain | Luca Barbieri | 2010-08-21 | 1 | -7/+17 |
| |