]> git.cworth.org Git - apitrace/log
apitrace
11 years agoMerge branch 'master' into mt-trace
José Fonseca [Sat, 27 Oct 2012 11:31:59 +0000 (12:31 +0100)]
Merge branch 'master' into mt-trace

11 years agoDon't destroy current EGL context.
José Fonseca [Sat, 27 Oct 2012 11:30:20 +0000 (12:30 +0100)]
Don't destroy current EGL context.

11 years agoAlways use bundled QJson.
José Fonseca [Sat, 27 Oct 2012 09:13:58 +0000 (10:13 +0100)]
Always use bundled QJson.

In order to support NaN/Infite.

11 years agoUpdate bundled QJson
José Fonseca [Sat, 27 Oct 2012 09:13:08 +0000 (10:13 +0100)]
Update bundled QJson

To upstream commit 11e743c61e18e49d77c94e9568ccb6f0c2b4f0ac.

11 years agoAllow NaN, Infinity in JSON.
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)

11 years agoMore efficient synchronous multi-threading.
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.

11 years agoDump GL_TEXTURE_STENCIL_SIZE state.
José Fonseca [Fri, 26 Oct 2012 12:45:59 +0000 (13:45 +0100)]
Dump GL_TEXTURE_STENCIL_SIZE state.

11 years agoDump GL_TEXTURE_STENCIL_SIZE state.
José Fonseca [Fri, 26 Oct 2012 12:45:59 +0000 (13:45 +0100)]
Dump GL_TEXTURE_STENCIL_SIZE state.

11 years agoDon't let android cmake toolchain screw up the binary output path.
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.

11 years agoMerge remote-tracking branch 'github/master' into mt-trace
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

11 years agoDisassemble D3D10.1 shaders too.
José Fonseca [Thu, 25 Oct 2012 11:17:39 +0000 (12:17 +0100)]
Disassemble D3D10.1 shaders too.

11 years agoIgnore CGLUpdateContext
José Fonseca [Wed, 24 Oct 2012 18:47:02 +0000 (19:47 +0100)]
Ignore CGLUpdateContext

11 years agoSilence glXGetFBConfigAttrib calls.
José Fonseca [Wed, 24 Oct 2012 15:41:53 +0000 (16:41 +0100)]
Silence glXGetFBConfigAttrib calls.

11 years agoRemove supurious struct keyword.
José Fonseca [Wed, 24 Oct 2012 13:04:35 +0000 (14:04 +0100)]
Remove supurious struct keyword.

11 years agoKeep the view pointer in the drawable.
José Fonseca [Wed, 24 Oct 2012 12:47:43 +0000 (13:47 +0100)]
Keep the view pointer in the drawable.

11 years agoDon't dump ignored functions when retracing.
José Fonseca [Wed, 24 Oct 2012 12:34:27 +0000 (13:34 +0100)]
Don't dump ignored functions when retracing.

11 years agoIgnore OpenGL core 3.2 requirement on Windows.
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.

11 years agoHandle visual creation errors.
José Fonseca [Wed, 24 Oct 2012 11:30:46 +0000 (12:30 +0100)]
Handle visual creation errors.

11 years agoFix creation of shared WGL contexts.
José Fonseca [Tue, 23 Oct 2012 19:16:04 +0000 (20:16 +0100)]
Fix creation of shared WGL contexts.

11 years agoDon't show pbuffers in windows.
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.

11 years agoBe nice to Eclipse error message parser.
José Fonseca [Fri, 19 Oct 2012 17:43:46 +0000 (18:43 +0100)]
Be nice to Eclipse error message parser.

11 years agoDisassemble D3D10.1 shaders too.
José Fonseca [Thu, 25 Oct 2012 11:17:39 +0000 (12:17 +0100)]
Disassemble D3D10.1 shaders too.

11 years agoMake code more robust against multiply bound CGL contexts.
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.

11 years agoIgnore CGLUpdateContext
José Fonseca [Wed, 24 Oct 2012 18:47:02 +0000 (19:47 +0100)]
Ignore CGLUpdateContext

11 years agoUse compiler TLS for GL tracing.
José Fonseca [Wed, 24 Oct 2012 15:48:55 +0000 (16:48 +0100)]
Use compiler TLS for GL tracing.

