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.
Zack Rusin [Wed, 13 Apr 2011 03:39:13 +0000 (23:39 -0400)]
Highly optimize searching and fix a crash.
Zack Rusin [Wed, 13 Apr 2011 03:21:52 +0000 (23:21 -0400)]
Add a search widget and fix go to.
go to wasn't indexing the call indexes but the row counts, which
don't always match. also adding a nice search widget to search for
specific calls within the view.
José Fonseca [Tue, 12 Apr 2011 21:11:47 +0000 (22:11 +0100)]
Freshen the README a bit.
José Fonseca [Tue, 12 Apr 2011 20:06:23 +0000 (21:06 +0100)]
Dump some ARB_vertex_program state.
José Fonseca [Tue, 12 Apr 2011 20:01:49 +0000 (21:01 +0100)]
Script to compare traces side by side.
José Fonseca [Tue, 12 Apr 2011 20:01:33 +0000 (21:01 +0100)]
Silence warning.
José Fonseca [Tue, 12 Apr 2011 19:50:01 +0000 (20:50 +0100)]
Request stencil buffer.
José Fonseca [Tue, 12 Apr 2011 18:04:38 +0000 (19:04 +0100)]
Prevent buffer overflow when dumping depth buffers with odd widths due to unpack alignment.
José Fonseca [Tue, 12 Apr 2011 13:14:27 +0000 (14:14 +0100)]
Resize windows at glViewport time.
José Fonseca [Mon, 11 Apr 2011 20:01:07 +0000 (21:01 +0100)]
MSVC portability fixes.
José Fonseca [Tue, 12 Apr 2011 09:59:52 +0000 (10:59 +0100)]
Remove __encoding__.
Always base64.
José Fonseca [Tue, 12 Apr 2011 08:17:32 +0000 (09:17 +0100)]
Prototype state differencing.
José Fonseca [Tue, 12 Apr 2011 08:17:02 +0000 (09:17 +0100)]
Move scripts into a sepearate dir, to distinguish for code generation ones.
José Fonseca [Tue, 12 Apr 2011 07:28:45 +0000 (08:28 +0100)]
Dump stencil buffer too.
Zack Rusin [Tue, 12 Apr 2011 03:35:02 +0000 (23:35 -0400)]
Add a very nice glsl editor code.
port of Ariya's bsd licensed javascript editor to glsl.
Zack Rusin [Tue, 12 Apr 2011 01:30:04 +0000 (21:30 -0400)]
Respect the double buffered option when looking up the state.
Zack Rusin [Tue, 12 Apr 2011 00:39:50 +0000 (20:39 -0400)]
Expand surface items if there's not too many of them.
José Fonseca [Mon, 11 Apr 2011 08:19:42 +0000 (09:19 +0100)]
Support GL_ARB_shading_language_include,
José Fonseca [Mon, 11 Apr 2011 08:10:55 +0000 (09:10 +0100)]
Support GL_ARB_sync.
José Fonseca [Mon, 11 Apr 2011 08:09:30 +0000 (09:09 +0100)]
Put GL errors in a separate enum.
José Fonseca [Mon, 11 Apr 2011 08:08:20 +0000 (09:08 +0100)]
s/GLenum_/GLenum_int/g
Zack Rusin [Mon, 11 Apr 2011 06:24:19 +0000 (02:24 -0400)]
Add an .emacs-dirvars file.