Apitrace Android crash

2016-06-15 Thread Jeff
) and on a real hardware device (android-23) and same crash. Please advise. Thanks, Jeff Here's the script I'm using to run cmake: $ cat scripts/run_cmake.sh cd apitrace cmake \ -H. -Bbuild \ -DCMAKE_TOOLCHAIN_FILE=../scripts/android.toolchain.cmake \ -DANDROID_NDK=/home/u

[PATCH] Add profiling support to d3dretrace

2013-12-10 Thread Jeff Muizelaar
This works the same way as in glretrace. diff --git a/retrace/d3dretrace.hpp b/retrace/d3dretrace.hpp index 41cc1c5..aea8c03 100644 --- a/retrace/d3dretrace.hpp +++ b/retrace/d3dretrace.hpp @@ -91,6 +91,9 @@ resizeWindow(HWND hWnd, int width, int height); bool processEvents(void); +void frame_

Add support for a bunch of DXGI 1.2 interfaces

2013-11-19 Thread Jeff Muizelaar
diff --git a/specs/d3d11.py b/specs/d3d11.py index 7d1e1d7..3da1559 100644 --- a/specs/d3d11.py +++ b/specs/d3d11.py @@ -1219,13 +1219,14 @@ d3d11.addFunctions([ StdFunction(HRESULT, "D3D11CreateDevice", [(ObjPointer(IDXGIAdapter), "pAdapter"), (D3D_DRIVER_TYPE, "DriverType"), (HMODULE, "Soft

[PATCH] Key ID3D11DeviceContext::Map on the subresource

2013-11-19 Thread Jeff Muizelaar
ID3D11DeviceContext::Map maps subresources and not the DeviceContext. Therefore, we need to key our internal map tracking on the sub-resource instead of the DeviceContext. --- diff --git a/retrace/dxgiretrace.py b/retrace/dxgiretrace.py index 8fa1fdb..f428dbb 100755 --- a/retrace/dxgiretrace.py +

[PATCH] Move kCGLPFABackingVolatile to < 10.8

2013-10-31 Thread Jeff Muizelaar
kCGLPFABackingVolatile was added in 10.8 not 10.7 --- diff --git a/dispatch/glimports.hpp b/dispatch/glimports.hpp index 938c374..a913468 100644 --- a/dispatch/glimports.hpp +++ b/dispatch/glimports.hpp @@ -112,27 +112,27 @@ typedef struct _WGLSWAP #define kCGLPFAAcceleratedCompute 97 #define kC

[PATCH] Add state dumping support for ID3D11DeviceContext1

2013-03-12 Thread Jeff Muizelaar
diff --git a/retrace/dxgiretrace.py b/retrace/dxgiretrace.py index 6a51a4d..d6d7e96 100644 --- a/retrace/dxgiretrace.py +++ b/retrace/dxgiretrace.py @@ -151,17 +151,17 @@ createWindow(DXGI_SWAP_CHAIN_DESC *pSwapChainDesc) { def invokeInterfaceMethod(self, interface, method): # keep

Re: [PATCH] Add some missing DXGI and D3D11.1 api

2013-03-12 Thread Jeff Muizelaar
On 2013-03-11, at 6:55 PM, José Fonseca wrote: > Thanks. Pushed. > > I just had to massage the new code a little, so that builds on machines > without D3D11.1/DXG1.2 headers don't fail. I haven't tested though, so > please let me know if there are any regressions on your end. There were no r

[PATCH] Add some missing DXGI and D3D11.1 api

2013-03-11 Thread Jeff Muizelaar
diff --git a/specs/d3d11_1.py b/specs/d3d11_1.py index 5681191..02b0b54 100644 --- a/specs/d3d11_1.py +++ b/specs/d3d11_1.py @@ -129,16 +129,17 @@ D3D11_1_CREATE_DEVICE_CONTEXT_STATE_FLAG = Flags(UINT, [ "D3D11_1_CREATE_DEVICE_CONTEXT_STATE_SINGLETHREADED", ]) ID3D11DeviceContext1.methods