Login  Register

Re: How to force core profile

Posted by Sven Gothel on Feb 21, 2013; 12:26pm
URL: https://forum.jogamp.org/How-to-force-core-profile-tp4028307p4028312.html

On 02/21/2013 01:00 PM, gouessej [via jogamp] wrote:
> Hi
>
> Have you tried GLProfile.getMaxProgrammable(true)?

That was including and favoring compatibility profiles ..

Good idea though, just committed:

http://jogamp.org/git/?p=jogl.git;a=commit;h=fe0a2ad6f702aee71ea06f9da19ec9fd696d4095

commit fe0a2ad6f702aee71ea06f9da19ec9fd696d4095
Author: Sven Gothel <[hidden email]>
Date:   Thu Feb 21 13:24:05 2013 +0100

    GLProfile: Adding convenient query for highest programmable core only GL profile
   
    As suggested @ http://forum.jogamp.org/How-to-force-core-profile-tp4028307.html
   
    However, one could always get a dedicated core profile via:
      - GLProfile.get(GLProfile.GLES2)
      - GLProfile.get(GLProfile.GL3)
      - GLProfile.get(GLProfile.GL4)
   
    .. etc



signature.asc (911 bytes) Download Attachment