Commit graph

33466 commits

Author SHA1 Message Date
Jakob Bornecrantz
ed94e744d3 i915g: Fix cubemap layouts 2010-04-18 02:50:35 +01:00
Jakob Bornecrantz
762ed4db47 i915g: Clean and add some debug printing
Disabled by default
2010-04-18 02:50:35 +01:00
Jakob Bornecrantz
29ff6e87f5 gallium/tests: Make trivial apps depend on libs 2010-04-18 02:50:35 +01:00
Marek Olšák
0b4df63609 r300g: various other cleanups
It seems to me that the resource management code is the most blurry.

Also some of my notes about fastfill are wrong, removing them too.
2010-04-18 02:56:09 +02:00
Marek Olšák
d3e7dfc1fd r300g: inline screen_buffer functions 2010-04-18 02:56:09 +02:00
Marek Olšák
9f2f6096a8 r300g: remove unused declarations 2010-04-18 02:56:09 +02:00
Marek Olšák
5b609badf7 r300g: add debugging options "notiling" and "noimmd" (for testing)
notiling = Disable texture tiling
noimmd = Disable immediate mode (this optimization was really worth it!)
2010-04-18 02:56:09 +02:00
Marek Olšák
4185d9770f r300g: remove r300_transfer::ctx 2010-04-18 02:56:09 +02:00
Marek Olšák
bb4f5fff0c r300g: remove use of c++ keywords 2010-04-18 02:56:09 +02:00
Marek Olšák
c383defdaa r300g: always create microtiled zbuffer regardless of texture dimensions 2010-04-18 02:56:09 +02:00
Vinson Lee
65a3c316ba i915g: Remove unnecessary headers. 2010-04-17 15:47:45 -07:00
Vinson Lee
e68c6be2f6 nvfx: Remove unnecessary headers. 2010-04-17 15:14:47 -07:00
Vinson Lee
c5e4a6dc9d nv50: Remove redundant assignment. 2010-04-17 14:49:40 -07:00
Vinson Lee
f426295521 i965g: Remove redundant assert. 2010-04-17 14:45:49 -07:00
Vinson Lee
35aae6839e os: Implement pipe_barrier for POSIX platforms without pthread_barrier_t.
This patch was tested on Mac OS X.
2010-04-17 14:24:23 -07:00
Jakob Bornecrantz
44bafca1a0 i915g: Add a software only debuging winsys 2010-04-17 21:13:23 +01:00
Jakob Bornecrantz
3e3d6864da gallium/tests: Fix trivial examples 2010-04-17 21:13:23 +01:00
Jakob Bornecrantz
08f2a6cad1 gallium/util: Ignores 2010-04-17 21:13:22 +01:00
Jakob Bornecrantz
a656f2f0f3 progs/tests: Ignores 2010-04-17 21:13:22 +01:00
Vinson Lee
0a2ae64b77 r300/compiler: Remove unnecessary header. 2010-04-17 12:13:19 -07:00
Vinson Lee
f6f78fac9e draw llvm: Remove unnecessary header. 2010-04-16 23:25:25 -07:00
Vinson Lee
d6c024ea3f llvmpipe: Remove unnecessary header. 2010-04-16 23:08:52 -07:00
Vinson Lee
6be186a6fa r300/compiler: Add radeon_program_tex.c to SCons build.
This was missed in commit f8a1418680.
2010-04-16 22:58:49 -07:00
Marek Olšák
411d506332 r300/compiler: add emulation of all mirrored-clamp wrap modes for NPOT textures 2010-04-17 02:43:47 +02:00
Marek Olšák
f91a06eed2 r300/compiler: replace mirrored-repeat emulation with a faster version
Also, the Negate bitfield was 1 instead of RC_MASK_XYZ in the previous
version, causing incorrect rendering.
2010-04-17 02:11:46 +02:00
Marek Olšák
a94942e379 r300/compiler: add handy definitions for XYZ0 and smeared half swizzling 2010-04-17 01:31:25 +02:00
Marek Olšák
47265e69c8 r300/compiler: make ARB_shadow_ambient optional
This saves constant register space for r300g, which doesn't need
this feature.
2010-04-16 22:35:56 +02:00
Brian Paul
862d014ba9 llvmpipe: fix color masking 2010-04-16 14:08:26 -06:00
Marek Olšák
b2c1b944c9 r300/compiler: restore r500-specific bits of TEX transformations 2010-04-16 21:55:00 +02:00
Brian Paul
056df21cb1 llvmpipe: fix linking for lp_test_blend 2010-04-16 13:34:41 -06:00
Brian Paul
a57e762c90 llvmpipe: work-around an LLVM bug
The blend combinations ZERO,DST_ALPHA and ZERO,INV_DST_ALPHA seem to
generate bad code which leads to a segfault.
2010-04-16 13:34:28 -06:00
Brian Paul
1a44ec5e36 llvmpipe: clean-up lp_surface_copy()
Remove unreachable code, etc from previous revisions.
2010-04-16 13:07:17 -06:00
Brian Paul
1c4415ddf4 llvmpipe: remove unneeded declaration (which caused a warning) 2010-04-16 13:01:51 -06:00
Brian Paul
4593e0c85e llvmpipe: use unsigned type to avoid warnings 2010-04-16 13:01:18 -06:00
Brian Paul
b7c5e9b336 gallium/draw: fix breakage from moving lp_bld_* files 2010-04-16 12:58:40 -06:00
Brian Paul
23a2166bc5 llvmpipe: remove unneeded break stmt 2010-04-16 12:20:27 -06:00
Brian Paul
92b2af5f9a llvmpipe: fix compilation, linking of lp_test_blend 2010-04-16 11:14:43 -06:00
Brian Paul
39a12a7326 llvmpipe: updated #includes 2010-04-16 10:34:32 -06:00
Brian Paul
d75129dd13 gallivm/llvmpipe: move lp_bld_blend* files to llvmpipe/ directory 2010-04-16 10:28:21 -06:00
Brian Paul
7a05161278 gallivm/llvmpipe: move lp_bld_alpha.c to llvmpipe/ directory 2010-04-16 10:22:33 -06:00
Brian Paul
f17d1513ac gallivm/llvmpipe: move lp_bld_depth.[ch] to llvmpipe/ directory
This is specific to the llvmpipe driver and not re-usable.
2010-04-16 10:20:32 -06:00
Brian Paul
cf88dcf731 gallivm/llvmpipe: move lp_bld_interp.c to llvmpipe/ directory
This file is specific to the llvmpipe driver and not re-usable.
2010-04-16 10:17:38 -06:00
Brian Paul
d293c43c9a llvmpipe: rename vars, update comments for texture->resource changes 2010-04-16 10:01:32 -06:00
Brian Paul
cbe1145011 gallivm: init some vars to silence warnings 2010-04-16 09:56:38 -06:00
Brian Paul
ce4f4d6b2c llvmpipe: plug in draw's polygon stipple stage 2010-04-16 09:49:52 -06:00
Brian Paul
9fae289fcd llvmpipe: check for dirty context state in lp_setup_update_state()
This fixes problems with the draw module's aaline, aapoint and
pstipple stages where we change some driver state after the call
to the draw module's draw_arrays() function.
2010-04-16 09:49:33 -06:00
Brian Paul
b387f74c38 llvmpipe: flush upon PIPE_FLUSH_TEXTURE_CACHE too 2010-04-16 09:43:32 -06:00
Brian Paul
b7bd4b85f3 llvmpipe: make sure state is up to date before getting vertex layout/info
Some of the draw pipeline stages emit additional vertex attributes.
Without this change, we were getting stale vertex info that didn't
include the extra attributes.
2010-04-16 09:43:32 -06:00
Brian Paul
7d5da2370b llvmpipe: additional texture assertion 2010-04-16 09:27:58 -06:00
Brian Paul
8ba14fab9a llvmpipe: print_triangle() func (disabled) 2010-04-16 09:27:58 -06:00