Project

General

Profile

« Previous | Next » 

Revision f79c9f57

Added by Leszek Koltunski almost 4 years ago

Correct comments.

View differences:

src/main/java/org/distorted/library/program/FragmentCompilationException.java
21 21

  
22 22
///////////////////////////////////////////////////////////////////////////////////////////////////
23 23

  
24
import org.distorted.library.main.DistortedLibrary;
25

  
26 24
/**
27
 *  Thrown by {@link DistortedLibrary#onSurfaceCreated(android.content.Context, org.distorted.library.main.DistortedLibrary.ExceptionListener)}
28
 *  if compilation of the fragment shader fails for some other reason than too many uniforms.
25
 *  Thrown asynchronously by the library whenever shader compilation fails.
26
 *  If compilation of the fragment shader fails for some other reason than too many uniforms.
29 27
 *  <p>
30 28
 *  This can happen on older OpenGL ES 2.0 devices if they, say, do not support variable loops in the shaders.
31 29
 *  Theoretically should never happen on devices supporting at least OpenGL ES 3.0.
src/main/java/org/distorted/library/program/FragmentUniformsException.java
24 24
import org.distorted.library.main.DistortedLibrary;
25 25

  
26 26
/**
27
 *  Thrown by {@link DistortedLibrary#onSurfaceCreated(android.content.Context, org.distorted.library.main.DistortedLibrary.ExceptionListener)}
28
 *  if compilation of the fragment shader fails because of too many uniforms there, i.e. because
27
 *  Thrown asynchronously by the library whenever shader compilation fails.
28
 *  If compilation of the fragment shader fails because of too many uniforms there, i.e. because
29 29
 *  we have set {@link DistortedLibrary#setMax(org.distorted.library.effect.EffectType, int)}
30 30
 *  to too high value.
31 31
 */
src/main/java/org/distorted/library/program/LinkingException.java
24 24
import org.distorted.library.main.DistortedLibrary;
25 25

  
26 26
/**
27
 *  Thrown by {@link DistortedLibrary#onSurfaceCreated(android.content.Context, org.distorted.library.main.DistortedLibrary.ExceptionListener)}
28
 *  if linking of the Shaders fails.
27
 *  Thrown asynchronously by the library whenever shader compilation fails.
28
 *  If linking of the Shaders fails.
29 29
 *  <p>
30 30
 *  Theoretically this should never happen.
31 31
 */
src/main/java/org/distorted/library/program/VertexCompilationException.java
24 24
import org.distorted.library.main.DistortedLibrary;
25 25

  
26 26
/**
27
 *  Thrown by {@link DistortedLibrary#onSurfaceCreated(android.content.Context, org.distorted.library.main.DistortedLibrary.ExceptionListener)}
28
 *  if compilation of the vertex shader fails for some other reason than too many uniforms.
27
 *  Thrown asynchronously by the library whenever shader compilation fails.
28
 *  If compilation of the vertex shader fails for some other reason than too many uniforms.
29 29
 *  <p>
30 30
 *  This can happen on older OpenGL ES 2.0 devices if they, say, do not support variable loops in the shaders.
31 31
 *  Theoretically should never happen on devices supporting at least OpenGL ES 3.0.
src/main/java/org/distorted/library/program/VertexUniformsException.java
24 24
import org.distorted.library.main.DistortedLibrary;
25 25

  
26 26
/**
27
 *  Thrown by {@link DistortedLibrary#onSurfaceCreated(android.content.Context, org.distorted.library.main.DistortedLibrary.ExceptionListener)}
28
 *  if compilation of the Vertex Shader fails because of too many uniforms there, i.e. because
27
 *  Thrown asynchronously by the library whenever shader compilation fails.
28
 *  If compilation of the Vertex Shader fails because of too many uniforms there, i.e. because
29 29
 *  we have set {@link DistortedLibrary#setMax(org.distorted.library.effect.EffectType, int)}
30 30
 *  to too high value.
31 31
 */

Also available in: Unified diff