11 years agoUse compiler TLS for thread_id tracking.
José Fonseca [Wed, 24 Oct 2012 15:45:53 +0000 (16:45 +0100)]
Use compiler TLS for thread_id tracking.

11 years agoFix current context tracking.
José Fonseca [Wed, 24 Oct 2012 15:42:22 +0000 (16:42 +0100)]
Fix current context tracking.

11 years agoSilence glXGetFBConfigAttrib calls.
José Fonseca [Wed, 24 Oct 2012 15:41:53 +0000 (16:41 +0100)]
Silence glXGetFBConfigAttrib calls.

11 years agoUse compiler TLS support.
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.

11 years agoFix compilation with clang.
José Fonseca [Wed, 24 Oct 2012 13:05:08 +0000 (14:05 +0100)]
Fix compilation with clang.

11 years agoRemove supurious struct keyword.
José Fonseca [Wed, 24 Oct 2012 13:04:35 +0000 (14:04 +0100)]
Remove supurious struct keyword.

11 years agoForce Cocoa to enter multithreaded mode.
José Fonseca [Wed, 24 Oct 2012 12:57:02 +0000 (13:57 +0100)]
Force Cocoa to enter multithreaded mode.

11 years agoKeep the view pointer in the drawable.
José Fonseca [Wed, 24 Oct 2012 12:47:43 +0000 (13:47 +0100)]
Keep the view pointer in the drawable.

11 years agoEnsure each thread has its own NSAutoreleasePool.
José Fonseca [Wed, 24 Oct 2012 12:46:46 +0000 (13:46 +0100)]
Ensure each thread has its own NSAutoreleasePool.

11 years agoRemove unnecessary header.
José Fonseca [Wed, 24 Oct 2012 12:43:18 +0000 (13:43 +0100)]
Remove unnecessary header.

11 years agoPrefer clang on MacOSX.
José Fonseca [Wed, 24 Oct 2012 12:43:06 +0000 (13:43 +0100)]
Prefer clang on MacOSX.

For __thread support.

11 years agoDon't parse concurrently with retracing.
José Fonseca [Wed, 24 Oct 2012 13:01:49 +0000 (14:01 +0100)]
Don't parse concurrently with retracing.

There are race conditions.

11 years agoCall XInitThreads.
José Fonseca [Wed, 24 Oct 2012 12:34:48 +0000 (13:34 +0100)]
Call XInitThreads.

11 years agoDon't dump ignored functions when retracing.
José Fonseca [Wed, 24 Oct 2012 12:34:27 +0000 (13:34 +0100)]
Don't dump ignored functions when retracing.

11 years agoIgnore OpenGL core 3.2 requirement on Windows.
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.

11 years agoHandle visual creation errors.
José Fonseca [Wed, 24 Oct 2012 11:30:46 +0000 (12:30 +0100)]
Handle visual creation errors.

11 years agoSimplify TLS.
José Fonseca [Fri, 19 Oct 2012 18:23:20 +0000 (19:23 +0100)]
Simplify TLS.

11 years agoFix creation of shared WGL contexts.
José Fonseca [Tue, 23 Oct 2012 19:16:04 +0000 (20:16 +0100)]
Fix creation of shared WGL contexts.

11 years agoImplement missing threading primitive for Windows.
José Fonseca [Tue, 23 Oct 2012 19:15:36 +0000 (20:15 +0100)]
Implement missing threading primitive for Windows.

11 years agoImplement and use os::thread.
José Fonseca [Tue, 23 Oct 2012 18:28:31 +0000 (19:28 +0100)]
Implement and use os::thread.

11 years agoAttempt to track pages via http://githalytics.com/
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

11 years agoRemove links from README.
José Fonseca [Tue, 23 Oct 2012 08:29:26 +0000 (09:29 +0100)]
Remove links from README.

Content now in http://apitrace.github.com

11 years agoCondition variable abstraction.
José Fonseca [Mon, 22 Oct 2012 18:51:00 +0000 (19:51 +0100)]
Condition variable abstraction.

11 years agoAdd and use os::mutex.
José Fonseca [Mon, 22 Oct 2012 18:14:27 +0000 (19:14 +0100)]
Add and use os::mutex.

11 years agoDon't show pbuffers in windows.
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.

11 years agoLink to homepage.
José Fonseca [Sun, 21 Oct 2012 10:08:36 +0000 (11:08 +0100)]
Link to homepage.

