summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2010-04-26r300g: fix warnings when printing uint64_tMarek Olšák
Though not nice, this is the correct way.
2010-04-26r300g: fix warnings by using the const qualifierMarek Olšák
See also the libdrm commit af98ccf4dd5dcb1b904ec32b9bd1521e6bf7dda5.
2010-04-26r300g: use CS_OUT_TABLE betterMatt Turner
Reviewed-by: Corbin Simpson <MostAwesomeDude@gmail.com> Signed-off-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Marek Olšák <maraeo@gmail.com>
2010-04-26gallivm: BGNFOR/ENDFOR fallthrough to BGNLOOP/ENDLOOPAlan Hourihane
2010-04-26draw: Always use the llvm middle end when available & enabled.José Fonseca
2010-04-26svga: Pass-through max_index to translate.José Fonseca
2010-04-26draw: Pass-through pipe_buffer::max_index to translate.José Fonseca
max_index must be observed to prevent crashes due to bad index data. I've been using this patch for some time without regressions. Some places, where we use internal vertex buffer, it is not entirely clear what max_index should be, so passing just ~0 to avoid regressions for now.
2010-04-26translate: Take and respect a max_index argument.José Fonseca
2010-04-26r300g: Rudimentary stats, printed on exit.Corbin Simpson
Whoo!
2010-04-26r300g: Add stats debug flag.Corbin Simpson
2010-04-26os: Check for spurious wakeups in pipe_barrier_wait.Vinson Lee
The POSIX function pthread_cond_wait can have spurious wakeups when waiting on a condition variable. Add a 64-bit counter that is incremented whenever the barrier becomes full. A woken thread checks the counter. If the counter has not changed then it has been spuriously woken and goes back to sleep. If the counter has changed then it was properly signaled and exits the barrier. Tested on Mac OS X. This patch was based on ideas from Luca Barbieri.
2010-04-26r300g: Use table CS writing when applicable.Corbin Simpson
I just broke the 2000 fps barrier on glxgears. Yay?
2010-04-26r300g: Add CS table writing.Corbin Simpson
2010-04-26et/egl: Remove dead code.Vinson Lee
proc_name cannot be NULL after the switch statement. proc_name is assigned a value or the function has already returned.
2010-04-25nvfx: Add include path to SCons build.Vinson Lee
2010-04-26r300g: support index bias on r500 and DRM 2.3.0Marek Olšák
2010-04-26r300g: support rendering more than 65535 vertices in one batch on r500Marek Olšák
and disable batch splitting on these chipsets.
2010-04-26r300g: emit MSPOS regsMarek Olšák
2010-04-26r300g: force prefetch for non-indexed verticesMarek Olšák
2010-04-26r300g: use the dummy FS shader for shaders with zero instructionsMarek Olšák
2010-04-26r300g: allow unaligned vertex formats if the stride is dword-alignedMarek Olšák
2010-04-26r300g: abort on unsupported vertex formatsMarek Olšák
2010-04-26r300g: abort if a vertex buffer offset is not dword-alignedMarek Olšák
2010-04-25st/wgl: s/st_manager_create_api/st_gl_api_create/Vinson Lee
commit 0c572c6828b6a338b07a6860280b3a314a81662e replaced st_manager_create_api with st_gl_api_create. Fixes MSVC build.
2010-04-25nvfx: Add missing header.Vinson Lee
2010-04-26st/dri: Refactor dri_st_api into other filesJakob Bornecrantz
2010-04-26st/dri: Make st_framebuffer_iface the base for dri_drawableJakob Bornecrantz
2010-04-26st/dri: Make st_manager the base for dri_screenJakob Bornecrantz
2010-04-26st/dri: Add hooks for framebuffer functionsJakob Bornecrantz
2010-04-26st/dri: Make lookup_egl_image a hookJakob Bornecrantz
2010-04-26st_api: Remove st_moduleJakob Bornecrantz
The struct st_module isn't needed as it is the same thing as the st_api struct. That is they both represent the API. Instead just use a single function entry point to the the API.
2010-04-26llvmpipe: Respect pipe_sampler_view::swizzle_r/g/b/aJosé Fonseca
This allows u_sampler_view_default_dx9_template to do its magic on DX9.
2010-04-25draw: Respect pipe_vertex_buffer::max_index in llvm generated code.José Fonseca
Everybody should respect max_index, specially llvm generated code, which likes to eat vertices 4 at a time, so it may end up chew a bit a bit more than actually exists.
2010-04-25llvmpipe: No need to flush the caches for buffers.José Fonseca
2010-04-25softpipe: Make softpipe transfers in-order.José Fonseca
Transfer, being now a context operation, should happen in order with all other contexts operations. If there is rendering pending on the resource then the driver must flush and potentially wait itself internally. Instead of avoiding using transfers internally (as done in llvmpipe) I've opted to simply pass PIPE_TRANSFER_UNSYNCHRONIZED in all internal transfers, to avoid infinite recursion.
2010-04-25llvmpipe: Cleanup/improve llvmpipe_flush_resource usage.José Fonseca
Recognize PIPE_TRANSFER_UNSYNCHRONIZED and PIPE_TRANSFER_DONTBLOCK.
2010-04-25llvmpipe: Remove unused variable.Vinson Lee
2010-04-25llvmpipe: llvmpipe_flush_texture -> llvmpipe_flush_resourceJosé Fonseca
2010-04-25llvmpipe: Fix buffer overflow unswizzling several formats.José Fonseca
Array formats without for channels were being advanced as four channels, causing buffer overflows.
2010-04-25softpipe: Hardcode TILE_CLEAR_OPTIMIZATION to 1.José Fonseca
The un-optimized path relies on surface_fill which can only handle formats with depth <= 32, so it is pointless to keep it around.
2010-04-25llvmpipe: Replace tile_read/write with more descriptive swizzle/unswizzle verbs.José Fonseca
2010-04-25llvmpipe: Cleanup llvmpipe_is_format_supported().José Fonseca
It should be just cosmetic.
2010-04-25softpipe: More accurate softpipe_is_format_supported().José Fonseca
Unfortunately there are some heavy limitations on supported render target formats due to the way clear values are used internally.
2010-04-25llvmpipe: Remove sp2lp.sh.José Fonseca
Irrelevant now that llvmpipe and softpipe grew so far apart.
2010-04-25llvmpipe: lp_tex_sample_llvm.c -> lp_tex_sample.cJosé Fonseca
'llvm' suffix unnecessary now that the C sampling version disappeared.
2010-04-25st/dri: Add missing header.Vinson Lee
Add GL/internal/dri_interface.h for __DRI_TEXTURE_FORMAT_RGB.
2010-04-25gallivm: Rename variable info to opcode_info.Vinson Lee
Avoid hiding existing variable already named info in outer scope.
2010-04-24gallivm: Remove NULL check of pointer that can't be NULL.Vinson Lee
info cannot be NULL at the call to debug_printf. emit_instruction dereferences info, so at debug_printf it is either not NULL or the program has already crashed.
2010-04-24nvfx: Add to SCons build.Vinson Lee
2010-04-24nv50: Add to SCons build.Vinson Lee