]> git.cworth.org Git - apitrace/log
apitrace
12 years agoMake windows build user friendlier.
José Fonseca [Thu, 2 Jun 2011 13:38:34 +0000 (14:38 +0100)]
Make windows build user friendlier.

12 years agoSmarter detection of DirectX SDK.
José Fonseca [Thu, 2 Jun 2011 13:09:33 +0000 (14:09 +0100)]
Smarter detection of DirectX SDK.

12 years agoAllow to specify the snapshot frequency.
José Fonseca [Thu, 2 Jun 2011 09:04:52 +0000 (10:04 +0100)]
Allow to specify the snapshot frequency.

Based on a patch by Michel Dänzer <daenzer@vmware.com>

12 years agoUse double buffer visuals by default.
José Fonseca [Wed, 1 Jun 2011 18:49:13 +0000 (19:49 +0100)]
Use double buffer visuals by default.

By far the most common case.

12 years agoParse traces directly from python.
José Fonseca [Mon, 30 May 2011 10:40:06 +0000 (11:40 +0100)]
Parse traces directly from python.

Mostly for prototyping, as it 4x slower, and eats more memory.

12 years agoRemove unused header.
José Fonseca [Sat, 28 May 2011 17:18:52 +0000 (18:18 +0100)]
Remove unused header.

12 years agoAbility to write a new call to trace file.
José Fonseca [Sat, 28 May 2011 17:13:39 +0000 (18:13 +0100)]
Ability to write a new call to trace file.

12 years agoSet FunctionSig's id.
José Fonseca [Sat, 28 May 2011 16:46:41 +0000 (17:46 +0100)]
Set FunctionSig's id.

12 years agoMove signatures to trace_model.hpp where they belong.
José Fonseca [Sat, 28 May 2011 12:33:32 +0000 (13:33 +0100)]
Move signatures to trace_model.hpp where they belong.

12 years agoMake Trace::Writer methods a bit more consistent.
José Fonseca [Sat, 28 May 2011 12:25:55 +0000 (13:25 +0100)]
Make Trace::Writer methods a bit more consistent.

12 years agoBetter naming for bitmask signature.
José Fonseca [Sat, 28 May 2011 12:20:01 +0000 (13:20 +0100)]
Better naming for bitmask signature.

12 years agoUnify Call::Signature into FunctionSig.
José Fonseca [Sat, 28 May 2011 12:10:13 +0000 (13:10 +0100)]
Unify Call::Signature into FunctionSig.

12 years agoUnify Struct::Signature into StructSig
José Fonseca [Sat, 28 May 2011 12:01:16 +0000 (13:01 +0100)]
Unify Struct::Signature into StructSig

12 years agoUnify Enum::Signature into EnumSig.
José Fonseca [Sat, 28 May 2011 11:45:56 +0000 (12:45 +0100)]
Unify Enum::Signature into EnumSig.

12 years agoDrop dead value unwrap code.
José Fonseca [Sat, 28 May 2011 11:37:02 +0000 (12:37 +0100)]
Drop dead value unwrap code.

12 years agoUnify Bitmask::Signature with BitmaskSig.
José Fonseca [Sat, 28 May 2011 11:33:24 +0000 (12:33 +0100)]
Unify Bitmask::Signature with BitmaskSig.

12 years agoUnify Bitmask::Pair with BitmaskVal.
José Fonseca [Sat, 28 May 2011 11:21:15 +0000 (12:21 +0100)]
Unify Bitmask::Pair with BitmaskVal.

12 years agoUse clear instead of empty assignment to reset writer private data.
José Fonseca [Sat, 28 May 2011 10:56:53 +0000 (11:56 +0100)]
Use clear instead of empty assignment to reset writer private data.

12 years agoUse regular C strings everywhere.
José Fonseca [Sat, 28 May 2011 10:47:48 +0000 (11:47 +0100)]
Use regular C strings everywhere.

12 years agoRemove the empty default state message box.
José Fonseca [Sat, 28 May 2011 10:13:01 +0000 (11:13 +0100)]
Remove the empty default state message box.

