Bug 872

Summary: ES3 and ES3-GLSL Version not properly Handled
Product: [JogAmp] Jogl Reporter: Sven Gothel <sgothel>
Component: coreAssignee: Sven Gothel <sgothel>
Status: RESOLVED FIXED    
Severity: enhancement CC: sgothel
Priority: ---    
Version: 2   
Hardware: All   
OS: all   
Type: --- SCM Refs:
5ee57df0fab57124afb31bc65fd87e9184cf8f16
Workaround: ---

Description Sven Gothel 2013-10-25 04:43:37 CEST
TODO:

GLContext:
  - Proper API doc for Version* fields

  - getStaticGLSLVersionNumber(): ES3 -> Version300

  - hasGLSL(): Add ES3

ShaderCode:
  - addDefaultShaderPrecision(): 
    - ES2 default precision: Don't 'tune up' default precision for fragment shader, use 'mediump'
    - Add ES3 default precision (equal to ES2 default precision)

  - requiresDefaultPrecision(): Shall returns 'true' for ES3 as well!
Comment 1 Sven Gothel 2013-10-25 04:45:15 CEST
Fixed as described