]> git.cworth.org Git - apitrace/log
apitrace
11 years agod3dretrace: Add state dumping support for ID3D11DeviceContext1
Jeff Muizelaar [Tue, 12 Mar 2013 20:31:17 +0000 (16:31 -0400)]
d3dretrace: Add state dumping support for ID3D11DeviceContext1

Signed-off-by: José Fonseca <jfonseca@vmware.com>
11 years agoglretrace: Fix cpu timings when not measuring gpu times.
José Fonseca [Mon, 11 Mar 2013 23:35:22 +0000 (23:35 +0000)]
glretrace: Fix cpu timings when not measuring gpu times.

11 years agoAdd some missing DXGI and D3D11.1 api
Jeff Muizelaar [Mon, 11 Mar 2013 19:56:30 +0000 (15:56 -0400)]
Add some missing DXGI and D3D11.1 api

Signed-off-by: José Fonseca <jfonseca@vmware.com>
11 years agodispatch: Compensate for broken GL headers in Visual Studio 2012
José Fonseca [Mon, 11 Mar 2013 22:37:29 +0000 (22:37 +0000)]
dispatch: Compensate for broken GL headers in Visual Studio 2012

11 years agocmake: Fix D2D include path w/ Visual Studio 2012.
José Fonseca [Mon, 11 Mar 2013 22:37:59 +0000 (22:37 +0000)]
cmake: Fix D2D include path w/ Visual Studio 2012.

11 years agogui: Link against pthread.
Rob Clark [Mon, 11 Mar 2013 17:21:25 +0000 (13:21 -0400)]
gui: Link against pthread.

/usr/bin/ld: CMakeFiles/qapitrace.dir/apitracecall.cpp.o: undefined
reference to symbol '__pthread_key_create@@GLIBC_2.2.5'
/usr/bin/ld: note: '__pthread_key_create@@GLIBC_2.2.5' is defined in DSO
/lib64/libpthread.so.0 so try adding it to the linker command line
/lib64/libpthread.so.0: could not read symbols: Invalid operation

Signed-off-by: José Fonseca <jfonseca@vmware.com>
11 years agoglretrace: Fix several problems with the earlier commit.
José Fonseca [Wed, 6 Mar 2013 20:03:54 +0000 (20:03 +0000)]
glretrace: Fix several problems with the earlier commit.

11 years agoretrace: Add single thread option.
Jerome Glisse [Mon, 18 Feb 2013 17:22:11 +0000 (12:22 -0500)]
retrace: Add single thread option.

Allow to replay trace using only one thread, helpful when debugging
driver.

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: José Fonseca <jfonseca@vmware.com>
11 years agoglretrace: Fix dumping of cube map FBO attachements.
José Fonseca [Wed, 6 Mar 2013 15:12:45 +0000 (15:12 +0000)]
glretrace: Fix dumping of cube map FBO attachements.

11 years agodirectxtex: Fix MinGW64 build.
José Fonseca [Wed, 6 Mar 2013 14:09:48 +0000 (14:09 +0000)]
directxtex: Fix MinGW64 build.

11 years agod3dretrace: Use DirectXTex for d3d10 state too.
José Fonseca [Wed, 6 Mar 2013 12:12:04 +0000 (12:12 +0000)]
d3dretrace: Use DirectXTex for d3d10 state too.

11 years agoMerge branch 'directxtex'
José Fonseca [Wed, 6 Mar 2013 11:46:41 +0000 (11:46 +0000)]
Merge branch 'directxtex'

11 years agoExtend profiling tool to support Vsize and Rss memory usage profile per call
Shuang He [Mon, 18 Feb 2013 02:09:44 +0000 (10:09 +0800)]
Extend profiling tool to support Vsize and Rss memory usage profile per call

Add one new option -pmem for retrace tool to track Visze and Rss usage during every call

Signed-off-by: Shuang He <shuang.he@intel.com>
Signed-off-by: José Fonseca <jfonseca@vmware.com>
11 years agoUpdate news for new nomenclature.
José Fonseca [Fri, 22 Feb 2013 16:38:11 +0000 (16:38 +0000)]
Update news for new nomenclature.

