tools/apitrace.git
13 years agoUse a type visitor to dump JSON values instead of ad-hoc code.
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.

13 years agoAdd code to interpret and display binary vertex data.
Zack Rusin [Thu, 7 Apr 2011 05:15:48 +0000 (01:15 -0400)]
Add code to interpret and display binary vertex data.

13 years agoGenerate filterText in thread.
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

13 years agoAdd name of the file in the window bar.
Zack Rusin [Wed, 6 Apr 2011 21:29:39 +0000 (17:29 -0400)]
Add name of the file in the window bar.

13 years agoAbstract retracing into a class of its own.
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.

13 years agoFix glUniformMatrix*ARB array length.
José Fonseca [Tue, 5 Apr 2011 23:41:22 +0000 (00:41 +0100)]
Fix glUniformMatrix*ARB array length.

13 years agoFix argument order of __glVertexAttribPointer_size.
José Fonseca [Tue, 5 Apr 2011 23:40:40 +0000 (00:40 +0100)]
Fix argument order of __glVertexAttribPointer_size.

13 years agoFix string formatting.
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'

13 years agoFilter glXQueryExtensionsString when asked to filter extension queries
Zack Rusin [Sun, 3 Apr 2011 21:27:02 +0000 (17:27 -0400)]
Filter glXQueryExtensionsString when asked to filter extension queries

13 years agoIndex shouldn't be bold, plus don't newline after index in tooltips
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

13 years agoAllow setting of the filter options.
Zack Rusin [Sun, 3 Apr 2011 18:30:19 +0000 (14:30 -0400)]
Allow setting of the filter options.

13 years agoStop showing binary data, just say what it is and how big it is.
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

13 years agoIgnore qrc_qapitrace.cxx.
José Fonseca [Sat, 2 Apr 2011 16:33:08 +0000 (17:33 +0100)]
Ignore qrc_qapitrace.cxx.

13 years agoExit after dumping state.
José Fonseca [Sat, 2 Apr 2011 16:29:47 +0000 (17:29 +0100)]
Exit after dumping state.

13 years agoRecognize GL_LUMINANCE.
Zack Rusin [Sat, 2 Apr 2011 21:45:57 +0000 (17:45 -0400)]
Recognize GL_LUMINANCE.

fixes demos/src/glsl/vert-tex

13 years agoTooltips in the event list
Zack Rusin [Sat, 2 Apr 2011 06:07:24 +0000 (02:07 -0400)]
Tooltips in the event list

13 years agoCleanup the event model code.
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

13 years agoSort state in ascending order by default.
José Fonseca [Fri, 1 Apr 2011 09:05:53 +0000 (10:05 +0100)]
Sort state in ascending order by default.

13 years agoDon't try to handle glXxxPointerEXT.
José Fonseca [Fri, 1 Apr 2011 08:22:22 +0000 (09:22 +0100)]
Don't try to handle glXxxPointerEXT.

It won't work yet.

13 years agoDistinguish between the different get functions.
José Fonseca [Fri, 1 Apr 2011 08:21:21 +0000 (09:21 +0100)]
Distinguish between the different get functions.

13 years agoHandle correctly GL apps which use hardcoded (non generated) names.
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.

13 years agoAdd some icons.
Zack Rusin [Fri, 1 Apr 2011 04:58:36 +0000 (00:58 -0400)]
Add some icons.

13 years agoAllow sorting of the state.
Zack Rusin [Fri, 1 Apr 2011 04:01:18 +0000 (00:01 -0400)]
Allow sorting of the state.

13 years agoAllow filling state for frames and calls.
Zack Rusin [Fri, 1 Apr 2011 03:58:07 +0000 (23:58 -0400)]
Allow filling state for frames and calls.

13 years agoshorten really long arguments
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.

13 years agoBasic glVertexAttribPointer support.
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.

13 years agoSome cleanups for vertex arrays.
José Fonseca [Thu, 31 Mar 2011 22:37:26 +0000 (23:37 +0100)]
Some cleanups for vertex arrays.

13 years agoDon't fail when QJSON is not found.
José Fonseca [Thu, 31 Mar 2011 10:52:01 +0000 (11:52 +0100)]
Don't fail when QJSON is not found.

13 years agoDump glGetString state too.
José Fonseca [Thu, 31 Mar 2011 09:35:29 +0000 (10:35 +0100)]
Dump glGetString state too.

