资源简介

高通不崩溃版 Adreno Profiler 批量导出资源 我亲自修复的bug,导出资源的时候,选择保存dc数据 csv到文件,文件名a开头就可以保存所有的obj和贴图,崩溃率几乎为0

资源截图

代码片段和文件信息

#include “D3D11_AP.h“

// replace true D3D11CreateDevice with shim‘s version of CreateDevice
APD3D11CreateDevicePtr APD3D11CreateDeviceAddr = NULL;

#if !defined _WINRT && !defined _WP
// replace true D3D11CreateDeviceAndSwapChain with shim‘s version of CreateDeviceAndSwapChain (Desktop Only Function)
APD3D11CreateDeviceAndSwapChainPtr APD3D11CreateDeviceAndSwapChainAddr = NULL;
#endif

#if !defined _WP
CreateAPD2D1CreateFactoryPtr CreateAPD2D1CreateFactoryAddr = NULL;
APD2D1CreateFactoryInterface* APCreateFactory = NULL;
#endif
APCreateDXGIFactory1Ptr APCreateDXGIFactory1PtrAddr = NULL;

HINSTANCE shimHandle;
void APSetup()
{
// load dll from a content folder
// load dll from a content folder
#ifdef _WINRT 
#ifdef _DEBUG
shimHandle = LoadPackagedLibrary(L“D3D11_AP_WINRT_Debug“ 0);
#else //RELEASE
shimHandle = LoadPackagedLibrary(L“D3D11_AP_WINRT“ 0);
#endif //RELEASE/DEBUG

#elif defined _WP
#ifdef _DEBUG 
shimHandle = LoadPackagedLibrary(L“D3D11_AP_WP8_Debug“ 0);
#else //RELEASE
shimHandle = LoadPackagedLibrary(L“D3D11_AP_WP8“ 0);
#endif //RELEASE

#elif defined _WIN32
#ifdef _DEBUG
shimHandle = LoadLibrary(L“D3D11_AP_WIN32_Debug“);
#else //RELEASE
shimHandle = LoadLibrary(L“D3D11_AP_WIN32“);
#endif //RELEASE/DEBUG

#elif defined _X64
#ifdef _DEBUG
shimHandle = LoadLibrary(L“D3D11_AP_X64_Debug“);
#else //RELEASE
shimHandle = LoadLibrary(L“D3D11_AP_X64“);
#endif //RELEASE/DEBUG
#endif //WINRT/WP/WIn32/X64

if (!shimHandle)
{
abort();
}

APCreateDXGIFactory1PtrAddr = (APCreateDXGIFactory1Ptr)GetProcAddress(shimHandle “APCreateDXGIFactory1“);
if (!APCreateDXGIFactory1PtrAddr)
{
abort();
}

APD3D11CreateDeviceAddr = (APD3D11CreateDevicePtr)GetProcAddress(shimHandle “APD3D11CreateDevice“);
if (!APD3D11CreateDeviceAddr)
{
abort();
}

#if !defined _WINRT && !defined _WP
APD3D11CreateDeviceAndSwapChainAddr = (APD3D11CreateDeviceAndSwapChainPtr)GetProcAddress(shimHandle “APD3D11CreateDeviceAndSwapChain“);
if (!APD3D11CreateDeviceAndSwapChainAddr)
{
abort();
}
#endif

#if !defined _WP
CreateAPD2D1CreateFactoryAddr = (CreateAPD2D1CreateFactoryPtr)GetProcAddress(shimHandle “CreateAPD2D1CreateFactoryobject“);
if (!CreateAPD2D1CreateFactoryAddr)
{
abort();
}
APCreateFactory = (APD2D1CreateFactoryInterface*)(CreateAPD2D1CreateFactoryAddr)();
#endif
}


void APCleanup()
{
#if !defined _WP
delete APCreateFactory;
APCreateFactory = NULL;
#endif


FreeLibrary(shimHandle);
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件     509704  2012-12-21 01:46  Adreno Profiler\ActiproSoftware.Bars.WinForms.dll

     文件     583432  2012-12-21 01:46  Adreno Profiler\ActiproSoftware.Docking.WinForms.dll

     文件     141064  2012-12-21 01:46  Adreno Profiler\ActiproSoftware.Navigation.WinForms.dll

     文件     370440  2012-12-21 01:46  Adreno Profiler\ActiproSoftware.Shared.WinForms.dll

     文件    2954048  2015-02-02 18:54  Adreno Profiler\AdrenoProfiler.chm

     文件     697344  2015-02-02 18:53  Adreno Profiler\AdrenoProfiler.exe

     文件     281505  2015-02-02 18:16  Adreno Profiler\AdrenoProfilerTools.apk

     文件     113258  2015-02-02 18:16  Adreno Profiler\AdrenoProfilerTools64.apk

     文件    4173928  2015-02-02 18:11  Adreno Profiler\d3dcompiler_47.dll

     文件     287232  2015-02-02 18:43  Adreno Profiler\DCAPToolsWrapper.dll

     文件     300032  2015-02-02 18:50  Adreno Profiler\DXPlaybackWrapper_vs2012.dll

     文件       2549  2015-02-02 18:10  Adreno Profiler\DXShim\Include\D3D11_AP.cpp

     文件      87120  2015-02-02 18:10  Adreno Profiler\DXShim\Include\D3D11_AP.h

     文件     299520  2015-02-02 18:10  Adreno Profiler\DXShim\Lib\D3D11_AP_WINRT.dll

     文件    4131840  2015-02-02 18:10  Adreno Profiler\DXShim\Lib\D3D11_AP_WINRT.pdb

     文件    1806848  2015-02-02 18:10  Adreno Profiler\DXShim\Lib\D3D11_AP_WINRT_Debug.dll

     文件    9235456  2015-02-02 18:10  Adreno Profiler\DXShim\Lib\D3D11_AP_WINRT_Debug.pdb

     文件     295936  2015-02-02 18:10  Adreno Profiler\DXShim\Lib\D3D11_AP_WP8.dll

     文件    4008960  2015-02-02 18:10  Adreno Profiler\DXShim\Lib\D3D11_AP_WP8.pdb

     文件    1807872  2015-02-02 18:10  Adreno Profiler\DXShim\Lib\D3D11_AP_WP8_Debug.dll

     文件    9186304  2015-02-02 18:10  Adreno Profiler\DXShim\Lib\D3D11_AP_WP8_Debug.pdb

     文件      43008  2015-02-02 18:46  Adreno Profiler\GanttView.dll

     文件     108064  2015-02-02 18:09  Adreno Profiler\ggpm

     文件     175616  2015-02-02 18:45  Adreno Profiler\GLWrapper.dll

     文件     390656  2015-02-02 18:41  Adreno Profiler\libDCAP.dll

     文件     142336  2015-02-02 18:40  Adreno Profiler\libEGL.dll

     文件     390144  2015-02-02 18:43  Adreno Profiler\libGLESv2.dll

     文件     172519  2015-02-02 18:16  Adreno Profiler\License.rtf

     文件     844800  2015-02-02 18:14  Adreno Profiler\LidorSystems.IntegralUI.dll

     文件     126464  2015-02-02 18:14  Adreno Profiler\LidorSystems.IntegralUI.Lists.dll

............此处省略28个文件信息

评论

共有 条评论