Bug 872 - ES3 and ES3-GLSL Version not properly Handled
Summary: ES3 and ES3-GLSL Version not properly Handled
Status: RESOLVED FIXED
Alias: None
Product: Jogl
Classification: JogAmp
Component: core (show other bugs)
Version: 2
Hardware: All all
: --- enhancement
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2013-10-25 04:43 CEST by Sven Gothel
Modified: 2013-10-25 04:45 CEST (History)
1 user (show)

See Also:
Type: ---
SCM Refs:
5ee57df0fab57124afb31bc65fd87e9184cf8f16
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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