tools/apitrace.git
13 years agoFirst stab at binary trace and retracing.
José Fonseca [Fri, 19 Nov 2010 17:05:18 +0000 (17:05 +0000)]
First stab at binary trace and retracing.

It's enough to retrace trivial/tri Mesa demo.

13 years agoRecognize more array arguments.
José Fonseca [Fri, 19 Nov 2010 17:04:18 +0000 (17:04 +0000)]
Recognize more array arguments.

13 years agoFix GetProcessName on POSIX.
José Fonseca [Fri, 19 Nov 2010 16:36:15 +0000 (16:36 +0000)]
Fix GetProcessName on POSIX.

14 years agoDrop unused ReOpen method.
José Fonseca [Mon, 15 Nov 2010 22:23:44 +0000 (22:23 +0000)]
Drop unused ReOpen method.

14 years agoTry to treat pointers a bit more consistently.
José Fonseca [Mon, 15 Nov 2010 22:10:53 +0000 (22:10 +0000)]
Try to treat pointers a bit more consistently.

14 years agoMore warnings when building with CMake.
José Fonseca [Mon, 15 Nov 2010 16:09:40 +0000 (16:09 +0000)]
More warnings when building with CMake.

14 years agoMore concise data model.
José Fonseca [Mon, 15 Nov 2010 16:09:14 +0000 (16:09 +0000)]
More concise data model.

14 years agoStart abstracting OS functionality.
José Fonseca [Mon, 15 Nov 2010 15:50:45 +0000 (15:50 +0000)]
Start abstracting OS functionality.

14 years agoBasic Linux/GLX tracing support.
José Fonseca [Sun, 14 Nov 2010 00:35:05 +0000 (00:35 +0000)]
Basic Linux/GLX tracing support.

14 years agoUse C++ true/false constants.
José Fonseca [Sun, 14 Nov 2010 00:15:43 +0000 (00:15 +0000)]
Use C++ true/false constants.

14 years agoMove scons tools into standard path.
José Fonseca [Sun, 14 Nov 2010 00:15:13 +0000 (00:15 +0000)]
Move scons tools into standard path.

14 years agoConvert ignore specifications from HG to Git.
José Fonseca [Fri, 12 Nov 2010 18:51:05 +0000 (18:51 +0000)]
Convert ignore specifications from HG to Git.

14 years agoAdd a few more PFD_xxx names.
José Fonseca [Tue, 6 Apr 2010 14:09:26 +0000 (15:09 +0100)]
Add a few more PFD_xxx names.

14 years agoEscape special XML chars.
José Fonseca [Tue, 16 Feb 2010 16:28:59 +0000 (16:28 +0000)]
Escape special XML chars.

14 years agoUser round number for buffer size.
José Fonseca [Tue, 16 Feb 2010 16:06:06 +0000 (16:06 +0000)]
User round number for buffer size.

14 years agoDump FVF.
José Fonseca [Tue, 16 Feb 2010 16:04:49 +0000 (16:04 +0000)]
Dump FVF.

14 years agoFix NULL string dumping.
José Fonseca [Tue, 16 Feb 2010 13:28:20 +0000 (13:28 +0000)]
Fix NULL string dumping.

Spotted by Michal Krol.

14 years agoSeveral fixes to OpenGL's output parameters.
José Fonseca [Mon, 15 Feb 2010 19:49:29 +0000 (19:49 +0000)]
Several fixes to OpenGL's output parameters.

14 years agoTrace wglSwapMultipleBuffers
José Fonseca [Sat, 13 Feb 2010 11:51:49 +0000 (11:51 +0000)]
Trace wglSwapMultipleBuffers

14 years agoUse date stamp instead of version.
José Fonseca [Thu, 28 Jan 2010 14:52:08 +0000 (14:52 +0000)]
Use date stamp instead of version.

14 years agoCommit the helper script used to generate the opengl32 call specs.
José Fonseca [Thu, 28 Jan 2010 14:46:39 +0000 (14:46 +0000)]
Commit the helper script used to generate the opengl32 call specs.

Based from Mesa.

14 years agoSeveral improvements for OpenGL traces.
José Fonseca [Thu, 28 Jan 2010 14:45:36 +0000 (14:45 +0000)]
Several improvements for OpenGL traces.

14 years agoPass-through TAB and CR characters.
José Fonseca [Thu, 28 Jan 2010 14:35:57 +0000 (14:35 +0000)]
Pass-through TAB and CR characters.

14 years agoTrace aliased functions too.
José Fonseca [Thu, 28 Jan 2010 13:18:58 +0000 (13:18 +0000)]
Trace aliased functions too.

