José Fonseca [Wed, 6 Apr 2011 23:06:30 +0000 (00:06 +0100)]
Use a type visitor to dump JSON values instead of ad-hoc code.
Zack Rusin [Thu, 7 Apr 2011 05:15:48 +0000 (01:15 -0400)]
Add code to interpret and display binary vertex data.
Zack Rusin [Thu, 7 Apr 2011 00:23:08 +0000 (20:23 -0400)]
Generate filterText in thread.
makes loading of traces a lot more responsive
Zack Rusin [Wed, 6 Apr 2011 21:29:39 +0000 (17:29 -0400)]
Add name of the file in the window bar.
Zack Rusin [Wed, 6 Apr 2011 05:11:55 +0000 (01:11 -0400)]
Abstract retracing into a class of its own.
preparing for adding options to benchmark and use double buffering
from the gui.
José Fonseca [Tue, 5 Apr 2011 23:41:22 +0000 (00:41 +0100)]
Fix glUniformMatrix*ARB array length.
José Fonseca [Tue, 5 Apr 2011 23:40:40 +0000 (00:40 +0100)]
Fix argument order of __glVertexAttribPointer_size.
José Fonseca [Tue, 5 Apr 2011 19:54:00 +0000 (20:54 +0100)]
Fix string formatting.
In particular, preserve syntax highlighting when piping to 'less -R'
Zack Rusin [Sun, 3 Apr 2011 21:27:02 +0000 (17:27 -0400)]
Filter glXQueryExtensionsString when asked to filter extension queries
Zack Rusin [Sun, 3 Apr 2011 21:22:11 +0000 (17:22 -0400)]
Index shouldn't be bold, plus don't newline after index in tooltips
Zack Rusin [Sun, 3 Apr 2011 18:30:19 +0000 (14:30 -0400)]
Allow setting of the filter options.
Zack Rusin [Sun, 3 Apr 2011 03:44:53 +0000 (23:44 -0400)]
Stop showing binary data, just say what it is and how big it is.
lets see whether this looks better
José Fonseca [Sat, 2 Apr 2011 16:33:08 +0000 (17:33 +0100)]
Ignore qrc_qapitrace.cxx.
José Fonseca [Sat, 2 Apr 2011 16:29:47 +0000 (17:29 +0100)]
Exit after dumping state.
Zack Rusin [Sat, 2 Apr 2011 21:45:57 +0000 (17:45 -0400)]
Recognize GL_LUMINANCE.
fixes demos/src/glsl/vert-tex
Zack Rusin [Sat, 2 Apr 2011 06:07:24 +0000 (02:07 -0400)]
Tooltips in the event list
Zack Rusin [Sat, 2 Apr 2011 05:34:04 +0000 (01:34 -0400)]
Cleanup the event model code.
now we show a marker next to frames which have cached state
José Fonseca [Fri, 1 Apr 2011 09:05:53 +0000 (10:05 +0100)]
Sort state in ascending order by default.
José Fonseca [Fri, 1 Apr 2011 08:22:22 +0000 (09:22 +0100)]
Don't try to handle glXxxPointerEXT.
It won't work yet.
José Fonseca [Fri, 1 Apr 2011 08:21:21 +0000 (09:21 +0100)]
Distinguish between the different get functions.
José Fonseca [Fri, 1 Apr 2011 07:37:06 +0000 (08:37 +0100)]
Handle correctly GL apps which use hardcoded (non generated) names.
For example, tests/vparray mesa demo.
Zack Rusin [Fri, 1 Apr 2011 04:58:36 +0000 (00:58 -0400)]
Add some icons.
Zack Rusin [Fri, 1 Apr 2011 04:01:18 +0000 (00:01 -0400)]
Allow sorting of the state.
Zack Rusin [Fri, 1 Apr 2011 03:58:07 +0000 (23:58 -0400)]
Allow filling state for frames and calls.
Zack Rusin [Fri, 1 Apr 2011 02:55:57 +0000 (22:55 -0400)]
shorten really long arguments
text layouting on megs of shader code and binary data is just a bad
idea.
José Fonseca [Thu, 31 Mar 2011 23:55:09 +0000 (00:55 +0100)]
Basic glVertexAttribPointer support.
Tested with VBOs, but not thoroughly tested with user arrays.
José Fonseca [Thu, 31 Mar 2011 22:37:26 +0000 (23:37 +0100)]
Some cleanups for vertex arrays.
José Fonseca [Thu, 31 Mar 2011 10:52:01 +0000 (11:52 +0100)]
Don't fail when QJSON is not found.
José Fonseca [Thu, 31 Mar 2011 09:35:29 +0000 (10:35 +0100)]
Dump glGetString state too.
José Fonseca [Thu, 31 Mar 2011 09:11:36 +0000 (10:11 +0100)]
Ignore generated gui files.
José Fonseca [Thu, 31 Mar 2011 09:09:14 +0000 (10:09 +0100)]
Show call return values in event list.
José Fonseca [Thu, 31 Mar 2011 07:57:42 +0000 (08:57 +0100)]
Add FindQJSON.cmake.
Zack Rusin [Thu, 31 Mar 2011 02:47:51 +0000 (22:47 -0400)]
Implement state viewing for the current frame.
Zack Rusin [Thu, 31 Mar 2011 00:14:01 +0000 (20:14 -0400)]
Add qjson dependency and cleanup the cmake qt code.
Zack Rusin [Wed, 30 Mar 2011 22:30:20 +0000 (18:30 -0400)]
Let retrace dump state.
without parsing it right now
Zack Rusin [Wed, 30 Mar 2011 15:30:08 +0000 (11:30 -0400)]
Show that we're loading a trace.
Zack Rusin [Wed, 30 Mar 2011 15:03:37 +0000 (11:03 -0400)]
Introduce ApiTrace which encapsulates the data.
allows us to split calls into frames and do other postprocessing.
Zack Rusin [Mon, 28 Mar 2011 03:53:36 +0000 (23:53 -0400)]
Allow retracing from the gui plus make the call list cleaner.
Zack Rusin [Sun, 27 Mar 2011 21:12:06 +0000 (17:12 -0400)]
Don't layout the text when filtering.
Zack Rusin [Sun, 27 Mar 2011 06:22:13 +0000 (02:22 -0400)]
Start on custom filtering.
Zack Rusin [Sun, 27 Mar 2011 05:48:36 +0000 (01:48 -0400)]
add lots of quirks and details view
Zack Rusin [Sat, 26 Mar 2011 18:23:35 +0000 (14:23 -0400)]
some color in the list
Zack Rusin [Sat, 26 Mar 2011 05:54:10 +0000 (01:54 -0400)]
A lot better data conversions.
José Fonseca [Fri, 25 Mar 2011 18:50:50 +0000 (18:50 +0000)]
Make GUI build dependent on availability of QT4.
José Fonseca [Fri, 25 Mar 2011 18:56:45 +0000 (18:56 +0000)]
Reuse trace library.
Zack Rusin [Fri, 25 Mar 2011 02:23:21 +0000 (22:23 -0400)]
Add a basic gui for apitrace.
José Fonseca [Thu, 31 Mar 2011 00:15:23 +0000 (01:15 +0100)]
Dump enums and pointers correctly.
José Fonseca [Wed, 30 Mar 2011 23:17:58 +0000 (00:17 +0100)]
Remove duplicate enums from glstate.py.
José Fonseca [Wed, 30 Mar 2011 09:32:40 +0000 (10:32 +0100)]
More state.
José Fonseca [Wed, 30 Mar 2011 08:10:40 +0000 (09:10 +0100)]
Basic state dumping.
In JSON format. Human readable, but it is really meant to be parsed by a
GUI,
José Fonseca [Tue, 29 Mar 2011 22:37:08 +0000 (23:37 +0100)]
Remove redundant break statements.
José Fonseca [Mon, 28 Mar 2011 12:48:30 +0000 (13:48 +0100)]
Better handling of resizes on single buffer visuals.
José Fonseca [Sun, 27 Mar 2011 11:45:40 +0000 (12:45 +0100)]
More detail in glxapi.
José Fonseca [Sat, 26 Mar 2011 10:18:09 +0000 (10:18 +0000)]
Make more value methods virtual.
José Fonseca [Fri, 25 Mar 2011 20:07:42 +0000 (20:07 +0000)]
Handle glInterleavedArrays correctly
José Fonseca [Fri, 25 Mar 2011 18:51:45 +0000 (18:51 +0000)]
Move Trace::Parser::version to .cpp to avoid duplicate symbols.
José Fonseca [Fri, 25 Mar 2011 17:10:41 +0000 (17:10 +0000)]
Merge remote-tracking branch 'origin/drawarrays'
José Fonseca [Fri, 25 Mar 2011 17:10:16 +0000 (17:10 +0000)]
Update TODO.
José Fonseca [Fri, 25 Mar 2011 10:12:22 +0000 (10:12 +0000)]
Make Value::blob a virtual method.
Should do the same for many other Value methods which abuse dynamic_casts.
José Fonseca [Fri, 25 Mar 2011 10:10:07 +0000 (10:10 +0000)]
Move Visitor::visit methods to .cpp; cleanup.
José Fonseca [Fri, 25 Mar 2011 10:07:54 +0000 (10:07 +0000)]
More descriptive blob destructor comment.
José Fonseca [Thu, 24 Mar 2011 15:30:42 +0000 (15:30 +0000)]
Merge branch 'drawarrays'
Conflicts:
CMakeLists.txt
José Fonseca [Thu, 24 Mar 2011 12:04:28 +0000 (12:04 +0000)]
Fix D3D9 tracer build.
Michel Dänzer [Thu, 24 Feb 2011 17:20:51 +0000 (09:20 -0800)]
Use default instead of best compression for PNG images.
Should use about the same amount of space but significantly fewer CPU cycles.
José Fonseca [Wed, 23 Mar 2011 19:42:20 +0000 (19:42 +0000)]
Trace a bunch of NVIDIA extensions.
José Fonseca [Wed, 23 Mar 2011 19:39:11 +0000 (19:39 +0000)]
Handle uniforms more consistently.
José Fonseca [Wed, 23 Mar 2011 23:22:50 +0000 (23:22 +0000)]
Dump SwapBuffers calls with -v
Zack Rusin [Wed, 23 Mar 2011 22:35:39 +0000 (18:35 -0400)]
Implement interception of all of the core GLX functions.
José Fonseca [Wed, 23 Mar 2011 19:42:20 +0000 (19:42 +0000)]
Trace a bunch of NVIDIA extensions.
José Fonseca [Wed, 23 Mar 2011 19:39:11 +0000 (19:39 +0000)]
Handle uniforms more consistently.
José Fonseca [Wed, 23 Mar 2011 16:44:47 +0000 (16:44 +0000)]
Silence some warnings.
José Fonseca [Wed, 23 Mar 2011 16:44:30 +0000 (16:44 +0000)]
Unbreak tracing glDrawElements with VBOs.
José Fonseca [Wed, 23 Mar 2011 13:22:55 +0000 (13:22 +0000)]
Handle older traces gracefully.
José Fonseca [Wed, 23 Mar 2011 13:21:01 +0000 (13:21 +0000)]
Document -w option.
José Fonseca [Wed, 23 Mar 2011 13:20:43 +0000 (13:20 +0000)]
Handle glget*(GL_PIXEL_{PACK,UNPACK}_BUFFER_BINDING)
José Fonseca [Tue, 22 Mar 2011 22:22:27 +0000 (22:22 +0000)]
Fix WGL trace build.
José Fonseca [Tue, 22 Mar 2011 22:15:46 +0000 (22:15 +0000)]
More complete glDrawArrays and glDrawElements support.
José Fonseca [Wed, 9 Mar 2011 15:47:55 +0000 (15:47 +0000)]
More complete WGL enums.
José Fonseca [Wed, 9 Mar 2011 14:30:57 +0000 (14:30 +0000)]
Compute WGL attribute list sizes.
José Fonseca [Wed, 9 Mar 2011 14:29:26 +0000 (14:29 +0000)]
List PFD_SUPPORT_COMPOSITION.
José Fonseca [Sun, 20 Feb 2011 23:32:22 +0000 (23:32 +0000)]
Basic DrawArrays support.
José Fonseca [Sun, 20 Feb 2011 13:32:19 +0000 (13:32 +0000)]
Further separate dispatching from tracing.
José Fonseca [Sun, 20 Feb 2011 09:05:10 +0000 (09:05 +0000)]
Initial stab at glDrawArrays implementation.
José Fonseca [Sun, 20 Feb 2011 11:25:25 +0000 (11:25 +0000)]
Use glproc.hpp also for both tracing and retracing.
José Fonseca [Sun, 20 Feb 2011 09:01:25 +0000 (09:01 +0000)]
get_function_by_name shortcut
José Fonseca [Sun, 20 Feb 2011 09:01:07 +0000 (09:01 +0000)]
Put function signatures outside function bodies.
José Fonseca [Wed, 16 Feb 2011 21:36:10 +0000 (21:36 +0000)]
More D3D flags.
José Fonseca [Wed, 16 Feb 2011 17:56:06 +0000 (17:56 +0000)]
Use D3DUSAGE enum.
José Fonseca [Wed, 16 Feb 2011 13:39:55 +0000 (13:39 +0000)]
Also dump call no.
José Fonseca [Tue, 15 Feb 2011 12:19:11 +0000 (12:19 +0000)]
Simple python script to compare images and output a HTML summary.
José Fonseca [Wed, 9 Feb 2011 15:58:51 +0000 (15:58 +0000)]
Take the screenshots from the current draw buffer, and before swapping buffers.
José Fonseca [Wed, 9 Feb 2011 15:15:08 +0000 (15:15 +0000)]
Don't leak all over the place.
José Fonseca [Wed, 9 Feb 2011 15:11:12 +0000 (15:11 +0000)]
Silence more messages in benchmark mode.
José Fonseca [Wed, 9 Feb 2011 14:51:07 +0000 (14:51 +0000)]
Add a benchmark mode.
José Fonseca [Wed, 9 Feb 2011 14:49:50 +0000 (14:49 +0000)]
Fix thinko.
José Fonseca [Tue, 8 Feb 2011 16:27:51 +0000 (16:27 +0000)]
Drop deprecate -p option.
José Fonseca [Tue, 8 Feb 2011 16:23:56 +0000 (16:23 +0000)]
Ignore alpha channel.
Until we are able to pick a visual that matches the traces.
José Fonseca [Tue, 8 Feb 2011 16:01:10 +0000 (16:01 +0000)]
Allow to snapshot and compare simultanously.
José Fonseca [Tue, 1 Feb 2011 19:35:41 +0000 (19:35 +0000)]
Don't wait for a keypress by default.
José Fonseca [Tue, 14 Dec 2010 14:40:48 +0000 (14:40 +0000)]
Trace glBlendFuncSeparateINGR