Patrice Mandin
114417a2f5
nouveau: nv40: Use same workaround as i915 for segfault related to vbo
2009-10-17 20:49:18 +02:00
Patrice Mandin
66aab9a1f6
nouveau: nv30: Remove duplicate case. Was a typo for X8R8G8B8, but that will never be use for front buffer.
2009-10-17 20:46:19 +02:00
Patrice Mandin
67356ae047
nouveau: nv30: Use same workaround as i915 for segfault related to vbo
2009-10-17 20:27:24 +02:00
José Fonseca
5d42e3988d
util: Rename from u_* to util_* while we're at it.
...
To be consistent with the rest.
2009-10-17 11:45:04 +01:00
Chris Wilson
60a39b6799
intel: Disallow relocations to the byte beyond the end of the buffer
2009-10-17 08:26:54 +01:00
Brian Paul
a335d334d4
mesa: fix/update some comments
2009-10-16 13:07:43 -06:00
Brian Paul
f094b86bb5
mesa: lift default symlinks target into Makefile.template
...
Driver Makefiles can still add symlink dependencies/rules if needed.
2009-10-16 13:07:43 -06:00
Brian Paul
db2046580f
mesa: use EXTRA_MODULES and SUBDIRS to build r300 compiler
...
This is a bit cleaner and avoids rebuilding the r300_dri.so library all
the time.
2009-10-16 13:07:43 -06:00
Brian Paul
d9fd207133
mesa: added SUBDIRS support in dri/Makefile.template
2009-10-16 13:07:43 -06:00
Brian Paul
f0503726bf
mesa: move a comma
2009-10-16 13:07:43 -06:00
Brian Paul
2ee7fd8d58
mesa: added MESA_GLSL=useprog debug flag
...
This logs glUseProgram() calls to stderr.
2009-10-16 13:07:43 -06:00
Corbin Simpson
fc8a156cfc
r300g: Use a hash table to look up vertex info.
...
Need to move rs_block to this, too.
Also, I'm getting massive amounts of flicker for some reason; I bet we've gotta
re-re-examine PSC and friends. :C
2009-10-16 08:43:02 -07:00
Corbin Simpson
3924d86115
util: Change function names to begin with u_.
...
Avoids link-time clashes with Mesa's internal hash table.
2009-10-16 08:43:02 -07:00
José Fonseca
166957abeb
progs/tests: Use rand() instead of random().
...
Forgot these on previous commit.
2009-10-16 11:42:13 +01:00
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