14 years agoHandle NULL strings.
José Fonseca [Thu, 28 Jan 2010 11:52:39 +0000 (11:52 +0000)]
Handle NULL strings.

14 years agoUpdate README.
José Fonseca [Wed, 23 Dec 2009 12:08:49 +0000 (12:08 +0000)]
Update README.

14 years agoFinish updating some old copyright headers.
José Fonseca [Wed, 23 Dec 2009 11:23:46 +0000 (11:23 +0000)]
Finish updating some old copyright headers.

14 years agoUpdate source URL.
José Fonseca [Wed, 23 Dec 2009 11:06:29 +0000 (11:06 +0000)]
Update source URL.

14 years agoPort ignore list from git.
José Fonseca [Wed, 23 Dec 2009 11:06:12 +0000 (11:06 +0000)]
Port ignore list from git.

14 years agoRemove duplicate files.
José Fonseca [Tue, 22 Dec 2009 23:25:14 +0000 (23:25 +0000)]
Remove duplicate files.

Commited by accident.

14 years agoTrace WGL_ARB_pbuffer calls.
José Fonseca [Mon, 30 Nov 2009 16:03:34 +0000 (16:03 +0000)]
Trace WGL_ARB_pbuffer calls.

15 years agoRemove executable permission.
José Fonseca [Wed, 30 Sep 2009 16:25:14 +0000 (17:25 +0100)]
Remove executable permission.

15 years agoSwitch to the MIT license.
José Fonseca [Wed, 30 Sep 2009 16:17:12 +0000 (17:17 +0100)]
Switch to the MIT license.

15 years agoSupport building with the WinSDK.
José Fonseca [Wed, 30 Sep 2009 16:01:24 +0000 (17:01 +0100)]
Support building with the WinSDK.

15 years agoRudimentary support for D3D10.
José Fonseca [Mon, 28 Sep 2009 10:33:36 +0000 (11:33 +0100)]
Rudimentary support for D3D10.

15 years agoSCons tool for DXSDK.
José Fonseca [Sun, 27 Sep 2009 18:16:31 +0000 (19:16 +0100)]
SCons tool for DXSDK.

15 years agoDon't link libiberty on MinGW.
José Fonseca [Sun, 27 Sep 2009 18:14:42 +0000 (19:14 +0100)]
Don't link libiberty on MinGW.

15 years agoMake autogenerated dump functions static.
José Fonseca [Sun, 27 Sep 2009 18:13:58 +0000 (19:13 +0100)]
Make autogenerated dump functions static.

15 years agoCorrectly handle arrays.
José Fonseca [Sat, 12 Sep 2009 09:19:30 +0000 (10:19 +0100)]
Correctly handle arrays.

15 years agoDump D3DMATRIX's contents.
José Fonseca [Sat, 12 Sep 2009 09:19:10 +0000 (10:19 +0100)]
Dump D3DMATRIX's contents.

15 years agoPrepend process name to the log's filename.
José Fonseca [Thu, 3 Sep 2009 10:21:09 +0000 (11:21 +0100)]
Prepend process name to the log's filename.

15 years agoUpdate instructions.
José Fonseca [Wed, 2 Sep 2009 07:26:51 +0000 (08:26 +0100)]
Update instructions.

15 years agoUse the plain formatter on Windows.
José Fonseca [Wed, 2 Sep 2009 07:15:31 +0000 (08:15 +0100)]
Use the plain formatter on Windows.

15 years agoFix gzip file mode.
José Fonseca [Wed, 2 Sep 2009 07:12:33 +0000 (08:12 +0100)]
Fix gzip file mode.

15 years agoOption to dump statistics instead of linear log.
José Fonseca [Wed, 29 Jul 2009 13:21:00 +0000 (14:21 +0100)]
Option to dump statistics instead of linear log.

15 years agoDump call durations.
José Fonseca [Wed, 29 Jul 2009 11:40:11 +0000 (12:40 +0100)]
Dump call durations.

15 years agoTime call durations.
José Fonseca [Wed, 29 Jul 2009 11:39:55 +0000 (12:39 +0100)]
Time call durations.

15 years agoBreak on newlines instead of showing \n.
José Fonseca [Wed, 22 Jul 2009 17:16:24 +0000 (18:16 +0100)]
Break on newlines instead of showing \n.

15 years agoDisassemble D3D9 shaders.
José Fonseca [Wed, 22 Jul 2009 17:14:52 +0000 (18:14 +0100)]
Disassemble D3D9 shaders.

15 years agoFirst stab at arrays.
José Fonseca [Wed, 22 Jul 2009 17:14:12 +0000 (18:14 +0100)]
First stab at arrays.

