]> git.cworth.org Git - apitrace/log
apitrace
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 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 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.

11 years agotrace: Fix alignment bug in computing image sizes.
José Fonseca [Sun, 16 Sep 2012 01:33:07 +0000 (02:33 +0100)]
trace: Fix alignment bug in computing image sizes.

Match precisely what the OpenGL spec says.

Fixes the stride computation of RGB8.

Based on discussion and code from Carl Worth and Paul Berry.

11 years agoRewrote profile graph drawing code.
James Benton [Fri, 7 Sep 2012 17:38:15 +0000 (18:38 +0100)]
Rewrote profile graph drawing code.

Graphing is now reasonably generic to allow for future graphs to be fairly
easily added without too much replication of code.

11 years agoChange the default graphic system to raster.
James Benton [Fri, 7 Sep 2012 13:23:43 +0000 (14:23 +0100)]
Change the default graphic system to raster.

This render system out performs the native implementations on all platforms,
this is necessary as the native implementation on Mac is basically unusable
with the profile dialog due to poor performance.

11 years agoFix bug in profiling time synchronisation.
James Benton [Wed, 29 Aug 2012 10:30:23 +0000 (11:30 +0100)]
Fix bug in profiling time synchronisation.

11 years agoCombine timeline and histogram tabs.
James Benton [Tue, 28 Aug 2012 17:41:43 +0000 (18:41 +0100)]
Combine timeline and histogram tabs.

Synchronise time / program selections between all profile data views.

11 years agoDelete context when retracing wglDeleteContext.
José Fonseca [Mon, 27 Aug 2012 18:01:58 +0000 (19:01 +0100)]
Delete context when retracing wglDeleteContext.

11 years agoModify unpickle.py to do an histogram.
José Fonseca [Mon, 27 Aug 2012 17:07:01 +0000 (18:07 +0100)]
Modify unpickle.py to do an histogram.

11 years agoFix Windows INSTALL instructions.
James Benton [Thu, 23 Aug 2012 16:28:52 +0000 (17:28 +0100)]
Fix Windows INSTALL instructions.

11 years agoRename 'Calls' tab to 'Histogram' in profile dialog.
James Benton [Wed, 22 Aug 2012 14:26:23 +0000 (15:26 +0100)]
Rename 'Calls' tab to 'Histogram' in profile dialog.

11 years agoChange microseconds to use the greek mu symbol.
James Benton [Wed, 22 Aug 2012 14:26:03 +0000 (15:26 +0100)]
Change microseconds to use the greek mu symbol.

11 years agoAdd cpu/gpu label to histograms.
James Benton [Wed, 22 Aug 2012 14:25:42 +0000 (15:25 +0100)]
Add cpu/gpu label to histograms.

11 years agoAdd call duration graphs to profile dialog.
James Benton [Wed, 22 Aug 2012 13:17:01 +0000 (14:17 +0100)]
Add call duration graphs to profile dialog.

11 years agoImprove number formatting in profile gui.
James Benton [Wed, 22 Aug 2012 11:18:09 +0000 (12:18 +0100)]
Improve number formatting in profile gui.

11 years agoImprove internal format of profile results.
James Benton [Wed, 22 Aug 2012 11:11:37 +0000 (12:11 +0100)]
Improve internal format of profile results.

11 years agoImprove profiling.
James Benton [Thu, 16 Aug 2012 12:44:19 +0000 (13:44 +0100)]
Improve profiling.

Remove frame_begin from profile output.
Change frame_end to no longer record times.
Profile non-draw calls for CPU only.
Resynchronise gpu time every frame to account for drift.

Improve performance of profile gui.
Add seperate CPU view to timeline widget.

11 years agoAdd Ctrl+P accelerator for profiling.
James Benton [Mon, 13 Aug 2012 17:22:44 +0000 (18:22 +0100)]
Add Ctrl+P accelerator for profiling.

11 years agoCPU Profiling now includes all OpenGL calls (was only draw calls).
James Benton [Mon, 13 Aug 2012 17:21:16 +0000 (18:21 +0100)]
CPU Profiling now includes all OpenGL calls (was only draw calls).

This only affects CPU profiling, not GPU or non-occluded pixels.

11 years agoAllow BlockingIO read of profiling results.
James Benton [Mon, 13 Aug 2012 17:15:39 +0000 (18:15 +0100)]
Allow BlockingIO read of profiling results.

11 years agoSynchronise gpuStart and cpuStart for profiling.
James Benton [Mon, 13 Aug 2012 13:24:48 +0000 (14:24 +0100)]
Synchronise gpuStart and cpuStart for profiling.

Cleanup some profiling code.

11 years agoCleanup build instructions formatting.
José Fonseca [Mon, 13 Aug 2012 12:50:15 +0000 (13:50 +0100)]
Cleanup build instructions formatting.

11 years agoFix markup.
José Fonseca [Mon, 13 Aug 2012 12:36:31 +0000 (13:36 +0100)]
Fix markup.

11 years agoMerge branch 'profile-gui'
José Fonseca [Mon, 13 Aug 2012 09:10:35 +0000 (10:10 +0100)]
Merge branch 'profile-gui'