The answer is not remembered across multiple qapitrace processes, and
reading the default state is so fast that it's not even really worth
asking.

12 years agoFix D3D shader dumping after trace writing refactoring.
José Fonseca [Sat, 28 May 2011 10:06:35 +0000 (11:06 +0100)]
Fix D3D shader dumping after trace writing refactoring.

12 years agoTurn trace writer into a class.
José Fonseca [Sat, 28 May 2011 09:37:12 +0000 (10:37 +0100)]
Turn trace writer into a class.

12 years agoCleanup pointless abort variations.
José Fonseca [Fri, 27 May 2011 23:27:47 +0000 (00:27 +0100)]
Cleanup pointless abort variations.

12 years agoIgnore assertion failure on Mac OS X.
José Fonseca [Fri, 27 May 2011 19:25:41 +0000 (20:25 +0100)]
Ignore assertion failure on Mac OS X.

12 years agoTrace the whole OpenGL framework on Mac OS X.
José Fonseca [Fri, 27 May 2011 19:14:31 +0000 (20:14 +0100)]
Trace the whole OpenGL framework on Mac OS X.

12 years agoTemporarily revert "Upgrade bundled zlib to 1.2.5."
José Fonseca [Fri, 27 May 2011 16:53:30 +0000 (17:53 +0100)]
Temporarily revert "Upgrade bundled zlib to 1.2.5."

It's causing regressions on Windows. Most likely due to build
misconfiguration.

This reverts commit a9a5a2bdbf342493f1a397e885dbd5a25b0c4cf9.

12 years agoDon't generate fake glBindAttribLocation for built-in attributes.
José Fonseca [Thu, 26 May 2011 19:54:29 +0000 (20:54 +0100)]
Don't generate fake glBindAttribLocation for built-in attributes.

12 years agoBuild fixes and minor corrections.
José Fonseca [Thu, 26 May 2011 10:37:30 +0000 (11:37 +0100)]
Build fixes and minor corrections.

12 years agoUpdate readme.
José Fonseca [Thu, 26 May 2011 09:00:14 +0000 (10:00 +0100)]
Update readme.

12 years agoName D3D7 args.
José Fonseca [Thu, 26 May 2011 08:45:55 +0000 (09:45 +0100)]
Name D3D7 args.

12 years agoD3D7 corrections.
José Fonseca [Thu, 26 May 2011 07:21:37 +0000 (08:21 +0100)]
D3D7 corrections.

12 years agoLoads of fixes to ddraw.
José Fonseca [Wed, 25 May 2011 23:58:26 +0000 (00:58 +0100)]
Loads of fixes to ddraw.

Mostly untested.

12 years agoA bit more debugging info when parsing.
José Fonseca [Wed, 25 May 2011 22:21:54 +0000 (23:21 +0100)]
A bit more debugging info when parsing.

12 years agoSeveral DX7 corrections.
José Fonseca [Wed, 25 May 2011 22:21:18 +0000 (23:21 +0100)]
Several DX7 corrections.

12 years agoScript to parse C declarations and spew API definitions.
José Fonseca [Wed, 25 May 2011 22:10:41 +0000 (23:10 +0100)]
Script to parse C declarations and spew API definitions.

12 years agoBuild fixes.
José Fonseca [Wed, 25 May 2011 20:03:40 +0000 (21:03 +0100)]
Build fixes.

12 years agoGet DDraw/D3D7 building.
José Fonseca [Wed, 25 May 2011 09:12:02 +0000 (10:12 +0100)]
Get DDraw/D3D7 building.

Untested.

12 years agoFix build with old DXSDK.
José Fonseca [Tue, 24 May 2011 19:16:37 +0000 (20:16 +0100)]
Fix build with old DXSDK.

12 years agoMerge branch 'thirdparty-upgrade'
José Fonseca [Tue, 24 May 2011 18:46:03 +0000 (19:46 +0100)]
Merge branch 'thirdparty-upgrade'

12 years agoSilence MSVC warnings.
José Fonseca [Tue, 24 May 2011 18:31:26 +0000 (19:31 +0100)]
Silence MSVC warnings.