15 years agoDistinguish type name, from C expr, from python id.
José Fonseca [Wed, 22 Jul 2009 17:13:52 +0000 (18:13 +0100)]
Distinguish type name, from C expr, from python id.

15 years agoHandle incomplete gzip files.
José Fonseca [Fri, 3 Jul 2009 12:10:37 +0000 (13:10 +0100)]
Handle incomplete gzip files.

15 years agoDocument cross compilation with MinGW.
José Fonseca [Wed, 1 Jul 2009 13:24:22 +0000 (14:24 +0100)]
Document cross compilation with MinGW.

15 years agoHandle incomplete traces.
José Fonseca [Wed, 1 Jul 2009 09:55:37 +0000 (10:55 +0100)]
Handle incomplete traces.

15 years agoDetect more output parameters to GL.
José Fonseca [Wed, 1 Jul 2009 09:23:03 +0000 (10:23 +0100)]
Detect more output parameters to GL.

15 years agoHandle const wide strings correctly.
José Fonseca [Tue, 30 Jun 2009 18:48:50 +0000 (19:48 +0100)]
Handle const wide strings correctly.

15 years agoHandle more GL extensions.
José Fonseca [Tue, 30 Jun 2009 18:47:38 +0000 (19:47 +0100)]
Handle more GL extensions.

15 years agoAvoid consecutive const keywords.
José Fonseca [Tue, 30 Jun 2009 17:58:47 +0000 (18:58 +0100)]
Avoid consecutive const keywords.

15 years agoWrap Pix D3DPERF_* functions.
José Fonseca [Thu, 25 Jun 2009 12:57:57 +0000 (13:57 +0100)]
Wrap Pix D3DPERF_* functions.

15 years agoAllow failure handling for functions without return value.
José Fonseca [Thu, 25 Jun 2009 12:56:57 +0000 (13:56 +0100)]
Allow failure handling for functions without return value.

15 years agoDump wchar_t strings correctly.
José Fonseca [Thu, 25 Jun 2009 12:56:18 +0000 (13:56 +0100)]
Dump wchar_t strings correctly.

15 years agoAlways use color by default.
José Fonseca [Sun, 31 May 2009 19:21:13 +0000 (12:21 -0700)]
Always use color by default.

15 years agoUse critical sections.
José Fonseca [Sun, 31 May 2009 19:19:46 +0000 (12:19 -0700)]
Use critical sections.

15 years agoMSVC compatability.
José Fonseca [Tue, 5 May 2009 17:52:34 +0000 (18:52 +0100)]
MSVC compatability.

15 years agoTrace more WGL extensions.
José Fonseca [Mon, 4 May 2009 21:34:59 +0000 (22:34 +0100)]
Trace more WGL extensions.

15 years agoCope with NULL functions.
José Fonseca [Mon, 4 May 2009 21:34:38 +0000 (22:34 +0100)]
Cope with NULL functions.

15 years agoCover all defines from glext.h
José Fonseca [Mon, 4 May 2009 18:30:08 +0000 (19:30 +0100)]
Cover all defines from glext.h

15 years agoBasic support to trace functions obtained via wglGetProcAddress.
José Fonseca [Mon, 4 May 2009 11:53:50 +0000 (12:53 +0100)]
Basic support to trace functions obtained via wglGetProcAddress.

15 years agoFactor out function wrapping.
José Fonseca [Mon, 4 May 2009 11:16:30 +0000 (12:16 +0100)]
Factor out function wrapping.

15 years agoIgnore MinGW output files.
José Fonseca [Mon, 4 May 2009 10:05:25 +0000 (11:05 +0100)]
Ignore MinGW output files.

15 years agoStrip trailing zeros from bitmasks.
José Fonseca [Mon, 4 May 2009 10:05:11 +0000 (11:05 +0100)]
Strip trailing zeros from bitmasks.

15 years agoHandle more Glenum cases. Include glext.h and wglext.h.
José Fonseca [Mon, 4 May 2009 09:51:42 +0000 (10:51 +0100)]
Handle more Glenum cases. Include glext.h and wglext.h.

15 years agoMinGW portability fixes.
José Fonseca [Mon, 4 May 2009 09:24:12 +0000 (10:24 +0100)]
MinGW portability fixes.

15 years agoMore versatile scons support.
José Fonseca [Mon, 4 May 2009 09:23:21 +0000 (10:23 +0100)]
More versatile scons support.

Support MinGW, WINSDK, etc.

15 years agoDump glClear and glBegin arguments correctly.
José Fonseca [Mon, 4 May 2009 09:20:52 +0000 (10:20 +0100)]
Dump glClear and glBegin arguments correctly.

15 years agoAllow to control color usage from command line.
José Fonseca [Fri, 1 May 2009 17:57:50 +0000 (18:57 +0100)]
Allow to control color usage from command line.

