Michel Dänzer
0b7a907f39
gallium/trace: Fix SCons build.
2009-07-20 02:05:38 +02:00
Jakob Bornecrantz
c0d7502a2c
trace: Add drm api integration
...
This is okay since drm_api.h doesn't have any external
dependancies, one could make it only compile on platforms
that support drm.
2009-07-02 14:57:55 +02:00
Brian Paul
b750b9fc3d
gallium: remove the pipe_sampler_state::shadow_ambient field
...
This was only present for the sake of GL_ARB_shadow_ambient which we
never implemented in Gallium. If we someday want GL_ARB_shadow_ambient
we can implement it in the state tracker by adding a MAD after the
relevant TEX instructions.
2009-06-30 08:51:32 -06:00
Jakob Bornecrantz
210ad58ee3
trace: Don't write state objects to file if dumping is not set
2009-06-14 06:07:50 +02:00
Brian Paul
a04af335a4
Merge branch 'mesa_7_5_branch'
...
Conflicts:
src/mesa/drivers/dri/i915/i915_tex_layout.c
src/mesa/drivers/dri/i965/brw_wm_glsl.c
src/mesa/drivers/dri/intel/intel_buffer_objects.c
src/mesa/drivers/dri/intel/intel_pixel_bitmap.c
src/mesa/drivers/dri/intel/intel_pixel_draw.c
src/mesa/main/enums.c
src/mesa/main/texstate.c
src/mesa/vbo/vbo_exec_array.c
2009-06-24 08:54:37 -06:00
José Fonseca
d609df1dae
trace: Use size_t consistently.
2009-06-18 14:54:09 +01:00
Michal Krol
1b334587e9
trace: __func__ --> __FUNCTION__.
2009-06-10 11:56:38 +02:00
Jakob Bornecrantz
41482a6461
trace/rbug: Add support for draw block rule
2009-06-09 19:24:06 +01:00
Jakob Bornecrantz
b71a254f05
trace/rbug: Return textures currently bound to context
2009-06-09 16:00:40 +01:00
Jakob Bornecrantz
8d2324d355
trace/rbug: Sleep on windows when blocked
2009-06-08 15:01:48 +02:00
Jakob Bornecrantz
61ffba44fd
trace/rbug: Use condvar on system that has it for blocking
2009-06-05 03:01:34 +01:00
Jakob Bornecrantz
76b3072e9b
trace/rbug: Add new contexts functions to trace rbug
2009-06-04 23:45:29 +01:00
Jakob Bornecrantz
01fa34cb98
trace/rbug: Add rbug integration for remote debugging
2009-06-01 11:19:56 +01:00
Jakob Bornecrantz
bd59dd69ba
trace: Improve shader wrapping
2009-05-18 20:54:09 +01:00
Keith Whitwell
57fd202375
gallium: remove occlusion_count flag from depth-stencil state
...
Drivers can just keep track of whether they are within a query
by monitoring the begin/end query callbacks. The flag adds no
information beyond that.
Only softpipe was examining this flag -- it has been fixed up
and retested with demos/arbocclude.
2009-05-16 17:26:39 +01:00
Jakob Bornecrantz
f04c38fa1f
trace: Export enabled status
2009-05-16 01:50:53 +01:00
Jakob Bornecrantz
ee05658798
trace: Unwrap buffer in texture_blanket
2009-05-16 01:50:53 +01:00
Jakob Bornecrantz
ab95f389a5
trace: If either shader is disabled don't draw
2009-05-16 01:50:53 +01:00
Jakob Bornecrantz
3b4da4e9da
trace: Put shaders on a list in the context
2009-05-16 01:50:53 +01:00
Jakob Bornecrantz
c30f661189
trace: Move state dump functions to tr_dump_state.[c|h]
2009-05-16 01:50:53 +01:00
Jakob Bornecrantz
8ae52413c7
trace: Add initializer for static variables
2009-04-20 16:07:44 +02:00
Jakob Bornecrantz
f2d2b3d8e2
trace: Enable dumping to be turned on and off
2009-04-19 16:24:41 +01:00
Jakob Bornecrantz
44d0e0caf4
trace: Keep screen objects on lists
2009-04-17 16:03:01 +02:00
Jakob Bornecrantz
1e42f68fd6
trace: Fix is_referenced functions
2009-04-17 16:03:01 +02:00
Jakob Bornecrantz
5800e0aad1
trace: Simplify trace_buffer function
2009-04-17 16:03:01 +02:00
Thomas Hellstrom
9b75627fab
gallium: Make sure we flush before some texture / buffer operations.
...
Also implement context member functions to optimize away those
flushes whenever possible.
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
2009-04-15 17:16:58 +02:00
José Fonseca
7cfd3b3bdf
trace: Dump the fence, not its pointer.
2009-04-09 21:28:31 +01:00
José Fonseca
0da3a13d6a
trace: Use 'flags' name consistently.
2009-04-09 21:27:03 +01:00
José Fonseca
e0e5d5014e
trace: Make calls dumping threadsafe.
2009-04-08 16:26:05 +01:00
José Fonseca
d2cdf6253c
trace: Make call no global.
2009-04-08 16:26:05 +01:00
José Fonseca
927eb8fe4c
trace: Simplify cast wrappers.
2009-04-08 16:26:05 +01:00
José Fonseca
7000b9d74a
trace: Match pipe_context::clear prototype.
2009-04-08 16:26:04 +01:00
Michel Dänzer
eb168e26aa
gallium: Clean up driver clear() interface.
...
Only allows clearing currently bound buffers, but colour and depth/stencil in
a single call.
2009-04-04 19:01:51 +02:00
Michel Dänzer
d332f8b4ef
gallium: Remove some little-used fields from struct pipe_surface.
2009-03-26 10:53:47 +01:00
José Fonseca
57ea34214c
trace: Defer the cast to after the check for enabled trace.
...
Prevents segfault when trace is disabled.
2009-03-25 21:47:17 +00:00
José Fonseca
c847b45153
trace: Update readme.
...
Actually, the trace driver with the xlib statetracker is
still causing assertion failures here..
2009-03-25 21:04:12 +00:00
José Fonseca
58351b5023
trace: Number calls.
2009-03-25 21:04:05 +00:00
Alan Coopersmith
ad11107206
Add #ifdefs needed to compile Gallium on Solaris with gcc or Sun cc
...
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-03-25 11:07:31 -07:00
Jakob Bornecrantz
1196885293
trace: Fix args to buffer write
2009-03-22 04:33:36 +01:00
Keith Whitwell
1bb60d25e0
gallium: remove remaining references to origin_lower_left
2009-03-21 10:55:45 +00:00
Jakob Bornecrantz
c9a318a7c6
trace: Formalize on a standard for data size pair
2009-03-19 19:18:38 +01:00
Jakob Bornecrantz
b95789ddb9
trace: Fix memory leak
2009-03-16 21:34:03 +01:00
Jakob Bornecrantz
068fd6d50b
trace: Re-init refcounters just incase
2009-03-16 20:33:30 +01:00
Jakob Bornecrantz
f73066fbd5
trace: Dump buffer data via buffer writes
2009-03-16 20:15:25 +01:00
Thomas Hellstrom
cf25ef9072
gallium: Use struct pipe_atomic for pipe refcounts.
...
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
2009-03-16 11:40:47 +01:00
Keith Whitwell
683e7091a9
gallium: consolidate bypass_vs and bypass_clipping flags
...
The draw module provides a similar interface to the driver which
is retained as various bits of hardware may be able to take on
incremental parts of the vertex pipeline. However, there's no
need to advertise all this complexity to the state tracker.
There are basically two modes now - normal and passthrough/screen-coords.
2009-03-13 16:42:57 +00:00
Jakob Bornecrantz
d5d5b27224
trace: Fix some typos
2009-03-13 05:40:10 +01:00
Jakob Bornecrantz
f500f3a72c
gallium: Remove do_flip argument from surface_copy
...
I should have gotten most uses and implementation
correctly fixed, but things might break.
Feel free to blame me.
2009-03-13 01:38:20 +01:00
Jakob Bornecrantz
e8ee34e7f3
trace: Wrap pipe_buffers
2009-03-12 16:35:43 +01:00
Jakob Bornecrantz
53e5248b0a
trace: Add dump util functions for wrapped pointers
2009-03-12 16:35:43 +01:00