tools/apitrace.git
13 years agoFix retracing of glGetSeparableFilter w/ pack buffer.
José Fonseca [Sun, 9 Oct 2011 08:44:03 +0000 (09:44 +0100)]
Fix retracing of glGetSeparableFilter w/ pack buffer.

13 years agoHandle glDraw*BaseInstance.
José Fonseca [Sun, 9 Oct 2011 00:04:17 +0000 (01:04 +0100)]
Handle glDraw*BaseInstance.

13 years agoUniformize warning output.
José Fonseca [Sat, 8 Oct 2011 19:23:18 +0000 (20:23 +0100)]
Uniformize warning output.

13 years agoRefactor more common retracing code.
José Fonseca [Sat, 8 Oct 2011 16:16:18 +0000 (17:16 +0100)]
Refactor more common retracing code.

13 years agoHide retrace_unknown().
José Fonseca [Sat, 8 Oct 2011 16:04:13 +0000 (17:04 +0100)]
Hide retrace_unknown().

13 years agoFix MSVC build.
José Fonseca [Sat, 8 Oct 2011 16:30:27 +0000 (17:30 +0100)]
Fix MSVC build.

13 years agoIgnore unexpected end of file in gzread.
José Fonseca [Sat, 8 Oct 2011 12:17:55 +0000 (13:17 +0100)]
Ignore unexpected end of file in gzread.

zlib-1.2.4 onwards makes it is impossible to read the last block of
incomplete gzip traces without this modification.

13 years agoUpgrade bundled zlib to 1.2.5 again.
José Fonseca [Sat, 8 Oct 2011 10:48:47 +0000 (11:48 +0100)]
Upgrade bundled zlib to 1.2.5 again.

13 years agoUniversal config.h for snappy.
José Fonseca [Sat, 8 Oct 2011 15:47:33 +0000 (16:47 +0100)]
Universal config.h for snappy.

Should (hopefully) work on all platforms that apitrace builds.

And this will make my life easier, as it will allow mixed in/out of
source builds flawlessly.

13 years agoFix mixed in/out of source builds.
José Fonseca [Sat, 8 Oct 2011 11:42:56 +0000 (12:42 +0100)]
Fix mixed in/out of source builds.

Mixing in/out of source builds is not really a good policy, but
something I do quite often due to convenience.

13 years agoUpdate glext.h
José Fonseca [Sat, 8 Oct 2011 09:25:35 +0000 (10:25 +0100)]
Update glext.h

13 years agoUpgrade bundled snappy to version 1.0.4.
José Fonseca [Sat, 8 Oct 2011 09:22:08 +0000 (10:22 +0100)]
Upgrade bundled snappy to version 1.0.4.

13 years agoFix a crash when loading multiple frames at once.
Zack Rusin [Sat, 8 Oct 2011 03:55:55 +0000 (23:55 -0400)]
Fix a crash when loading multiple frames at once.

Happens particularly often when replay has multiple errors in
different frames and they're loaded in a rapid-fire fashion.

13 years agoPreserve const-ness in string comparer.
José Fonseca [Fri, 7 Oct 2011 23:17:25 +0000 (00:17 +0100)]
Preserve const-ness in string comparer.

13 years agoUse a vector to dispatch calls when retracing.
José Fonseca [Fri, 7 Oct 2011 22:36:39 +0000 (23:36 +0100)]
Use a vector to dispatch calls when retracing.

As opposed to generated switch tables.

Speeds up retracing speed by 8%, and should speed up compilation times too.

13 years agoIgnore cgltrace.cpp
José Fonseca [Fri, 7 Oct 2011 15:31:12 +0000 (16:31 +0100)]
Ignore cgltrace.cpp

13 years agoUpdate to-do list.
José Fonseca [Fri, 7 Oct 2011 15:30:44 +0000 (16:30 +0100)]
Update to-do list.

13 years agoTrace GL 3.2's related CGL state.
José Fonseca [Wed, 5 Oct 2011 19:49:39 +0000 (20:49 +0100)]
Trace GL 3.2's related CGL state.

13 years agoRemove unnecessary include.
José Fonseca [Wed, 5 Oct 2011 19:49:19 +0000 (20:49 +0100)]
Remove unnecessary include.

