Commit graph

15680 commits

Author SHA1 Message Date
José Fonseca
14fe0d62ee python/retrace: Keep addresses as strings.
To simplify looking up these in the trace.
2008-08-15 10:35:19 +01:00
José Fonseca
4fffc9d63f trace: Several fixes. 2008-08-15 10:35:18 +01:00
José Fonseca
37336b7d9e python: Fix put/get_tile_raw bindings. 2008-08-15 10:35:18 +01:00
José Fonseca
424dea98d4 trace: Trace surface contents. 2008-08-15 10:35:18 +01:00
José Fonseca
196167e9d5 trace: Make stream a global variable.
This not only simplifies the code, but allows to use atexit() to ensure
the log is closed when applications don't exit cleanly.
2008-08-15 10:35:18 +01:00
José Fonseca
2f34c851c0 mesa: Issue PIPE_FLUSH_FRAME in glSwapBuffers/glFlush/glFinish. 2008-08-15 10:35:18 +01:00
José Fonseca
daa481a9c0 gallium: New PIPE_FLUSH_FRAME flag to signal the end of a frame. 2008-08-15 10:35:18 +01:00
José Fonseca
df3d694851 python/retrace: Commit unsaved changes to the doc. 2008-08-15 10:35:17 +01:00
Brian Paul
a7b818d53a gallium: init default texture image to gray 2008-08-14 15:44:28 -06:00
Brian Paul
8f6d9e12be gallium: use a default texture in update_textures(), update_samplers() when needed
The default texture is used when the current fragment shader has texture
sample instructions but the user has not provided/bound a texture.
2008-08-14 15:44:28 -06:00
Brian Paul
6c46b49d12 gallium: added queries to determin GL_EXT_packed_depth_stencil support 2008-08-14 15:44:28 -06:00
José Fonseca
19aee90179 trace: Update status. 2008-08-14 11:01:43 +01:00
José Fonseca
31bb6c0d17 python: Update status. 2008-08-14 11:01:43 +01:00
José Fonseca
468c9775cb python/retrace: Application capable of replaying gallium traces.
At the moment it is capable of replaying trivial/tri kind of apps.

See README for status.
2008-08-14 11:01:43 +01:00
José Fonseca
ffaa4e816f python: Allow to use trace pipe driver with python. 2008-08-14 11:01:43 +01:00
José Fonseca
92675f6e22 python: Fix typo in buffer::write. 2008-08-14 11:01:43 +01:00
José Fonseca
90ed1742d5 python: Remove unused var. 2008-08-14 11:01:42 +01:00
José Fonseca
969ff9e9bf xlib: Use trace usage. 2008-08-14 11:01:42 +01:00
José Fonseca
3c90678ea6 trace: Separate the trace screen/context vs the original screen/context. 2008-08-14 11:01:42 +01:00
José Fonseca
c67f353c0f mesa: Don't use alignments < 4. 2008-08-14 11:01:42 +01:00
José Fonseca
449cb6b37b mesa: posix_memalign requires alignment to be multiple of sizeof(void*) 2008-08-14 11:01:42 +01:00
José Fonseca
a8540ef9fb gallium: Catch errors from posix_memalign. 2008-08-14 11:01:42 +01:00
José Fonseca
50c6092355 python: Simplify st_winsys. 2008-08-14 11:01:42 +01:00
José Fonseca
0ecaa37e49 python: Bindings fixes. 2008-08-14 11:01:42 +01:00
José Fonseca
d756f9512d translate: Draw can request up to PIPE_MAX_ATTRIBS + 1 vertex elements. 2008-08-14 11:01:42 +01:00
Alan Hourihane
73467e1080 check for winsys->destroy before calling 2008-08-14 09:52:15 +01:00
Brian Paul
19ff2326e9 gallium: fix exec_kilp(), fix Exec/FuncMask test for TGSI_OPCODE_RET
Fixes a few glean glsl regressions.
2008-08-13 17:26:58 -06:00
Brian Paul
f3048ad90e gallium: in fallback_copy_texsubimage() create new tex surface for CPU read access
Was trying to use the strb->surface but it's made for GPU read/write only.
2008-08-13 14:59:48 -06:00
Michal Krol
3a1af846fe tgsi: Initial code for KILP, needs CCs working to be complete. 2008-08-13 20:11:41 +02:00
Michal Krol
83a5a225d7 tgsi: Use a homebrew version of toupper(). 2008-08-13 19:31:38 +02:00
Michal Krol
bfdb1d55d5 tgsi: Fix typo. 2008-08-13 19:28:10 +02:00
Michal Krol
4b929b32d0 tgsi: Validate instruction opcode and operand counts. 2008-08-13 17:35:20 +02:00
Michal Krol
2caaba8195 tgsi: Use tgsi_info to dump opcode names. 2008-08-13 17:35:17 +02:00
Michal Krol
79e52779bd tgsi: Use tgsi_opcode_info. 2008-08-13 17:35:15 +02:00
Michal Krol
6d83a0cc68 make: List tgsi_info.c. 2008-08-13 17:35:12 +02:00
Michal Krol
668ac25725 scons: List tgsi_info.c. 2008-08-13 17:35:10 +02:00
Michal Krol
94f9faab31 tgsi: Opcode information. 2008-08-13 17:35:08 +02:00
Zack Rusin
d8be393cb6 fix compilation 2008-08-13 07:14:47 -04:00
Michal Krol
e7e992b12a mesa: KIL -> KIL, KIL_NV -> KILP. 2008-08-13 11:19:24 +02:00
Michal Krol
db38708c43 i915: Swap meanings of KIL and KILP. 2008-08-13 11:13:46 +02:00
Michal Krol
e8e75c8c86 cell: KILP is a predicated discard, KIL is a conditional discard. 2008-08-13 11:10:58 +02:00
Michal Krol
f0874d1a6b tgsi: Swap meanings of KIL and KILP opcodes. 2008-08-13 11:09:20 +02:00
Michal Krol
f633b14b92 gallivm: Translate KIL instead of KILP. 2008-08-13 10:58:54 +02:00
Michal Krol
0c8f4c25ff draw: Use KIL instead of KILP. 2008-08-13 10:52:55 +02:00
Michal Krol
9804ab9acc gallium: Make a note that OPCODE_KIL is a conditional kill.
Map OPCODE_TEXKILL to OPCODE_KIL.
2008-08-13 09:15:27 +02:00
Brian Paul
4424c66875 gallium: more context clean-up 2008-08-12 18:02:44 -06:00
Brian Paul
a6880ace4c mesa: glsl: fix error detection of writing to read-only variables 2008-08-12 17:42:13 -06:00
Brian Paul
c01fbc7866 mesa: texture crop rect state 2008-08-12 17:41:57 -06:00
Brian Paul
5af60556ed mesa: glsl: fix comment 2008-08-12 17:41:21 -06:00
Brian Paul
faad665594 gallium: distinguish between KIL and KILP
Note: KIL (unconditional) not done yet.
2008-08-12 12:00:57 -06:00