summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-04-08util: is_array/mixed/etc is only meaningful for plain formats.José Fonseca
2010-04-08util: Keep const keyword when unpacking formats.José Fonseca
2010-04-08util: Reorder the code generated function so that they are grouped by format.José Fonseca
Makes it easier to copy and paste.
2010-04-08intel: Call intel_prepare_render() in intelClear()Li Peng
Make sure we have up to date buffers before we start looking at the tiling bits to determine how to clear.
2010-04-08draw llvm: hook up the generated function into the draw elts pathZack Rusin
we were only using the jited function in the linear case, now drawelts correctly uses the same path. it results in a significant gain in real world apps (openarena went from 23fps to 29fps)
2010-04-08draw: Fix vertex buffer indexation.José Fonseca
2010-04-08util: Don't call util_dl_close(library) when util_format_s3tc_init is ↵José Fonseca
successful." Otherwise the library will be unloaded and function pointers become invalid. This reverts commit bc2bc0306e4dd8c56bd66a8aabf2433f6689653d.
2010-04-08util: util_dl_close(library) before exiting util_format_s3tc_init.Vinson Lee
2010-04-08draw llvm: Remove unnecessary header.Vinson Lee
2010-04-08llvmpipe: Remove unnecessary header.Vinson Lee
2010-04-08Merge remote branch 'origin/7.8'Dave Airlie
Conflicts: Makefile configs/default src/mesa/main/version.h
2010-04-08st/dri: Fix setTexBuffer2 with __DRI_TEXTURE_FORMAT_RGB.Chia-I Wu
When the format is __DRI_TEXTURE_FORMAT_RGB, the texture should be treated as if there is no alpha channel.
2010-04-08texenvprogram: fix for ARB_draw_buffers.Dave Airlie
piglit has a test called fbo-drawbuffers, this fails for me on r300g, and fixing the texenv program to use the DATA outputs fixes it. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-04-07draw llvm: highly reduce the compilation times for draw llvmZack Rusin
our code resets pipe_vertex_buffer's with different offsets when rendering vbo, meaning that we kept creating insane number of shaders even for simple apps e.g. geartrain had 54 shaders and it was taking almost 27 seconds just to compile them. this patch passes pipe_vertex_buffer's to the jit function and lets it to the stride/buffer_offset computation at run time. the slowdown at runtime is largely unnoticable but the we go from 54 shaders to 3, and from 27 seconds to less than 1.
2010-04-07gallivm: Get the format translation logic write.José Fonseca
2010-04-07util: Support fixed formats conversion.José Fonseca
2010-04-07util: Add copyright header to u_half.hJosé Fonseca
2010-04-07util: Remove the half typedef from p_compiler.h.José Fonseca
Unnecessary, and doesn't even guarantee size.
2010-04-07llvmpipe: Add missing include.José Fonseca
2010-04-07util: Use stubs for the dynamically loaded S3TC functions.José Fonseca
Loosely based on Luca Barbieri's commit 52e9b990a192a9329006d5f7dd2ac222effea5a5.
2010-04-07draw: Fix MSVC build (snprintf->util_snprintf).José Fonseca
2010-04-07util: Remove u_tile.c YCbCr's.José Fonseca
Superseded by u_format_yuv.c. Also PIPE_FORMAT_YUYV's interpretation was inconsistent: it was being interpreted as VYUY.
2010-04-07util: Implement YUV and subsampled RGB format conversion.José Fonseca
2010-04-07draw: init draw->pt.middle.general = NULL just to be safeBrian Paul
This field should be null from the initial calloc() of the draw context, but let's be safe (and improve understanding of the code).
2010-04-07llvmpipe: Fix USE_DRAW_LLVM build. Use lp_build_engine.José Fonseca
2010-04-07r300: Initialize compiler.max_temp_regs for blits.Michel Dänzer
Blits were broken since commit e41a64591bf1a74465bf0adc7d35c991c4cfb4fe ('r300/compiler: make the max number of fragment shader temporaries adjustable').
2010-04-07draw llvm: Remove unnecessary headers.Vinson Lee
2010-04-07gallium: Add files to Makefile.Vinson Lee
This was missed in commit ae69f9fbf0a1aab7186e5b644085a5fe5aea99af. New files from the gallium_draw_llvm merge were added to SCons but not make.
2010-04-06llvmpipe: Remove unused variable.Vinson Lee
2010-04-07nouveau: allow multiple simultaneous maps of a pipe_transferBen Skeggs
I'm not entirely convinced we want this behaviour (the underlying nouveau_bo doesn't support it either), but since certain parts of the mesa state tracker appear to require it lets make it work for now.
2010-04-07nv50: fix assertion that caused piglit texturing/texrect-many to failBen Skeggs
2010-04-06draw llvm: disable printing of the LLVM irZack Rusin
2010-04-06cell: fix buildMarc Dietrich
compile fix for cell driver. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-04-06gallium/draw: add additional DRAW_LLVM checkBrian Paul
Fixes build breakage.
2010-04-06Merge branch 'gallium_draw_llvm'Zack Rusin
2010-04-06llvmpipe: Support S3TC when util_format_s3tc_enabled is set.José Fonseca
2010-04-06gallivm: Fallback to calling util_format_description::fetch_float for any ↵José Fonseca
format we can't code LLVM IR directly.
2010-04-06gallivm: Move the global LLVM objects (module, engine, provider, target) ↵José Fonseca
into here.
2010-04-06llvmpipe: use a define to decide whether to use draw llvm pathsZack Rusin
right now disabled by default
2010-04-06draw llvm: disable debugging outputZack Rusin
2010-04-06draw llvm: implement simple pipeline caching using variantsZack Rusin
2010-04-06draw llvm: fix iteration for larger vertex arraysZack Rusin
we were trying to store the outputs starting at the same offset we were using for the input arrays, which was writing beyond the end of the output array.
2010-04-06draw llvm: iterate with the correct stop over the outputsZack Rusin
it's whatever the var step is (4 usually) not an unconditional 1
2010-04-06util: Respect destination stride in pipe_get_tile_swizzle().Michal Krol
2010-04-06draw llvm: fix draw arraysZack Rusin
we don't index within the outputs but only within the inputs
2010-04-06util: Make half float lookup tables constant.José Fonseca
2010-04-06util: Remove the hand written SRGB format support code.José Fonseca
2010-04-06util: Support all SRGB formats.José Fonseca
Based on code from Brian Paul and Michal Krol.
2010-04-06egl_dri2: Flush before context switch and swap buffers.Chia-I Wu
DRI does not define any callback to flush the current context. GLX loader simply calls glFlush. Follow the GLX loader here.
2010-04-06st/dri: Implement DRI image extension.Chia-I Wu