Rong Lu PowerPoint Presentation, PPT - DocSlides

Download

  • Likes: 2
  • Views: 3
  • natalia-silvester

Description

Rong Lu PowerPoint Presentation, PPT - DocSlides - Senior Program Manager. Visual C++. DirectX Graphics Development with Visual Studio 2013. 3-594 . Why DirectX?. DirectX Graphics Development with Visual Studio 2013 and Update 2. Demos. Q & A. Agenda.

Download this presentation

Rong Lu PowerPoint Presentation, PPT - DocSlides

Click below link (As may be) to download this presentation.

Download Note - The PPT/PDF document "Rong Lu PowerPoint Presentation, PPT - D..." is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.

Rong Lu PowerPoint Presentation, PPT - DocSlides

    Slide1

    Slide2

    Rong LuSenior Program ManagerVisual C++

    DirectX Graphics Development with Visual Studio 2013

    3-594

    Slide3

    Why DirectX?DirectX Graphics Development with Visual Studio 2013 and Update 2DemosQ & A

    Agenda

    Slide4

    Halo: Spartan Assault

    Slide5

    Bing Maps

    Slide6

    Fresh Paint

    Slide7

    Project Spark

    Slide8

    DirectX Development with Visual Studio 2013

    Project TemplateWindows AppsItem Templates3D Starter KitDirectX ToolkitSamples

    Graphics DebuggerDesktop, Windows Apps

    Image EditorModel EditorShader DesignerContent PipelineCompile HLSL in VS

    Graphics Diagnostics

    Graphics Assets Authoring

    Legend:

    Italic =Not included in VS. Available for download online.

    Getting started

    Slide9

    Visual Studio 2013

    Project TemplateWindows Apps, Item Templates3D Starter KitDirectX ToolkitSamples

    Graphics DebuggerDesktop, Windows Apps,

    Image EditorModel EditorShader DesignerContent PipelineCompile HLSL in VS

    Graphics Diagnostics

    Graphics Assets Authoring

    Getting started

    Legend:

    Green

    = New in Update 2

    Italic

    = Not included in VS. Available for download online.

    Graphics

    Profiler

    Graphics Frame Analysis

    Windows Phone Apps

    Windows Phone Apps

    +

    Update 2

    Slide10

    Getting started

    VS 2013 RTMRefreshed DirectX project templates for WindowsVS 2013 Update 2New DirectX project templates for Windows PhoneUniversal projects to target both Windows and Windows Phone

    Getting started

    Slide11

    Demo

    Build a DirectX App for Windows and Windows Phone

    Slide12

    Build a DirectX App

    Windows AppsDirectX App DirectX and XAML AppWindows Phone AppsDirectX App DirectX and XAML AppDirectX and XAML App (Silverlight 8.1)Target both platforms using universal projects

    Slide13

    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

    Slide14

    Demo

    Use Graphics Diagnostics to

    debug

    a

    DirectX

    app

    Slide15

    Capture consecutive frames

    Support 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

    Slide16

    Programmatic capture

    Capturing 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();

    Slide17

    Enhanced Graphics Event List

    New Draw Calls view Group by Draw callsModify List shows events that modify related objectHighlight unnecessary callsSwitch between Timeline view and Draw Calls viewNew in Update 2

    Slide18

    Remote debugging

    Support x86, x64, ARMShare log file and change Playback machineRequire Remote Tools on remote machine (if VS not installed)

    Slide19

    Compute Shader debugging

    Trace based Compute Shader debuggingSelect Thread Group and Thread to debugStep into HLSL shader code

    Slide20

    Demo

    Use Graphics Diagnostics

    to analyze

    performance in a DirectX app

    Slide21

    Debugging Windows Phone 8.1

    Debug 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 StackNew in Update 2

    Slide22

    Graphics Frame Analysis

    Generate Frame Analysis Report for captured framesBaseline timing, experiments, hardware performance countersRe-run analysis on different hardwareExport resultsNew in Update 2

    Slide23

    Visual Studio 2013

    Project TemplateWindows Apps, Item Templates3D Starter KitDirectX ToolkitSamples

    Graphics DebuggerDesktop, Windows Apps,

    Image EditorModel EditorShader DesignerContent PipelineCompile HLSL in VS

    Graphics Diagnostics

    Graphics Assets Authoring

    Getting started

    Legend:

    Green

    = New in Update 2

    Italic

    = Not included in VS. Available for download online.

    Graphics

    Profiler

    Graphics Frame Analysis

    Windows Phone Apps

    Windows Phone Apps

    +

    Update 2

    Slide24

    Sample solution showcaseModel and texture designModel, texture, shader format conversionAssets loadingXAML and DirectX interopTarget Windows Store and Windows PhoneAvailable on MSDN: http://aka.ms/vs3dkit Updated for Phone 8.1 and Universal project

    Visual Studio 3D Starter Kit

    Slide25

    DirectX Toolkit

    Shared source utility

    library

    that makes

    D3D easier to work with

    Load textures and models

    Draw sprites and text

    Play sound effects

    BasicEffect

    -

    shaders

    for simple rendering

    Supports

    Windows Store,

    Windows Phone, Desktop

    and Xbox

    One

    Available on

    CodePlex:

    https://directxtk.codeplex.com

    /

    Updated for Phone 8.1

    Slide26

    Q&A

    ronglu@microsoft.com

    Slide27

    Sessions4/2, 2:30 PM: Building Great Windows & Windows Phone XAML Apps with VS 2013, Navit Saxena4/2, 2:30 PM: Direct3D 12 API Preview, Max McMullen4/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 Sutter4/4, 9:00 AM: Native Code Performance on Modern CPUs: A Changing Landscape, Eric BrummerVisual C++ team blog: http://blogs.msdn.com/b/vcblog/Visual Studio 3D Starter Kit: http://aka.ms/vs3dkitDirectX Toolkit: https://directxtk.codeplex.com/

    Resources

    Slide28

    for Ultimate with MSDN subscribers

    Go to

    http://msdn.Microsoft.com/specialoffers

    SPECIAL OFFERS

    Partner Program

    Slide29

    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!

    Slide30

    © 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.

Report this Document.