11 years agoUpdate android.toolchain.cmake
Huang Dongsung [Mon, 25 Jun 2012 06:36:24 +0000 (15:36 +0900)]
Update android.toolchain.cmake

11 years agoInitialize bits.
José Fonseca [Fri, 10 Aug 2012 19:14:48 +0000 (20:14 +0100)]
Initialize bits.

11 years agoMerge remote-tracking branch 'github/master' into profile-gui
José Fonseca [Fri, 10 Aug 2012 16:39:41 +0000 (17:39 +0100)]
Merge remote-tracking branch 'github/master' into profile-gui

Conflicts:
gui/mainwindow.cpp

11 years agoRescale/rebase the times just before writing it.
José Fonseca [Fri, 10 Aug 2012 16:36:53 +0000 (17:36 +0100)]
Rescale/rebase the times just before writing it.

11 years agoFix profiling of glBegin/glEnd.
James Benton [Fri, 10 Aug 2012 14:56:18 +0000 (15:56 +0100)]
Fix profiling of glBegin/glEnd.

11 years agoFix initialisation order in TimelineWidget.
James Benton [Fri, 10 Aug 2012 14:56:06 +0000 (15:56 +0100)]
Fix initialisation order in TimelineWidget.

11 years agoFix erroneous class Profile forward declaration to struct Profile.
James Benton [Fri, 10 Aug 2012 14:55:51 +0000 (15:55 +0100)]
Fix erroneous class Profile forward declaration to struct Profile.

11 years agoChanged profile parsing to use stringstream instead of sscanf.
James Benton [Fri, 10 Aug 2012 12:31:05 +0000 (13:31 +0100)]
Changed profile parsing to use stringstream instead of sscanf.

11 years agoFixed profile dialog modality.
James Benton [Fri, 10 Aug 2012 12:30:26 +0000 (13:30 +0100)]
Fixed profile dialog modality.

11 years agoAPIENTRY debugOutputCallback on declaration too.
James Benton [Thu, 9 Aug 2012 16:52:20 +0000 (17:52 +0100)]
APIENTRY debugOutputCallback on declaration too.

11 years agoAdd APIENTRY call convention to debug output callback.
James Benton [Thu, 9 Aug 2012 16:14:01 +0000 (17:14 +0100)]
Add APIENTRY call convention to debug output callback.

11 years agoFix formatting in README
James Benton [Thu, 9 Aug 2012 15:46:43 +0000 (16:46 +0100)]
Fix formatting in README

11 years agoFix replay trace generating thumbnails.
James Benton [Thu, 9 Aug 2012 15:24:34 +0000 (16:24 +0100)]
Fix replay trace generating thumbnails.

11 years agoFix ApiTrace::hasErrors to consider queuedErrors.
James Benton [Thu, 9 Aug 2012 15:22:50 +0000 (16:22 +0100)]
Fix ApiTrace::hasErrors to consider queuedErrors.

11 years agoAdd GL_ARB_debug_output support.
James Benton [Thu, 9 Aug 2012 14:44:17 +0000 (15:44 +0100)]
Add GL_ARB_debug_output support.

11 years agoAdd initContext to glretrace.
James Benton [Thu, 9 Aug 2012 13:22:24 +0000 (14:22 +0100)]
Add initContext to glretrace.

Used to do per context setup.
Moved the extension support checking to initContext.

11 years agoCreate glretrace specific context.
James Benton [Thu, 9 Aug 2012 13:23:44 +0000 (14:23 +0100)]
Create glretrace specific context.

This allows us to store per context variables whilst retracing.
Altered the various glretrace window system implementations to use this new context.
Updated the "activeProgram" tracking for profiling to use this.

11 years agoUpdated README with help for using new profiling options.
James Benton [Mon, 6 Aug 2012 17:04:56 +0000 (18:04 +0100)]
Updated README with help for using new profiling options.

11 years agoMerge branch 'opengl-4.3'
José Fonseca [Thu, 9 Aug 2012 10:49:32 +0000 (11:49 +0100)]
Merge branch 'opengl-4.3'

11 years agoRecognize IDirect3DSwapChain9::Present as end of frame
José Fonseca [Wed, 8 Aug 2012 17:50:47 +0000 (18:50 +0100)]
Recognize IDirect3DSwapChain9::Present as end of frame

11 years agoAdded alt menu shortcuts for View menu.
James Benton [Wed, 8 Aug 2012 16:44:14 +0000 (17:44 +0100)]
Added alt menu shortcuts for View menu.

11 years agoFix divide by zero in profile table sorting.
James Benton [Wed, 8 Aug 2012 16:43:52 +0000 (17:43 +0100)]
Fix divide by zero in profile table sorting.

11 years agoTweak new state/entrypoints.
José Fonseca [Tue, 7 Aug 2012 23:11:09 +0000 (00:11 +0100)]
Tweak new state/entrypoints.

11 years agoMinimal OpenGL 4.3 support.
José Fonseca [Tue, 7 Aug 2012 21:08:29 +0000 (22:08 +0100)]
Minimal OpenGL 4.3 support.