]>
git.notmuchmail.org Git - apitrace/log
José Fonseca [Sat, 3 Nov 2012 10:13:17 +0000 (10:13 +0000)]
Cleanup shadow buffers.
- More defensive code.
- Use _glFoo instead of glFoo to avoid nested calls in the trace
- Handle glMapBufferOES/UnmapBufferOES too.
Imre Deak [Tue, 24 Apr 2012 11:06:48 +0000 (14:06 +0300)]
gles: track gl buffer contents in a shadow buffer
This is needed since GLES/GLES2 don't support either glGetBufferSubData
or glMapBufferOES. At the moment apitrace is only interested in
GL_ELEMENT_ARRAY_BUFFER contents so don't track buffers of other types.
Signed-off-by: Imre Deak <imre.deak@intel.com>
José Fonseca [Tue, 30 Oct 2012 15:54:04 +0000 (15:54 +0000)]
Support grayscale PNM in retracediff.py
José Fonseca [Tue, 30 Oct 2012 15:05:46 +0000 (15:05 +0000)]
Fix QJSON linkage on Windows builds.
Re-add the empy QJSON_EXPORT define, but this time ensure it is defined
when compiling qapitrace as well.
José Fonseca [Tue, 30 Oct 2012 10:57:28 +0000 (10:57 +0000)]
Update documentation for D3DPERF_XXX
José Fonseca [Tue, 30 Oct 2012 10:51:39 +0000 (10:51 +0000)]
Mention EGL cases on readme.
José Fonseca [Sun, 28 Oct 2012 10:48:22 +0000 (10:48 +0000)]
Print a clear message when X11 is not found (to help debug issue #99)
José Fonseca [Sat, 27 Oct 2012 16:54:58 +0000 (17:54 +0100)]
Dump depth textures as a single image (issue #97).
Not ideal, but better than nothing until we replace PNG by something
else.
José Fonseca [Sat, 27 Oct 2012 16:53:49 +0000 (17:53 +0100)]
Dump symbolic aliases for internalFormats 1..4.
José Fonseca [Sat, 27 Oct 2012 14:57:41 +0000 (15:57 +0100)]
Don't mess with QJSON_EXPORT
José Fonseca [Sat, 27 Oct 2012 12:59:42 +0000 (13:59 +0100)]
Dump thread ids on retrace.
José Fonseca [Sat, 27 Oct 2012 12:42:17 +0000 (13:42 +0100)]
Cleanup and comment the code.
José Fonseca [Sat, 27 Oct 2012 11:31:59 +0000 (12:31 +0100)]
Merge branch 'master' into mt-trace
José Fonseca [Sat, 27 Oct 2012 11:30:20 +0000 (12:30 +0100)]
Don't destroy current EGL context.
José Fonseca [Sat, 27 Oct 2012 09:13:58 +0000 (10:13 +0100)]
Always use bundled QJson.
In order to support NaN/Infite.
José Fonseca [Sat, 27 Oct 2012 09:13:08 +0000 (10:13 +0100)]
Update bundled QJson
To upstream commit
11e743c61e18e49d77c94e9568ccb6f0c2b4f0ac .
José Fonseca [Fri, 26 Oct 2012 22:45:35 +0000 (23:45 +0100)]
Allow NaN, Infinity in JSON.
Non-standard but widely support (json.py, qjson)
José Fonseca [Fri, 26 Oct 2012 17:13:10 +0000 (18:13 +0100)]
More efficient synchronous multi-threading.
Mimic a relay race, where only one thread is running at one time.
This gracefully degrades to the old behavior for single-threaded traces,
and is faster for multi-threaded traces, while still ensuring that the
recorded order is preserved.
José Fonseca [Fri, 26 Oct 2012 12:45:59 +0000 (13:45 +0100)]
Dump GL_TEXTURE_STENCIL_SIZE state.
José Fonseca [Fri, 26 Oct 2012 12:45:59 +0000 (13:45 +0100)]
Dump GL_TEXTURE_STENCIL_SIZE state.
José Fonseca [Thu, 25 Oct 2012 12:35:58 +0000 (13:35 +0100)]
Don't let android cmake toolchain screw up the binary output path.
José Fonseca [Thu, 25 Oct 2012 11:28:32 +0000 (12:28 +0100)]
Merge remote-tracking branch 'github/master' into mt-trace
Conflicts:
retrace/glws_cocoa.mm
wrappers/gltrace_state.cpp
José Fonseca [Thu, 25 Oct 2012 11:17:39 +0000 (12:17 +0100)]
Disassemble D3D10.1 shaders too.
José Fonseca [Wed, 24 Oct 2012 18:47:02 +0000 (19:47 +0100)]
Ignore CGLUpdateContext
José Fonseca [Wed, 24 Oct 2012 15:41:53 +0000 (16:41 +0100)]
Silence glXGetFBConfigAttrib calls.
José Fonseca [Wed, 24 Oct 2012 13:04:35 +0000 (14:04 +0100)]
Remove supurious struct keyword.
José Fonseca [Wed, 24 Oct 2012 12:47:43 +0000 (13:47 +0100)]
Keep the view pointer in the drawable.
José Fonseca [Wed, 24 Oct 2012 12:34:27 +0000 (13:34 +0100)]
Don't dump ignored functions when retracing.
José Fonseca [Wed, 24 Oct 2012 12:34:03 +0000 (13:34 +0100)]
Ignore OpenGL core 3.2 requirement on Windows.
Better than aborting, until it is supported.
José Fonseca [Wed, 24 Oct 2012 11:30:46 +0000 (12:30 +0100)]
Handle visual creation errors.
José Fonseca [Tue, 23 Oct 2012 19:16:04 +0000 (20:16 +0100)]
Fix creation of shared WGL contexts.
José Fonseca [Mon, 22 Oct 2012 17:55:52 +0000 (18:55 +0100)]
Don't show pbuffers in windows.
They are often very numerous, making it hard to see the final rendering.
José Fonseca [Fri, 19 Oct 2012 17:43:46 +0000 (18:43 +0100)]
Be nice to Eclipse error message parser.
José Fonseca [Thu, 25 Oct 2012 11:17:39 +0000 (12:17 +0100)]
Disassemble D3D10.1 shaders too.
José Fonseca [Wed, 24 Oct 2012 19:04:54 +0000 (20:04 +0100)]
Make code more robust against multiply bound CGL contexts.
As it is allowed by the CGL API.
José Fonseca [Wed, 24 Oct 2012 18:47:02 +0000 (19:47 +0100)]
Ignore CGLUpdateContext
José Fonseca [Wed, 24 Oct 2012 15:48:55 +0000 (16:48 +0100)]
Use compiler TLS for GL tracing.
José Fonseca [Wed, 24 Oct 2012 15:45:53 +0000 (16:45 +0100)]
Use compiler TLS for thread_id tracking.
José Fonseca [Wed, 24 Oct 2012 15:42:22 +0000 (16:42 +0100)]
Fix current context tracking.
José Fonseca [Wed, 24 Oct 2012 15:41:53 +0000 (16:41 +0100)]
Silence glXGetFBConfigAttrib calls.
José Fonseca [Wed, 24 Oct 2012 13:58:26 +0000 (14:58 +0100)]
Use compiler TLS support.
Seems to work OK everywhere, provided one uses recent compiler versions.
José Fonseca [Wed, 24 Oct 2012 13:05:08 +0000 (14:05 +0100)]
Fix compilation with clang.
José Fonseca [Wed, 24 Oct 2012 13:04:35 +0000 (14:04 +0100)]
Remove supurious struct keyword.
José Fonseca [Wed, 24 Oct 2012 12:57:02 +0000 (13:57 +0100)]
Force Cocoa to enter multithreaded mode.
José Fonseca [Wed, 24 Oct 2012 12:47:43 +0000 (13:47 +0100)]
Keep the view pointer in the drawable.
José Fonseca [Wed, 24 Oct 2012 12:46:46 +0000 (13:46 +0100)]
Ensure each thread has its own NSAutoreleasePool.
José Fonseca [Wed, 24 Oct 2012 12:43:18 +0000 (13:43 +0100)]
Remove unnecessary header.
José Fonseca [Wed, 24 Oct 2012 12:43:06 +0000 (13:43 +0100)]
Prefer clang on MacOSX.
For __thread support.
José Fonseca [Wed, 24 Oct 2012 13:01:49 +0000 (14:01 +0100)]
Don't parse concurrently with retracing.
There are race conditions.
José Fonseca [Wed, 24 Oct 2012 12:34:48 +0000 (13:34 +0100)]
Call XInitThreads.
José Fonseca [Wed, 24 Oct 2012 12:34:27 +0000 (13:34 +0100)]
Don't dump ignored functions when retracing.
José Fonseca [Wed, 24 Oct 2012 12:34:03 +0000 (13:34 +0100)]
Ignore OpenGL core 3.2 requirement on Windows.
Better than aborting, until it is supported.
José Fonseca [Wed, 24 Oct 2012 11:30:46 +0000 (12:30 +0100)]
Handle visual creation errors.
José Fonseca [Fri, 19 Oct 2012 18:23:20 +0000 (19:23 +0100)]
Simplify TLS.
José Fonseca [Tue, 23 Oct 2012 19:16:04 +0000 (20:16 +0100)]
Fix creation of shared WGL contexts.
José Fonseca [Tue, 23 Oct 2012 19:15:36 +0000 (20:15 +0100)]
Implement missing threading primitive for Windows.
José Fonseca [Tue, 23 Oct 2012 18:28:31 +0000 (19:28 +0100)]
Implement and use os::thread.
José Fonseca [Tue, 23 Oct 2012 08:30:43 +0000 (09:30 +0100)]
Attempt to track pages via http://githalytics.com/
See also http://stackoverflow.com/questions/
4376560 /add-google-analytics-to-github-wiki-pages
José Fonseca [Tue, 23 Oct 2012 08:29:26 +0000 (09:29 +0100)]
Remove links from README.
Content now in http://apitrace.github.com
José Fonseca [Mon, 22 Oct 2012 18:51:00 +0000 (19:51 +0100)]
Condition variable abstraction.
José Fonseca [Mon, 22 Oct 2012 18:14:27 +0000 (19:14 +0100)]
Add and use os::mutex.
José Fonseca [Mon, 22 Oct 2012 17:55:52 +0000 (18:55 +0100)]
Don't show pbuffers in windows.
They are often very numerous, making it hard to see the final rendering.
José Fonseca [Sun, 21 Oct 2012 10:08:36 +0000 (11:08 +0100)]
Link to homepage.
Imre Deak [Tue, 15 May 2012 08:04:06 +0000 (11:04 +0300)]
mt retrace: add support for multi-threaded playback
Signed-off-by: Imre Deak <imre.deak@intel.com>
Imre Deak [Tue, 15 May 2012 08:04:06 +0000 (11:04 +0300)]
mt retrace: add workqueue support
Signed-off-by: Imre Deak <imre.deak@intel.com>
Imre Deak [Wed, 16 May 2012 11:19:59 +0000 (14:19 +0300)]
don't call glGetError if there is no active context
Signed-off-by: Imre Deak <imre.deak@intel.com>
José Fonseca [Fri, 19 Oct 2012 17:43:46 +0000 (18:43 +0100)]
Be nice to Eclipse error message parser.
José Fonseca [Fri, 19 Oct 2012 17:42:41 +0000 (18:42 +0100)]
glretrace: Put currentContext on TLS.
Inspired on Imre's similar change.
José Fonseca [Fri, 19 Oct 2012 16:34:30 +0000 (17:34 +0100)]
Kill currentDrawable.
Use currentContext->drawable instead.
José Fonseca [Fri, 19 Oct 2012 15:38:22 +0000 (16:38 +0100)]
Fix CGLChoosePixelFormat attribute parsing.
José Fonseca [Fri, 19 Oct 2012 14:39:49 +0000 (15:39 +0100)]
Determine core32 from the traces.
José Fonseca [Fri, 19 Oct 2012 13:51:48 +0000 (14:51 +0100)]
Fix array swizzling.
José Fonseca [Fri, 19 Oct 2012 13:27:48 +0000 (14:27 +0100)]
Handle GL_ARB_vertex_array_bgra better.
Size can be a symbolic constant GL_BGRA, instead of a numeric value.
José Fonseca [Fri, 19 Oct 2012 13:25:42 +0000 (14:25 +0100)]
Handle nested glErrors.
José Fonseca [Fri, 19 Oct 2012 12:43:00 +0000 (13:43 +0100)]
Make glretrace trace-friendly.
Useful to debug glretrace with apitrace itself.
José Fonseca [Thu, 18 Oct 2012 14:22:41 +0000 (15:22 +0100)]
Check extensions via glGetStringi() on core profile.
Fixes segfault on MacOSX, given that glGetString() returns NULL there.
José Fonseca [Thu, 18 Oct 2012 14:13:19 +0000 (15:13 +0100)]
Swizzle fence names.
José Fonseca [Thu, 18 Oct 2012 12:25:45 +0000 (13:25 +0100)]
Improvement LD_LIBRARY_PATH explanation.
José Fonseca [Wed, 17 Oct 2012 15:23:29 +0000 (16:23 +0100)]
Fix CGL call ordering in flag table.
oops...
José Fonseca [Wed, 17 Oct 2012 11:19:36 +0000 (12:19 +0100)]
Better instructions for 32-bits cross build (issue #98)
José Fonseca [Tue, 16 Oct 2012 16:35:18 +0000 (17:35 +0100)]
Disabled code to use Apple software renderer.
José Fonseca [Tue, 16 Oct 2012 15:32:20 +0000 (16:32 +0100)]
Hide CGLGetCurrentContext calls
José Fonseca [Tue, 16 Oct 2012 15:24:35 +0000 (16:24 +0100)]
Fix GraphView member initialization order to silence gcc warning.
José Fonseca [Tue, 16 Oct 2012 15:12:27 +0000 (16:12 +0100)]
Swizzle array objects of GL_APPLE_vertex_array_object
José Fonseca [Tue, 16 Oct 2012 11:30:57 +0000 (12:30 +0100)]
Ignore CGLChoose/DestroyPixelFormat calls.
José Fonseca [Tue, 16 Oct 2012 11:30:36 +0000 (12:30 +0100)]
Minimal implementation of CGLTexImageIOSurface2D.
José Fonseca [Wed, 3 Oct 2012 14:55:51 +0000 (15:55 +0100)]
Minimal implementation of CGLCreateContext/CGLDestroyContext.
Doesn't change much in practice, other than avoiding spurious warnings.
José Fonseca [Tue, 16 Oct 2012 09:17:13 +0000 (10:17 +0100)]
Don't link glxtrace against Xlib. It is unnecessary.
José Fonseca [Sat, 13 Oct 2012 08:48:37 +0000 (09:48 +0100)]
Mention AMD CodeXL.
José Fonseca [Sat, 13 Oct 2012 08:27:07 +0000 (09:27 +0100)]
retrace: Sleep when polling for input.
As Carl Worth identified, if the user passed the "-w" option to beable
to see the last frame of the retrace, the glretrace would enter a
busy-waiting loop, consuming as much CPU as possible.
José Fonseca [Sat, 13 Oct 2012 08:33:04 +0000 (09:33 +0100)]
retrace: Exit when Escape key is pressed on X.
Match Windows behavior.
José Fonseca [Sat, 13 Oct 2012 08:26:17 +0000 (09:26 +0100)]
retrace: ignore glXGetSwapIntervalMESA.
José Fonseca [Thu, 11 Oct 2012 14:20:15 +0000 (15:20 +0100)]
Be clearer with the Qt requirements.
José Fonseca [Wed, 10 Oct 2012 15:23:25 +0000 (16:23 +0100)]
Add a few more assertions.
Carl Worth [Fri, 24 Aug 2012 20:54:04 +0000 (13:54 -0700)]
retrace: Fix off-by-one error in detection of intersecting regions.
The upperBound functions returns the first region beyond the region
containing the given address. So, to correctly use it here, we must
give it the last valid address of the current range, which is just
less than (address + size).
Signed-off-by: José Fonseca <jose.r.fonseca@gmail.com>
Carl Worth [Sun, 12 Aug 2012 23:44:34 +0000 (16:44 -0700)]
os_posix: Print complete, attempted command line when execute() fails
Previously, only argv[0] was printed which did not provide much
information to the user about why the command might have
failed. Printing the entire command line allows the user to more
easily investigate the problem.
Signed-off-by: José Fonseca <jose.r.fonseca@gmail.com>
Carl Worth [Mon, 13 Aug 2012 20:24:03 +0000 (13:24 -0700)]
diff: Don't use colorized line-format options when not on a tty
The color output is convenient when manually looking at the
output. But when saving output to a file, (for example, for use in the
test suite), it's useful to have a much more minimal output.
José Fonseca [Fri, 5 Oct 2012 19:56:05 +0000 (20:56 +0100)]
Fix unpickle script help.
José Fonseca [Fri, 5 Oct 2012 19:55:43 +0000 (20:55 +0100)]
Fix diffing between blobs and null.
José Fonseca [Fri, 5 Oct 2012 19:55:28 +0000 (20:55 +0100)]
Fix pickling of long integers.
shifting more than the number of bits in the type yields undefined results.