Commit graph

92185 commits

Author SHA1 Message Date
José Fonseca
d5ed158dc8 python: Get object ownership done correctly. 2008-07-15 17:58:48 +09:00
José Fonseca
9a99b19949 python: Don't use python cflags as they conflict with existing flags. 2008-07-15 17:58:48 +09:00
José Fonseca
1d03102b31 python: Allow hardware support. 2008-07-15 17:58:48 +09:00
José Fonseca
2c4349aa3a python: Move the python scons code to a separate tool module. 2008-07-15 17:58:47 +09:00
José Fonseca
ead8fcd92a python: Get it to build on windows too. 2008-07-15 17:58:47 +09:00
Michal Krol
c60e009a91 tgsi: Numerical label before an instruction is optional. 2008-07-15 10:58:17 +02:00
Brian Paul
6eb7f763fb tgsi: fix bug in execution of loops inside of conditionals.
Fixes infinite loop bug.
2008-07-14 18:08:52 -06:00
Brian Paul
ec698034d1 mesa: assemble main() after all other functions
Before, main() had to come after any functions it called.
2008-07-14 16:00:35 -06:00
Brian Paul
51654783ef mesa: comments about vectors vs components 2008-07-14 16:00:35 -06:00
Brian Paul
f214a848ab mesa: assemble main() after all other functions
Before, main() had to come after any functions it called.
2008-07-14 15:59:44 -06:00
Eric Anholt
946abd9b5a i915: fix build after previous commit. 2008-07-14 13:55:37 -07:00
Brian Paul
e7fd3de927 egl: set EGL_CONFORMANT, EGL_RENDERABLE_TYPE config fields, fix null ptr crashes in MakeCurrent 2008-07-14 12:09:07 -06:00
Brian Paul
2833d4e715 mesa: fix stencil state problem when GL_ATI_separate_stencil wasn't enabled
In glStencilFunc/Op/Mask() set both the front and back-face state, unless
GL_EXT_stencil_two_side is enabled.  Before, we only set the front+back state
if GL_ATI_separate_stencil was enabled.

Ultimately, we probably should remove GL_EXT_stencil_two_side since it's
incompatible with GL 2.x.
2008-07-14 09:55:33 -06:00
Brian Paul
c62cb6be6c mesa: fix stencil state problem when GL_ATI_separate_stencil wasn't enabled
In glStencilFunc/Op/Mask() set both the front and back-face state, unless
GL_EXT_stencil_two_side is enabled.  Before, we only set the front+back state
if GL_ATI_separate_stencil was enabled.