11 years agocli: Add an alias mechanism and alias "retrace" to "replay"
Carl Worth [Mon, 11 Feb 2013 22:56:15 +0000 (14:56 -0800)]
cli: Add an alias mechanism and alias "retrace" to "replay"

This allows any existing scripts calling "apitrace retrace" to
continue to work.

11 years agocli: Rename "apitrace retrace" to "apitrace replay".
Carl Worth [Mon, 11 Feb 2013 21:49:02 +0000 (13:49 -0800)]
cli: Rename "apitrace retrace" to "apitrace replay".

After some debate on the mailing list, the consensus favors the name
"replay" for this operation. Update the documentation in
README.markdown to match.

11 years agodxgitrace: Generalize the swapchain size for the entry functions too.
José Fonseca [Fri, 22 Feb 2013 15:00:26 +0000 (15:00 +0000)]
dxgitrace: Generalize the swapchain size for the entry functions too.

11 years agod3dretrace: Force DWM traces to run on a window.
José Fonseca [Fri, 22 Feb 2013 10:47:31 +0000 (10:47 +0000)]
d3dretrace: Force DWM traces to run on a window.

Fullscreen is hard to debug.

11 years agoSerialize swapchain dimensions.
José Fonseca [Fri, 22 Feb 2013 10:24:31 +0000 (10:24 +0000)]
Serialize swapchain dimensions.

11 years agotrace: Unwrap all args before serializing them.
José Fonseca [Fri, 22 Feb 2013 10:23:51 +0000 (10:23 +0000)]
trace: Unwrap all args before serializing them.

11 years agotrace: Remove unused Trace::unwrapRet method.
José Fonseca [Fri, 22 Feb 2013 10:08:46 +0000 (10:08 +0000)]
trace: Remove unused Trace::unwrapRet method.

11 years agoinject: Always output warning messages to debug output.
José Fonseca [Fri, 22 Feb 2013 09:41:54 +0000 (09:41 +0000)]
inject: Always output warning messages to debug output.

11 years agoinject: Add define to use environment var instead of shared memory.
José Fonseca [Fri, 22 Feb 2013 09:40:30 +0000 (09:40 +0000)]
inject: Add define to use environment var instead of shared memory.

11 years agod3dretrace: Cope with _MAP_FLAG_DO_NOT_WAIT flags.
José Fonseca [Tue, 19 Feb 2013 13:29:26 +0000 (13:29 +0000)]
d3dretrace: Cope with _MAP_FLAG_DO_NOT_WAIT flags.

If the map succeeded in the original trace, then we must wait.

11 years agod3dretrace: Replay IUnknown::AddRef/Release methods faithfully.
José Fonseca [Tue, 19 Feb 2013 13:28:24 +0000 (13:28 +0000)]
d3dretrace: Replay IUnknown::AddRef/Release methods faithfully.

Several D3D APIs (especially recent ones) keep track of reference counts
and will ensure errors if reference counting is not properly done.

For example, IDXGISwapChain::ResizeBuffers will fail if there are
outstanding references to its buffers.

11 years agotrace_parser: More comprehensive debug output.
José Fonseca [Thu, 21 Feb 2013 13:08:13 +0000 (13:08 +0000)]
trace_parser: More comprehensive debug output.

It was useful to diagnose issue #110.

11 years agoreplay: Support applications mixing glCreateProgramObjectARB and glUseProgram
Carl Worth [Tue, 28 Aug 2012 18:45:52 +0000 (11:45 -0700)]
replay: Support applications mixing glCreateProgramObjectARB and glUseProgram

As is known to happen with OpenGL, there are many more than one ways
to do the same thing. In this case, one can create a program
(glCreateProgram) or a program object (glCreateProgramObjectARB) along
with many similar pairs of functions.