13 years agoRevert "Plug leaks in glretrace."
José Fonseca [Wed, 5 Oct 2011 07:05:26 +0000 (08:05 +0100)]
Revert "Plug leaks in glretrace."

This reverts commit 568b271fe00e9489761d2b96a89bdfbfd709953a, which got
committed by mistake, as it is still experimental work.

13 years agoAlways build the common library as static.
José Fonseca [Wed, 5 Oct 2011 06:50:57 +0000 (07:50 +0100)]
Always build the common library as static.

The wrappers rely on that.

Fixes build with -DBUILD_SHARED_LIBS:BOOL=ON (issue #44).

13 years agoPlug leaks in glretrace.
José Fonseca [Wed, 28 Sep 2011 09:10:49 +0000 (10:10 +0100)]
Plug leaks in glretrace.

13 years agoFix build on Mac OS X 10.7.
José Fonseca [Tue, 4 Oct 2011 18:18:58 +0000 (19:18 +0100)]
Fix build on Mac OS X 10.7.

Issue #45.

13 years agoMore D3D10 spec tweaks.
José Fonseca [Wed, 28 Sep 2011 08:58:35 +0000 (09:58 +0100)]
More D3D10 spec tweaks.

13 years agoMore signed/unsigned comparison fixes.
José Fonseca [Wed, 28 Sep 2011 08:04:56 +0000 (09:04 +0100)]
More signed/unsigned comparison fixes.

13 years agoElminate dead WrapPointer function.
José Fonseca [Wed, 28 Sep 2011 07:23:29 +0000 (08:23 +0100)]
Elminate dead WrapPointer function.

13 years agoFix signed/unsigned comparisons.
José Fonseca [Wed, 28 Sep 2011 07:19:45 +0000 (08:19 +0100)]
Fix signed/unsigned comparisons.

13 years agoCleanup D3D10 specs.
José Fonseca [Wed, 28 Sep 2011 07:16:00 +0000 (08:16 +0100)]
Cleanup D3D10 specs.

13 years agoSilence MinGW linkage warnings.
José Fonseca [Wed, 28 Sep 2011 06:16:24 +0000 (07:16 +0100)]
Silence MinGW linkage warnings.

13 years agoRebrand as version 2.0
José Fonseca [Tue, 27 Sep 2011 19:40:13 +0000 (20:40 +0100)]
Rebrand as version 2.0

13 years agoTweaks to the cdecl.py script.
José Fonseca [Tue, 27 Sep 2011 17:47:13 +0000 (18:47 +0100)]
Tweaks to the cdecl.py script.

13 years agoAdd a to-do note about GLU.
José Fonseca [Tue, 27 Sep 2011 17:46:42 +0000 (18:46 +0100)]
Add a to-do note about GLU.

13 years agoMark output params on CGL.
José Fonseca [Tue, 27 Sep 2011 17:46:23 +0000 (18:46 +0100)]
Mark output params on CGL.

13 years agoIgnore .dmg files.
José Fonseca [Tue, 27 Sep 2011 14:08:46 +0000 (15:08 +0100)]
Ignore .dmg files.

13 years agoDeep copy the blob data.
Zack Rusin [Tue, 27 Sep 2011 16:04:10 +0000 (12:04 -0400)]
Deep copy the blob data.

Fixes a memory leak.

13 years agoUpdate cglapi's description of CGSConnectionID too.
José Fonseca [Tue, 27 Sep 2011 13:43:09 +0000 (14:43 +0100)]
Update cglapi's description of CGSConnectionID too.

13 years agoFix CGSConnectionID typedef.
José Fonseca [Tue, 27 Sep 2011 13:14:54 +0000 (14:14 +0100)]
Fix CGSConnectionID typedef.

13 years agoFix d3d10 build.
José Fonseca [Tue, 27 Sep 2011 13:14:12 +0000 (14:14 +0100)]
Fix d3d10 build.

13 years agoBuild fat binaries with i386 and x86_64 architectures by default on Mac OS X.
José Fonseca [Tue, 27 Sep 2011 13:13:56 +0000 (14:13 +0100)]
Build fat binaries with i386 and x86_64 architectures by default on Mac OS X.

13 years agoMinor tweaks to docs.
José Fonseca [Tue, 27 Sep 2011 09:20:05 +0000 (10:20 +0100)]
Minor tweaks to docs.

13 years agoFix multi line strings inside array arguments on the call details pane.
José Fonseca [Tue, 27 Sep 2011 09:19:28 +0000 (10:19 +0100)]
Fix multi line strings inside array arguments on the call details pane.

13 years agoMove .def files to specs subdir.
José Fonseca [Tue, 27 Sep 2011 08:29:03 +0000 (09:29 +0100)]
Move .def files to specs subdir.

13 years agoMove all API specs to a separate dir.
José Fonseca [Tue, 27 Sep 2011 08:21:38 +0000 (09:21 +0100)]
Move all API specs to a separate dir.

13 years agoBundle QJSON sources.
José Fonseca [Tue, 27 Sep 2011 07:54:45 +0000 (08:54 +0100)]
Bundle QJSON sources.

Should make much more straightforward to build the Qt GUI on Windows and
Mac OS X, simply by using the official Qt binaries for those OSes.

13 years agoUpdate TODO.
José Fonseca [Tue, 27 Sep 2011 06:40:37 +0000 (07:40 +0100)]
Update TODO.

13 years agoShow a warning box if astyle isn't installed and indent was activated.
Zack Rusin [Tue, 27 Sep 2011 03:54:21 +0000 (23:54 -0400)]
Show a warning box if astyle isn't installed and indent was activated.

13 years agoIgnore qapitrace.qrc.depends
José Fonseca [Mon, 26 Sep 2011 07:44:10 +0000 (08:44 +0100)]
Ignore qapitrace.qrc.depends

13 years agoSkip over filtered calls when searching.
Zack Rusin [Sun, 25 Sep 2011 18:33:41 +0000 (14:33 -0400)]
Skip over filtered calls when searching.

13 years agoMerge branch 'd3d10'
José Fonseca [Sun, 25 Sep 2011 10:05:10 +0000 (11:05 +0100)]
Merge branch 'd3d10'

13 years agoAdd an option to indent the glsl code in the shader viewer.
Zack Rusin [Sat, 24 Sep 2011 23:39:59 +0000 (19:39 -0400)]
Add an option to indent the glsl code in the shader viewer.

Requires 'astyle' but works very well and makes reading wonky
shaders a /lot/ easier.

13 years agoAdd a custom filter to the event view.
Zack Rusin [Sat, 24 Sep 2011 21:06:38 +0000 (17:06 -0400)]
Add a custom filter to the event view.

Allows one to filter out any custom call. Very useful on large traces
that have e.g. millions of redundant GetCurrentContext and
MakeCurrentContext calls.

13 years agoMake sure we reset the state when loading another trace file
Zack Rusin [Sat, 24 Sep 2011 17:42:53 +0000 (13:42 -0400)]
Make sure we reset the state when loading another trace file

fixes issue #41

13 years agoDelete unused member variable
Zack Rusin [Sat, 24 Sep 2011 04:14:11 +0000 (00:14 -0400)]
Delete unused member variable

13 years agoCleanup the default size computation for the surface viewer.
Zack Rusin [Sat, 24 Sep 2011 00:25:47 +0000 (20:25 -0400)]
Cleanup the default size computation for the surface viewer.

13 years agoAttempt to retrace incomplete calls.
José Fonseca [Sat, 24 Sep 2011 14:04:08 +0000 (15:04 +0100)]
Attempt to retrace incomplete calls.

13 years agoSplit d3d10 spec from tracing.
José Fonseca [Fri, 23 Sep 2011 22:27:49 +0000 (23:27 +0100)]
Split d3d10 spec from tracing.

13 years agoConst correctness.
José Fonseca [Fri, 23 Sep 2011 08:43:05 +0000 (09:43 +0100)]
Const correctness.

Make a better job of distinguishing "const foo *" from "foo * const".

13 years agoAdd missing dependency on dxgi.py
José Fonseca [Fri, 23 Sep 2011 08:34:33 +0000 (09:34 +0100)]
Add missing dependency on dxgi.py

13 years agoMerge branch 'master' into d3d10
José Fonseca [Fri, 23 Sep 2011 07:33:13 +0000 (08:33 +0100)]
Merge branch 'master' into d3d10

Conflicts:
CMakeLists.txt

13 years agoFormatting fixes.
José Fonseca [Fri, 23 Sep 2011 07:24:28 +0000 (08:24 +0100)]
Formatting fixes.

13 years agoUpdate news.
José Fonseca [Fri, 23 Sep 2011 07:18:36 +0000 (08:18 +0100)]
Update news.

13 years agoInstall the signal handlers as early as possible,
José Fonseca [Thu, 22 Sep 2011 16:49:24 +0000 (17:49 +0100)]
Install the signal handlers as early as possible,

To prevent interfering with the application's signal handling.

13 years agoSplit D3D specs for trace generators.
José Fonseca [Wed, 21 Sep 2011 07:12:39 +0000 (08:12 +0100)]
Split D3D specs for trace generators.

13 years agoPut all common code in a subdirectory.
José Fonseca [Wed, 21 Sep 2011 06:46:50 +0000 (07:46 +0100)]
Put all common code in a subdirectory.

13 years agoRemove unused files.
Zack Rusin [Wed, 21 Sep 2011 04:37:55 +0000 (00:37 -0400)]
Remove unused files.

13 years agoRemove some extra debugging output.
Zack Rusin [Wed, 21 Sep 2011 04:37:03 +0000 (00:37 -0400)]
Remove some extra debugging output.

13 years agoMerge branch 'on-demand-loading'
Zack Rusin [Wed, 21 Sep 2011 04:30:58 +0000 (00:30 -0400)]
Merge branch 'on-demand-loading'

Fixes #36

13 years agoMake sure that the loader deletes the signatures.
Zack Rusin [Wed, 21 Sep 2011 04:25:03 +0000 (00:25 -0400)]
Make sure that the loader deletes the signatures.

13 years agoFix silly typo
Zack Rusin [Tue, 20 Sep 2011 03:45:39 +0000 (23:45 -0400)]
Fix silly typo

13 years agoIf a frame has already been loaded don't do it again.
Zack Rusin [Tue, 20 Sep 2011 03:44:25 +0000 (23:44 -0400)]
If a frame has already been loaded don't do it again.

In particular for searching we kept reloading frames over and
over again.

13 years agoHandle NV_vertex_array_range GLX entry points.
José Fonseca [Mon, 19 Sep 2011 18:59:44 +0000 (19:59 +0100)]
Handle NV_vertex_array_range GLX entry points.

13 years agoHandle GL_NV_texture_shader2's texture formats.
José Fonseca [Mon, 19 Sep 2011 18:58:59 +0000 (19:58 +0100)]
Handle GL_NV_texture_shader2's texture formats.

13 years agoHandle some of GL_NV_register_combiners parameters better.
José Fonseca [Mon, 19 Sep 2011 18:58:18 +0000 (19:58 +0100)]
Handle some of GL_NV_register_combiners parameters better.

13 years agoAlways add calls for last frame.
José Fonseca [Thu, 1 Sep 2011 18:17:41 +0000 (19:17 +0100)]
Always add calls for last frame.

When viewing traces of apps that crashed, the last frame is the most
interesting of all.

Furthermore, last frames actually do have markers, but no calls.

13 years agoBetter EXT_texture_sRGB_decode support.
José Fonseca [Mon, 19 Sep 2011 14:06:52 +0000 (15:06 +0100)]
Better EXT_texture_sRGB_decode support.

13 years agoInfer the drawable size from glBlitFramebuffer too
José Fonseca [Mon, 19 Sep 2011 09:09:53 +0000 (10:09 +0100)]
Infer the drawable size from glBlitFramebuffer too

13 years agoAdd a few links for signal handling reference material.
José Fonseca [Mon, 19 Sep 2011 08:30:52 +0000 (09:30 +0100)]
Add a few links for signal handling reference material.

13 years agoMore descriptive framebuffer error codes.
José Fonseca [Mon, 19 Sep 2011 08:30:10 +0000 (09:30 +0100)]
More descriptive framebuffer error codes.

13 years agoAdd a few links on how to obtain stack back traces.
José Fonseca [Mon, 19 Sep 2011 08:29:08 +0000 (09:29 +0100)]
Add a few links on how to obtain stack back traces.

13 years agoCleanup some of the code.
Zack Rusin [Mon, 19 Sep 2011 07:04:40 +0000 (03:04 -0400)]
Cleanup some of the code.

13 years agoDelete loadertest and cleanup some of the new api.
Zack Rusin [Sun, 18 Sep 2011 23:40:47 +0000 (19:40 -0400)]
Delete loadertest and cleanup some of the new api.

13 years agoDocument the major user-visible developments.
José Fonseca [Sun, 18 Sep 2011 09:50:25 +0000 (10:50 +0100)]
Document the major user-visible developments.

13 years agoFix typos.
José Fonseca [Sun, 18 Sep 2011 09:49:13 +0000 (10:49 +0100)]
Fix typos.

13 years agoDocument GREMEDY extension usage.
José Fonseca [Sun, 18 Sep 2011 09:31:04 +0000 (10:31 +0100)]
Document GREMEDY extension usage.

13 years agoAdd documentation on how to report bugs.
José Fonseca [Sat, 17 Sep 2011 20:18:57 +0000 (21:18 +0100)]
Add documentation on how to report bugs.

13 years agoShow thumbnail of the color buffer in tooltips.
Zack Rusin [Fri, 16 Sep 2011 00:23:27 +0000 (20:23 -0400)]
Show thumbnail of the color buffer in tooltips.

if we got the state for the given frame we can show
a nicer tooltip with a thumbnail of the current color buffer.

13 years agoAdd a few comments.
José Fonseca [Thu, 15 Sep 2011 07:21:09 +0000 (08:21 +0100)]
Add a few comments.

13 years agoComplete/tweak the specs for GL 4.0-4.2.
José Fonseca [Thu, 15 Sep 2011 07:15:33 +0000 (08:15 +0100)]
Complete/tweak the specs for GL 4.0-4.2.

Untested with actual GL 4.x apps, but hopefully better support than before.

13 years agoUpdate glext headers.
José Fonseca [Thu, 15 Sep 2011 05:54:10 +0000 (06:54 +0100)]
Update glext headers.

13 years agoFix and cleanup state lookups on frames.
Zack Rusin [Thu, 15 Sep 2011 02:04:07 +0000 (22:04 -0400)]
Fix and cleanup state lookups on frames.

13 years agoShow number of calls per frame.
Zack Rusin [Wed, 14 Sep 2011 21:36:53 +0000 (17:36 -0400)]
Show number of calls per frame.

13 years agoProperly handle and propagate retrace errors.
Zack Rusin [Wed, 14 Sep 2011 05:45:12 +0000 (01:45 -0400)]
Properly handle and propagate retrace errors.

13 years agoActually save the edited calls.
Zack Rusin [Wed, 14 Sep 2011 05:45:01 +0000 (01:45 -0400)]
Actually save the edited calls.

13 years agoRemove unused callIndex methods.
Zack Rusin [Wed, 14 Sep 2011 04:26:29 +0000 (00:26 -0400)]
Remove unused callIndex methods.

13 years agoImplement trace saving.
Zack Rusin [Wed, 14 Sep 2011 03:58:45 +0000 (23:58 -0400)]
Implement trace saving.

13 years agoCleanup the code.
Zack Rusin [Tue, 13 Sep 2011 21:58:58 +0000 (17:58 -0400)]
Cleanup the code.

Frames own the calls.

13 years agoRemove calls and numCalls from the ApiTrace class.
Zack Rusin [Tue, 13 Sep 2011 21:42:39 +0000 (17:42 -0400)]
Remove calls and numCalls from the ApiTrace class.

with on-demand-loading those are in some random state and don't
represent the actual numbers

13 years agoImplement jump to.
Zack Rusin [Tue, 13 Sep 2011 21:33:05 +0000 (17:33 -0400)]
Implement jump to.

13 years agoImplement goto start of the frame and goto end of the frame.
Zack Rusin [Tue, 13 Sep 2011 06:23:39 +0000 (02:23 -0400)]
Implement goto start of the frame and goto end of the frame.

13 years agoImplement find prev.
Zack Rusin [Tue, 13 Sep 2011 05:35:12 +0000 (01:35 -0400)]
Implement find prev.

and fix a bug in find next. now both find next and find prev work.