11 years agomt retrace: add support for multi-threaded playback
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>
11 years agomt retrace: add workqueue support
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>
11 years agodon't call glGetError if there is no active context
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>
11 years agoBe nice to Eclipse error message parser.
José Fonseca [Fri, 19 Oct 2012 17:43:46 +0000 (18:43 +0100)]
Be nice to Eclipse error message parser.

11 years agoglretrace: Put currentContext on TLS.
José Fonseca [Fri, 19 Oct 2012 17:42:41 +0000 (18:42 +0100)]
glretrace: Put currentContext on TLS.

Inspired on Imre's similar change.

11 years agoKill currentDrawable.
José Fonseca [Fri, 19 Oct 2012 16:34:30 +0000 (17:34 +0100)]
Kill currentDrawable.

Use currentContext->drawable instead.

11 years agoFix CGLChoosePixelFormat attribute parsing.
José Fonseca [Fri, 19 Oct 2012 15:38:22 +0000 (16:38 +0100)]
Fix CGLChoosePixelFormat attribute parsing.

11 years agoDetermine core32 from the traces.
José Fonseca [Fri, 19 Oct 2012 14:39:49 +0000 (15:39 +0100)]
Determine core32 from the traces.

11 years agoFix array swizzling.
José Fonseca [Fri, 19 Oct 2012 13:51:48 +0000 (14:51 +0100)]
Fix array swizzling.

11 years agoHandle GL_ARB_vertex_array_bgra better.
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.

11 years agoHandle nested glErrors.
José Fonseca [Fri, 19 Oct 2012 13:25:42 +0000 (14:25 +0100)]
Handle nested glErrors.

11 years agoMake glretrace trace-friendly.
José Fonseca [Fri, 19 Oct 2012 12:43:00 +0000 (13:43 +0100)]
Make glretrace trace-friendly.

Useful to debug glretrace with apitrace itself.

11 years agoCheck extensions via glGetStringi() on core profile.
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.

11 years agoSwizzle fence names.
José Fonseca [Thu, 18 Oct 2012 14:13:19 +0000 (15:13 +0100)]
Swizzle fence names.

11 years agoImprovement LD_LIBRARY_PATH explanation.
José Fonseca [Thu, 18 Oct 2012 12:25:45 +0000 (13:25 +0100)]
Improvement LD_LIBRARY_PATH explanation.

11 years agoFix CGL call ordering in flag table.
José Fonseca [Wed, 17 Oct 2012 15:23:29 +0000 (16:23 +0100)]
Fix CGL call ordering in flag table.

oops...

