OpenGL context profiles
|Reported by:||captainhorst||Owned by:||VZ|
|Keywords:||OpenGL context profile core compatibility||Cc:||raysatiro@…|
I created a patch to allow for explicitly creating a compatibility or a core (new) OpenGL context. It is inspired by the way SDL2 handles this. I checked out trunk using svn and created this patch against revision r77003. I tested this patch with my version of the PS3 emulator rpcs3 (https://github.com/DHrpcs3/rpcs3) and it works.
Why is this necessary?
When using the compatibility profile, OS X only provides an OpenGL 2.1 feature set. When using core though, features up to OpenGL version 4.1 are available.
This patch currently only contains the OS X/Cocoa implementation. Windows and Linux variants aren't yet implemented. For Windows it could be done as this article suggests: http://www.lighthouse3d.com/2012/07/working-with-core-opengl-in-wx-wigets/#more-3568
Change History (25)
comment:2 Changed 11 months ago by captainhorst
comment:10 Changed 11 months ago by VZ
- Owner set to VZ
- Resolution set to fixed
- Status changed from confirmed to closed
comment:15 in reply to: ↑ 11 Changed 11 months ago by raysatiro
- Resolution fixed deleted
- Status changed from closed to reopened