summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
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-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-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-06st/dri: Implement DRI image extension.Chia-I Wu
2010-04-06draw llvm: fix loop iteration and vertex header offsetsZack Rusin
the loop was doing a NE comparison which we could have skipped if the prim was triangles (3 verts) and our step was 4 verts. also fix offsets in conversion to aos.
2010-04-06st/es: Remove unnedded --whole-archive.Chia-I Wu
All public functions in the archives are either directly referenced or indirectly referenced by _glapi_get_proc_address. There is no need for --whole-archive.
2010-04-05scons: Link expat in dri builds.Vinson Lee
Fixes this i915g error. i915_dri.so: undefined symbol: XML_ParserCreate
2010-04-05draw llvm: when generating the vertex_header struct adjust its nameZack Rusin
change the name to not clash and accuretly represent the number of inputs we store in the data member
2010-04-05r300g: enforce microtiled zbuffer from X serverMarek Olšák
This should be relatively safe, I think.
2010-04-05r300g: typecast using the r300_texture functionMarek Olšák
2010-04-05softpipe: index the correct blend/mask state indexBrian Paul
Need to check pipe_blend_state::independent_blend_enable to determine which render target/index to use when checking blend enable and colormask state. This is part of the fix for piglit/fbo-drawbuffers
2010-04-05i965g: change value of VERT_RESULT_PSIZ hack to avoid warningsBrian Paul
2010-04-05util: added util_dl_error()Brian Paul
2010-04-05r300g: enable OpenGL 2.1 on r3xx-r4xx chipsetsMarek Olšák
2010-04-05r300g: add fallback for back stencil reference value and masks for r3xx-r4xxMarek Olšák
This splits rendering into two passes when front and back stencil reference value, value mask, or write mask don't match. The advantages of doing it in the driver instead of in st are: * SWTCL is executed just once and the resulting vertex buffer is reused in the second pass. * Lower driver overhead due to the fallback being very close to the actual draw emission with minimum state change.
2010-04-05r300g: simplify accessing screen from contextMarek Olšák
2010-04-05r300g: remove some XXXsMarek Olšák
We can't have more than 8 texcoord outputs in VS.