Zack Rusin
108273c5ed
st/xorg: refix source over
16 years ago
Brian Paul
5b7d9053a0
progs/egl: put declarations before code
16 years ago
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>
16 years ago
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>
16 years ago
Chia-I Wu
bbfd0e2615
egl: Rework error checking in eglSwapBuffers.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
16 years ago
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>
16 years ago
Chia-I Wu
6190663120
egl: Rework error checking in eglGetCurrentSurface.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
16 years ago
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>
16 years ago
Chia-I Wu
29d115092e
egl: Fix GLX_USE_TLS build.
Remove an extraneous semicolon.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
16 years ago
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>
16 years ago
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.
16 years ago
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>
16 years ago
Robert Noland
a176b1c5d8
r600: cleanup in r600_cs_process_relocs().
Signed-off-by: Robert Noland <rnoland@2hip.net>
16 years ago
Robert Noland
e5d6450c2c
radeon: return EINVAL for 0 length buffers.
Signed-off-by: Robert Noland <rnoland@2hip.net>
16 years ago
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]
16 years ago
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...
16 years ago
Andre Maasikas
606becc7f3
r600: LIT dst.y gets value from src.x
seems I overlooked this when removing hardcoded swizzles for this
one previously
16 years ago
Andre Maasikas
74c31e5d05
r600: DPH adds w comp of second operand, so set first one to 1 instead
16 years ago
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
16 years ago
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>
16 years ago
Andre Maasikas
5101215a64
r600: user correct alpha blend factor
Signed-off-by: Dave Airlie <airlied@linux.ie>
16 years ago
Andre Maasikas
f7285bdffc
r600: clear position enable bit when when wpos is not used by FP
Makes doom3 alot nicer..
16 years ago
Brian Paul
6f8b4d9e36
mesa: regenerated lex.yy.c w/ _mesa_strtod()
16 years ago
Neil Roberts
269f16cd96
mesa: Use _mesa_strtod in the lexer for assembly shaders
See bug 24531.
16 years ago
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".
16 years ago
Jakob Bornecrantz
72fd1cf292
trace: Handle transfer returning null
16 years ago
Zack Rusin
074e069910
st/xorg: fix most of the composition modes
16 years ago
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.
16 years ago
Brian Paul
91bd87c06e
progs/demos: try different depth formats in fbo_firecube.c
16 years ago
Brian Paul
85fb3e4027
docs: document more MESA_GLSL env var options
16 years ago
Brian Paul
24e2f61469
mesa: assorted top-level Makefile clean-ups
16 years ago
Brian Paul
2fd5cb7133
mesa: added VERBOSE_SWAPBUFFERS
16 years ago
Brian Paul
f9784072fe
vbo: clean-ups, reformatting
16 years ago
Brian Paul
ade1cc9924
mesa: added MESA_VERBOSE option 'draw' to debug glDrawArrays/Elements, etc.
16 years ago
Brian Paul
d9099f8602
mesa: rename VERBOSE_IMMEDIATE->VERBOSE_MATERIAL to reflect what it does
16 years ago
Brian Paul
73fc0ca4c3
mesa: remove unused ctx->Driver.PrioritizeTextures() hook
16 years ago
Brian Paul
0187e042b6
mesa: remove unused ctx->Driver.TextureMatrix() hook
16 years ago
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.
16 years ago
Tom Fogal
9282edfaa0
ac: Fix AIX shared library builds.
AIX uses ".a" for both static and shared library extensions.
16 years ago
Jakob Bornecrantz
ef067b5f01
st/xorg: Fix dpms include problems
16 years ago
Jakob Bornecrantz
5c4bdbd825
autoconf: Fix case for not having package
16 years ago
Zack Rusin
59cf40059a
st/xorg: get transparency on fills working (fixes Qt/KDE apps)
16 years ago
Jakob Bornecrantz
96c9b39a6a
i915g: Fix warnings
16 years ago
Alex Deucher
f22c427bd6
r600: enable EXT_vertex_array_bgra extensions
16 years ago
José Fonseca
3ce3c03257
util: Fix cpu detection on Windows. Cleanup.
16 years ago
José Fonseca
4046c3bab4
llvmpipe: Use ALIGN_STACK.
16 years ago
José Fonseca
68edb4eac5
gallium: New ALIGN_STACK macro to tell gcc to align stack pointer.
16 years ago
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.
16 years ago
Brian Paul
9fd7e9ef05
Merge branch 'mesa_7_6_branch'
16 years ago
Brian Paul
ce3801ab87
Merge branch 'mesa_7_6_branch'
16 years ago