12 years agoHandle an arbitrary number of image channels.
José Fonseca [Tue, 24 May 2011 08:49:23 +0000 (09:49 +0100)]
Handle an arbitrary number of image channels.

12 years agoUpgrade libpng to 1.5.2.
José Fonseca [Sat, 21 May 2011 08:27:02 +0000 (09:27 +0100)]
Upgrade libpng to 1.5.2.

12 years agoUpgrade bundled zlib to 1.2.5.
José Fonseca [Sat, 21 May 2011 08:10:02 +0000 (09:10 +0100)]
Upgrade bundled zlib to 1.2.5.

12 years agoMove snapshooting to glstate.
José Fonseca [Tue, 24 May 2011 08:13:56 +0000 (09:13 +0100)]
Move snapshooting to glstate.

12 years agotrace_write -> trace_writer
José Fonseca [Tue, 24 May 2011 07:42:59 +0000 (08:42 +0100)]
trace_write -> trace_writer

13 years agoWarning for glMap*Buffer* failures.
José Fonseca [Mon, 23 May 2011 20:20:53 +0000 (21:20 +0100)]
Warning for glMap*Buffer* failures.

13 years agoHandle vertex attriv locations correctly.
José Fonseca [Mon, 23 May 2011 20:20:31 +0000 (21:20 +0100)]
Handle vertex attriv locations correctly.

However, this does nothing for old traces which do not use
glBindAttribLocation, except than an warning message.

13 years agoSilence warnings due to unused variables.
José Fonseca [Mon, 23 May 2011 20:15:12 +0000 (21:15 +0100)]
Silence warnings due to unused variables.

13 years agoInterpret some missing GLbitfields.
José Fonseca [Mon, 23 May 2011 20:14:54 +0000 (21:14 +0100)]
Interpret some missing GLbitfields.

13 years agoUse the process ID as process name when /proc/self/exe can't be read.
José Fonseca [Mon, 23 May 2011 20:14:03 +0000 (21:14 +0100)]
Use the process ID as process name when /proc/self/exe can't be read.

/proc/self/exe is not available on setuid processes.

13 years agoMore control over the diffing output.
José Fonseca [Mon, 23 May 2011 09:08:03 +0000 (10:08 +0100)]
More control over the diffing output.

13 years agoBeginning of a Python reimplementation of tracediff script.
José Fonseca [Sat, 21 May 2011 23:37:12 +0000 (00:37 +0100)]
Beginning of a Python reimplementation of tracediff script.

13 years agoUpdate trace binary format description.
José Fonseca [Sat, 21 May 2011 23:10:50 +0000 (00:10 +0100)]
Update trace binary format description.

13 years agoRemove EVENT_MESSAGE.
José Fonseca [Sat, 21 May 2011 22:57:40 +0000 (23:57 +0100)]
Remove EVENT_MESSAGE.

Never emitted.

13 years agoReimplement tracerepack script in Python.
José Fonseca [Sat, 21 May 2011 21:59:50 +0000 (22:59 +0100)]
Reimplement tracerepack script in Python.

13 years agoUse just PIL on snapdiff, instead of relying on ImageMagick.
José Fonseca [Sat, 21 May 2011 17:47:21 +0000 (18:47 +0100)]
Use just PIL on snapdiff, instead of relying on ImageMagick.

13 years agoDump D3D8 shaders too.
José Fonseca [Sat, 21 May 2011 09:14:01 +0000 (10:14 +0100)]
Dump D3D8 shaders too.

13 years agoRemove dead code.
José Fonseca [Sat, 21 May 2011 09:04:46 +0000 (10:04 +0100)]
Remove dead code.

13 years agoPNG portability fixes.
José Fonseca [Sat, 21 May 2011 09:03:51 +0000 (10:03 +0100)]
PNG portability fixes.

13 years agoDisable _all_ error checking when benchmarking.
José Fonseca [Sat, 21 May 2011 00:56:08 +0000 (01:56 +0100)]
Disable _all_ error checking when benchmarking.