11 years agoBetter instructions for 32-bits cross build (issue #98)
José Fonseca [Wed, 17 Oct 2012 11:19:36 +0000 (12:19 +0100)]
Better instructions for 32-bits cross build (issue #98)

11 years agoDisabled code to use Apple software renderer.
José Fonseca [Tue, 16 Oct 2012 16:35:18 +0000 (17:35 +0100)]
Disabled code to use Apple software renderer.

11 years agoHide CGLGetCurrentContext calls
José Fonseca [Tue, 16 Oct 2012 15:32:20 +0000 (16:32 +0100)]
Hide CGLGetCurrentContext calls

11 years agoFix GraphView member initialization order to silence gcc warning.
José Fonseca [Tue, 16 Oct 2012 15:24:35 +0000 (16:24 +0100)]
Fix GraphView member initialization order to silence gcc warning.

11 years agoSwizzle array objects of GL_APPLE_vertex_array_object
José Fonseca [Tue, 16 Oct 2012 15:12:27 +0000 (16:12 +0100)]
Swizzle array objects of GL_APPLE_vertex_array_object

11 years agoIgnore CGLChoose/DestroyPixelFormat calls.
José Fonseca [Tue, 16 Oct 2012 11:30:57 +0000 (12:30 +0100)]
Ignore CGLChoose/DestroyPixelFormat calls.

11 years agoMinimal implementation of CGLTexImageIOSurface2D.
José Fonseca [Tue, 16 Oct 2012 11:30:36 +0000 (12:30 +0100)]
Minimal implementation of CGLTexImageIOSurface2D.

11 years agoMinimal implementation of CGLCreateContext/CGLDestroyContext.
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.

11 years agoDon't link glxtrace against Xlib. It is unnecessary.
José Fonseca [Tue, 16 Oct 2012 09:17:13 +0000 (10:17 +0100)]
Don't link glxtrace against Xlib. It is unnecessary.

11 years agoMention AMD CodeXL.
José Fonseca [Sat, 13 Oct 2012 08:48:37 +0000 (09:48 +0100)]
Mention AMD CodeXL.

11 years agoretrace: Sleep when polling for input.
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.

11 years agoretrace: Exit when Escape key is pressed on X.
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.

11 years agoretrace: ignore glXGetSwapIntervalMESA.
José Fonseca [Sat, 13 Oct 2012 08:26:17 +0000 (09:26 +0100)]
retrace: ignore glXGetSwapIntervalMESA.

11 years agoBe clearer with the Qt requirements.
José Fonseca [Thu, 11 Oct 2012 14:20:15 +0000 (15:20 +0100)]
Be clearer with the Qt requirements.

11 years agoAdd a few more assertions.
José Fonseca [Wed, 10 Oct 2012 15:23:25 +0000 (16:23 +0100)]
Add a few more assertions.

11 years agoretrace: Fix off-by-one error in detection of intersecting regions.
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>
11 years agoos_posix: Print complete, attempted command line when execute() fails
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>
11 years agodiff: Don't use colorized line-format options when not on a tty
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.

11 years agoFix unpickle script help.
José Fonseca [Fri, 5 Oct 2012 19:56:05 +0000 (20:56 +0100)]
Fix unpickle script help.

11 years agoFix diffing between blobs and null.
José Fonseca [Fri, 5 Oct 2012 19:55:43 +0000 (20:55 +0100)]
Fix diffing between blobs and null.

11 years agoFix pickling of long integers.
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.

11 years agoHandle spurious calls from wglCreateContextAttribsARB to wglCreateContext (issue...
José Fonseca [Fri, 5 Oct 2012 16:21:46 +0000 (17:21 +0100)]
Handle spurious calls from wglCreateContextAttribsARB to wglCreateContext (issue #95)

11 years agoFix retracing when glUseProgram & glUseProgramObjectARB are used inside call lists.
José Fonseca [Fri, 5 Oct 2012 11:07:28 +0000 (12:07 +0100)]
Fix retracing when glUseProgram & glUseProgramObjectARB are used inside call lists.

11 years agoBasic retrace support for glXCreate/DestroyPbuffer (issue #94)
José Fonseca [Thu, 4 Oct 2012 07:18:32 +0000 (08:18 +0100)]
Basic retrace support for glXCreate/DestroyPbuffer (issue #94)

11 years agoIgnore built OpenGL framework.
José Fonseca [Wed, 3 Oct 2012 13:39:44 +0000 (14:39 +0100)]
Ignore built OpenGL framework.

11 years agoFix MacOSX build w/ recent Qt due to lack of i386 arch support.
José Fonseca [Wed, 3 Oct 2012 13:39:04 +0000 (14:39 +0100)]
Fix MacOSX build w/ recent Qt due to lack of i386 arch support.

11 years agoFix cube map image dumping.
José Fonseca [Fri, 28 Sep 2012 16:39:51 +0000 (17:39 +0100)]
Fix cube map image dumping.

11 years agoUpdate copyright in License.
José Fonseca [Thu, 27 Sep 2012 21:20:53 +0000 (22:20 +0100)]
Update copyright in License.

11 years agoRecognise D3D rendertarget swapping.
José Fonseca [Thu, 27 Sep 2012 18:33:32 +0000 (19:33 +0100)]
Recognise D3D rendertarget swapping.

11 years agoIgnore .NET exceptions.
José Fonseca [Thu, 27 Sep 2012 18:33:09 +0000 (19:33 +0100)]
Ignore .NET exceptions.

11 years agoUpdate 32bit cross-build instructions.
José Fonseca [Wed, 26 Sep 2012 15:14:22 +0000 (16:14 +0100)]
Update 32bit cross-build instructions.

11 years agoUpdate to latest CMake Android toolchain (issue #92).
José Fonseca [Thu, 20 Sep 2012 11:32:36 +0000 (12:32 +0100)]
Update to latest CMake Android toolchain (issue #92).

Thanks to all that drew my attention to this.

11 years agoDump D3D9 shader state.
José Fonseca [Thu, 20 Sep 2012 11:29:16 +0000 (12:29 +0100)]
Dump D3D9 shader state.