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
Owen Taylor
3f30b0709b
Use the right pitch when rendering to a texture
...
We need to get the pitch from the texture level we are rendering to,
rather than just using the base texel width.
2009-10-15 11:33:08 -04:00
Robert Noland
16c6a3b71e
r600: FRAG_ATTRIB_WPOS and FRAG_ATTRIB_FOGC appear to be supported.
...
Report unsupported attributes while I'm here.
Signed-off-by: Robert Noland <rnoland@2hip.net>
2009-10-15 11:29:52 -04:00
Robert Noland
a176b1c5d8
r600: cleanup in r600_cs_process_relocs().
...
Signed-off-by: Robert Noland <rnoland@2hip.net>
2009-10-15 11:29:45 -04:00
Robert Noland
e5d6450c2c
radeon: return EINVAL for 0 length buffers.
...
Signed-off-by: Robert Noland <rnoland@2hip.net>
2009-10-15 11:29:35 -04:00
Andre Maasikas
22a0029a68
r600: fix tfp1 bo size
...
Setting the wrong bo size resulting in an incomplete
read cache flush when reading the texture. This fixes the
compiz text corruption.
[agd5f: take hw pitch alignment into account]
2009-10-15 11:24:49 -04:00
Andre Maasikas
a3fec14101
r600: implement ProgramStringNotify
...
need this to properly test with piglit/glean vert/fragprog tests
copied mostly from r300, many thanks to osiris, nha, airlied, others...
2009-10-15 11:22:18 -04:00
Andre Maasikas
606becc7f3
r600: LIT dst.y gets value from src.x
...
seems I overlooked this when removing hardcoded swizzles for this
one previously
2009-10-15 11:21:15 -04:00
Andre Maasikas
74c31e5d05
r600: DPH adds w comp of second operand, so set first one to 1 instead
2009-10-15 11:20:04 -04:00
Andre Maasikas
95851d8cb2
r600: fixup KIL instruction a bit
...
- KILLGT takes 2 arguments
- arb KIL has no dst register
- add TODO about clause ending but currently piglit fp-kil passes and
does not hang the card
2009-10-15 11:18:53 -04:00
Andre Maasikas
bf68e54a4d
r600: use CB_TARGET_MASK instead of CB_SHADER_MASK for setting color mask
...
makes blend functions work better
Signed-off-by: Dave Airlie <airlied@linux.ie>
2009-10-15 11:17:09 -04:00
Andre Maasikas
5101215a64
r600: user correct alpha blend factor
...
Signed-off-by: Dave Airlie <airlied@linux.ie>
2009-10-15 11:16:53 -04:00
Andre Maasikas
f7285bdffc
r600: clear position enable bit when when wpos is not used by FP
...
Makes doom3 alot nicer..
2009-10-15 11:16:41 -04:00
Brian Paul
6f8b4d9e36
mesa: regenerated lex.yy.c w/ _mesa_strtod()
2009-10-15 08:59:13 -06:00
Neil Roberts
269f16cd96
mesa: Use _mesa_strtod in the lexer for assembly shaders
...
See bug 24531.
2009-10-15 08:57:07 -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
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
Tom Fogal
115edf24a9
Fix build when PROGRAM_DIRS is empty.
...
SUBDIRS just takes PROGRAM_DIRS value. If PROGRAM_DIRS gets set
to the empty string (as can happen when building only OSMesa), a
'for' loop will lack anything to iterate over, causing a parse
error.
This fixes the issue by making sure SUBDIRS is the null string
when PROGRAM_DIRS is, and wrapping the for loops in if's, causing
them only to execute if there are directories to iterate over.
2009-10-13 16:22:09 -06:00
Tom Fogal
9282edfaa0
ac: Fix AIX shared library builds.
...
AIX uses ".a" for both static and shared library extensions.
2009-10-13 16:22:06 -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
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