13 years agoIgnore generated gui files.
José Fonseca [Thu, 31 Mar 2011 09:11:36 +0000 (10:11 +0100)]
Ignore generated gui files.

13 years agoShow call return values in event list.
José Fonseca [Thu, 31 Mar 2011 09:09:14 +0000 (10:09 +0100)]
Show call return values in event list.

13 years agoAdd FindQJSON.cmake.
José Fonseca [Thu, 31 Mar 2011 07:57:42 +0000 (08:57 +0100)]
Add FindQJSON.cmake.

13 years agoImplement state viewing for the current frame.
Zack Rusin [Thu, 31 Mar 2011 02:47:51 +0000 (22:47 -0400)]
Implement state viewing for the current frame.

13 years agoAdd qjson dependency and cleanup the cmake qt code.
Zack Rusin [Thu, 31 Mar 2011 00:14:01 +0000 (20:14 -0400)]
Add qjson dependency and cleanup the cmake qt code.

13 years agoLet retrace dump state.
Zack Rusin [Wed, 30 Mar 2011 22:30:20 +0000 (18:30 -0400)]
Let retrace dump state.

without parsing it right now

13 years agoShow that we're loading a trace.
Zack Rusin [Wed, 30 Mar 2011 15:30:08 +0000 (11:30 -0400)]
Show that we're loading a trace.

13 years agoIntroduce ApiTrace which encapsulates the data.
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.

13 years agoAllow retracing from the gui plus make the call list cleaner.
Zack Rusin [Mon, 28 Mar 2011 03:53:36 +0000 (23:53 -0400)]
Allow retracing from the gui plus make the call list cleaner.

13 years agoDon't layout the text when filtering.
Zack Rusin [Sun, 27 Mar 2011 21:12:06 +0000 (17:12 -0400)]
Don't layout the text when filtering.

13 years agoStart on custom filtering.
Zack Rusin [Sun, 27 Mar 2011 06:22:13 +0000 (02:22 -0400)]
Start on custom filtering.

13 years agoadd lots of quirks and details view
Zack Rusin [Sun, 27 Mar 2011 05:48:36 +0000 (01:48 -0400)]
add lots of quirks and details view

13 years agosome color in the list
Zack Rusin [Sat, 26 Mar 2011 18:23:35 +0000 (14:23 -0400)]
some color in the list

13 years agoA lot better data conversions.
Zack Rusin [Sat, 26 Mar 2011 05:54:10 +0000 (01:54 -0400)]
A lot better data conversions.

13 years agoMake GUI build dependent on availability of QT4.
José Fonseca [Fri, 25 Mar 2011 18:50:50 +0000 (18:50 +0000)]
Make GUI build dependent on availability of QT4.

13 years agoReuse trace library.
José Fonseca [Fri, 25 Mar 2011 18:56:45 +0000 (18:56 +0000)]
Reuse trace library.

13 years agoAdd a basic gui for apitrace.
Zack Rusin [Fri, 25 Mar 2011 02:23:21 +0000 (22:23 -0400)]
Add a basic gui for apitrace.

13 years agoDump enums and pointers correctly.
José Fonseca [Thu, 31 Mar 2011 00:15:23 +0000 (01:15 +0100)]
Dump enums and pointers correctly.

13 years agoRemove duplicate enums from glstate.py.
José Fonseca [Wed, 30 Mar 2011 23:17:58 +0000 (00:17 +0100)]
Remove duplicate enums from glstate.py.

13 years agoMore state.
José Fonseca [Wed, 30 Mar 2011 09:32:40 +0000 (10:32 +0100)]
More state.

13 years agoBasic state dumping.
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,

13 years agoRemove redundant break statements.
José Fonseca [Tue, 29 Mar 2011 22:37:08 +0000 (23:37 +0100)]
Remove redundant break statements.

13 years agoBetter handling of resizes on single buffer visuals.
José Fonseca [Mon, 28 Mar 2011 12:48:30 +0000 (13:48 +0100)]
Better handling of resizes on single buffer visuals.

13 years agoMore detail in glxapi.
José Fonseca [Sun, 27 Mar 2011 11:45:40 +0000 (12:45 +0100)]
More detail in glxapi.

