Commit graph

12990 commits

Author SHA1 Message Date
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
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
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
Michal Krol
c415de5e25 scons: List `util/tgsi_text.c'. 2008-07-12 17:10:21 +02:00
Michal Krol
d0386d55ff tgsi: Add tgsi_text utility module.
Translates textual shader into a binary token stream.
The syntax matches the tgsi_dump module, so it's possible to
simply copy-paste the shader dump and transform it back
to a binary form.
2008-07-12 17:06:37 +02:00
Michal Krol
9ea485f886 tgsi: Fix dumping of indirect addressing. 2008-07-12 17:03:30 +02:00
Michal Krol
7279d663e9 tgsi: Add missing copyright headers. 2008-07-12 11:17:21 +02:00
Brian Paul
80b24166a5 egl: a minor overhauld of egl_xdri.c
Rely more on the libGL code to avoid duplicated efforts.  Also fix confusion
arising from multiple __DRIscreen objects.
2008-07-11 15:45:03 -06:00
Brian Paul
df2c9424d3 glx: added __glXPreferEGL() to tell libGL to prefer "egl_" drivers over regular DRI drivers.
Also, clean-up, consolidate the dlopen() code a bit.
2008-07-11 15:45:03 -06:00
Brian Paul
7986baf7cf build egl subdirs 2008-07-11 15:45:03 -06:00
Jakob Bornecrantz
6e938e4f82 gallium: Make dri drivers create a egl_name_dri.so if supported 2008-07-11 20:09:52 +02:00
Brian Paul
bae90edfda gallium: check for FEATURE_feedback and FEATURE_drawpix when creating/using the aux draw module 2008-07-10 14:23:27 -06:00
Brian Paul
f5cdc657b2 egl: added EGL_OPENVG_API case (allow all APIs) 2008-07-10 13:30:52 -06:00
Brian Paul
b101890c15 egl: add all EGL_*_BITs to ClientAPIsMask 2008-07-10 13:29:42 -06:00
Brian Paul
fb3867aec0 egl: implement xdri_eglGetProcAddress() for gallium
Plus comments, clean-ups.
2008-07-10 10:48:28 -06:00
Brian Paul
64f92e00c8 mesa: check for null shader->Source 2008-07-09 15:54:21 -06:00
Brian Paul
811a183a27 mesa: return -1, not GL_FALSE if _glapi_add_dispatch() fails name sanity check 2008-07-09 15:54:06 -06:00
Brian Paul
eb9efc6ad5 mesa: disable fprintf() error 2008-07-09 15:51:18 -06:00
Brian Paul
e3b13dba4d egl: link libEGL w/ additional libs 2008-07-09 15:49:59 -06:00
Brian Paul
70b0a949b0 egl: misc updates/fixes
Set surface size when created.
Implement dri_find_dri_screen().
Look for "egl_xxx_dri.so" library before regular DRI driver.
2008-07-09 15:47:27 -06:00
Brian Paul
93ff702b4f gallium: fix logic in pb_check_usage() 2008-07-09 11:46:16 -06:00
Brian Paul
520dbdea22 mesa: check for OpenBSD (bug 15604)
cherry-picked from master
2008-07-09 08:48:41 -06:00
Brian Paul
57f2d071d1 mesa: fix state.clip[n].plane parsing bug (bug 16611)
cherry-picked from master
2008-07-09 08:47:23 -06:00
Zack Rusin
48b8a32c6d egl: plug a small memleak 2008-07-09 10:20:28 -04:00
Zack Rusin
d25709df1d draw: remove some debug output 2008-07-09 09:54:57 -04:00
Brian Paul
cdc0b6e523 mesa: remove debug code 2008-07-08 16:58:50 -06:00
Brian Paul
072c474836 mesa: implement glGetUniformiv() with new ctx->Driver function
The old implementation could overwrite the caller's param buffer.
2008-07-08 16:12:01 -06:00
Brian Paul
3bdf50bab0 mesa: fix bug/failure in recursive function inlining
Fixes a failure for cases such as y = f(a, f(a, b))
All the usual tests still pass but regressions are possible...
2008-07-08 15:07:28 -06:00
Brian Paul
7cbc244c52 gallium: tweak printing of generic declarations 2008-07-08 15:07:28 -06:00
Brian Paul
fe1c0e44aa mesa: more debug output 2008-07-08 15:07:28 -06:00
Brian Paul
0d1f54db6b mesa: compute global var size before doing codegen 2008-07-08 15:07:28 -06:00
Brian Paul
2e638cfe3c mesa: add missing VARYING case to storage_string() 2008-07-08 15:07:28 -06:00