In fact, a single application might even mix these two approaches,
(for example, calling glCreateProgramObjectARB and then calling
glUseProgram rather than glUseProgramObjectARB).

Historically, glretrace could fail with such mixed usage. The calls
into the ObjectARB function would go through _handleARB_map while the
other calls would go through _program_map, so after mixed calls the
desired object would not be found in the referenced map.

Making mixed usage work requires merging both _program_map and
_shader_map together with _handleARB map. This is correct for any
OpenGL implementation which supports the GL_ARB_shader_objects
extension, since there is no way to implement this extension correctly
without having shaders and programs in the same namespace.

However, we carefully maintain separate _shader_map and _program_map
for an OpenGL implementation not supporting GL_ARB_shader_objects. In
this case, it's not possible for an application to mix usage (since
none of the ObjectARB functions are guaranteed to exist). And it's
also possible for the implementation to provide separate namespaces
for shaders and programs, so they each need their own map.

11 years agoGet DWM traces working.
José Fonseca [Tue, 12 Feb 2013 16:19:23 +0000 (16:19 +0000)]
Get DWM traces working.

Sort-of -- shared resources still don't work correctly.

11 years agospecs/dxva: Try to define DXVA2_PVP_SETKEY.
José Fonseca [Fri, 8 Feb 2013 13:47:40 +0000 (13:47 +0000)]
specs/dxva: Try to define DXVA2_PVP_SETKEY.

11 years agotrim: Trim swapbuffers calls when --trim-spec=drawing
Carl Worth [Fri, 16 Nov 2012 20:41:52 +0000 (12:41 -0800)]
trim: Trim swapbuffers calls when --trim-spec=drawing

Previously, the SwapBuffers calls were only getting trimmed if
--trim-spec included "no-side-effects". It was counter-intuitive that
a trim-spec of "drawing" alone would leave all the SwapBuffers calls
in place. So catch them under this trim-spec as well.

11 years agotrim: Add a new --trim-spec option for fine-grained trimming
Carl Worth [Thu, 15 Nov 2012 04:55:31 +0000 (20:55 -0800)]
trim: Add a new --trim-spec option for fine-grained trimming

This has two benefits:

1. In cases where the dependency analysis goes wrong, using the --trim-spec
   option can help identify which portion of the code is misbehaving, (and
   allows the user to still get some trim benefit by avoiding the broken
   code).

2. The implementation of this change breaks the analysis code up into several
   more fine-grained functions, so it should be easier to review and maintain.

11 years agod3dtrace: Fix DXVA2_DecodeExecuteParams::pCompressedBuffers spec.
José Fonseca [Wed, 6 Feb 2013 12:26:50 +0000 (12:26 +0000)]
d3dtrace: Fix DXVA2_DecodeExecuteParams::pCompressedBuffers spec.

11 years agod3dtrace: Recognize YV12 format.
José Fonseca [Wed, 6 Feb 2013 11:36:59 +0000 (11:36 +0000)]
d3dtrace: Recognize YV12 format.

11 years agoUpdate Android instructions.
José Fonseca [Tue, 5 Feb 2013 11:44:26 +0000 (11:44 +0000)]
Update Android instructions.

Not really based from personal experience, but rather on what others wrote,
namely

  https://github.com/kanru/apitrace/commit/5948e72a25b1d2df07299db0d49f91677827478b

11 years agoglstate: Cleanup the read buffer selection code slightly.
José Fonseca [Fri, 1 Feb 2013 17:03:11 +0000 (17:03 +0000)]
glstate: Cleanup the read buffer selection code slightly.

We were calling glReadBuffer(draw_buffer) before reading the GL_READ_BUFFER.

11 years agoimage: make getDrawBufferImage() work for ES or !ARB_draw_buffers
Rob Clark [Tue, 29 Jan 2013 00:50:07 +0000 (18:50 -0600)]
image: make getDrawBufferImage() work for ES or !ARB_draw_buffers