13 years agoMake more value methods virtual.
José Fonseca [Sat, 26 Mar 2011 10:18:09 +0000 (10:18 +0000)]
Make more value methods virtual.

13 years agoHandle glInterleavedArrays correctly
José Fonseca [Fri, 25 Mar 2011 20:07:42 +0000 (20:07 +0000)]
Handle glInterleavedArrays correctly

13 years agoMove Trace::Parser::version to .cpp to avoid duplicate symbols.
José Fonseca [Fri, 25 Mar 2011 18:51:45 +0000 (18:51 +0000)]
Move Trace::Parser::version to .cpp to avoid duplicate symbols.

13 years agoMerge remote-tracking branch 'origin/drawarrays'
José Fonseca [Fri, 25 Mar 2011 17:10:41 +0000 (17:10 +0000)]
Merge remote-tracking branch 'origin/drawarrays'

13 years agoUpdate TODO.
José Fonseca [Fri, 25 Mar 2011 17:10:16 +0000 (17:10 +0000)]
Update TODO.

13 years agoMake Value::blob a virtual method.
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.

13 years agoMove Visitor::visit methods to .cpp; cleanup.
José Fonseca [Fri, 25 Mar 2011 10:10:07 +0000 (10:10 +0000)]
Move Visitor::visit methods to .cpp; cleanup.

13 years agoMore descriptive blob destructor comment.
José Fonseca [Fri, 25 Mar 2011 10:07:54 +0000 (10:07 +0000)]
More descriptive blob destructor comment.

13 years agoMerge branch 'drawarrays'
José Fonseca [Thu, 24 Mar 2011 15:30:42 +0000 (15:30 +0000)]
Merge branch 'drawarrays'

Conflicts:
CMakeLists.txt

13 years agoFix D3D9 tracer build.
José Fonseca [Thu, 24 Mar 2011 12:04:28 +0000 (12:04 +0000)]
Fix D3D9 tracer build.

13 years agoUse default instead of best compression for PNG images.
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.

13 years agoTrace a bunch of NVIDIA extensions.
José Fonseca [Wed, 23 Mar 2011 19:42:20 +0000 (19:42 +0000)]
Trace a bunch of NVIDIA extensions.

13 years agoHandle uniforms more consistently.
José Fonseca [Wed, 23 Mar 2011 19:39:11 +0000 (19:39 +0000)]
Handle uniforms more consistently.

13 years agoDump SwapBuffers calls with -v
José Fonseca [Wed, 23 Mar 2011 23:22:50 +0000 (23:22 +0000)]
Dump SwapBuffers calls with -v

13 years agoImplement interception of all of the core GLX functions.
Zack Rusin [Wed, 23 Mar 2011 22:35:39 +0000 (18:35 -0400)]
Implement interception of all of the core GLX functions.

13 years agoTrace a bunch of NVIDIA extensions.
José Fonseca [Wed, 23 Mar 2011 19:42:20 +0000 (19:42 +0000)]
Trace a bunch of NVIDIA extensions.

13 years agoHandle uniforms more consistently.
José Fonseca [Wed, 23 Mar 2011 19:39:11 +0000 (19:39 +0000)]
Handle uniforms more consistently.

13 years agoSilence some warnings.
José Fonseca [Wed, 23 Mar 2011 16:44:47 +0000 (16:44 +0000)]
Silence some warnings.

13 years agoUnbreak tracing glDrawElements with VBOs.
José Fonseca [Wed, 23 Mar 2011 16:44:30 +0000 (16:44 +0000)]
Unbreak tracing glDrawElements with VBOs.

13 years agoHandle older traces gracefully.
José Fonseca [Wed, 23 Mar 2011 13:22:55 +0000 (13:22 +0000)]
Handle older traces gracefully.

13 years agoDocument -w option.
José Fonseca [Wed, 23 Mar 2011 13:21:01 +0000 (13:21 +0000)]
Document -w option.

13 years agoHandle glget*(GL_PIXEL_{PACK,UNPACK}_BUFFER_BINDING)
José Fonseca [Wed, 23 Mar 2011 13:20:43 +0000 (13:20 +0000)]
Handle glget*(GL_PIXEL_{PACK,UNPACK}_BUFFER_BINDING)

13 years agoFix WGL trace build.
José Fonseca [Tue, 22 Mar 2011 22:22:27 +0000 (22:22 +0000)]
Fix WGL trace build.