Ultimately, we probably should remove GL_EXT_stencil_two_side since it's
incompatible with GL 2.x.
2008-07-14 09:51:35 -06:00
Guillaume Melquiond
4430597bf6 fix gltrace (bug 16691) 2008-07-14 08:50:36 -06:00
Julien Cristau
6852ef64f3 glu: only export public symbols 2008-07-14 08:42:02 -06:00
Julien Cristau
270b2a5c54 mklib: don't version symbols when using --exports
Use the default version instead of one based on the library SONAME
in the version script created by --exports.
2008-07-14 08:41:54 -06:00
Julien Cristau
0a7df3794c glu: only export public symbols 2008-07-14 08:37:49 -06:00
Julien Cristau
f7eb0cec69 mklib: don't version symbols when using --exports
Use the default version instead of one based on the library SONAME
in the version script created by --exports.
2008-07-14 08:37:38 -06:00
Blair Sadewitz
2f5cd68797 mesa: also check for __NetBSD__ 2008-07-14 08:16:46 -06:00
Blair Sadewitz
a63b90712a mesa: also check for __NetBSD__ 2008-07-14 08:15:10 -06:00
Brian Paul
62db707a3d mesa: check for null shader->Source 2008-07-14 08:13:52 -06:00
José Fonseca
64979d618a python: Basic test case for 2d texture. 2008-07-14 22:27:40 +09:00
José Fonseca
3aea28b9b1 python: Raw tile access to surface. 2008-07-14 22:26:40 +09:00
Chris Rankin
5e600209f4 radeon: SetTexOffset support
This patch is a straightforward duplication of the R200 SetTexOffset code,
except that there is no big-endian tx_table[] array.
2008-07-14 10:11:20 +02:00
José Fonseca
00cd96b68f python: Get the sample app to draw triangle like trivial/tri exanple. 2008-07-14 12:41:07 +09:00
José Fonseca
f07ad529af python: Surface clears. 2008-07-14 12:41:07 +09:00
José Fonseca
3679f69023 python: Set default state. 2008-07-14 12:41:06 +09:00
José Fonseca
05a23e6c6f python: Allow to create/specify shaders. 2008-07-14 12:41:06 +09:00
Stephane Marchesin
93115c4b23 nouveau: say goodbye to the old DRI driver... 2008-07-14 01:03:07 +02:00
Jakob Bornecrantz
16c2267d55 i915: Ops should not have pushed that
This reverts commit 930a863c4f.
2008-07-13 18:55:38 +02:00
Jakob Bornecrantz
e59086ab91 EGL: Only build EGL dri based drivers under linux-dri based configs 2008-07-13 18:05:20 +02:00
Ben Skeggs
d68a3ebf0e Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1 2008-07-14 01:14:52 +10:00
Jakob Bornecrantz
930a863c4f i915: WIP swap rework 2008-07-13 16:49:00 +02:00
José Fonseca
6410e94b96 python: New state tracker which exposes the pipe driver to python scripts.
Still under development. Just barely works.
2008-07-13 23:37:40 +09:00
José Fonseca
36dd89c8a7 util: Eliminate pipe from the arguments to pipe_get/put_tile_xxx functions.
You don't need a pipe_context * for this, and all other necessary info is
already inside pipe_surface.
2008-07-13 23:37:40 +09:00
José Fonseca
17af66fc1a pb: buffer over/underflows are errors. 2008-07-13 23:37:40 +09:00
Michal Krol
f5c51ebd2a tgsi: Parse destination operand modulate modifier. 2008-07-13 15:23:14 +02:00
Michal Krol
94013b66b9 tgsi: Parse extended source register modifiers. 2008-07-13 15:14:31 +02:00
Michal Krol
47a45aaa0f tgsi: Parse _SAT and _SAT opcode suffix. 2008-07-13 14:50:12 +02:00
Michal Krol
a7d8eed61c tgsi: Parse IMM statements. 2008-07-13 14:11:26 +02:00
Michal Krol
3d5dcc2203 tgsi: Parse texture instructions correctly. 2008-07-13 13:17:41 +02:00
Michal Krol
46a7843099 tgsi: Fix instruction operand counts. 2008-07-13 13:17:39 +02:00
Michal Krol
cfd2bf9fa1 tgsi: Fix instruction opcode parsing. 2008-07-13 13:17:37 +02:00
Michal Krol
625034104a tgsi: Add missing SWZ opcode. 2008-07-13 13:17:34 +02:00
Michal Krol
ee647b9020 tgsi: Parse DCL statements. 2008-07-13 13:17:32 +02:00
Michal Krol
bd3b47590e tgsi: Remove depricated ATTRIB interpolate mode. 2008-07-13 13:17:30 +02:00
Stephane Marchesin
92d711e9e6 llvm: build fixes. 2008-07-13 11:33:41 +02:00
Dave Airlie
4fab47b13c glx/dri: only report DRI2 extensions when DRI2 is enabled.
Fixes bug 15477
2008-07-13 19:00:46 +10:00
Nicolai Haehnle
e81ba58bf4 r300_fragprog: Use nqssa+dce and program_pair for emit
Share almost all code with r500_fragprog now.

This also fixes Piglit's texrect-many test, which means that the compiz
bicubic plugin should work with hardware acceleration now.
2008-07-12 21:16:16 +02:00