José Fonseca [Fri, 22 Apr 2011 08:59:34 +0000 (09:59 +0100)]
Remove redundant extern "C" clauses.
Zack Rusin [Fri, 22 Apr 2011 03:02:25 +0000 (23:02 -0400)]
Add shortcut to replay and lookup state.
José Fonseca [Thu, 21 Apr 2011 09:32:45 +0000 (10:32 +0100)]
Handle correctly apps that don't directly link/load libGL.so
José Fonseca [Thu, 21 Apr 2011 08:28:10 +0000 (09:28 +0100)]
Minor code whitespace cleanup.
José Fonseca [Thu, 21 Apr 2011 08:13:23 +0000 (09:13 +0100)]
Fix HTML representation of multiline strings.
José Fonseca [Thu, 21 Apr 2011 07:25:26 +0000 (08:25 +0100)]
Remove unused/duplicate libraries from glretrace.
José Fonseca [Thu, 21 Apr 2011 07:24:57 +0000 (08:24 +0100)]
Put all executables into the same to level build directory.
Zack Rusin [Thu, 21 Apr 2011 04:10:20 +0000 (00:10 -0400)]
Shave about 200mb of heap by not using full filterText on filtering.
Zack Rusin [Thu, 21 Apr 2011 03:58:52 +0000 (23:58 -0400)]
Fix minor errors in the apitracemodel
Zack Rusin [Thu, 21 Apr 2011 01:21:39 +0000 (21:21 -0400)]
Add the half float format.
Zack Rusin [Wed, 20 Apr 2011 22:21:46 +0000 (18:21 -0400)]
Add various sizing enums.
Zack Rusin [Wed, 20 Apr 2011 22:21:11 +0000 (18:21 -0400)]
Various cleanups.
Clean the errors when loading a new trace and fix shortcuts.
José Fonseca [Wed, 20 Apr 2011 20:09:56 +0000 (21:09 +0100)]
Fix build on MacOSX.
José Fonseca [Wed, 20 Apr 2011 20:09:28 +0000 (21:09 +0100)]
Fix GL prototypes on MacOSX.
José Fonseca [Wed, 20 Apr 2011 20:08:17 +0000 (21:08 +0100)]
More effective prevention against including system's glext.h.
José Fonseca [Wed, 20 Apr 2011 20:05:16 +0000 (21:05 +0100)]
Print an error message when not able to open X display.
Zack Rusin [Wed, 20 Apr 2011 04:30:50 +0000 (00:30 -0400)]
Skip windowing system calls but still allow state fetching on them.
Zack Rusin [Wed, 20 Apr 2011 03:49:56 +0000 (23:49 -0400)]
Call the action "error checking" instead of "benchmarking"
the former is a lot more descriptive.
Zack Rusin [Wed, 20 Apr 2011 03:43:06 +0000 (23:43 -0400)]
Go to the selected error.
Zack Rusin [Wed, 20 Apr 2011 03:35:25 +0000 (23:35 -0400)]
Add an action to show and hide the errors dock.
Zack Rusin [Wed, 20 Apr 2011 03:09:26 +0000 (23:09 -0400)]
Large chunk of showing the replay errors.
Zack Rusin [Tue, 19 Apr 2011 20:44:46 +0000 (16:44 -0400)]
Output all warnings in the <call no>: <type>: <message> format.
Zack Rusin [Tue, 19 Apr 2011 20:44:09 +0000 (16:44 -0400)]
Handle GL_CURRENT_PROGRAM when the app gets it.
Zack Rusin [Tue, 19 Apr 2011 05:59:20 +0000 (01:59 -0400)]
more error handling changes.
Zack Rusin [Tue, 19 Apr 2011 05:33:58 +0000 (01:33 -0400)]
Large chunk of functionality to show errors.
Zack Rusin [Mon, 18 Apr 2011 22:15:14 +0000 (18:15 -0400)]
unignore png's in the resources dir
Zack Rusin [Mon, 18 Apr 2011 22:03:34 +0000 (18:03 -0400)]
Implement an edit menu.
fixes #6
Zack Rusin [Mon, 18 Apr 2011 21:04:01 +0000 (17:04 -0400)]
Merge branch 'trace-editing'
fixes #1
Zack Rusin [Mon, 18 Apr 2011 21:03:09 +0000 (17:03 -0400)]
Remove stale reference to a deleted widget.
José Fonseca [Mon, 18 Apr 2011 06:49:39 +0000 (07:49 +0100)]
Standard define for Windows is _WIN32, not WIN32.
José Fonseca [Sun, 17 Apr 2011 21:30:26 +0000 (22:30 +0100)]
Intercept dlopen("libGL.so") too
Zack Rusin [Mon, 18 Apr 2011 05:52:13 +0000 (01:52 -0400)]
Fix saving of traces with pointers.
Zack Rusin [Mon, 18 Apr 2011 05:31:48 +0000 (01:31 -0400)]
Cleanup the state after closing the trace write
Zack Rusin [Mon, 18 Apr 2011 05:05:50 +0000 (01:05 -0400)]
Lots of various cosmetic changes to the call editing.
Zack Rusin [Mon, 18 Apr 2011 04:22:50 +0000 (00:22 -0400)]
A first working version of saving :)
Zack Rusin [Mon, 18 Apr 2011 03:30:58 +0000 (23:30 -0400)]
Do some initial saving.
Zack Rusin [Mon, 18 Apr 2011 03:00:15 +0000 (23:00 -0400)]
Save the blob.
Zack Rusin [Mon, 18 Apr 2011 02:56:58 +0000 (22:56 -0400)]
Implement a bulk of trace saving.
Zack Rusin [Sun, 17 Apr 2011 22:27:28 +0000 (18:27 -0400)]
Introduce ApiEnum.
we also need the value when saving back so just a string is not enough
anymore
José Fonseca [Sun, 17 Apr 2011 21:22:00 +0000 (22:22 +0100)]
Remove unneeded include.
Zack Rusin [Sun, 17 Apr 2011 21:10:45 +0000 (17:10 -0400)]
Make sure that the trace knows when it needs saving.
Zack Rusin [Sun, 17 Apr 2011 21:09:36 +0000 (17:09 -0400)]
Add te trace_write to the trace lib
José Fonseca [Sun, 17 Apr 2011 20:49:29 +0000 (21:49 +0100)]
Determine number of channels of GL_RG.
Zack Rusin [Sun, 17 Apr 2011 06:42:07 +0000 (02:42 -0400)]
the filename is stored in the trace
Zack Rusin [Sun, 17 Apr 2011 06:34:45 +0000 (02:34 -0400)]
The trace now knows whether is has been edited.
Zack Rusin [Sun, 17 Apr 2011 05:59:16 +0000 (01:59 -0400)]
Various part now propagate the values.
Zack Rusin [Sun, 17 Apr 2011 03:14:25 +0000 (23:14 -0400)]
Set a parent trace on all the frames.
Zack Rusin [Sun, 17 Apr 2011 03:07:05 +0000 (23:07 -0400)]
Stub out revert.
Zack Rusin [Sun, 17 Apr 2011 01:52:26 +0000 (21:52 -0400)]
Further reduce memory usage by a couple of hundreds of megs.
Zack Rusin [Sat, 16 Apr 2011 19:49:39 +0000 (15:49 -0400)]
Collect the edited shaders from the shader editor.
Zack Rusin [Sat, 16 Apr 2011 15:56:19 +0000 (11:56 -0400)]
Reduce the memory usage by ~2gb on a 2.7 million calls trace
delete the parsed data from blobs and delay the creation of the static
text until the item is actually shown (i.e. don't create glyph caches
for items that will never be displayed!)
Zack Rusin [Sat, 16 Apr 2011 15:39:24 +0000 (11:39 -0400)]
delete call after parsing it.
José Fonseca [Sat, 16 Apr 2011 13:06:26 +0000 (14:06 +0100)]
Add to do note about gzflush.
José Fonseca [Sat, 16 Apr 2011 12:41:24 +0000 (13:41 +0100)]
Fix tracing of apps that use dlsym, such as OpenArena.
Zack Rusin [Sat, 16 Apr 2011 06:16:49 +0000 (02:16 -0400)]
Start collecting the edited values.
Zack Rusin [Sat, 16 Apr 2011 02:16:18 +0000 (22:16 -0400)]
Make apitracecall an actual class.
abstract the data in preparation for editing the arguments
Zack Rusin [Fri, 15 Apr 2011 23:29:45 +0000 (19:29 -0400)]
Make the editor a dialog.
José Fonseca [Fri, 15 Apr 2011 22:52:58 +0000 (23:52 +0100)]
Make Trace::Parser::version a non static member.
José Fonseca [Fri, 15 Apr 2011 22:49:16 +0000 (23:49 +0100)]
Preserve floating point precision in JSON output.
Zack Rusin [Fri, 15 Apr 2011 20:20:45 +0000 (16:20 -0400)]
Display shaders in the shader editor.
José Fonseca [Fri, 15 Apr 2011 19:49:21 +0000 (20:49 +0100)]
Avoid min/max macro collision on MSVC.
José Fonseca [Fri, 15 Apr 2011 10:18:37 +0000 (11:18 +0100)]
Handle multi texture coord arrays correctly.
They are indexed by glClientActiveTexture().
José Fonseca [Fri, 15 Apr 2011 09:26:35 +0000 (10:26 +0100)]
Move texture paramaters to JSON parameter object.
José Fonseca [Fri, 15 Apr 2011 08:34:20 +0000 (09:34 +0100)]
Rename dump -> tracedump.
Dump is a too generic name to be, for example, in /usr/bin/.
José Fonseca [Fri, 15 Apr 2011 08:27:28 +0000 (09:27 +0100)]
Fix max texture units computation.
José Fonseca [Fri, 15 Apr 2011 08:24:38 +0000 (09:24 +0100)]
Dump vertex attribs in a more GL-like manner.
Zack Rusin [Fri, 15 Apr 2011 06:18:08 +0000 (02:18 -0400)]
Make sure that only numericals can be edited right now.
Zack Rusin [Fri, 15 Apr 2011 06:00:28 +0000 (02:00 -0400)]
Custom editor for the arguments.
because we want to edit longlong's and we don't want to edit strings.
they're too fragile right now.
Zack Rusin [Fri, 15 Apr 2011 05:45:05 +0000 (01:45 -0400)]
Start working on trace editing
start with a widget to edit call arguments.
right now in a dock to make it easier to test, but eventually
will be in a dialog
José Fonseca [Thu, 14 Apr 2011 11:13:45 +0000 (12:13 +0100)]
Synchronize X and GL on windows resizes.
Michel Dänzer [Thu, 24 Feb 2011 17:20:52 +0000 (09:20 -0800)]
Use call number instead of frame number for snapshot filenames.
This will allow changing the granularity of taking snapshots while preserving
the comparability of snapshots from different runs.
José Fonseca [Wed, 13 Apr 2011 19:11:36 +0000 (20:11 +0100)]
Understand D3DFMT_RAWZ too.
José Fonseca [Wed, 13 Apr 2011 17:47:39 +0000 (18:47 +0100)]
Fix a few more arrays args in D3D9.
José Fonseca [Thu, 14 Apr 2011 08:31:23 +0000 (09:31 +0100)]
Share more code.
José Fonseca [Thu, 14 Apr 2011 08:21:15 +0000 (09:21 +0100)]
Ensure __max_vertex_attribs is initialized.
José Fonseca [Thu, 14 Apr 2011 08:12:40 +0000 (09:12 +0100)]
Best effort to show (and compare) nested state parameters.
José Fonseca [Thu, 14 Apr 2011 08:05:46 +0000 (09:05 +0100)]
Dump vertex attribute parameters.
José Fonseca [Wed, 13 Apr 2011 22:35:57 +0000 (23:35 +0100)]
Remove bogus reference entry.
José Fonseca [Wed, 13 Apr 2011 22:33:54 +0000 (23:33 +0100)]
Add links to functions documented in ARB extensions.
A few more dup entries -- not sure which ones are best to keep.
José Fonseca [Wed, 13 Apr 2011 21:51:33 +0000 (22:51 +0100)]
Ignore .json files.
Zack Rusin [Wed, 13 Apr 2011 21:26:59 +0000 (17:26 -0400)]
Add a key sequence for next and prev.
José Fonseca [Wed, 13 Apr 2011 17:19:19 +0000 (18:19 +0100)]
Dump the full set of constants on D3D.
José Fonseca [Wed, 13 Apr 2011 16:39:04 +0000 (17:39 +0100)]
Remove spurious tag in snapdiff output.
José Fonseca [Wed, 13 Apr 2011 16:37:41 +0000 (17:37 +0100)]
Accept zero valued bitmasks.
When the zero valued flag appears before the non zero valued flags.
José Fonseca [Wed, 13 Apr 2011 16:36:36 +0000 (17:36 +0100)]
Trace unofficial D3D9 formats
José Fonseca [Wed, 13 Apr 2011 14:57:15 +0000 (15:57 +0100)]
Fix snapdiff arg parsing.
José Fonseca [Wed, 13 Apr 2011 13:33:19 +0000 (14:33 +0100)]
Remove dummy *_FORCE_DWORD enums.
José Fonseca [Wed, 13 Apr 2011 12:59:00 +0000 (13:59 +0100)]
Fix array diffing.
José Fonseca [Wed, 13 Apr 2011 10:16:07 +0000 (11:16 +0100)]
Dump GL_FRAGMENT_PROGRAM_ARB bool
José Fonseca [Wed, 13 Apr 2011 10:12:20 +0000 (11:12 +0100)]
Dump ARB fragment/vertex programs too.
José Fonseca [Wed, 13 Apr 2011 09:54:19 +0000 (10:54 +0100)]
Linearize the shaders source in JSON.
GL shaders appear with all sort of topologies, which makes very hard for
the gui to handle. Instead simply provide a linearized view of the shaders
source.
The shader parameters will be passed separately.
PS: May be do this for textures too.
José Fonseca [Wed, 13 Apr 2011 09:37:13 +0000 (10:37 +0100)]
Show shader type in the combo box.
José Fonseca [Wed, 13 Apr 2011 08:22:55 +0000 (09:22 +0100)]
Abstract glGet* function inflection.
José Fonseca [Wed, 13 Apr 2011 07:34:38 +0000 (08:34 +0100)]
Rename libglxtrace.so back to glxtrace.so.
The rename was an unintentional side effect of my commit
c2d9f8a4ab2e4b555b918d47fe3313f862009e4d and the lib prefix is
misleading given the shared object is not meant to be linked against,
but always loaded via LD_PRELOAD.
Zack Rusin [Wed, 13 Apr 2011 05:56:14 +0000 (01:56 -0400)]
Add wglDescribePixelFormat to the list of extra state filters.
there's just so many wglDescribePixelFormat that it makes sense to
hide them by default.
Zack Rusin [Wed, 13 Apr 2011 05:54:00 +0000 (01:54 -0400)]
Allow closing of the goto widget with the escape key.
Zack Rusin [Wed, 13 Apr 2011 05:51:17 +0000 (01:51 -0400)]
Fix two small typos in the README.
Zack Rusin [Wed, 13 Apr 2011 05:39:43 +0000 (01:39 -0400)]
Filter text was missing the first paren.
Zack Rusin [Wed, 13 Apr 2011 05:35:03 +0000 (01:35 -0400)]
Implement state diffing.
Makes it possible to show only the parts of the state which differ
from the defaults. very neat
Zack Rusin [Wed, 13 Apr 2011 04:41:32 +0000 (00:41 -0400)]
Implement showing only of events specified by a regexp.