Brian Paul
1a46dcc8a9
gallium: replace LOG2() macro with util_fast_log2() inline func
2008-08-22 15:25:21 -06:00
José Fonseca
807a7487ff
trace: Don't trace texture/surfaces releases, only destructions.
2008-08-22 03:14:24 +01:00
José Fonseca
152d00d199
trace: Use a 4 hexadecimal digit suffix.
2008-08-22 03:13:27 +01:00
José Fonseca
34d12c1787
trace: Hack to detect writes to user buffers.
...
It often happens that new data is written directly to the user buffers
without mapping/unmapping. This hack marks user buffers and dumps them
before passing them to pipe context.
2008-08-21 18:46:04 +01:00
José Fonseca
0fff3e4ea9
trace: Split the output stream on windows.
...
Because windows limits the ammount of memory that can be mapped.
2008-08-21 18:46:04 +01:00
Brian Paul
0fae764898
gallium: test for and cull prims with inf/nan vertices in sp_setup.c code.
2008-08-20 10:32:26 -06:00
Brian Paul
7f9959ae83
gallium: fix do_flip bug in sp_surface_copy()
...
Surfaces are always in y=0=top raster order so the caller should invert
the Y coordinate if needed; don't do it in sp_surface_copy().
Fixes a glCopyTexture regression.
2008-08-19 17:41:34 -06:00
José Fonseca
d27ffb8c6d
trace: Fix pipe_clip_state dump.
2008-08-19 21:35:06 +01:00
José Fonseca
200d6dcc83
trace: Support C++.
2008-08-19 21:35:06 +01:00
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
Stephane Marchesin
f90e50dff9
nv30: add some opcodes.
2008-08-18 03:00:25 +02:00
José Fonseca
9d58b2a432
trace: Fix typo.
2008-08-15 11:20:57 +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
4fffc9d63f
trace: Several fixes.
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
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
3c90678ea6
trace: Separate the trace screen/context vs the original screen/context.
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
Ben Skeggs
dbec107c25
nv30/nv40: KIL/KILP swapped meanings
2008-08-14 00:22:49 +10:00
Ben Skeggs
56f5c0c001
Merge remote branch 'origin/gallium-0.1' into nouveau-gallium-0.1
2008-08-14 00:20:52 +10: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
José Fonseca
4a77fadd10
trace: More dump fixes.
2008-08-12 11:34:41 +01:00
José Fonseca
7b8fa937eb
trace: Fix create_blend_state dump.
2008-08-12 11:34:41 +01:00
José Fonseca
e54fa77d13
trace: Dump polygon stipple state as an array.
2008-08-12 11:34:41 +01:00
José Fonseca
d4d8f80388
trace: Fix create_depth_stencil_alpha_state trace.
2008-08-12 11:34:41 +01:00
José Fonseca
166b939d52
trace: Dump pipe_{depth,stencil,alpha}_state names.
2008-08-12 11:34:41 +01:00
José Fonseca
8dbb3011a1
trace: Replace buffer_map+memcpy+buffer_unmap by buffer_write
2008-08-12 11:34:40 +01:00
José Fonseca
a318325b51
trace: Zero the buffers to avoid dumping uninitialized memory.
2008-08-12 11:34:40 +01:00
José Fonseca
e5a606883f
trace: Fix hexadecimal dumping.
2008-08-12 11:34:40 +01:00
José Fonseca
94cf4f15c3
trace: Trace winsys/screen/context creation.
2008-08-12 11:34:40 +01:00
José Fonseca
91f6032919
trace: Trace texture depth.
2008-08-12 11:34:40 +01:00
Michal Krol
66ef96f6dc
softpipe: Include missing header.
2008-08-12 11:30:50 +02:00
Brian Paul
d506fc0acf
gallium: debug/print vertex tweak
2008-08-11 15:21:40 -06:00
Ben Skeggs
df4228dedd
nouveau: pf_sprint_name -> pf_name
2008-08-11 16:14:42 +10:00
Ben Skeggs
f56eda6a85
Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1
2008-08-11 16:07:56 +10:00
José Fonseca
5549d35db5
trace: Dump writes to pipe_buffers.
2008-08-09 14:10:25 +01:00
José Fonseca
376f2cbb19
trace: Prevent tracing internal pipe driver calls.
2008-08-09 14:10:25 +01:00
José Fonseca
696067e781
trace: Dump shaders as text.
2008-08-09 14:10:25 +01:00
José Fonseca
b65259de6c
trace: Allow to dump binary data.
2008-08-09 14:10:25 +01:00
José Fonseca
6c7aff209c
trace: Trace pipe_winsys calls.
2008-08-09 14:10:24 +01:00
José Fonseca
fcfe63805d
trace: Remove unused code.
2008-08-09 14:10:24 +01:00