Without this 'apitrace dump-images' was failing for me (GLES, freedreno
gallium driver) because attachment would be GL_NONE.

Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Carl Worth <cworth@cworth.org>
Signed-off-by: José Fonseca <jfonseca@vmware.com>
11 years agod3dretrace: Recognize IDirect3DDevice9Ex::PresentEx as frame terminator.
José Fonseca [Thu, 31 Jan 2013 20:26:23 +0000 (20:26 +0000)]
d3dretrace: Recognize IDirect3DDevice9Ex::PresentEx as frame terminator.

11 years agotrim: Fix short command-line option -a for "apitrace trim"
Carl Worth [Mon, 28 Jan 2013 12:37:17 +0000 (23:37 +1100)]
trim: Fix short command-line option -a for "apitrace trim"

This was documented as being equivalent to --auto, but one piece of
the plumbing was not in place.

11 years agoglretrace: Fix snapshots on GL 3.2 core contexts (issue #106).
José Fonseca [Wed, 23 Jan 2013 16:15:40 +0000 (16:15 +0000)]
glretrace: Fix snapshots on GL 3.2 core contexts (issue #106).

glPush/PopClientAttrib() are not available in core contexts. Simply
save/restore the state via glGet and pack API.

11 years agoglretrace: Ignore a few more CGL calls.
José Fonseca [Wed, 23 Jan 2013 15:16:22 +0000 (15:16 +0000)]
glretrace: Ignore a few more CGL calls.

11 years agoos: Cast pthread_create's arg parameter.
José Fonseca [Wed, 23 Jan 2013 15:00:47 +0000 (15:00 +0000)]
os: Cast pthread_create's arg parameter.

11 years agocli: Inject DLL on windows by default.
José Fonseca [Thu, 20 Dec 2012 16:29:01 +0000 (16:29 +0000)]
cli: Inject DLL on windows by default.

11 years agocli: Update description of windows trace apis.
José Fonseca [Thu, 20 Dec 2012 16:28:29 +0000 (16:28 +0000)]
cli: Update description of windows trace apis.

11 years agogltrace: Prevent use of uninitialised variable.
José Fonseca [Thu, 20 Dec 2012 16:26:29 +0000 (16:26 +0000)]
gltrace: Prevent use of uninitialised variable.

11 years agogltrace: Recognize more ES parameters.
José Fonseca [Thu, 20 Dec 2012 16:26:06 +0000 (16:26 +0000)]
gltrace: Recognize more ES parameters.

We now always use our bundled headers so no need to be conservative any
more.

11 years agogltrace: Support GL_(NUM_)PROGRAM_BINARY_FORMATS (issue #104).
José Fonseca [Thu, 20 Dec 2012 16:10:55 +0000 (16:10 +0000)]
gltrace: Support GL_(NUM_)PROGRAM_BINARY_FORMATS (issue #104).

11 years agogltrace/retrace: Full support for variable length parameters.
José Fonseca [Thu, 20 Dec 2012 15:34:50 +0000 (15:34 +0000)]
gltrace/retrace: Full support for variable length parameters.

Such as GL_COMPRESSED_TEXTURE_FORMATS.

11 years agoretrace: Split ScopedAllocator into its own header.
José Fonseca [Thu, 20 Dec 2012 15:29:09 +0000 (15:29 +0000)]
retrace: Split ScopedAllocator into its own header.

It will be useful outside of retrace.

11 years agoUpdate downloads link.
José Fonseca [Tue, 18 Dec 2012 10:45:39 +0000 (10:45 +0000)]
Update downloads link.

11 years agocli: Fix MSVC build.
José Fonseca [Wed, 12 Dec 2012 18:35:56 +0000 (18:35 +0000)]
cli: Fix MSVC build.

11 years agod3dretrace: presents may flip so set CALL_FLAG_SWAP_RENDERTARGET flag.
José Fonseca [Wed, 12 Dec 2012 09:18:32 +0000 (09:18 +0000)]
d3dretrace: presents may flip so set CALL_FLAG_SWAP_RENDERTARGET flag.

11 years agod3dretrace: Dump D3D8 images too.
José Fonseca [Wed, 12 Dec 2012 07:38:42 +0000 (07:38 +0000)]
d3dretrace: Dump D3D8 images too.

11 years agoscripts: Add some missing code.
José Fonseca [Tue, 11 Dec 2012 20:37:39 +0000 (20:37 +0000)]
scripts: Add some missing code.

11 years agoscripts: New script to convert to PIX.
José Fonseca [Tue, 11 Dec 2012 19:51:26 +0000 (19:51 +0000)]
scripts: New script to convert to PIX.

11 years agod3dretrace: Follow --driver option for d3d8/d3d9 too
José Fonseca [Tue, 11 Dec 2012 19:02:48 +0000 (19:02 +0000)]
d3dretrace: Follow --driver option for d3d8/d3d9 too

11 years agod3d9state: Upack D3DFMT_R5G6B5 too.
José Fonseca [Tue, 11 Dec 2012 17:50:50 +0000 (17:50 +0000)]
d3d9state: Upack D3DFMT_R5G6B5 too.

Quite common.

11 years agoscripts: Don't install bogus sample.py
José Fonseca [Tue, 11 Dec 2012 09:02:23 +0000 (09:02 +0000)]
scripts: Don't install bogus sample.py

11 years agoscripts: Install all of them.
José Fonseca [Tue, 11 Dec 2012 07:34:45 +0000 (07:34 +0000)]
scripts: Install all of them.

11 years agoInstall all thirdparty licenses.
José Fonseca [Tue, 11 Dec 2012 07:22:16 +0000 (07:22 +0000)]
Install all thirdparty licenses.

11 years agoMerge branch 'trim-auto'
José Fonseca [Tue, 11 Dec 2012 07:20:26 +0000 (07:20 +0000)]
Merge branch 'trim-auto'

Conflicts:
cli/CMakeLists.txt

11 years agoMerge remote-tracking branch 'github/timestamp'
José Fonseca [Mon, 10 Dec 2012 22:58:18 +0000 (22:58 +0000)]
Merge remote-tracking branch 'github/timestamp'

11 years agoglretrace: Remove the gpu/cpu time syncing code.
José Fonseca [Mon, 10 Dec 2012 17:11:36 +0000 (17:11 +0000)]
glretrace: Remove the gpu/cpu time syncing code.

No longer necessary now that we use the same clock (GL_TIMESTAMP) for
both GPU and CPU time measurements.

11 years agocmake: Move the binary/installs definitions to CLI.
José Fonseca [Sun, 9 Dec 2012 15:46:59 +0000 (15:46 +0000)]
cmake: Move the binary/installs definitions to CLI.

As that's the only place they are used.

11 years agoqapitrace: Determine binary dir in run-time.
José Fonseca [Sun, 9 Dec 2012 13:22:30 +0000 (13:22 +0000)]
qapitrace: Determine binary dir in run-time.

11 years agoqapitrace: Adjust PATH only once and for all.
José Fonseca [Sun, 9 Dec 2012 13:05:24 +0000 (13:05 +0000)]
qapitrace: Adjust PATH only once and for all.

11 years agoqapitrace: Fix histogram tooltip for profiles with small number of calls.
José Fonseca [Sun, 9 Dec 2012 12:38:48 +0000 (12:38 +0000)]
qapitrace: Fix histogram tooltip for profiles with small number of calls.

11 years agogui/tracedialog: Don't show warning when user cancel to browse.
Alexandr Akulich [Fri, 7 Dec 2012 11:22:49 +0000 (17:22 +0600)]
gui/tracedialog: Don't show warning when user cancel to browse.

And add three dots to browse button's label to indicate dialog.

11 years agogui/mainwindow: Add functions that toggle actions enables and use it.
Alexandr Akulich [Fri, 7 Dec 2012 10:59:52 +0000 (16:59 +0600)]
gui/mainwindow: Add functions that toggle actions enables and use it.

Added enabling/disabling of few more actions.
Cleanup .ui file (set actions to default state).

11 years agogui: Fix crash on trigger actions without loaded trace-file.
Alexandr Akulich [Fri, 7 Dec 2012 10:58:14 +0000 (16:58 +0600)]
gui: Fix crash on trigger actions without loaded trace-file.
gui/apitrace: findFrameStart(), findFrameEnd(): Do nothing, when passed frame is null-pointer.

11 years agogui: Small style/usability fixes.
Alexandr Akulich [Fri, 7 Dec 2012 10:12:03 +0000 (16:12 +0600)]
gui: Small style/usability fixes.

Add accelerator (F) to Edit->Find.
Add accelerator (N) and shortcut (Ctrl+N) to File->New.
Rename "File->New" to "File->New..." to indicate, that dialog will be showed.

11 years agoglretrace: Use GL_TIMESTAMP (if available) for CPU profiling.
Carl Worth [Thu, 15 Nov 2012 18:51:01 +0000 (10:51 -0800)]
glretrace: Use GL_TIMESTAMP (if available) for CPU profiling.

The prior scheme of trying to continuously re-synchronize separate CPU
and GPU counters is doomed to always be unreliable. Instead, simply prefer
to use the GL_TIMESTAMP values for both GPU and for CPU profiling.

v2: José Fonseca: use glGet(GL_TIMESTAMP)

11 years agod3d11state: Use DirectXTex for format conversion.
José Fonseca [Fri, 7 Dec 2012 15:33:47 +0000 (15:33 +0000)]
d3d11state: Use DirectXTex for format conversion.

11 years agodirectxtex: Get it building on MinGW.
José Fonseca [Fri, 7 Dec 2012 15:33:21 +0000 (15:33 +0000)]
directxtex: Get it building on MinGW.

11 years agodirectxtex: Fix include filename case.
José Fonseca [Fri, 7 Dec 2012 11:53:23 +0000 (11:53 +0000)]
directxtex: Fix include filename case.

11 years agodirectxtex: Don't redefine NOMINMAX.
José Fonseca [Fri, 7 Dec 2012 11:37:16 +0000 (11:37 +0000)]
directxtex: Don't redefine NOMINMAX.

11 years agodirectxtex: Build with cmake.
José Fonseca [Fri, 7 Dec 2012 11:37:00 +0000 (11:37 +0000)]
directxtex: Build with cmake.

11 years agothirdparty/directxtex: Import DirectXTex library.
José Fonseca [Fri, 7 Dec 2012 11:14:11 +0000 (11:14 +0000)]
thirdparty/directxtex: Import DirectXTex library.

Will be useful for converting DirectX image formats.

11 years agocommon: Recognize Create* as DirectX call.
José Fonseca [Fri, 7 Dec 2012 09:26:01 +0000 (09:26 +0000)]
common: Recognize Create* as DirectX call.

11 years agoimage: Add forgotten CMakeLists.txt
José Fonseca [Fri, 7 Dec 2012 08:27:26 +0000 (08:27 +0000)]
image: Add forgotten CMakeLists.txt

doh..

11 years agoDrop API_D3D10/11.
José Fonseca [Fri, 7 Dec 2012 07:48:10 +0000 (07:48 +0000)]
Drop API_D3D10/11.

11 years agocli: Remove dead files.
José Fonseca [Fri, 7 Dec 2012 07:43:09 +0000 (07:43 +0000)]
cli: Remove dead files.

11 years agocli: Move pickle.hpp in.
José Fonseca [Fri, 7 Dec 2012 07:33:17 +0000 (07:33 +0000)]
cli: Move pickle.hpp in.

Only used by cli module.

11 years agoimage: Move image code into its own module.
José Fonseca [Fri, 7 Dec 2012 07:33:05 +0000 (07:33 +0000)]
image: Move image code into its own module.

11 years agocli: Merge trace_resource.cpp and trace_tools_trace.cpp in.
José Fonseca [Fri, 7 Dec 2012 07:00:46 +0000 (07:00 +0000)]
cli: Merge trace_resource.cpp and trace_tools_trace.cpp in.

It's only used by CLI and it will not change.

11 years agotracediff: Fix python differ to not highlight when stdout is not a tty
José Fonseca [Thu, 6 Dec 2012 07:11:29 +0000 (07:11 +0000)]
tracediff: Fix python differ to not highlight when stdout is not a tty

11 years agospecs: A few more tweaks to D3D specs.
José Fonseca [Sat, 1 Dec 2012 10:07:13 +0000 (10:07 +0000)]
specs: A few more tweaks to D3D specs.

11 years agotracediff: Fix python differ to not highlight when stdout is not a tty
José Fonseca [Thu, 6 Dec 2012 07:11:29 +0000 (07:11 +0000)]
tracediff: Fix python differ to not highlight when stdout is not a tty

11 years agod3dretrace: Fix driver overriding when pAdapter is non-NULL.
José Fonseca [Wed, 5 Dec 2012 19:34:26 +0000 (19:34 +0000)]
d3dretrace: Fix driver overriding when pAdapter is non-NULL.

11 years agod3dretrace: Use debugging when available.
José Fonseca [Wed, 5 Dec 2012 19:28:22 +0000 (19:28 +0000)]
d3dretrace: Use debugging when available.

11 years agogui: Drop console on Windows.
José Fonseca [Wed, 5 Dec 2012 18:45:22 +0000 (18:45 +0000)]
gui: Drop console on Windows.

11 years agod3d9state: Dump rendertarget images to JSON.
José Fonseca [Wed, 5 Dec 2012 12:00:37 +0000 (12:00 +0000)]
d3d9state: Dump rendertarget images to JSON.

11 years agod3dretrace: Remove left ofer redundant code.
José Fonseca [Wed, 5 Dec 2012 09:41:37 +0000 (09:41 +0000)]
d3dretrace: Remove left ofer redundant code.

11 years agoos: Use CLOCK_MONOTONIC
José Fonseca [Wed, 5 Dec 2012 09:41:24 +0000 (09:41 +0000)]
os: Use CLOCK_MONOTONIC

11 years agoinject: Use DLL injection for D3D10+ tracing.
José Fonseca [Tue, 4 Dec 2012 13:23:03 +0000 (13:23 +0000)]
inject: Use DLL injection for D3D10+ tracing.

11 years agod3dretrace: Dump D3D11 images/shaders too.
José Fonseca [Tue, 4 Dec 2012 13:04:14 +0000 (13:04 +0000)]
d3dretrace: Dump D3D11 images/shaders too.

11 years agoglretrace, dump-images: Accept --call-nos=no to get snapshots with call numbers
Carl Worth [Sun, 12 Aug 2012 23:49:09 +0000 (16:49 -0700)]
glretrace, dump-images: Accept --call-nos=no to get snapshots with call numbers

It is sometimes inconvenient to have call numbers encoded within the
snapshot filenames. For example, when doing tests of "apitrace trim"
in the test suite the call numbers frequently change even when the
image contents do not.

By accepting the --call-nos=no option, these programs will now
generate filenames with sequential numbers starting from 0 rather than
using call numbers in the filenames.

11 years agoMerge branch 'master' into trim-auto
José Fonseca [Sat, 1 Dec 2012 10:08:33 +0000 (10:08 +0000)]
Merge branch 'master' into trim-auto

11 years agospecs: A few more tweaks to D3D specs.
José Fonseca [Sat, 1 Dec 2012 10:07:13 +0000 (10:07 +0000)]
specs: A few more tweaks to D3D specs.

11 years agod3dstate: Fix MSVC build.
José Fonseca [Wed, 28 Nov 2012 21:17:48 +0000 (21:17 +0000)]
d3dstate: Fix MSVC build.

11 years agospecs: Minor tweaks to d3d7-9 specs.
José Fonseca [Wed, 28 Nov 2012 21:17:30 +0000 (21:17 +0000)]
specs: Minor tweaks to d3d7-9 specs.