José Fonseca
699260b195
progs/tests: Use rand() instead of random().
...
More portable. Same implementation on Linux.
2009-10-16 11:39:29 +01:00
Vinson Lee
60b6c74583
prog/tests: Fix MSVC build.
2009-10-16 11:36:09 +01:00
Corbin Simpson
e4f21be13a
r300g: Set logical ID for each emitted texture/sampler.
...
multitexarray works on my r300, but texrect doesn't.
2009-10-15 16:58:26 -07:00
Patrice Mandin
a5a05fd782
nouveau: nv30: Hack to enforce same number of bits as front buffer, for render targets
2009-10-15 22:41:09 +02:00
Patrice Mandin
13580aa3d1
nouveau: nv30: refuse binding a colour buffer with a zeta buffer with different bits, till the backend can tell Mesa not to do that.
2009-10-15 21:58:44 +02:00
Zack Rusin
108273c5ed
st/xorg: refix source over
2009-10-15 15:23:04 -04:00
Brian Paul
5b7d9053a0
progs/egl: put declarations before code
2009-10-15 13:00:03 -06:00
Chia-I Wu
6c21c8862b
egl: Rework the synchronization primitives.
...
This adds error checking to the synchronization primitives. And
eglWaitGL is now implemented by eglWaitClient.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-10-15 12:54:00 -06:00
Chia-I Wu
57da499d7b
egl: Rework eglSwapInterval.
...
This adds error checking to eglSwapInterval and clamps the swap
interval.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-10-15 12:54:00 -06:00
Chia-I Wu
bbfd0e2615
egl: Rework error checking in eglSwapBuffers.
...
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-10-15 12:53:58 -06:00
Chia-I Wu
aaa1253b09
egl: Update comments about eglapi.c.
...
Mention that opaque handles are looked up and checked.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-10-15 12:53:57 -06:00
Chia-I Wu
6190663120
egl: Rework error checking in eglGetCurrentSurface.
...
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-10-15 12:53:57 -06:00
Chia-I Wu
8bb2485ed0
egl: Include GL header in eglconfigutil.h.
...
This is just a cosmetic change.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-10-15 12:53:56 -06:00
Chia-I Wu
29d115092e
egl: Fix GLX_USE_TLS build.
...
Remove an extraneous semicolon.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-10-15 12:53:56 -06:00
Chia-I Wu
2fc1614e7a
egl: Fix eglCheckConfigHandle.
...
A stupid bug by me made the check void.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2009-10-15 12:53:55 -06:00
Jakob Bornecrantz
72fd1cf292
trace: Handle transfer returning null
2009-10-14 11:44:09 +02:00
Zack Rusin
074e069910
st/xorg: fix most of the composition modes
2009-10-15 00:06:43 -04:00
Corbin Simpson
a82fc97c64
r300g: Move ZTOP to its own state atom.
...
It may seem pointless, but this avoids a fair amount of predicted CSO pain.
2009-10-14 20:06:38 -07:00
Brian Paul
91bd87c06e
progs/demos: try different depth formats in fbo_firecube.c
2009-10-14 19:13:32 -06:00
Brian Paul
85fb3e4027
docs: document more MESA_GLSL env var options
2009-10-14 19:09:08 -06:00
Brian Paul
24e2f61469
mesa: assorted top-level Makefile clean-ups
2009-10-14 19:09:08 -06:00
Brian Paul
2fd5cb7133
mesa: added VERBOSE_SWAPBUFFERS
2009-10-14 19:08:39 -06:00
Brian Paul
f9784072fe
vbo: clean-ups, reformatting
2009-10-14 19:08:38 -06:00
Brian Paul
ade1cc9924
mesa: added MESA_VERBOSE option 'draw' to debug glDrawArrays/Elements, etc.
2009-10-14 19:08:38 -06:00
Brian Paul
d9099f8602
mesa: rename VERBOSE_IMMEDIATE->VERBOSE_MATERIAL to reflect what it does
2009-10-14 19:08:38 -06:00
Brian Paul
73fc0ca4c3
mesa: remove unused ctx->Driver.PrioritizeTextures() hook
2009-10-14 19:08:38 -06:00
Brian Paul
0187e042b6
mesa: remove unused ctx->Driver.TextureMatrix() hook
2009-10-14 19:08:38 -06:00
Jakob Bornecrantz
ef067b5f01
st/xorg: Fix dpms include problems
2009-10-13 19:16:21 +02:00
Jakob Bornecrantz
5c4bdbd825
autoconf: Fix case for not having package
2009-10-15 01:25:48 +01:00
Zack Rusin
59cf40059a
st/xorg: get transparency on fills working (fixes Qt/KDE apps)
2009-10-14 19:04:29 -04:00
Jakob Bornecrantz
96c9b39a6a
i915g: Fix warnings
2009-10-14 23:05:55 +01:00
Alex Deucher
f22c427bd6
r600: enable EXT_vertex_array_bgra extensions
2009-10-14 14:19:12 -04:00
José Fonseca
3ce3c03257
util: Fix cpu detection on Windows. Cleanup.
2009-10-14 17:27:06 +01:00
José Fonseca
4046c3bab4
llvmpipe: Use ALIGN_STACK.
2009-10-14 17:24:22 +01:00
José Fonseca
68edb4eac5
gallium: New ALIGN_STACK macro to tell gcc to align stack pointer.
2009-10-14 17:24:22 +01:00
José Fonseca
5ba645f0fb
scons: Disable SSE intrinsics on MinGW.
...
-mstackrealign causes stack corruption on MinGW. And without it the ability
to use SSE instrinsics goes down the drain. Even if we use
__attribute__((force_align_arg_pointer)) for the functions we explicitly
use SSE instrinsics, the SSE code automatically generated by gcc will
cause assertion failures. What a nightmare.
Thankfully LLVM gets this right, so all runtime generated SSE code just
works. rtasm code doesn't assume 16byte alignment. Therefore the bulk of
our performance sensitive code is not affected by this.
Still, intrinsics can be convenient, and it would be nice
to get this working again some day, sp will try to get a reduced test
case.
2009-10-14 17:24:21 +01:00
Brian Paul
9fd7e9ef05
Merge branch 'mesa_7_6_branch'
2009-10-14 09:40:05 -06:00
Brian Paul
31f7e8efb2
progs/Makefile: remove extra quoting
...
This reverts part of commit 115edf24a9 and
fixes the error: "/bin/sh: line 0: test: too many arguments".
2009-10-14 09:37:53 -06:00
Brian Paul
ce3801ab87
Merge branch 'mesa_7_6_branch'
2009-10-14 09:22:30 -06:00
Brian Paul
98eb7a14a4
mesa: remove left-over debug printf
2009-10-14 07:52:39 -06:00
Vinson Lee
ea862ec8ff
prog/tests: Fix MSVC build.
2009-10-14 07:52:39 -06:00
Corbin Simpson
fd63f89e95
r300g: Move ztop to derived state.
...
Need to get it into its own atom instead of piggybacking on DSA.
2009-10-14 03:09:41 -07:00
Corbin Simpson
f13e507798
r300g: Compiler warning cleanup.
2009-10-14 01:58:18 -07:00
Dave Airlie
88b697fb0a
r300g: remove buffer add that should be unnecessary.
...
This should be handled in the emit fine
2009-10-14 18:24:34 +10:00
Dave Airlie
fa581580b1
r300g: add QUERY to KITCHEN_SINK
...
I missed this, thanks to Corbin for pointing it out.
2009-10-14 18:24:05 +10:00
Dave Airlie
ce5cba040c
r300g: add one more ZTOP disable bit.
...
Still missing the frag uses kill support, hopefully nha can point that out.
2009-10-14 18:05:14 +10:00
Dave Airlie
51d1cf55da
r300g: port over last parts of oq support.
...
Add support for begin/end in each CS so we don't get any other
processes rendering in between.
TODO:
blame other parts of driver for this not working like Z.
2009-10-14 17:44:19 +10:00
Dave Airlie
47791697ab
r300g: convert query to a state for emitting.
...
This means we don't emit in the begin query but when we have
to flush. Similiar to classic.
TODO:
make query object actually work.
2009-10-14 17:14:43 +10:00
Dave Airlie
c1bee7bdea
r300g: fixup arb occulsion query support.
...
1: add rv530 support
- num z pipes cap
- add proper start/finish query options for rv530
2: convert to use linked list properly.
3: add flushing required check.
4: initial Z top disabling support.
TODO:
make it actually work on my rv530.
2009-10-14 16:53:12 +10:00
Dave Airlie
210481ae16
r300g: attempt to make bo space check sane.
...
This attempts to make r300g do proper bo space checking as opposed
to whatever it was doing now.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-10-14 15:13:25 +10:00