José Fonseca [Thu, 5 May 2011 06:55:54 +0000 (07:55 +0100)]
Move OS-specific retracing functions to separate files.
José Fonseca [Thu, 5 May 2011 00:13:04 +0000 (01:13 +0100)]
Don't checkt GL error on memcpy.
José Fonseca [Thu, 5 May 2011 00:08:00 +0000 (01:08 +0100)]
More unknown call warning code to its own function.
José Fonseca [Wed, 4 May 2011 23:54:04 +0000 (00:54 +0100)]
Make retrace_call void()
José Fonseca [Wed, 4 May 2011 23:31:01 +0000 (00:31 +0100)]
Move glFlush specific code to the retrace function.
zackr [Wed, 4 May 2011 21:23:20 +0000 (14:23 -0700)]
Merge pull request #17 from mysticbob/master
minor warning fix
Bob Kuehne [Wed, 4 May 2011 12:58:44 +0000 (08:58 -0400)]
quiet clang warning about mismatched types
José Fonseca [Wed, 4 May 2011 10:09:08 +0000 (11:09 +0100)]
Cleanup arrays pointer handling code.
José Fonseca [Wed, 4 May 2011 09:31:54 +0000 (10:31 +0100)]
Minor updates to some functions.
José Fonseca [Wed, 4 May 2011 09:15:52 +0000 (10:15 +0100)]
Cleanup apigen dir.
José Fonseca [Wed, 4 May 2011 08:51:53 +0000 (09:51 +0100)]
Remove dead code.
José Fonseca [Wed, 4 May 2011 08:41:55 +0000 (09:41 +0100)]
Unify glenum.py and glstate.py parameter table into a single one.
José Fonseca [Wed, 4 May 2011 08:27:22 +0000 (09:27 +0100)]
Update gitignore.
José Fonseca [Sat, 30 Apr 2011 22:41:28 +0000 (23:41 +0100)]
More gl parameter cleanup.
José Fonseca [Sat, 30 Apr 2011 22:09:03 +0000 (23:09 +0100)]
Handle EXT_vertex_arrays and EXT_draw_range_elements.
Untested, but should work.
José Fonseca [Sat, 30 Apr 2011 21:44:38 +0000 (22:44 +0100)]
Use glstate.py parameter table for determining parameter sizes.
One table to rule them all.
Extra care to not miss out suported cases and introduce regressions, but
did only limited testing.
José Fonseca [Sat, 30 Apr 2011 21:37:15 +0000 (22:37 +0100)]
Fix whitespace.
José Fonseca [Sat, 30 Apr 2011 21:36:58 +0000 (22:36 +0100)]
More state dump cleanup.
José Fonseca [Sat, 30 Apr 2011 19:36:55 +0000 (20:36 +0100)]
Update to-do.
José Fonseca [Sat, 30 Apr 2011 07:17:02 +0000 (08:17 +0100)]
Dump arb program parameters.
José Fonseca [Fri, 29 Apr 2011 23:15:24 +0000 (00:15 +0100)]
Dump more program states.
José Fonseca [Fri, 29 Apr 2011 12:46:25 +0000 (13:46 +0100)]
Describe more state.
José Fonseca [Fri, 29 Apr 2011 11:25:39 +0000 (12:25 +0100)]
Classify more parameters.
José Fonseca [Fri, 29 Apr 2011 09:47:12 +0000 (10:47 +0100)]
Recognize more pixel formats.
José Fonseca [Fri, 29 Apr 2011 09:08:32 +0000 (10:08 +0100)]
Fix build on Mingw-w64.
José Fonseca [Fri, 29 Apr 2011 09:08:13 +0000 (10:08 +0100)]
Recognize more D3D9 enums/flags.
Zack Rusin [Fri, 29 Apr 2011 06:46:08 +0000 (02:46 -0400)]
Update FindQJSON.cmake to the latest version.
fixes #12
Zack Rusin [Fri, 29 Apr 2011 05:22:59 +0000 (01:22 -0400)]
Don't overflow the max index when the app isn't rendering anything.
fixes #16
zackr [Fri, 29 Apr 2011 00:14:12 +0000 (17:14 -0700)]
Merged pull request #13 from putsman/patch-1.
Fix bits_per_pixel for 5_6_5 in __glTexImage3D_size()
José Fonseca [Thu, 28 Apr 2011 19:31:55 +0000 (20:31 +0100)]
Allow to resize the window to be larger than the desktop.
José Fonseca [Thu, 28 Apr 2011 17:49:19 +0000 (18:49 +0100)]
Fix replay on MSVC.
José Fonseca [Thu, 28 Apr 2011 12:03:25 +0000 (13:03 +0100)]
Fix opengl32.dll output directory too.
putsman [Thu, 28 Apr 2011 10:11:10 +0000 (03:11 -0700)]
Fix bits_per_pixel for 5_6_5
José Fonseca [Thu, 28 Apr 2011 08:04:53 +0000 (09:04 +0100)]
Fix .dll output directory.
José Fonseca [Thu, 28 Apr 2011 07:56:23 +0000 (08:56 +0100)]
Re-add d3d8 support.
José Fonseca [Thu, 28 Apr 2011 07:48:20 +0000 (08:48 +0100)]
Dump D3D9 shaders as text, as done previously.
José Fonseca [Tue, 26 Apr 2011 22:12:36 +0000 (23:12 +0100)]
Describe glretrace -db and --help options; and how to start the GUI.
Zack Rusin [Thu, 28 Apr 2011 03:48:16 +0000 (23:48 -0400)]
Don't hide the state dock while looking up the defaults.
Zack Rusin [Thu, 28 Apr 2011 01:33:57 +0000 (21:33 -0400)]
Don't clear the trace when the file selection has been cancelled.
Zack Rusin [Wed, 27 Apr 2011 14:18:31 +0000 (10:18 -0400)]
Add GL_ANY_SAMPLES_PASSED from occ_query2 to the list of enums.
Zack Rusin [Wed, 27 Apr 2011 14:07:37 +0000 (10:07 -0400)]
Get occlusion query getters reference the corrent size function.
Zack Rusin [Wed, 27 Apr 2011 03:03:42 +0000 (23:03 -0400)]
Show the size of binary data uploaded in a frame.
By default only mark frames that make the gpu download more than 1MB
in the listview, for all others just show the size in the tooltip.
Zack Rusin [Wed, 27 Apr 2011 02:30:25 +0000 (22:30 -0400)]
Cleanup the ApiTraceFrame a bit.
in preparation for figuring out the amount of data downloaded by the gpu
in a frame.
José Fonseca [Tue, 26 Apr 2011 07:50:32 +0000 (08:50 +0100)]
Dump symbolic names in glTexEnv/Gen/Parameter and similar functions.
Zack Rusin [Tue, 26 Apr 2011 00:50:39 +0000 (20:50 -0400)]
Fix glCompressed*Image*DARB tracing/retracing
hopefully Jose's aliases branch will fix it for good, but right now
glCompressed*Image*D were fine but glCompressed*Image*D versions were
broken, this makes both work.
José Fonseca [Mon, 25 Apr 2011 21:22:03 +0000 (22:22 +0100)]
More state: texenv.
José Fonseca [Mon, 25 Apr 2011 20:02:16 +0000 (21:02 +0100)]
Dump more state: lights, materials.
José Fonseca [Sun, 24 Apr 2011 19:53:38 +0000 (20:53 +0100)]
Remove dead hidden variable.
Zack Rusin [Mon, 25 Apr 2011 20:47:21 +0000 (16:47 -0400)]
Detect the binary data at the construction.
Zack Rusin [Mon, 25 Apr 2011 04:05:48 +0000 (00:05 -0400)]
Encode the snapshots as png's.
Saves between 2x and 1000x of space when passing them to the gui.
It's also a huge performance win because the json parser needs to
parse between 2x and 1000x less data.
Zack Rusin [Sun, 24 Apr 2011 23:28:24 +0000 (19:28 -0400)]
Specify the Qt version which we require.
Zack Rusin [Sun, 24 Apr 2011 22:05:27 +0000 (18:05 -0400)]
Plug 2 more memory leaks in the gui.
Zack Rusin [Sun, 24 Apr 2011 22:00:11 +0000 (18:00 -0400)]
The Value from the enum signature was leaking.
Zack Rusin [Sun, 24 Apr 2011 21:47:34 +0000 (17:47 -0400)]
Plugging some memory leaks
Zack Rusin [Sun, 24 Apr 2011 19:54:33 +0000 (15:54 -0400)]
Don't generate the search string on thousands of hidden calls.
ApiTraceCall::filterText genrates a string composed of the name plus
all the arguments to use when searching, but thousands of calls are
hidden by our default filter model which means that we were generating
megs of strings data without ever using them. the patch fixes that
Zack Rusin [Sun, 24 Apr 2011 15:22:55 +0000 (11:22 -0400)]
Add another enum.
José Fonseca [Sun, 24 Apr 2011 11:25:43 +0000 (12:25 +0100)]
comment about memcpy prototype
José Fonseca [Sun, 24 Apr 2011 10:58:04 +0000 (11:58 +0100)]
Basic MapBuffer/MapBufferRange trace/retrace support.
Not thread-safe; but not much else is either ATM.
José Fonseca [Sun, 24 Apr 2011 09:08:22 +0000 (10:08 +0100)]
Avoid time consuming user array checks when they have never been used before.
Zack Rusin [Sat, 23 Apr 2011 21:16:34 +0000 (17:16 -0400)]
Show the call for which the surface we're displaying.
José Fonseca [Sat, 23 Apr 2011 10:26:46 +0000 (11:26 +0100)]
Fix MacOSX build.
José Fonseca [Sat, 23 Apr 2011 09:46:21 +0000 (10:46 +0100)]
Provide an alternative tracing mechanism based on LD_LIBRARY_PATH.
Still a bit flaky because everybody, even DRI drivers, are trying to
dlopen("libGL.so").
José Fonseca [Sat, 23 Apr 2011 08:40:42 +0000 (09:40 +0100)]
Describe how to build the 32bit version of the wrapper.
José Fonseca [Fri, 22 Apr 2011 21:59:07 +0000 (22:59 +0100)]
Add a few more extensions to glapi.py
José Fonseca [Fri, 22 Apr 2011 21:58:51 +0000 (22:58 +0100)]
Force internal symbol relocations to be solved internally.
José Fonseca [Fri, 22 Apr 2011 11:34:22 +0000 (12:34 +0100)]
s/TRACE_PATH/TRACE_FILE/
As "PATH" usually suggested search paths.
Zack Rusin [Sat, 23 Apr 2011 06:30:29 +0000 (02:30 -0400)]
Size the image widget more reasonably.
Zack Rusin [Sat, 23 Apr 2011 05:41:13 +0000 (01:41 -0400)]
Allow opening multiple images.
makes it trivial to spot differences in buffers/textures
Zack Rusin [Sat, 23 Apr 2011 01:54:17 +0000 (21:54 -0400)]
Quick hack to downsample multisampled framebuffers.
readpixels doesn't work with multisampled buffers so lets create
a duplicate non-multisampled fbo, blit the contents of the currently
bound fbo and read that.
José Fonseca [Fri, 22 Apr 2011 09:40:25 +0000 (10:40 +0100)]
Use -fvidibility=hidden to restrict dynamic symbols.
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.