13 years agoRemap handles on several GL calls.
José Fonseca [Sat, 21 May 2011 00:36:31 +0000 (01:36 +0100)]
Remap handles on several GL calls.

13 years agoDon't show windows until they are first resized.
José Fonseca [Fri, 20 May 2011 22:54:13 +0000 (23:54 +0100)]
Don't show windows until they are first resized.

13 years agoFix spacing of error message.
José Fonseca [Fri, 20 May 2011 22:24:16 +0000 (23:24 +0100)]
Fix spacing of error message.

13 years agoHandle explicit flushes better.
José Fonseca [Fri, 20 May 2011 16:45:26 +0000 (17:45 +0100)]
Handle explicit flushes better.

13 years agoReset store state before ReadPixels.
José Fonseca [Fri, 20 May 2011 09:34:38 +0000 (10:34 +0100)]
Reset store state before ReadPixels.

13 years agoTell the window manager to respect the requested window size
José Fonseca [Fri, 20 May 2011 09:28:42 +0000 (10:28 +0100)]
Tell the window manager to respect the requested window size

13 years agoDetermine drawable sizes on MacOSX.
José Fonseca [Thu, 19 May 2011 16:57:18 +0000 (17:57 +0100)]
Determine drawable sizes on MacOSX.

Not sure it works correctly on Cocoa apps.

13 years agoReorganize glstate code.
José Fonseca [Thu, 19 May 2011 09:45:04 +0000 (10:45 +0100)]
Reorganize glstate code.

13 years agoReset the scissor after resizing the window.
José Fonseca [Wed, 18 May 2011 08:54:36 +0000 (09:54 +0100)]
Reset the scissor after resizing the window.

13 years agoStart making glstate an independent module.
José Fonseca [Wed, 18 May 2011 08:33:37 +0000 (09:33 +0100)]
Start making glstate an independent module.

13 years agoUse alpha visuals.
José Fonseca [Wed, 18 May 2011 07:17:56 +0000 (08:17 +0100)]
Use alpha visuals.

13 years agoPrint a warning on incomplete calls.
José Fonseca [Tue, 17 May 2011 19:43:14 +0000 (20:43 +0100)]
Print a warning on incomplete calls.

Useful for GL crashes.

13 years agoFix context sharing when replaying CGL.
José Fonseca [Tue, 17 May 2011 19:39:02 +0000 (20:39 +0100)]
Fix context sharing when replaying CGL.

13 years agoDon't count frames in MakeCurrent if the context/drawable don't change.
José Fonseca [Tue, 17 May 2011 08:58:42 +0000 (09:58 +0100)]
Don't count frames in MakeCurrent if the context/drawable don't change.

13 years agoStart with a smaller default window size; avoid race conditions on resize.
José Fonseca [Tue, 17 May 2011 08:43:36 +0000 (09:43 +0100)]
Start with a smaller default window size; avoid race conditions on resize.

Because most mesa demos use a 250x250 window, and the window only grows
to accomodate the viewport (never shrinks) so we end up retracing with
a larger framebuffer.

But for this to work all the time, especially with DRI drivers which do
not hook into glViewport, it was necessary to do more event processing
to ensure that by the time the resize is done, the new window size is
visible to GL.

13 years agoRecognize more parameters.
José Fonseca [Mon, 16 May 2011 08:53:59 +0000 (09:53 +0100)]
Recognize more parameters.

13 years agoRemap buffer handles in glBindBuffer*
José Fonseca [Mon, 16 May 2011 08:33:50 +0000 (09:33 +0100)]
Remap buffer handles in glBindBuffer*

13 years agoMake snapdiff.py smarter and more flexible to use.
José Fonseca [Sun, 15 May 2011 10:50:01 +0000 (11:50 +0100)]
Make snapdiff.py smarter and more flexible to use.

13 years agoRudimentary CGL retracing.
José Fonseca [Sun, 15 May 2011 12:52:28 +0000 (13:52 +0100)]
Rudimentary CGL retracing.

13 years agoEnsure the libGL.system symlink actually gets built.
José Fonseca [Sun, 15 May 2011 12:20:56 +0000 (13:20 +0100)]
Ensure the libGL.system symlink actually gets built.

