summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2010-06-15draw: fix primitive indexing in the pipelineZack Rusin
spotted by Keith
2010-06-15draw: finish the new pipeline setupZack Rusin
Keith came up with a new way of running the pipeline which involves passing a few info structs around (for fetch, vertices and prims) and allows us to correctly handle cases where we endup with multiple primitives generated by the pipeline itself.
2010-06-15softpipe/gs: fix a crash when a gs isn't presentZack Rusin
2010-06-15draw wipKeith Whitwell
2010-06-14r300g: initialize US_CODE_BANK on r4xxMarek Olšák
2010-06-14gallivm: Omit references to NoFramePointerElimNonLeafJosé Fonseca
It was added after 2.7.
2010-06-14util: Use int type for format field width.José Fonseca
As suggested by gcc warning.
2010-06-14gallivm: Override some of the default target options.José Fonseca
In particular: - enable LLVM <-> GDB integration for JIT code - disable frame-pointer elimination on debug/profile builds - enable fast-math.
2010-06-14gallivm: Use func_to_pointer().José Fonseca
2010-06-14util: Add a func_to_pointer util function too.José Fonseca
2010-06-14graw: small fixups for the gs examplesZack Rusin
2010-06-14r300g: fix uploading RC state shader constants on r3xxMarek Olšák
I've messed this up in one of my previous commits. Reported-by: Igor Murzov
2010-06-14r300g: drop begin_cs/end_csMarek Olšák
I have had a look at the libdrm sources and they just contain more or less the same checking we do in macros, and begin_cs may realloc the CS buffer if we overflow it, which never happens with r300g. So these are pretty much useless. There is a small but measurable performance increase by dropping the two functions.
2010-06-14r300g: rewrite occlusion queriesMarek Olšák
The previous implementation had issues with queries spanning over several command streams as well as using a very large number of queries. This fixes flickering in Enemy Territory: Quake Wars. The driver now renders everything correctly in this game and the graphics is awesome.
2010-06-14r300g: emit viewport state as a dword tableMarek Olšák
2010-06-14r300g: subclass pipe_surfaceMarek Olšák
2010-06-14r300g: simplify reloc macrosMarek Olšák
2010-06-14r300g: count CS dwords on debug builds onlyMarek Olšák
2010-06-13r300g: optimize emission of fragment shader constantsMarek Olšák
2010-06-13r300g: turn fragment shader into a CBMarek Olšák
2010-06-13r300g: turn depth stencil state into a CBMarek Olšák
2010-06-13r300g: turn clip state into a CBMarek Olšák
2010-06-13r300g: turn blend color into a CBMarek Olšák
2010-06-13r300g: turn blend state into a CBMarek Olšák
2010-06-13r300g: add API for building command buffersMarek Olšák
The idea is to build a hardware command buffer for every CSO and memcpy the buffer to a command stream at bind time (or dirty-state-emission time, to be precise).
2010-06-13r300g: inline FLUSH_CSMarek Olšák
The fewer macros, the better.
2010-06-13r300g: reorder CS macros and document them a littleMarek Olšák
2010-06-13r300g: drop DBG_CSMarek Olšák
I'd like the CS macros to be as lightweight as possible for performance reasons.
2010-06-13r300g: inline CHECK_CSMarek Olšák
2010-06-13r300g: replace r300_cs_info with simplier get_cs_free_dwordsMarek Olšák
2010-06-13r300g: fix multiple render targetsMarek Olšák
This fixes tests/drawbuffers.
2010-06-13r300g: remove r300_state.hMarek Olšák
2010-06-13r300g: move two-sided stencilref fallback to its own fileMarek Olšák
2010-06-13r300g: move index buffer translate functions to their new homeMarek Olšák
2010-06-13r300g: add fallback for unaligned/unsupported vertex stride/offset/formatMarek Olšák
There is a problem though, the translate module cannot emit half float vertices.
2010-06-13r300g: upload only vertex buffers referenced by vertex elementsMarek Olšák
2010-06-12draw/gs: copy the outputs only if we emitted somethingZack Rusin
2010-06-12softpipe: small cleanupZack Rusin
2010-06-11scons: Disable i965g build if using MSVC.Vinson Lee
i965g uses C99 constructs that are not supported by MSVC.
2010-06-11scons: Disable i915g build if using MSVC.Vinson Lee
i915g uses C99 constructs that are not supported by MSVC.
2010-06-11r300/compiler: Implement simple loop emulationTom Stellard
The loop emulation unrolls loops as may times as possbile while still keeping the shader program below the maximum instruction limit. At this point, there are no checks for constant conditionals. This is only enabled for fragment shaders.
2010-06-11gallium/softpipe/draw: support samplers in geometry shadersZack Rusin
2010-06-11tgsi: support 2d indirect addressingZack Rusin
2010-06-11st/egl: Do not build non-working driver combinations.Chia-I Wu
The KMS backend requires a hardware pipe driver. Do not build egl_kms_swrast. Also, only build egl_fbdev_swrast for fbdev backend. It is a pure software backend.
2010-06-11st/egl: Add fbdev backend.Chia-I Wu
The backend is pure software. It implements EGL_MESA_screen_surface extension, and is kept simple by only exporting the current mode.
2010-06-11winsys: Add fbdev software winsys.Chia-I Wu
This is a simple winsys that mmap()s the framebuffer device and memcpy()s the contents of display targets to the framebuffer device for displaying.
2010-06-10st/egl: Remove unnecessary header.Vinson Lee
2010-06-10draw: forgot to add a fileZack Rusin
2010-06-10draw: rewrite geometry shader pipelineZack Rusin
done to handle strips correctly as inputs - we need to decompose the strips
2010-06-10gs: give our test an option of rendering a stripZack Rusin