tools/apitrace.git
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

13 years agoSilence unitialized variable warning
José Fonseca [Tue, 14 Dec 2010 14:13:53 +0000 (14:13 +0000)]
Silence unitialized variable warning

13 years agoSilence warnings a little bit.
José Fonseca [Mon, 13 Dec 2010 20:26:51 +0000 (20:26 +0000)]
Silence warnings a little bit.

13 years agoAllow to specify the snapshot prefix.
José Fonseca [Mon, 13 Dec 2010 20:18:39 +0000 (20:18 +0000)]
Allow to specify the snapshot prefix.

13 years agoUpdate to-do list.
José Fonseca [Sun, 12 Dec 2010 12:24:14 +0000 (12:24 +0000)]
Update to-do list.

13 years agoCompare screenshots.
José Fonseca [Sun, 12 Dec 2010 11:13:33 +0000 (11:13 +0000)]
Compare screenshots.

13 years agoUse Python 2.6
José Fonseca [Mon, 6 Dec 2010 23:15:07 +0000 (23:15 +0000)]
Use Python 2.6

13 years agoRemove spurious left over code.
José Fonseca [Mon, 6 Dec 2010 19:26:58 +0000 (19:26 +0000)]
Remove spurious left over code.

13 years agoHandle uniform locations correctly.
José Fonseca [Mon, 6 Dec 2010 18:50:52 +0000 (18:50 +0000)]
Handle uniform locations correctly.

It requires a two-level table.

13 years agoPNG read support.
José Fonseca [Sun, 5 Dec 2010 15:55:17 +0000 (15:55 +0000)]
PNG read support.

13 years agoUpdate to-do list
José Fonseca [Sat, 4 Dec 2010 15:57:13 +0000 (15:57 +0000)]
Update to-do list

13 years agoAdd missing include.
José Fonseca [Sat, 4 Dec 2010 13:24:17 +0000 (13:24 +0000)]
Add missing include.

13 years agoWrite PNG images instead.
José Fonseca [Sat, 4 Dec 2010 13:13:47 +0000 (13:13 +0000)]
Write PNG images instead.

13 years agoReturn value on writeBMP.
José Fonseca [Sat, 4 Dec 2010 13:13:33 +0000 (13:13 +0000)]
Return value on writeBMP.

13 years agoBumple libpng source.
José Fonseca [Sat, 4 Dec 2010 13:11:39 +0000 (13:11 +0000)]
Bumple libpng source.

13 years agoAdd an image class.
José Fonseca [Sat, 4 Dec 2010 12:21:12 +0000 (12:21 +0000)]
Add an image class.

13 years agoUse 4 spaces as indent everywhere.
José Fonseca [Sat, 4 Dec 2010 10:59:52 +0000 (10:59 +0000)]
Use 4 spaces as indent everywhere.

Makes it easier.

13 years agoTreat pointers specially.
José Fonseca [Sat, 4 Dec 2010 10:47:15 +0000 (10:47 +0000)]
Treat pointers specially.

13 years agoUse d3dx9.dll if available.
José Fonseca [Sun, 14 Nov 2010 20:47:54 +0000 (20:47 +0000)]
Use d3dx9.dll if available.

13 years agoRecognize internalFormat as GLenum
José Fonseca [Fri, 3 Dec 2010 18:50:30 +0000 (18:50 +0000)]
Recognize internalFormat as GLenum

13 years agoFix d3d9 bad bitmasks.
José Fonseca [Wed, 1 Dec 2010 19:52:14 +0000 (19:52 +0000)]
Fix d3d9 bad bitmasks.