13 years agoBasic MacOSX tracing support (WIP).
José Fonseca [Sun, 15 May 2011 11:56:59 +0000 (12:56 +0100)]
Basic MacOSX tracing support (WIP).

13 years agoRemove dead code.
José Fonseca [Sun, 15 May 2011 11:49:30 +0000 (12:49 +0100)]
Remove dead code.

13 years agoGet the process name correctly on MacOSX.
José Fonseca [Sun, 15 May 2011 11:00:10 +0000 (12:00 +0100)]
Get the process name correctly on MacOSX.

13 years agoAdd snapshot comparison criteria in tracecheck.py
José Fonseca [Sat, 14 May 2011 13:56:08 +0000 (14:56 +0100)]
Add snapshot comparison criteria in tracecheck.py

13 years agoRemove status section from README.
José Fonseca [Sat, 14 May 2011 13:12:43 +0000 (14:12 +0100)]
Remove status section from README.

Out of date.

13 years agoPut license in a separate file.
José Fonseca [Sat, 14 May 2011 13:05:47 +0000 (14:05 +0100)]
Put license in a separate file.

13 years agoMention tracy, reformat links.
José Fonseca [Sat, 14 May 2011 13:02:45 +0000 (14:02 +0100)]
Mention tracy, reformat links.

13 years agoInclude README & TODO in the package.
José Fonseca [Sat, 14 May 2011 09:46:24 +0000 (10:46 +0100)]
Include README & TODO in the package.

13 years agoRevert "Set default build type to debug."
José Fonseca [Sat, 14 May 2011 09:34:08 +0000 (10:34 +0100)]
Revert "Set default build type to debug."

This reverts commit d75f6073101486e05b6cb4aedb4a923352330309.

13 years agoFix spec of arrays in D3D.
José Fonseca [Sat, 14 May 2011 09:31:54 +0000 (10:31 +0100)]
Fix spec of arrays in D3D.

13 years agoAdd some notes about building GUI on Windows.
José Fonseca [Sat, 14 May 2011 07:48:59 +0000 (08:48 +0100)]
Add some notes about building GUI on Windows.

13 years agoQJSON_INCLUDE_DIRS -> QJSON_INCLUDE_DIR
José Fonseca [Sat, 14 May 2011 07:35:24 +0000 (08:35 +0100)]
QJSON_INCLUDE_DIRS -> QJSON_INCLUDE_DIR

As documented in FindQJSON.cmake.

Thanks to crobi to point this out in issue 2.

13 years agoTrace GL_SGIS_point_parameters.
José Fonseca [Thu, 12 May 2011 20:52:52 +0000 (21:52 +0100)]
Trace GL_SGIS_point_parameters.

13 years agoDon't link with unnecessary X11 libraries.
José Fonseca [Thu, 12 May 2011 20:18:05 +0000 (21:18 +0100)]
Don't link with unnecessary X11 libraries.

13 years agoCorrect types of several parameters.
José Fonseca [Thu, 12 May 2011 19:59:37 +0000 (20:59 +0100)]
Correct types of several parameters.

13 years agoDump shader objects too.
José Fonseca [Thu, 12 May 2011 16:21:34 +0000 (17:21 +0100)]
Dump shader objects too.

13 years agoAdd helper script to use with git-bisect.
José Fonseca [Wed, 11 May 2011 13:56:36 +0000 (14:56 +0100)]
Add helper script to use with git-bisect.

13 years agoAdd script to recompress traces.
José Fonseca [Tue, 10 May 2011 19:37:27 +0000 (20:37 +0100)]
Add script to recompress traces.

13 years agoCode formatting.
José Fonseca [Tue, 10 May 2011 19:36:40 +0000 (20:36 +0100)]
Code formatting.

Brackets help read generated code, given that indenting is totally broken.

13 years agoTake snapshot but don't count glReadPixels as frames.
José Fonseca [Tue, 10 May 2011 19:36:11 +0000 (20:36 +0100)]
Take snapshot but don't count glReadPixels as frames.

Based on a change by Michel Danzer.