13 years agoMore complete glDrawArrays and glDrawElements support.
José Fonseca [Tue, 22 Mar 2011 22:15:46 +0000 (22:15 +0000)]
More complete glDrawArrays and glDrawElements support.

13 years agoMore complete WGL enums.
José Fonseca [Wed, 9 Mar 2011 15:47:55 +0000 (15:47 +0000)]
More complete WGL enums.

13 years agoCompute WGL attribute list sizes.
José Fonseca [Wed, 9 Mar 2011 14:30:57 +0000 (14:30 +0000)]
Compute WGL attribute list sizes.

13 years agoList PFD_SUPPORT_COMPOSITION.
José Fonseca [Wed, 9 Mar 2011 14:29:26 +0000 (14:29 +0000)]
List PFD_SUPPORT_COMPOSITION.

13 years agoBasic DrawArrays support.
José Fonseca [Sun, 20 Feb 2011 23:32:22 +0000 (23:32 +0000)]
Basic DrawArrays support.

13 years agoFurther separate dispatching from tracing.
José Fonseca [Sun, 20 Feb 2011 13:32:19 +0000 (13:32 +0000)]
Further separate dispatching from tracing.

13 years agoInitial stab at glDrawArrays implementation.
José Fonseca [Sun, 20 Feb 2011 09:05:10 +0000 (09:05 +0000)]
Initial stab at glDrawArrays implementation.

13 years agoUse glproc.hpp also for both tracing and retracing.
José Fonseca [Sun, 20 Feb 2011 11:25:25 +0000 (11:25 +0000)]
Use glproc.hpp also for both tracing and retracing.

13 years agoget_function_by_name shortcut
José Fonseca [Sun, 20 Feb 2011 09:01:25 +0000 (09:01 +0000)]
get_function_by_name shortcut

13 years agoPut function signatures outside function bodies.
José Fonseca [Sun, 20 Feb 2011 09:01:07 +0000 (09:01 +0000)]
Put function signatures outside function bodies.

13 years agoMore D3D flags.
José Fonseca [Wed, 16 Feb 2011 21:36:10 +0000 (21:36 +0000)]
More D3D flags.

13 years agoUse D3DUSAGE enum.
José Fonseca [Wed, 16 Feb 2011 17:56:06 +0000 (17:56 +0000)]
Use D3DUSAGE enum.

13 years agoAlso dump call no.
José Fonseca [Wed, 16 Feb 2011 13:39:55 +0000 (13:39 +0000)]
Also dump call no.

13 years agoSimple python script to compare images and output a HTML summary.
José Fonseca [Tue, 15 Feb 2011 12:19:11 +0000 (12:19 +0000)]
Simple python script to compare images and output a HTML summary.

13 years agoTake the screenshots from the current draw buffer, and before swapping buffers.
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.

13 years agoDon't leak all over the place.
José Fonseca [Wed, 9 Feb 2011 15:15:08 +0000 (15:15 +0000)]
Don't leak all over the place.

13 years agoSilence more messages in benchmark mode.
José Fonseca [Wed, 9 Feb 2011 15:11:12 +0000 (15:11 +0000)]
Silence more messages in benchmark mode.

13 years agoAdd a benchmark mode.
José Fonseca [Wed, 9 Feb 2011 14:51:07 +0000 (14:51 +0000)]
Add a benchmark mode.

13 years agoFix thinko.
José Fonseca [Wed, 9 Feb 2011 14:49:50 +0000 (14:49 +0000)]
Fix thinko.

13 years agoDrop deprecate -p option.
José Fonseca [Tue, 8 Feb 2011 16:27:51 +0000 (16:27 +0000)]
Drop deprecate -p option.

13 years agoIgnore alpha channel.
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.

13 years agoAllow to snapshot and compare simultanously.
José Fonseca [Tue, 8 Feb 2011 16:01:10 +0000 (16:01 +0000)]
Allow to snapshot and compare simultanously.

13 years agoDon't wait for a keypress by default.
José Fonseca [Tue, 1 Feb 2011 19:35:41 +0000 (19:35 +0000)]
Don't wait for a keypress by default.

13 years agoTrace glBlendFuncSeparateINGR
José Fonseca [Tue, 14 Dec 2010 14:40:48 +0000 (14:40 +0000)]
Trace glBlendFuncSeparateINGR