summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* nvfx: Include missing headers in nvfx_shader.h.Vinson Lee2010-08-251-0/+4
| | | | | Include stdint.h for uint8_t symbol. Include p_compiler.h for INLINE symbol.
* gallivm: Include missing header in lp_bld_sample.h.Vinson Lee2010-08-241-0/+2
| | | | Include p_format.h for enum pipe_format symbol.
* gallivm: Include missing header in lp_bld_pack.h.Vinson Lee2010-08-241-0/+2
| | | | Include p_compiler.h for boolean symbol.
* r300g: fix gl_PointCoordMarek Olšák2010-08-251-2/+7
| | | | | Is this hackish or is this the correct way to use point_quad_rasterization? Copied from nvfx.
* r300g: eliminate unused constants in FSMarek Olšák2010-08-253-7/+32
|
* r300g: eliminate unused constants in VSMarek Olšák2010-08-255-8/+31
|
* r300g: clean up some mess in set_constant_bufferMarek Olšák2010-08-252-22/+1
|
* r300g: fix indentationMarek Olšák2010-08-252-8/+8
|
* r300g: reset the index bias to 0 at the end of CSMarek Olšák2010-08-254-5/+12
|
* nvfx: Initialize variables on error path.Vinson Lee2010-08-241-0/+4
|
* r300g: rename radeong_dri.so to r300_dri.soDave Airlie2010-08-253-4/+4
| | | | acked on irc by Corbin + Marek.
* make: Use C++ compiler to link stdc++ library.Brian Paul2010-08-241-1/+2
| | | | | glxinfo and glxgears run on swrast and softpipe without undefined symbol errors.
* r600g: Add support for PIPE_FORMAT_R32_FLOAT.Henri Verbeet2010-08-241-0/+3
|
* nvfx: Remove unnecessary headers.Vinson Lee2010-08-233-4/+0
|
* r300g: Remove unused variable.Vinson Lee2010-08-231-2/+0
| | | | | | Fixes this GCC warning. r300_render.c: In function 'r300_draw_flush_vbuf': r300_render.c:988: warning: unused variable 'r300_render'
* st/egl: Fix r300/r600 support in KMS backend.Chia-I Wu2010-08-242-3/+32
| | | | | When the kernel driver name is radeon, ask the loader for r300 or r600 depending on the PCI ID.
* targets/egl: Check against drm_driver_descriptor::name.Chia-I Wu2010-08-243-16/+15
| | | | | | drm_driver_descriptor::driver_name is defined to be the name of the kernel module. We should check against drm_driver_descriptor::name instead of drm_driver_descriptor::driver_name.
* targets/egl: add pipe_r600Benjamin Franzke2010-08-242-0/+40
| | | | | KNOWN ISSUE: eglShowScreenSurfaceMESA in st/egl/kms fails but st/egl/x11 works
* targets/egl: rename pipe_radeon to pipe_r300Benjamin Franzke2010-08-242-8/+8
| | | | | | | | | | | | | | st/egl/x11/x11_screen.c requests a driver named r300 not radeon KNOWN ISSUE: breaks st/egl/kms/ st/egl/kms requests a pipe named "radeon" that will not be found now so why not leaving pipe_radeon there? that was possible as long we have only r300g. now there is also r600g for which st/egl/kms also requests a pipe named "radeon" (possible solution in later commit)
* st/dri: Remove unnecessary main/mtype.h.Chia-I Wu2010-08-241-1/+0
|
* st/wgl: Include main/core.h.Chia-I Wu2010-08-244-7/+3
| | | | Make st/wgl include only main/core.h from core mesa.
* st/glx: Include main/core.h.Chia-I Wu2010-08-245-21/+38
| | | | Make st/glx include only main/core.h from core mesa.
* translate_sse: clear state for each function emissionLuca Barbieri2010-08-241-3/+3
| | | | Fixes #29771.
* r600g: add XPD supportDave Airlie2010-08-241-1/+124
| | | | ported from r600c.
* r600g: add CMP support.Dave Airlie2010-08-241-1/+50
| | | | ported from r600c, fixes fp-cmp, glsl1-sqrt*
* nvfx: don't emit dummy commands on nv30Luca Barbieri2010-08-241-4/+8
| | | | Should fix errors on the original nv30, reported by pmdata.
* translate_sse: fix x86-64Luca Barbieri2010-08-231-0/+1
|
* r600g: Add support for PIPE_CAP_DEPTH_CLAMP.Henri Verbeet2010-08-232-3/+4
|
* auxiliary: fix nvfx/nv50 primitive splitting for line loopsLuca Barbieri2010-08-231-1/+1
| | | | | | | s->close_first was on the wrong side of the inequality. Caught by blender. Thanks to AndrewR for reporting this.
* r600g: export one component per pixel + r7xx uncompression shaderJerome Glisse2010-08-235-5/+89
| | | | | | | We need to always at least export one component (wether it's depth or color. Add valid r7xx shader program for depth decompression. Signed-off-by: Jerome Glisse <[email protected]>
* nvfx: improve fp temp accountingLuca Barbieri2010-08-231-2/+4
|
* tgsi: fix false CondStackTop==0 assertionBrian Paul2010-08-231-0/+5
|
* util: fix util_fill_rect to take util_color instead of u32 paramRoland Scheidegger2010-08-234-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: emit bo relocations only when neededLuca Barbieri2010-08-238-20/+65
| | | | Should improve performance, possibly significantly.
* nvfx: match Gallium's gl_PointCoord brokennessLuca Barbieri2010-08-231-2/+5
| | | | | | | Gallium always puts gl_PointCoord in GENERIC[0] if point_quad_rasterization is enabled. This is silly, but for now it makes mesa-demos/glsl/pointcoord work.
* nvfx: support clip planes sensibly and fix them on nv30Luca Barbieri2010-08-238-116/+166
| | | | | | | | | | 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.
* r300g: avoid stall in no-tcl drawing when mapping vboDave Airlie2010-08-233-15/+26
| | | | | | | | | the current code reuses the same vbo over and over, however after a flush we'd stall and wait for mapping on the vbo when we should just fire and forget. On a gears test this brings me from ~620 to ~750 on my rv530 in swtcl mode. Signed-off-by: Dave Airlie <[email protected]>
* util: implement depth blitting in u_blitMarek Olšák2010-08-221-17/+43
| | | | Signed-off-by: Brian Paul <[email protected]>
* nvfx: fix minor memory leakLuca Barbieri2010-08-231-1/+1
|