Commit Graph

59 Commits

Author SHA1 Message Date
José Fonseca
46efe73daf python: Cleanup tri example. 2008-09-05 10:31:38 +09:00
José Fonseca
78435d9142 python: Use pipe_buffer_* inlines as much as possible. 2008-09-04 09:38:23 +09:00
José Fonseca
f637a96e85 gallium: Have pipe_buffer_* receive a pipe_screen instead of a pipe_context.
We want to use the pipe_buffer_* inlines everywhere, but a pipe context
is not always available nor is it needed.
2008-09-03 11:53:39 +09:00
Brian Paul
4f25420bdd gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.h
Also, rename p_tile.[ch] to u_tile.[ch]
2008-08-24 17:48:55 -06:00
José Fonseca
d32f51d471 python/retrace: Interpret texture/surfaces destructions. 2008-08-22 03:14:51 +01:00
José Fonseca
7f3c3683ce python/retrace: Process the trace call-by-call (instead of reading everything into memory). 2008-08-22 01:23:48 +01:00
José Fonseca
10624065b0 python/retrace: Support gziped traces. 2008-08-21 18:46:04 +01:00
José Fonseca
34cffce334 python/retrace: Retrace draw_elements and draw_range_elements. 2008-08-20 16:57:51 +01:00
José Fonseca
1d881b8e84 python: bindings for draw_range_elements. 2008-08-20 16:57:51 +01:00
José Fonseca
d7f8b95e09 python/retrace: Add several missing functions. 2008-08-19 21:35:06 +01:00
José Fonseca
9adfc57a4c python: Handle null state. 2008-08-19 21:35:06 +01:00
José Fonseca
5f1ef11ad2 python/retrace: Trim null chars.
They are often left in memory mapped files, and are not part of the XML
accept chars anyway.
2008-08-19 21:35:06 +01:00
José Fonseca
52ecb8f563 python/retrace: Update frame when PIPE_FLUSH_FRAME spotted. 2008-08-15 10:35:19 +01:00
José Fonseca
c9751522b0 pyhon/retrace: Retrace surface contents.
Now capable of replaying trivial/quad-tex-2d
2008-08-15 10:35:19 +01:00
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
37336b7d9e python: Fix put/get_tile_raw bindings. 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
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
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
506b8ebdba python: Use st_buffers instead of pipe_buffers. 2008-08-12 11:34:41 +01:00
José Fonseca
e08072c5db python: Bindings for p_compiler.h types. 2008-08-12 11:34:41 +01:00
José Fonseca
e69e94d301 python: Bindings for pipe_{depth,stencil,alpha}_state. 2008-08-12 11:34:41 +01:00
José Fonseca
ae0c9b56d4 python: Simplify setting the constant buffers. 2008-08-12 11:34:40 +01:00
José Fonseca
e7f1ac39be python: Split the interface definition file in smaller ones. 2008-08-12 11:34:40 +01:00
José Fonseca
b5f7dd0c08 python: Add unsigned arrays. 2008-08-12 11:34:40 +01:00
José Fonseca
a304d27118 python: Allow writing to buffers. 2008-08-12 11:34:40 +01:00
José Fonseca
23e8c92543 python: Update the documentation. 2008-08-12 11:34:40 +01:00
José Fonseca
c208a2c791 Merge tgsi/exec and tgsi/util directories. 2008-07-28 12:42:13 +09:00
José Fonseca
5853b6c2fe python/tests: Check support for non-pot/non-square textures. 2008-07-20 09:28:27 +09:00
José Fonseca
b1d6ff1afd python/tests: Specify the right texture target when querying formats. 2008-07-19 12:32:29 +09:00
José Fonseca
8aafc03b26 gallium: Finer grained is_format_supported. 2008-07-19 12:32:29 +09:00
José Fonseca
3ca935d9ef python/tests: Extend the texture tests to cover volumes. 2008-07-18 10:42:44 +09:00
José Fonseca
bfee84df86 python: Add methods to get texture width, height, etc.
SWIG does a poor job with arrays inside structures.
2008-07-18 10:42:44 +09:00
José Fonseca
e74f94b39a python: Reimplement the generation of random texture samples in C. 2008-07-18 01:20:44 +09:00
José Fonseca
d398e1360d python: Reimplement tile comparison in C to speed up tests. 2008-07-18 01:20:44 +09:00
José Fonseca
f610deed37 python/tests: Cover all last_level combinations. 2008-07-17 08:52:51 +09:00
José Fonseca
7f32834df3 python/tests: Extend the texture tests to cover cube maps. 2008-07-16 23:27:15 +09:00
José Fonseca
1049e65240 python: Set PIPE_TEX_MIPFILTER_NONE by default. 2008-07-16 23:26:23 +09:00
José Fonseca
32fe752d31 python: Test all miplevels. 2008-07-16 19:36:59 +09:00
José Fonseca
70b1ff9ff3 python: Expand the texture test suit to cover one YUV and one DXT format. 2008-07-16 14:13:10 +09:00
José Fonseca
61c4de53c3 python: Silent debug output. 2008-07-16 14:13:10 +09:00
José Fonseca
3392bcaaa8 python: Cleanup. 2008-07-15 17:58:48 +09:00
José Fonseca
ee470020e1 python: Request/respect the texture & buffer usage flags in the examples. 2008-07-15 17:58:48 +09:00
José Fonseca
d5ed158dc8 python: Get object ownership done correctly. 2008-07-15 17:58:48 +09:00
José Fonseca
1d03102b31 python: Allow hardware support. 2008-07-15 17:58:48 +09:00