15 years agoFix PIXELFORMATDESCRIPTOR's dumping.
José Fonseca [Thu, 30 Apr 2009 11:42:36 +0000 (12:42 +0100)]
Fix PIXELFORMATDESCRIPTOR's dumping.

15 years agoUpdate package.
José Fonseca [Mon, 27 Apr 2009 12:33:30 +0000 (13:33 +0100)]
Update package.

15 years agoInline the HTML style sheet.
José Fonseca [Fri, 24 Apr 2009 14:48:03 +0000 (15:48 +0100)]
Inline the HTML style sheet.

15 years agoFlush to ensure the file is in readable state if the process dies.
José Fonseca [Thu, 23 Apr 2009 14:23:49 +0000 (15:23 +0100)]
Flush to ensure the file is in readable state if the process dies.

15 years agoSupport Windows XP entrypoints.
José Fonseca [Thu, 23 Apr 2009 14:22:44 +0000 (15:22 +0100)]
Support Windows XP entrypoints.

15 years agoTry to cope with missing functions.
José Fonseca [Thu, 23 Apr 2009 14:20:29 +0000 (15:20 +0100)]
Try to cope with missing functions.

In particular Direct3DCreate9Ex is only defined on Vista.

15 years agoRename to apitrace.
José Fonseca [Mon, 13 Apr 2009 15:23:21 +0000 (16:23 +0100)]
Rename to apitrace.

Since we support more than d3d.

15 years agoBasic support for tracing d3d7.
José Fonseca [Mon, 13 Apr 2009 15:15:28 +0000 (16:15 +0100)]
Basic support for tracing d3d7.

15 years agoIgnore more files.
José Fonseca [Mon, 13 Apr 2009 14:53:58 +0000 (15:53 +0100)]
Ignore more files.

15 years agoTrace opengl32.dll.
José Fonseca [Mon, 13 Apr 2009 13:08:08 +0000 (14:08 +0100)]
Trace opengl32.dll.

15 years agoConditional build of d3d8/d3d9.dll.
José Fonseca [Mon, 13 Apr 2009 13:05:28 +0000 (14:05 +0100)]
Conditional build of d3d8/d3d9.dll.

15 years agoDump regular functions arguments/result.
José Fonseca [Mon, 13 Apr 2009 12:50:16 +0000 (13:50 +0100)]
Dump regular functions arguments/result.

15 years agoOpen the log when the dll is loaded.
José Fonseca [Mon, 13 Apr 2009 12:49:51 +0000 (13:49 +0100)]
Open the log when the dll is loaded.

15 years agoHandle unsigned char strings.
José Fonseca [Mon, 13 Apr 2009 12:48:50 +0000 (13:48 +0100)]
Handle unsigned char strings.

15 years agoHandle compressed XML.
José Fonseca [Mon, 13 Apr 2009 12:38:50 +0000 (13:38 +0100)]
Handle compressed XML.

15 years agoHandle more basic types.
José Fonseca [Mon, 13 Apr 2009 12:26:29 +0000 (13:26 +0100)]
Handle more basic types.

15 years agoCope with recursive calls tags in the XML.
José Fonseca [Mon, 13 Apr 2009 12:24:20 +0000 (13:24 +0100)]
Cope with recursive calls tags in the XML.

15 years agoAllow to choose the MSVS version.
José Fonseca [Mon, 13 Apr 2009 12:23:50 +0000 (13:23 +0100)]
Allow to choose the MSVS version.

15 years agoFew more windows types.
José Fonseca [Sun, 4 Jan 2009 16:45:17 +0000 (16:45 +0000)]
Few more windows types.

16 years agoMention xml2txt.py instead of d3dtrace-txt.xsl.
José Fonseca [Sat, 13 Sep 2008 04:49:08 +0000 (13:49 +0900)]
Mention xml2txt.py instead of d3dtrace-txt.xsl.

16 years agoSyntax highlighting with ANSI escape codes.
José Fonseca [Sat, 13 Sep 2008 04:34:00 +0000 (13:34 +0900)]
Syntax highlighting with ANSI escape codes.

16 years agoUpdate the XML parser.
José Fonseca [Sat, 13 Sep 2008 01:12:26 +0000 (10:12 +0900)]
Update the XML parser.

16 years agoCompress XML log.
José Fonseca [Fri, 12 Sep 2008 11:02:53 +0000 (20:02 +0900)]
Compress XML log.

16 years agoImport zlib-1.2.3 sources.
José Fonseca [Fri, 12 Sep 2008 11:01:24 +0000 (20:01 +0900)]
Import zlib-1.2.3 sources.