Commit graph

27608 commits

Author SHA1 Message Date
José Fonseca
90a1c6e403 trace: Explain how to integrate with a state tracker or winsys. 2008-08-18 20:47:41 +01:00
José Fonseca
747762f379 trace: Preliminary stream implementation for GDI. 2008-08-18 20:47:41 +01:00
José Fonseca
d042f415fc trace: Use long longs to ensure covering 64bits integers. 2008-08-18 20:47:41 +01:00
José Fonseca
6a31bb6ad8 trace: Get the trace file from the GALLIUM_TRACE option itself. 2008-08-18 20:47:40 +01:00
Michal Krol
235981d871 gallium: Remove TGSI_CC_UN. 2008-08-18 17:49:01 +02:00
Michal Krol
e9ec60097c tgsi: Update condition code vector when storing dest register. 2008-08-18 17:20:14 +02:00
Michal Krol
56c30bf17b tgsi: Saturate modifier obeys ExecMask.
Implement NVIDIA [-1;+1] saturate mode.
2008-08-18 17:20:12 +02:00
Michal Krol
6aacca106b tgsi: Respect condition codes when storing destination register. 2008-08-18 17:20:10 +02:00
Michal Krol
880b751e8e tgsi: Cosmetic changes. 2008-08-18 17:20:08 +02:00
Michal Krol
e2da7edd64 tgsi: Add condition code (CC) register. 2008-08-18 17:20:06 +02:00
Michal Krol
6fdc057887 scons: Fix build. 2008-08-18 14:40:02 +02:00
Younes Manton
7f100d04dd g3dvl: Use rotating buffers to avoid waiting for map(). 2008-08-18 00:04:29 -04:00
Stephane Marchesin
f90e50dff9 nv30: add some opcodes. 2008-08-18 03:00:25 +02:00
Alan Hourihane
9bbc55116f if we can't find a mode, return first. At least we should
see the top left portion if we've got larger screens on
other CRTC's
2008-08-17 21:55:37 +01:00
Alan Hourihane
ccf1910dd4 consolidate intel directories.
we now have

src/gallium/winsys/drm/intel/{common,dri,egl}
2008-08-17 20:17:18 +01:00
Alan Hourihane
2037b1381c rather than use CRTC 1 (aka LVDS), try and setup all connectors/encoders
and get the same output on all.
2008-08-17 19:14:00 +01:00
Younes Manton
6858dd50c9 g3dvl: Modularized rendering, refactored to accommodate VAAPI, other APIs. 2008-08-16 13:04:54 -04:00
Younes Manton
fb2732ff05 g3dvl: Merged tgsi/util and tgsi/exec moved some headers around. 2008-08-16 13:04:54 -04:00
José Fonseca
4b1b5ca9bd xlib: Kill xmesa_surface.
A winsys cannot expect that the surfaces passed display_surface are the
surfaces it created, as surface are now in generate texture views created
by pipe_screen. Indeed, the fact it was working so far was mere luck.

This fixes a weird tiled output when using the trace pipe driver.

Winsys' surfaces should die.
2008-08-15 11:24:06 +01:00
José Fonseca
9d58b2a432 trace: Fix typo. 2008-08-15 11:20:57 +01:00
José Fonseca
52ecb8f563 python/retrace: Update frame when PIPE_FLUSH_FRAME spotted. 2008-08-15 10:35:19 +01:00
José Fonseca
f40de50def trace: Wrap all textures and surface created by the pipe driver.
That is,

Unfortunately, this causes a regression in softpipe, where the
output gets tyled.
2008-08-15 10:35:19 +01:00
José Fonseca
f121d0e54f trace: Allow multiple screens. Flush after call. 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
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
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
Patrice Mandin
d4c199d056 nv30: set mipmap min/max lod accordingly 2008-08-14 17:24:06 +02:00
Patrice Mandin
a145c107c1 nv30: disable setting nv40 RECT bit, this is not the same on nv30, plus gallium does not support rectangle textures currently, only full POT or NPOT 2008-08-14 16:52:51 +02:00
Patrice Mandin
a7ea6bae4e nv30: does not support mirror clamp, only mirror repeat 2008-08-14 16:36:52 +02: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
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
Michal Krol
3a1af846fe tgsi: Initial code for KILP, needs CCs working to be complete. 2008-08-13 20:11:41 +02:00