Regal
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Regal

on

  • 1,650 views

 

Statistics

Views

Total Views
1,650
Views on SlideShare
1,647
Embed Views
3

Actions

Likes
0
Downloads
10
Comments
0

2 Embeds 3

https://twitter.com 2
http://twitter.com 1

Accessibility

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Regal Presentation Transcript

  • 1. Regal for OpenGLdevelopment Nigel T. StewartNVIDIA Corporation August 4th, 2012
  • 2. Regal GoalsOpen SourceThere is nothing behind the curtain.You can see what Regal is doing and change it if needed.PortabilityConsistent OpenGL API that runs on all major platforms:Windows, Linux, Mac, iOS, and AndroidCompatibleImmediate mode, fixed function, GL_QUADSwork everywhere, emulated as necessary.Modern OpenGL APIDirect State Access (DSA) and Vertex Array Object (VAO),emulated as necessary.
  • 3. Ease of UseSet breakpoints on OpenGL functions.Step into the code.Inspect state.EfficiencyIf it cannot be implemented efficiently in Regal, it is not universallysupported.For example, tessellation support requires tessellation hardware.
  • 4. Regal is a Work-In-ProgressEmulation for OpenGL ES and Desktop GL Core contexts. Fixed-function lighting using GLSL shaders. Direct-state-access emulation. Immediate mode emulationLogging See all the application calls into Regal See all the driver calls from Regal into OpenGL GL_EXT_debug_marker emulation
  • 5. DebuggingOptional error checking layer. (glGetError)Access configuration, logs and GL state via HTTP.Other ideas (unimplemented as of now) Debugging checks Performance problems Statistics gathering – API coverage, time spent. Frame capture GL state capture and comparison.
  • 6. Imagined Uses for Regal Using Regal as a portability layer for developing games for Windows, Linux, Android, Mac and/or iOS. As a way of running OpenGL 1.x or 2.x code in a core OpenGL context. (Apple Mac or AMD GPU) As a way of porting Linux OpenGL games to mobile devices. As a common infrastructure for OpenGL development tools.
  • 7. More InformationSource Code on github:https://github.com/p3/regalopengl.org forum thread:http://www.opengl.org/discussion_boards/showthread.php/178678-Introducing-Regal?p=1240974Email:nstewart@nvidia.com