3-594 graphics profiler graphics frame analysis windows phone apps
TRANSCRIPT
DirectX Development with Visual Studio 2013
Project TemplateWindows Apps
Item Templates3D Starter KitDirectX ToolkitSamples
Graphics DebuggerDesktop, Windows Apps
Image EditorModel EditorShader DesignerContent PipelineCompile HLSL in VS
Graphics DiagnosticsGraphics Assets Authoring
Legend:
Italic =Not included in VS. Available for download online.
Getting started
Visual Studio 2013
Project TemplateWindows Apps,
Item Templates3D Starter KitDirectX ToolkitSamples
Graphics DebuggerDesktop, Windows Apps,
Image EditorModel EditorShader DesignerContent PipelineCompile HLSL in VS
Graphics DiagnosticsGraphics Assets AuthoringGetting started
Legend:
Green = New in Update 2
Italic = Not included in VS. Available for download online.
Graphics ProfilerGraphics Frame Analysis
Windows Phone Apps Windows Phone Apps
+ Update 2
Getting startedVS 2013 RTMRefreshed DirectX project templates for Windows
VS 2013 Update 2New DirectX project templates for Windows PhoneUniversal projects to target both Windows and Windows Phone
Getting started
Build a DirectX AppWindows AppsDirectX App
DirectX and XAML App
Windows Phone AppsDirectX App
DirectX and XAML App
DirectX and XAML App (Silverlight 8.1)
Target both platforms using universal projects
Graphics Diagnostics
VS 2013 RTMRemote debuggingCompute shader debuggingAvailable in VS Express for Windows!
VS 2013 Update 2Consecutive captureProgrammatic captureEnhanced Event ListDebugging Windows Phone 8.1 appsGraphics Frame Analysis
Graphics Diagnostics
Capture consecutive framesSupport up to 30 consecutive frames with one captureEach frame can be fully playback and analyzed individuallyNew in Update 2
Config the number in the Graphics Toolbar
Example: 3 consecutive
frames captured
Programmatic captureCapturing frames programmaticallyCapturing frames in specific situations detectable by programCapturing DirectCompute
#include "DXProgrammableCapture.h" // Included in Windows SDK
IDXGraphicsAnalysis* pAPICapture = NULL;DXGIGetDebugInterface1(0, __uuidof(pAPICapture),
reinterpret_cast<void**>(&pAPICapture));
pAPICapture->BeginCapture();...m_renderer->Render();m_renderer->Present();...pAPICapture->EndCapture(); // Optional: Automatically capture with Present() call.
pAPICapture->Release();
Enhanced Graphics Event ListNew Draw Calls view Group by Draw callsModify List shows events that modify related objectHighlight unnecessary calls
Switch between Timeline view and Draw Calls view
New in Update 2
Remote debuggingSupport x86, x64, ARMShare log file and change Playback machineRequire Remote Tools on remote machine (if VS not installed)
Compute Shader debuggingTrace based Compute Shader debuggingSelect Thread Group and Thread to debugStep into HLSL shader code
Debugging Windows Phone 8.1Debug in Phone Emulator or tethered PhoneSame feature set as for Windows Store and DesktopGraphics Event ListGraphics Object TableGraphics Pixel History Graphics PipelineShader DebuggingGraphics Event Call Stack
New in Update 2
Graphics Frame AnalysisGenerate Frame Analysis Report for captured framesBaseline timing, experiments, hardware performance countersRe-run analysis on different hardwareExport results
New in Update 2
Visual Studio 2013
Project TemplateWindows Apps,
Item Templates3D Starter KitDirectX ToolkitSamples
Graphics DebuggerDesktop, Windows Apps,
Image EditorModel EditorShader DesignerContent PipelineCompile HLSL in VS
Graphics DiagnosticsGraphics Assets AuthoringGetting started
Legend:
Green = New in Update 2
Italic = Not included in VS. Available for download online.
Graphics ProfilerGraphics Frame Analysis
Windows Phone Apps Windows Phone Apps
+ Update 2
Sample solution showcaseModel and texture designModel, texture, shader format conversionAssets loadingXAML and DirectX interopTarget Windows Store and Windows Phone
Available on MSDN: http://aka.ms/vs3dkit Updated for Phone 8.1 and Universal project
Visual Studio 3D Starter Kit
DirectX Toolkit
Shared source utility library that makes D3D easier to work withLoad textures and modelsDraw sprites and textPlay sound effectsBasicEffect - shaders for simple renderingSupports Windows Store, Windows Phone, Desktop and Xbox One
Available on CodePlex: https://directxtk.codeplex.com/Updated for Phone 8.1
Sessions 4/2, 2:30 PM: Building Great Windows & Windows Phone XAML Apps with VS 2013,
Navit Saxena 4/2, 2:30 PM: Direct3D 12 API Preview, Max McMullen 4/2, 5:30 PM: Innovations in High Performance 2D Graphics with DirectX Across
Windows and Windows Phone, Dan McLachlan 4/3, 2:30 PM: Modern C++: What You Need to Know, Herb Sutter 4/4, 9:00 AM: Native Code Performance on Modern CPUs: A Changing Landscape, Eric
Brummer
Visual C++ team blog: http://blogs.msdn.com/b/vcblog/
Visual Studio 3D Starter Kit: http://aka.ms/vs3dkit
DirectX Toolkit: https://directxtk.codeplex.com/
Resources
for Ultimate with MSDN subscribers
Go to http://msdn.Microsoft.com/specialoffers
SPECIAL OFFERSPartner Program
Your Feedback is Important
Fill out an evaluation of this session and help shape future events.
Scan the QR code to evaluate this session on your mobile device.
You’ll also be entered into a daily prize drawing!
© 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.