Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenGL 4 core profile support #161

Closed
febret opened this issue Nov 18, 2015 · 0 comments
Closed

OpenGL 4 core profile support #161

febret opened this issue Nov 18, 2015 · 0 comments

Comments

@febret
Copy link
Member

febret commented Nov 18, 2015

  • Add a openGLCoreProfile flag to DisplayConfig, set to false by default. When true, OpenGL is initialized in compatibility profile
  • Initially disable certain functionality that will take longer to translate to core GL 4.
  • modules can mark themselves as forward compatible if they only use functionality available in core profiles.
    Add the following methods to EngineModule
requestOpenGLProfile(OpenGLProfile)
OpenGLProfile:
{
   Core,
   Compatibility,
   Unspecified
};

This method can be used within an engine module ctor or initialization to test for module compatibility. After initialization, the module will test requested profile against
what the display system is running.

  • Core: if openGLCoreProfile = true ok, otherwise print a warning (on OSX only?) that core features will not be available.
  • Compatibility: if openGLCoreProfile = true print an error and shutdown the application, otherwise ok
  • Unspecified: if openGLCoreProfile = true print a verbose mode log message (not warning) that a potentially incompatible module is running, otherwise ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant