-
0da91a7d
by Jose Fonseca
at 2019-04-14T13:11:27Z
cmake: Bump version.
-
0b8b0199
by Piotr Podsiadły
at 2019-04-14T13:12:23Z
switch from python2 to python3
-
e91fb544
by Jose Fonseca
at 2019-04-14T13:22:24Z
cmake: Use PythonInterp instead of Python3.
As the latter is not in widely available CMake versions.
-
45562aa9
by Jose Fonseca
at 2019-04-14T13:27:23Z
appveyor: Set Python 3.6 path.
-
56439173
by Jose Fonseca
at 2019-04-14T13:51:20Z
ci: Update CentOS-6's docker image for Python 3.
-
0bee2047
by Jose Fonseca
at 2019-04-28T11:25:33Z
travis: Use jrfonseca/centos6:python3 docker image.
-
e68f4326
by Jose Fonseca
at 2019-04-28T12:47:29Z
cli: Pickle blobs as Python 3 bytes objects.
-
5b3c68ca
by Jose Fonseca
at 2019-04-28T13:13:01Z
specs: Tie Python 2 ->3 conversion loose ends.
-
247e1fa8
by Jose Fonseca
at 2019-04-28T13:16:22Z
scripts: Tie Python 2 -> 3 conversion loose ends.
-
f527924c
by Jose Fonseca
at 2019-04-29T05:41:49Z
scripts: Tie a few more Python 2 to 3 conversion loose ends.
-
6a875dcf
by Jose Fonseca
at 2019-04-29T11:36:34Z
ci: Add Python 3 to CentOS-6 docker image.
In antecipation for migrating to Python 3.
But this time around, don't remove Python 2, so we can continue to build
old branches.
-
f65f33de
by Jose Fonseca
at 2019-04-29T15:45:42Z
Revert "travis: Use jrfonseca/centos6:python3 docker image."
This reverts commit 0bee2047e91ee231255a5f03bd6c81ee24b4e7e7.
-
b5c954c0
by Jose Fonseca
at 2019-04-29T19:07:42Z
Revert "ci: Update CentOS-6's docker image for Python 3."
This reverts commit 56439173ebd6f8a04b0bc93b907248069f2388c2.
-
11537f21
by Jose Fonseca
at 2019-04-29T19:07:52Z
ci: Update CentOS-6's docker image for Python 3.
-
81c73a74
by Jose Fonseca
at 2019-04-30T09:35:36Z
Merge branch 'python3'
Fixes https://github.com/apitrace/apitrace/issues/574
-
b5f519d2
by Jose Fonseca
at 2019-04-30T12:37:15Z
ci: Install Python 3 in Ubuntu 16.04 docker image.
-
1294f69e
by i.Dark_Templar
at 2019-05-01T09:35:10Z
cmake: Fix out-of-source build without bundled snappy.
-
5777f1a8
by Jose Fonseca
at 2019-05-01T09:40:43Z
snappy: Place config.h on a subdirectory.
And ensure it's only included internally.
This addresses the issue described in
https://github.com/apitrace/apitrace/pull/611#issuecomment-488087078
-
d107f89c
by Danylo Piliaiev
at 2019-05-15T12:14:21Z
memtrace: Fix pointer arithmetic of MemoryShadow::cover
Pointers have unsigned type thus casting them to intptr_t
could lead to a negative value which in one part of the _expression_
is being implicitly converted to size_t resulting in:
nBlocks = big_positive_number - negative_number
This rarely happens on x64 but would often happen on x32
resulting in memory access violation.
Fixes: bac0ea039e15c219d243f2ffea40fe9b6181ce32
Signed-off-by: Danylo Piliaiev <danylo.piliaiev@globallogic.com>
-
da21fd01
by Jose Fonseca
at 2019-05-22T06:01:00Z
scripts: Finish porting retracediff to Python 3.
-
3793ce36
by Andrii Simiklit
at 2019-05-28T14:21:45Z
dxgitrace: Fix a thread safety of a d3d11 CreateBuffer method.
According to directx 11 spec all device methods are thread safe:
"All ID3D11Device interface methods are free-threaded, which means
it is safe to have multiple threads call the functions
at the same time."
But all device-context methods according to directx 11 spec:
"Any context – immediate or deferred – can be used on any thread
as long as the context is only used in one thread at a time."
So without this fix WrapID3D11Device*::CreateBuffer methods are not
thread safe. It could lead to the crash in some games which are
create buffers in different threads.
Suggested-by: Jose Fonseca <jfonseca@vmware.com>
Signed-off-by: Andrii Simiklit <andrii.simiklit@globallogic.com>
-
04be2760
by Andrii Simiklit
at 2019-05-28T14:22:00Z
dxgitrace: Add comment about g_WrappedObjects protection.
Signed-off-by: Andrii Simiklit <andrii.simiklit@globallogic.com>
-
e0bfba62
by Danylo Piliaiev
at 2019-06-17T06:23:54Z
dxgitrace: Fix null pointer dereference in createWindowForSwapChain
CreateDeviceAndSwapChain family of functions can accept null pSwapChainDesc.
Signed-off-by: Danylo Piliaiev <danylo.piliaiev@globallogic.com>
-
9bda064e
by Andrii Kryvytskyi
at 2019-06-17T06:26:55Z
memtrace: Update nBlocks when pointer changes in MemoryShadow::cover
During each ::Map different pointers could be returned by DirectX.
Thus for the same resource with the same subresource having the same size
pointer may change between calls of MemoryShadow::cover. With the pointer
change number of blocks also may change, which may later cause memory
access violation in MemoryShadow::update.
Signed-off-by: Danylo Piliaiev <danylo.piliaiev@globallogic.com>
Signed-off-by: Andrii Kryvytskyi <andrii.o.kryvytskyi@globallogic.com>
-
0d6e945c
by Rene Sugar
at 2019-06-17T06:27:42Z
Add CGL PBuffer support
-
487e9c53
by Jose Fonseca
at 2019-06-17T09:37:28Z
gltrace: Support GL_EXT_unpack_subimage.
Fixes https://github.com/apitrace/apitrace/issues/599
-
251bfe29
by Jose Fonseca
at 2019-06-18T17:25:12Z
glstate: Support more kinds of vertex attributes.
-
bfdf93e5
by Jose Fonseca
at 2019-06-26T12:03:27Z
dxgiretrace: Ignore IDXGIKeyedMutex methods.
They easily lead to hangs, as we don't capture multiple processes.
-
9428d0a4
by Zack Rusin
at 2019-06-27T15:45:45Z
d3d11: Dump topology as well
It's usefull to know what's the currently set topology so lets
dump that information as well.
-
0e5ca841
by Jose Fonseca
at 2019-06-28T10:23:59Z
appveyor: Upgrade to Qt 5.12.
-
ad051de4
by Jose Fonseca
at 2019-06-28T11:35:10Z
specs: Recognize D3D_FEATURE_LEVEL_12_x.
-
42b08205
by Jose Fonseca
at 2019-06-28T13:09:56Z
appveyor: Fix 32bit Qt path.
-
3d2b3fe5
by Jose Fonseca
at 2019-06-28T13:32:17Z
d3dretrace: Fix D3D11_RESOURCE_MISC_SHARED_KEYEDMUTEX.
We should still use D3D11_RESOURCE_MISC_SHARED regardless.
-
0f541f46
by Jose Fonseca
at 2019-07-03T12:46:05Z
d3dretrace: Handle presents with DXGI_PRESENT_TEST flag.
-
13803270
by Jose Fonseca
at 2019-07-22T18:52:26Z
dxgiretrace: Log non-default driver descriptions.
-
7da30bb2
by Jose Fonseca
at 2019-07-29T13:17:42Z
dxgiretrace: Fix IDXGIKeyedMutex::ReleaseSync.
IDXGIKeyedMutex::ReleaseSync method has side effects, which we need to
emulate, when emulating D3D11_RESOURCE_MISC_SHARED_KEYEDMUTEX on top
of D3D11_RESOURCE_MISC_SHARED.
-
de2c566f
by Jose Fonseca
at 2019-07-31T11:53:14Z
glstate: Dump image uniforms.
-
3c64253d
by Jose Fonseca
at 2019-07-31T11:53:49Z
glstate: Limit dumped vertex count to 4K.
-
cdf4c0e9
by Jose Fonseca
at 2019-07-31T11:54:30Z
gui: Limit QImage sizes to 32767x32767.
As this seems to be the maximum supported in practice.
-
9f18e5d9
by Danylo Piliaiev
at 2019-08-05T09:13:56Z
gltrace: Support writable coherent buffers
For all writable coherent buffers we create respective shadow
memory of the same size aligned to page.
When memory is being mapped we save GL memory pointer and return
readonly shadow memory with the offset.
When write into shadow memory is caught we remove protection from
the respective page, mark page as dirty and add this shadow memory
to the dirty list in the current context.
When removing protection if previous page is also dirty we double
the number of page to remove protection from.
Thus reducing amount of page exceptions to log(n) where n is
a number of consecutive pages being written to.
On all draw and unpack functions all dirty memory shadows are
being commited to corresponding gl memory and made protected again.
When fence become signaled we sync all readable buffers.
Current shortcomings:
- Buffer's contents may be changed from shaders however this
wouldn't be reflected in shadow memory and if the same page
is changed on CPU side and on GPU side even if offsets are
different the data on the GPU will be overwtitten.
- Small changes in buffer result in full page write.
- All readable-writable buffers are synced back to cpu on
fence signal instead of only potentially changed ones.
Signed-off-by: Danylo Piliaiev <danylo.piliaiev@globallogic.com>
-
c2087976
by Danylo Piliaiev
at 2019-08-05T09:13:56Z
gltrace: Coalesce consecutive writes into coherent buffer
Signed-off-by: Danylo Piliaiev <danylo.piliaiev@globallogic.com>
-
965128cc
by Illia Iorin
at 2019-08-19T10:56:38Z
gltrace: Remove the incorrect offset in GLMemoryShadow::updateForReads()
Signed-off-by: Illia Iorin <illia.iorin@globallogic.com>
-
4b448399
by Jose Fonseca
at 2019-08-22T10:04:53Z
glretrace: Avoid crashes when retracing calls with no bound context.
Unfortunately this often happens due to application sloppyness when
terminating, whereby GL resources are destroyed without first binding
the associated GL context.
-
8f7873a3
by Jose Fonseca
at 2019-08-27T14:00:10Z
helpers: Fix D3D8/9 shader size computation.
Fix the issue that megai2 <megai2@ya.ru> reported on
https://github.com/apitrace/apitrace/pull/625
-
68328e08
by megai2
at 2019-08-27T15:05:32Z
helpers: Added note about sm 1_x token advancement.
-
debbeb4b
by Jose Fonseca
at 2019-08-27T15:06:17Z
helpers: Improve D3D8/9 shader size computation once again.
Based on megai2@ya.ru's comment.
-
ac6776f7
by Jose Fonseca
at 2019-09-04T13:48:20Z
cli: Allow to select multiple threads when trimming.
-
1c63202d
by Michal Krol
at 2019-09-06T08:49:14Z
dxgitrace: Trace DXGID3D10* entrypoints in dxgi.dll.
Also, fix tabs in dxgitrace.def.
-
f9abd213
by Michal Krol
at 2019-09-06T08:49:37Z
docs: Fix command line for tracing dxgi apps.
Uppercase "DXGI" is not accepted by apitrace trace.
-
34394026
by Jose Fonseca
at 2019-09-25T12:20:19Z
specs: Fix Create/Get methods.
-
c1cf5c0b
by Jose Fonseca
at 2019-11-08T16:32:34Z
dxgiretrace: Handle D3D11CreateDevice with null parameters.
D3D11CreateDevice can return E_FALSE when pointers are null. Apps seem
to use this to check supported feature level. This change makes
d3dretrace more robust against that.
-
8d00c5e9
by Charlie Birks
at 2019-11-08T17:39:39Z
Support tracing PBOs on GLES 3.0
-
4b97675f
by Jeff Gilbert
at 2019-11-08T22:03:08Z
Use Python3_EXECUTABLE in cmake.
v2: Keep old behavior for older CMake; plus tie a few loose-ends -- Jose
-
78078e90
by Jose Fonseca
at 2019-11-11T11:19:55Z
travis: Explicitly set Python3_EXECUTABLE.
Somehow auto-detection is not working on Travis builder images.
-
66bd8555
by Jose Fonseca
at 2019-11-14T12:04:06Z
lib/trace: Mark a few more D3D11 calls as verbose.
-
75b60486
by Jose Fonseca
at 2019-11-14T14:03:08Z
travis: Upgrade to bionic.
-
ae250e4f
by Jose Fonseca
at 2019-11-18T11:05:12Z
travis: Fix ubuntu64-clang build.
-
dfe37e3d
by Jose Fonseca
at 2019-11-24T09:28:26Z
inject: Be resilient against DLLs loaded as data/resource-only.
-
84661878
by Jose Fonseca
at 2019-11-24T09:28:26Z
inject: Recognise a few more API sets.
-
15b80ffc
by Jose Fonseca
at 2019-11-24T09:28:26Z
inject: Ignore LoadLibrary calls with data flags.
-
4734a425
by Emil Velikov
at 2019-11-24T17:07:33Z
glws_waffle: Add egl surfaceless support
Bump the waffle version requirement to 1.6 and handle the new platform
token.
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: Alexandros Frantzis <alexandros.frantzis@collabora.com>
-
a737f865
by Jose Fonseca
at 2019-11-24T21:49:32Z
khronos: Update headers.
-
f2c45ae8
by Gleb Mazovetskiy
at 2019-11-24T21:51:10Z
cmake: Allow building without X11.
-
47fd41ec
by Jose Fonseca
at 2019-11-24T22:22:28Z
dispatch: Add missing stdint.h include
-
6057b988
by Jose Fonseca
at 2019-11-26T12:10:55Z
retrace: Fix macOS build.
-
35f8bdec
by Jose Fonseca
at 2019-11-26T12:12:33Z
travis: Upgrade to Xcode 11.2.
-
ac710485
by Jose Fonseca
at 2019-11-26T13:13:50Z
retrace: Make Waffle 1.6 a soft dependency.
-
cae55f54
by Joshua Ashton
at 2019-11-26T14:27:11Z
dlltrace: Implement dll path override.
Implement env var APITRACE_FORCE_MODULE_PATH which allows the user to
force override the directory to the dirs we want to trace against.This
is useful for tracing against reimplementations (ie. d9vk/dxvk) on their
native platforms.