Your SlideShare is downloading. ×
0
Regal
Regal
Regal
Regal
Regal
Regal
Regal
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,463
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
10
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

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

×