NVIDIA Opengl in 2012: Version 4.3 Is Here!

NVIDIA Opengl in 2012: Version 4.3 Is Here!

(unabridged slide deck) NVIDIA OpenGL in 2012: Version 4.3 is here! Mark Kilgard Mark Kilgard Principal System Software Engineer OpenGL driver and API evolution Cg (“C for graphics”) shading language GPU-accelerated path rendering OpenGL Utility Toolkit (GLUT) implementer Author of OpenGL for the X Window System Co-author of Cg Tutorial Worked on OpenGL for 20+ years Talk Details Location: West Hall Meeting Room 503, Los Angeles Convention Center Date: Wednesday, August 8, 2012 Time: 11:50 AM - 12:50 PM Mark Kilgard (Principal Software Engineer, NVIDIA) Abstract: Attend this session to get the most out of OpenGL on NVIDIA Quadro and GeForce GPUs. Learn about the new features in OpenGL 4.3, particularly Compute Shaders. Other topics include bindless graphics; Linux improvements; and how to best use the modern OpenGL graphics pipeline. Learn how your application can benefit from NVIDIA's leadership driving OpenGL as a cross-platform, open industry standard. Topic Areas: Computer Graphics; Development Tools & Libraries; Visualization; Image and Video Processing Level: Intermediate Outline State of OpenGL & OpenGL’s importance to NVIDIA Compute Shaders explored Other stuff in OpenGL 4.3 Further NVIDIA OpenGL Work How to exploit OpenGL’s modern graphics pipeline State of OpenGL & OpenGL’s importance to NVIDIA OpenGL Standard is 20 Years and Strong Think back to Computing in 1992 Programming Languages ANSI C (C 89) was just 3 years old C++ still implemented as a front-end to C OpenGL in 1992 provided FORTRAN and Pascal bindings One year before NCSA Mosaic web browser first written Now WebGL standard in almost every browser Windows version Windows 3.1 ships! NT 3.1 still a year away Entertainment Great video game graphics? Mortal Kombat? Top grossing movie (Aladdin) was animated Back when animated movies were still hand-drawn 20 Years Ago: Enter OpenGL 20 Years in Print Then and Now 2012 OpenGL 4.3: Real-time Global Illumination OpenGL 1.0: Per-vertex lighting 1992 [Crassin] Big News 4.3 OpenGL 4.3 announced Monday here at SIGGRAPH August 6, 2012 Moments later… NVIDIA beta OpenGL 4.3 driver on the web http://www.nvidia.com/content/devzone/opengl-driver-4.3.html OpenGL 4.3 brings substantial new features Compute Shaders! OpenGL Shading Language (GLSL) updates (multi-dimensional arrays, etc.) New texture functionality (stencil texturing, more queries) Marquee Feature New buffer functionality (clear buffers, invalidate buffers, etc.) More Direct3D-isms (texture views, parity with DirectX compute shaders) OpenGL ES 3.0 compatibility NVIDIA’s OpenGL Leverage GeForce Programmable Graphics (GLSL, Cg) Debugging with Tegra Parallel Nsight Quadro OptiX Single 3D API for Every Platform Windows OS X Linux Android Solaris FreeBSD OpenGL 3D Graphics API • cross-platform • most functional • peak performance • open standard • inter-operable • well specified & documented • 20 years of compatibility OpenGL Spawns Closely Related Standards Congratulations: WebGL officially approved, February 2012 “The web is now 3D enabled ” Accelerating OpenGL Innovation 2004 20052006 2007 2008 2009 2010 2011 2012 DirectX 11 DirectX 9.0c DirectX 10.0 DirectX 10.1 OpenGL 3.1 OpenGL 3.3 + OpenGL 2.0 OpenGL 2.1 OpenGL 3.0 OpenGL 3.2 OpenGL 4.0 OpenGL 4.3 Now with OpenGL 4.1 compute • OpenGL has fast innovation + standardization shaders! - Pace is 7 new spec versions in four years - Actual implementations following specifications closely OpenGL 4.2 • OpenGL 4.3 is a superset of DirectX 11 functionality - While retaining backwards compatibility Buffer and OpenGL Today – DirectX 11 Superset Event Interop First-class graphics + compute solution OpenGL 4.3 = graphics + compute shaders NVIDIA still has existing inter-op with CUDA / OpenCL Shaders can be saved to and loaded from binary blobs Ability to query a binary shader, and save it for reuse later Flow of content between desktop and mobile Brings ES 2.0 and 3.0 API and capabilities to desktop WebGL bridging desktop and mobile Cross platform Mac, Windows, Linux, Android, Solaris, FreeBSD Result of being an open standard Increasing Functional Scope of OpenGL First-class Compute Shaders 4.3 Tessellation Features 4.0 Geometry Shaders 3.X Vertex and Fragment Shaders 2.X Fixed Function 1.X Arguably, OpenGL 4.3 is a 5.0 worthy feature-set! Classic OpenGL State Machine From 1991-2007 * vertex & fragment processing got programmable 2001 & 2003 [source: GL 1.0 specification, 1992] Complicated from inception OpenGL 3.0 Conceptual Processing Flow (2008) uniform/ primitive topology, parameters transformed Legend Geometric primitive buffer objects Vertex Vertex vertex data assembly & assembly primitive processing vertices processing programmable batch transformed operations pixels type, vertex fragments vertex data attributes point, line, fixed-function filtered texels geometry and polygon fragments operations buffer data vertex Transform texture fetches buffer transform feedback objects feedback pixels in framebuffer object textures buffer objects stenciling, depth testing, primitive batch type, vertex blending, accumulation vertex indices, texture vertex attributes texture fetches buffer buffer data, objects Texture Fragment Raster Framebuffer unmap mapping fragment processing operations buffer texture Command Buffer fetches parser store pixel map buffer, pack get buffer buffer data objects texture image and bitmap fragments pixel image pixel image or unpack Pixel specification texture image buffer packing specification objects OpenGL 3.0 pixels to pack image rectangles, Image Pixel Pixel bitmaps primitive unpacking unpacked processing pixels processing copy pixels, copy texture image Patch Control point Patch tessellation Patch evaluation (2010) assembly & processing transformed transformed generation transformed processing control points processing patchtransformed patch, bivariate patch control patch domain tessellation patch topology, evaluated patch vertex texture points Legend primitive topology, fetches patch data transformed Geometric primitive Vertex Vertex vertex data programmable vertices assembly & operations assembly primitive processing pixels transformed processing batch fragments type, vertex fixed-function filtered texels vertex data attributes point, line, operations geometry and polygon buffer data fragments vertex Transform texture compute buffer transform feedback fetches objects feedback pixels in framebuffer object textures buffer stenciling, depth testing, primitive batch type, objects vertex vertex indices, texture blending, accumulation vertex attributes texture fetches buffer buffer data, Texture Fragment Raster objects Framebuffer unmap mapping fragment processing operations Command buffer Buffer pixel texture pack fetches parser store map buffer, buffer get buffer objects data texture image and bitmap fragments pixel image pixel image or Pixel unpack specification texture image buffer packing specification objects OpenGL 4.0 pixels to pack image rectangles, Image Pixel Pixel bitmaps primitive copy pixels, unpacking unpacked processing processing copy texture image pixels Patch Control point Patch tessellation Patch evaluation (2012) assembly & processing transformed transformed generation transformed processing control points processing patchtransformed patch, bivariate patch control patch domain tessellation patch topology, evaluated patch vertex texture points Legend primitive topology, fetches patch data transformed Geometric primitive Vertex Vertex vertex data programmable vertices assembly & operations assembly primitive processing pixels transformed processing batch fragments type, vertex fixed-function filtered texels vertex data attributes point, line, operations geometry and polygon buffer data fragments vertex Transform texture compute buffer transform feedback fetches objects feedback pixels in framebuffer object textures buffer stenciling, depth testing, primitive batch type, objects vertex vertex indices, texture blending, accumulation vertex attributes texture fetches buffer buffer data, Texture Fragment Raster objects Framebuffer unmap mapping fragment processing operations Command buffer Buffer texture fetches parser store map buffer, pixel pack get buffer buffer objects data texture image and bitmap pixel Compute fragments image pixel image or unpack Pixel specification processing texture image buffer packing specification objects OpenGL 4.3 pixels to pack image rectangles, Image Pixel Pixel bitmaps primitive copy pixels, unpacking unpacked processing processing copy texture image pixels OpenGL 4.3 Processing Pipelines From Application From Application Vertex Puller Dispatch Indirect Dispatch Element Array Buffer b Buffer b Vertex Shader Draw Indirect Buffer b Image Load / Store t/b Compute Shader Tessellation Control Vertex Buffer Object b Shader Atomic Counter b Tessellation Primitive Generator Shader Storage b Tessellation Evaluation Shader Texture Fetch t/b Geometry Shader Uniform Block b Transform Feedback Transform Feedback Buffer b Legend Rasterization From Application Fixed Function Stage Fragment Shader Pixel Assembly Pixel Unpack Buffer b Programmable Stage b – Buffer Binding Raster Operations Pixel Operations Texture Image t t – Texture Binding Framebuffer Pixel Pack Buffer b Arrows indicate data flow Pixel Pack OpenGL 4.3 Compute Shaders explored Why Compute Shaders? particle physics Execute algorithmically general-purpose GLSL shaders Read and write uniforms and images Grid-oriented Single Program, Multiple Data (SPMD) fluid execution model with communication via shared

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    124 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us