summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* r600g: add exp support in theory.Dave Airlie2010-08-271-1/+105
| | | | though it isn't passing the test, and this instruction is pure bonghits.
* r600g: add DPH support.Dave Airlie2010-08-271-1/+8
|
* llvmpipe: fix PIPE_CAP_MAX_VERTEX_TEXTURE_UNITS queryBrian Paul2010-08-261-1/+8
| | | | | Fixes crashes in glean glsl1 and demos/src/glsl/vert-tex. See comments for details.
* graw: Add copyright headers to the interfaces.José Fonseca2010-08-261-0/+27
|
* graw: Undo late loading of graw drivers.José Fonseca2010-08-2615-162/+225
| | | | | | | | | | Keith prefers a clean separation between graw applications and implementations, where apps do not link libgallium.a but instead get all functionality they need via graw interface. Although this is not incompatible with late loading of graw drivers, it it would make it very hard to maintain, as wrappers for every utility symbol exposed in graw would have to be written or generated somehow.
* st/egl: Add support for EGL_MESA_image_drm.Chia-I Wu2010-08-264-0/+260
|
* st/egl: Add support for EGL_KHR_surfaceless_*.Chia-I Wu2010-08-262-9/+16
|
* st/egl: Make KMS support optional in KMS backend.Chia-I Wu2010-08-261-22/+24
| | | | It should be called DRM backend now.
* r300g: Include missing header in r300_texture_desc.h.Vinson Lee2010-08-261-0/+1
| | | | | | Include p_format.h for enum pipe_format symbol. Fixes r300g build.
* gallium: Clean up header file inclusion in p_defines.h.Vinson Lee2010-08-261-1/+1
| | | | | Remove p_format.h. Include p_compiler.h for boolean and uint64_t symbols.
* gallium: Clean up header file inclusion in p_context.h.Vinson Lee2010-08-261-6/+24
| | | | | | Remove p_state.h. Include p_compiler.h for boolean symbol. Add needed forward declarations after removing p_state.h.
* graw: Include missing header in graw_dl.h.Vinson Lee2010-08-261-2/+3
| | | | Include p_state.h for pipe_shader_state symbol.
* util: Include missing header in u_simple_shaders.c.Vinson Lee2010-08-261-0/+1
| | | | Include p_state.h for PIPE_MAX_COLOR_BUFS symbol.
* tgsi: Include missing header in tgsi_sse2.h.Vinson Lee2010-08-261-1/+4
| | | | | Include p_compiler.h for boolean symbol. Clean up forward declarations.
* rtasm: Include missing header in rtasm_x86sse.h.Vinson Lee2010-08-261-0/+1
| | | | Include p_compiler.h for stdint.h uint*_t symbols.
* pipebuffer: Clean up header file inclusion in pb_bufmgr.h.Vinson Lee2010-08-261-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 Lee2010-08-251-5/+7
| | | | | Include p_compiler.h for uint symbol. Clean up forward declarations.
* util: Include missing header in u_bitmask.h.Vinson Lee2010-08-251-0/+3
| | | | Include p_compiler.h for boolean symbol.
* util: Include missing header in u_dirty_surfaces.h.Vinson Lee2010-08-251-0/+4
| | | | Include p_state.h for pipe_surface symbol.
* util: Add include guard in u_split_prim.h.Vinson Lee2010-08-251-0/+6
|
* util: Include missing headers in u_split_prim.h.Vinson Lee2010-08-251-1/+4
| | | | | Include p_compiler.h for boolean symbol. Include u_debug.h for assert symbol.
* graw: Remove graw-null.José Fonseca2010-08-263-158/+0
| | | | | Pointless now that the graw tests can be built independently of any graw implementation.
* graw: Dynamically load graw libraries.José Fonseca2010-08-2612-66/+161
| | | | | | | | | This allows to build multiple graws libs simultaneously and avoid unnecessary rebuilds of the tests. Also remove graw_util.c from inside the graw implementation -- it was only being provided by one implementation, and graw tests were linking against gallium anyway.
* scons: Fix old script compatability logic.José Fonseca2010-08-261-10/+5
| | | | Sconscript could be invoked twice if specified in the command line.
* util: Include missing headers in u_tile.h.Vinson Lee2010-08-251-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 Lee2010-08-251-4/+1
| | | | | | Remove p_defines.h. Remove unnecessary forward declarations. Add forward declaration for pipe_context.
* r300g: fix constant buffer upload once again for r3xx->r4xxMarek Olšák2010-08-261-1/+1
|
* nouveau: handle early initialization errorsMarcin Slusarz2010-08-262-2/+4
| | | | | | | handle very early errors in pipe_screen creation (failure of nouveau_screen_init in nv50_screen_create) Signed-off-by: Francisco Jerez <[email protected]>
* r600g: simplify statesJerome Glisse2010-08-2515-1720/+8277
| | | | | | | | Directly build PM4 packet, avoid using malloc (no states are bigger than 128 dwords), remove unecessary informations, remove pm4 building in favor of prebuild pm4 packet. Signed-off-by: Jerome Glisse <[email protected]>
* nvfx: Set pointer to NULL after free.Vinson Lee2010-08-251-1/+3
| | | | Guard against potential use after free.
* r300g: fix potentially uninitialized variables in create_rs_stateMarek Olšák2010-08-251-5/+2
| | | | | | It had no impact on correctness, though. Reported by Vinson Lee.
* llvmpipe: fix bad patch applicationKeith Whitwell2010-08-251-5/+4
|
* llvmpipe: Remove unnecessary header.Vinson Lee2010-08-251-1/+0
|
* llvmpipe: track drawing region as a single u_rectKeith Whitwell2010-08-253-63/+86
|
* llvmpipe: better triangle debuggingKeith Whitwell2010-08-252-19/+67
|
* llvmpipe: cull zero-area triangles earlyKeith Whitwell2010-08-251-2/+3
|
* llvmpipe: more rasterization countersKeith Whitwell2010-08-253-6/+29
|
* llvmpipe: move some fence functions into lp_screen.cKeith Whitwell2010-08-254-57/+79
|
* llvmpipe: wake all threads waiting on a fenceKeith Whitwell2010-08-251-1/+3
|
* llvmpipe: fence debugging, add llvmpipe_finishKeith Whitwell2010-08-2513-65/+74
|
* tgsi: helper for dumping tokens as hexKeith Whitwell2010-08-252-13/+25
|
* draw: specialized cliptesting routinesKeith Whitwell2010-08-2513-208/+269
|
* util: add rectangle helpers to u_rect.hKeith Whitwell2010-08-251-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.
* gallium/docs: notes on scissor stateKeith Whitwell2010-08-251-1/+3
|
* llvmpipe: remove dead codeKeith Whitwell2010-08-251-37/+0
|
* draw: Remove UNDEFINED_VERTEX_ID checks in emit pathes.Chia-I Wu2010-08-253-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 Wu2010-08-2516-152/+54
| | | | | | 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.
* svga: Remove redundant svga_draw_range_elements.Chia-I Wu2010-08-253-87/+45
| | | | | | | That is, implement draw_vbo directly. As a result, svga_swtnl_draw_range_elements is also replaced by svga_swtnl_draw_vbo. This commit should not have any functional change.
* draw: Add draw_set_index_buffer and others.Chia-I Wu2010-08-255-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.
* nvfx: Clean up header file inclusion in nvfx_screen.h.Vinson Lee2010-08-251-2/+2
| | | | | | | Remove nvfx_context.h. Include p_compiler.h for INLINE symbol. Fixes nvfx_context.h -> nvfx_screen.h -> nvfx_context.h include recursion.