]>
git.cworth.org Git - apitrace/log
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.
José Fonseca [Fri, 5 Oct 2012 16:21:46 +0000 (17:21 +0100)]
Handle spurious calls from wglCreateContextAttribsARB to wglCreateContext (issue #95)
José Fonseca [Fri, 5 Oct 2012 11:07:28 +0000 (12:07 +0100)]
Fix retracing when glUseProgram & glUseProgramObjectARB are used inside call lists.
José Fonseca [Thu, 4 Oct 2012 07:18:32 +0000 (08:18 +0100)]
Basic retrace support for glXCreate/DestroyPbuffer (issue #94)
José Fonseca [Wed, 3 Oct 2012 13:39:44 +0000 (14:39 +0100)]
Ignore built OpenGL framework.
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.
José Fonseca [Fri, 28 Sep 2012 16:39:51 +0000 (17:39 +0100)]
Fix cube map image dumping.
José Fonseca [Fri, 28 Sep 2012 07:40:24 +0000 (08:40 +0100)]
Merge remote-tracking branch 'github/master' into d2d
Conflicts:
.gitignore
CMakeLists.txt
cmake/FindDirectX.cmake
José Fonseca [Fri, 28 Sep 2012 06:48:37 +0000 (07:48 +0100)]
Define all D2D/DWRITE GUIDs
José Fonseca [Thu, 27 Sep 2012 21:20:53 +0000 (22:20 +0100)]
Update copyright in License.
José Fonseca [Thu, 27 Sep 2012 18:33:32 +0000 (19:33 +0100)]
Recognise D3D rendertarget swapping.
José Fonseca [Thu, 27 Sep 2012 18:33:09 +0000 (19:33 +0100)]
Ignore .NET exceptions.
José Fonseca [Wed, 26 Sep 2012 15:14:22 +0000 (16:14 +0100)]
Update 32bit cross-build instructions.
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.
José Fonseca [Thu, 20 Sep 2012 11:29:16 +0000 (12:29 +0100)]
Dump D3D9 shader state.
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.
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.
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.
James Benton [Wed, 29 Aug 2012 10:30:23 +0000 (11:30 +0100)]
Fix bug in profiling time synchronisation.
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.
José Fonseca [Mon, 27 Aug 2012 18:01:58 +0000 (19:01 +0100)]
Delete context when retracing wglDeleteContext.
José Fonseca [Mon, 27 Aug 2012 17:07:01 +0000 (18:07 +0100)]
Modify unpickle.py to do an histogram.
James Benton [Thu, 23 Aug 2012 16:28:52 +0000 (17:28 +0100)]
Fix Windows INSTALL instructions.
James Benton [Wed, 22 Aug 2012 14:26:23 +0000 (15:26 +0100)]
Rename 'Calls' tab to 'Histogram' in profile dialog.
James Benton [Wed, 22 Aug 2012 14:26:03 +0000 (15:26 +0100)]
Change microseconds to use the greek mu symbol.
James Benton [Wed, 22 Aug 2012 14:25:42 +0000 (15:25 +0100)]
Add cpu/gpu label to histograms.
James Benton [Wed, 22 Aug 2012 13:17:01 +0000 (14:17 +0100)]
Add call duration graphs to profile dialog.
James Benton [Wed, 22 Aug 2012 11:18:09 +0000 (12:18 +0100)]
Improve number formatting in profile gui.
James Benton [Wed, 22 Aug 2012 11:11:37 +0000 (12:11 +0100)]
Improve internal format of profile results.
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.
James Benton [Mon, 13 Aug 2012 17:22:44 +0000 (18:22 +0100)]
Add Ctrl+P accelerator for profiling.
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.
James Benton [Mon, 13 Aug 2012 17:15:39 +0000 (18:15 +0100)]
Allow BlockingIO read of profiling results.
James Benton [Mon, 13 Aug 2012 13:24:48 +0000 (14:24 +0100)]
Synchronise gpuStart and cpuStart for profiling.
Cleanup some profiling code.
José Fonseca [Mon, 13 Aug 2012 12:50:15 +0000 (13:50 +0100)]
Cleanup build instructions formatting.
José Fonseca [Mon, 13 Aug 2012 12:36:31 +0000 (13:36 +0100)]
Fix markup.
José Fonseca [Mon, 13 Aug 2012 09:10:35 +0000 (10:10 +0100)]
Merge branch 'profile-gui'
Huang Dongsung [Mon, 25 Jun 2012 06:36:24 +0000 (15:36 +0900)]
Update android.toolchain.cmake
José Fonseca [Fri, 10 Aug 2012 19:14:48 +0000 (20:14 +0100)]
Initialize bits.
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
José Fonseca [Fri, 10 Aug 2012 16:36:53 +0000 (17:36 +0100)]
Rescale/rebase the times just before writing it.
James Benton [Fri, 10 Aug 2012 14:56:18 +0000 (15:56 +0100)]
Fix profiling of glBegin/glEnd.
James Benton [Fri, 10 Aug 2012 14:56:06 +0000 (15:56 +0100)]
Fix initialisation order in TimelineWidget.
James Benton [Fri, 10 Aug 2012 14:55:51 +0000 (15:55 +0100)]
Fix erroneous class Profile forward declaration to struct Profile.
James Benton [Fri, 10 Aug 2012 12:31:05 +0000 (13:31 +0100)]
Changed profile parsing to use stringstream instead of sscanf.
James Benton [Fri, 10 Aug 2012 12:30:26 +0000 (13:30 +0100)]
Fixed profile dialog modality.
James Benton [Thu, 9 Aug 2012 16:52:20 +0000 (17:52 +0100)]
APIENTRY debugOutputCallback on declaration too.
James Benton [Thu, 9 Aug 2012 16:14:01 +0000 (17:14 +0100)]
Add APIENTRY call convention to debug output callback.
James Benton [Thu, 9 Aug 2012 15:46:43 +0000 (16:46 +0100)]
Fix formatting in README
James Benton [Thu, 9 Aug 2012 15:24:34 +0000 (16:24 +0100)]
Fix replay trace generating thumbnails.
James Benton [Thu, 9 Aug 2012 15:22:50 +0000 (16:22 +0100)]
Fix ApiTrace::hasErrors to consider queuedErrors.
James Benton [Thu, 9 Aug 2012 14:44:17 +0000 (15:44 +0100)]
Add GL_ARB_debug_output support.
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.
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.
James Benton [Mon, 6 Aug 2012 17:04:56 +0000 (18:04 +0100)]
Updated README with help for using new profiling options.
José Fonseca [Thu, 9 Aug 2012 10:49:32 +0000 (11:49 +0100)]
Merge branch 'opengl-4.3'
José Fonseca [Wed, 8 Aug 2012 17:50:47 +0000 (18:50 +0100)]
Recognize 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
James Benton [Wed, 8 Aug 2012 16:44:14 +0000 (17:44 +0100)]
Added alt menu shortcuts for View menu.
James Benton [Wed, 8 Aug 2012 16:43:52 +0000 (17:43 +0100)]
Fix divide by zero in profile table sorting.
José Fonseca [Tue, 7 Aug 2012 23:11:09 +0000 (00:11 +0100)]
Tweak new state/entrypoints.
José Fonseca [Tue, 7 Aug 2012 21:08:29 +0000 (22:08 +0100)]
Minimal OpenGL 4.3 support.
José Fonseca [Tue, 7 Aug 2012 20:46:04 +0000 (21:46 +0100)]
Update khronos headers.
James Benton [Wed, 8 Aug 2012 16:09:07 +0000 (17:09 +0100)]
Add gui support for trace profiling.
José Fonseca [Tue, 7 Aug 2012 20:07:22 +0000 (21:07 +0100)]
Cleanup strings constness.
Allows to distinguish between a const char *, and char * const.
José Fonseca [Tue, 7 Aug 2012 19:00:18 +0000 (20:00 +0100)]
Use CString shorthand more places.
José Fonseca [Mon, 6 Aug 2012 16:35:06 +0000 (17:35 +0100)]
Allow to pipe profile output directly to profileshader.py
For example
./glretrace -pgpu foo.trace | ./scripts/profileshader.py
José Fonseca [Mon, 6 Aug 2012 15:35:14 +0000 (16:35 +0100)]
Merge remote-tracking branch 'jbenton/master'
James Benton [Mon, 6 Aug 2012 15:05:58 +0000 (16:05 +0100)]
Check GL_QUERY_COUNTER_BITS before profiling.
James Benton [Mon, 6 Aug 2012 10:44:23 +0000 (11:44 +0100)]
Correctly handle profiling of glBegin/glEnd.
James Benton [Mon, 6 Aug 2012 10:40:28 +0000 (11:40 +0100)]
Check for GL_EXT_timer_query and GL_ARB_occlusion_query.
José Fonseca [Sun, 5 Aug 2012 09:24:28 +0000 (10:24 +0100)]
Merge branch 'egl-image'
Conflicts:
wrappers/egltrace.py
Huang Dongsung [Sat, 23 Jun 2012 07:03:26 +0000 (16:03 +0900)]
Recreate egl surface when glViewport for watching framebuffer in qapitrace's surface tab.
It is quirk of mesa egl 1.4 with Nvidia-dri. It is ok with intel-dri.
After resizing XWindow, mesa egl does not know new size of the surface.
If you call eglQuerySurface(currentDisplay, currentSurface, EGL_WIDTH, width),
width is the width at the time to create the egl surface, not current width.
However, glx can know what the size of window well.
Signed-off-by: José Fonseca <jose.r.fonseca@gmail.com>
José Fonseca [Fri, 3 Aug 2012 18:56:23 +0000 (19:56 +0100)]
Process window events on d3dretrace.
José Fonseca [Fri, 3 Aug 2012 15:47:54 +0000 (16:47 +0100)]
Resize window on IDirect3DDevice9::Reset.
James Benton [Fri, 3 Aug 2012 13:25:25 +0000 (14:25 +0100)]
Remove old unused function declaration.
José Fonseca [Thu, 2 Aug 2012 19:05:19 +0000 (20:05 +0100)]
Add missing comma in last commit.
José Fonseca [Thu, 2 Aug 2012 19:00:28 +0000 (20:00 +0100)]
Recognize for context creation/destruction/binding functions (issue #90).
Thanks to gregory38 for spotting this.
Carl Worth [Mon, 30 Jul 2012 22:01:15 +0000 (15:01 -0700)]
Avoid inserting 'inf' and friends into the json output.
The JSON-generating code was previously carefult to avoid emitting NaN
into its output, but it would still write "inf" for an infinite value,
(which is invalid JSON).
Fix by calling writeNull for any value for which std::isfinite returns
false, (rather than the previous test for merely (n != n)).
James Benton [Thu, 2 Aug 2012 10:37:44 +0000 (11:37 +0100)]
Removed arbitary limit on active queries.
This previously existed due to a suspected limit on queries on nvidia drivers,
however that bug was actually due to context switching which has now been fixed.
James Benton [Tue, 31 Jul 2012 13:11:14 +0000 (14:11 +0100)]
Cleaned up trace profiler output.
Updated profileshader.py to reflect these changes.
James Benton [Tue, 31 Jul 2012 13:10:35 +0000 (14:10 +0100)]
Fixed bug in CPU profiling.
James Benton [Tue, 31 Jul 2012 11:48:27 +0000 (12:48 +0100)]
Check if GL_ARB_timer_query is supported before using it.
José Fonseca [Thu, 2 Aug 2012 07:42:24 +0000 (08:42 +0100)]
Emit a fake glTexImage for glEGLImageTargetTexture2DOES.
Imre Deak [Mon, 4 Jun 2012 11:14:24 +0000 (14:14 +0300)]
egl: EGL image trace support
Getting the dimension / format of EGL images is not straitghforward.
One way to get these would be through glGetTexLevelParameter, but it's
not supported by GLES. Another way is to attach the EGL image to a
renderbuffer and call glGetRenderbufferParameter on it, but at least
mesa doesn't support attaching images in RGBA_REV format. And that
format happens to be an important one in applications we care about
(like the Android browser). We could also check the parameters of the
underlying native buffer, but these are not exposed through any API (for
either Xpixmaps or Android native buffers)
So the only way I found is to try a non-destructive glCopyTexSubImage2D
with sizes starting from GL_MAX_TEXTURE_SIZE down to 1 and determine the
correct size based on whether this returns an error or not.
Signed-off-by: Imre Deak <imre.deak@intel.com>
Huang Dongsung [Sat, 23 Jun 2012 07:38:57 +0000 (16:38 +0900)]
Retrace should info correct image's format to qapitrace.
Signed-off-by: José Fonseca <jose.r.fonseca@gmail.com>
José Fonseca [Wed, 25 Jul 2012 19:47:20 +0000 (20:47 +0100)]
Support apps that use DXVA.
José Fonseca [Wed, 25 Jul 2012 19:31:30 +0000 (20:31 +0100)]
Add UCHAR.
José Fonseca [Wed, 25 Jul 2012 19:03:34 +0000 (20:03 +0100)]
Don't includes windows.h inside extern "C" {...}
José Fonseca [Wed, 25 Jul 2012 19:03:08 +0000 (20:03 +0100)]
Enumerate a few more D3DUSAGE values.
José Fonseca [Wed, 25 Jul 2012 18:59:34 +0000 (19:59 +0100)]
Bump windows version.
James Benton [Wed, 25 Jul 2012 12:52:14 +0000 (13:52 +0100)]
Add a script to analyse profile output per shader.
James Benton [Wed, 25 Jul 2012 12:48:20 +0000 (13:48 +0100)]
Improved profiling capabilities.
Logs which shader is active to allow per shader profiling.
Merged cpu profiling code from retrace to trace_profiler.
Allow choice of profiling for gpu / cpu / pixels drawn.
James Benton [Mon, 23 Jul 2012 17:45:46 +0000 (18:45 +0100)]
Added support for recording GL_SAMPLES_PASSED.
James Benton [Mon, 23 Jul 2012 17:12:27 +0000 (18:12 +0100)]
Fixed gpu profiling under multiple contexts.
Now flushes the results for all queries on context switch.
James Benton [Mon, 23 Jul 2012 14:26:54 +0000 (15:26 +0100)]
Improved GPU profiling code.
Now only allows a certain number of active queries,
this fixes results with applications that have many draw calls.
James Benton [Fri, 20 Jul 2012 17:56:19 +0000 (18:56 +0100)]
Add support for basic GPU profiling of draw calls to retrace.
Currently only supports opengl using glBegin/EndQuery and glQueryCounter.
Based on code from Yuanhan Liu timing-trace branch.
José Fonseca [Thu, 12 Jul 2012 12:44:59 +0000 (13:44 +0100)]
José Fonseca [Wed, 11 Jul 2012 11:14:31 +0000 (12:14 +0100)]
Eliminate destroyContext.
Same as releaseContext.
José Fonseca [Mon, 9 Jul 2012 10:16:50 +0000 (11:16 +0100)]
Fix build on MSVC.