JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.opengl.test.junit.jogl.glsl.GLSLMiscHelper Class Reference
Collaboration diagram for com.jogamp.opengl.test.junit.jogl.glsl.GLSLMiscHelper:

Static Public Member Functions

static void validateGLArrayDataServerState (final GL2ES2 gl, final ShaderState st, final GLArrayDataServer data)
 
static void pause (final long ms) throws InterruptedException
 
static void displayVCArrays (final GLDrawable drawable, final GL2ES2 gl, final ShaderState st, final boolean preEnable, final GLArrayDataServer vertices, final GLArrayDataServer colors, final boolean postDisable, final int num, final long postDelay) throws InterruptedException
 
static void displayVCArraysNoChecks (final GLDrawable drawable, final GL2ES2 gl, final boolean preEnable, final GLArrayDataServer vertices, final GLArrayDataServer colors, final boolean postDisable) throws InterruptedException
 
static GLArrayDataServer createVertices (final GL2ES2 gl, final ShaderState st, final int shaderProgram, final int location, final float[] vertices)
 
static GLArrayDataServer createColors (final GL2ES2 gl, final ShaderState st, final int shaderProgram, final int location, final float[] colors)
 

Static Public Attributes

static final int frames_perftest = 600
 
static final int frames_warmup = 100
 
static final float[] vertices0
 
static final float[] vertices1
 
static final float[] colors0
 
static final float[] colors1
 

Detailed Description

Definition at line 40 of file GLSLMiscHelper.java.

Member Function Documentation

◆ createColors()

static GLArrayDataServer com.jogamp.opengl.test.junit.jogl.glsl.GLSLMiscHelper.createColors ( final GL2ES2  gl,
final ShaderState  st,
final int  shaderProgram,
final int  location,
final float[]  colors 
)
static

Definition at line 168 of file GLSLMiscHelper.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ createVertices()

static GLArrayDataServer com.jogamp.opengl.test.junit.jogl.glsl.GLSLMiscHelper.createVertices ( final GL2ES2  gl,
final ShaderState  st,
final int  shaderProgram,
final int  location,
final float[]  vertices 
)
static

Definition at line 119 of file GLSLMiscHelper.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ displayVCArrays()

static void com.jogamp.opengl.test.junit.jogl.glsl.GLSLMiscHelper.displayVCArrays ( final GLDrawable  drawable,
final GL2ES2  gl,
final ShaderState  st,
final boolean  preEnable,
final GLArrayDataServer  vertices,
final GLArrayDataServer  colors,
final boolean  postDisable,
final int  num,
final long  postDelay 
) throws InterruptedException
static

Definition at line 70 of file GLSLMiscHelper.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ displayVCArraysNoChecks()

static void com.jogamp.opengl.test.junit.jogl.glsl.GLSLMiscHelper.displayVCArraysNoChecks ( final GLDrawable  drawable,
final GL2ES2  gl,
final boolean  preEnable,
final GLArrayDataServer  vertices,
final GLArrayDataServer  colors,
final boolean  postDisable 
) throws InterruptedException
static

Definition at line 105 of file GLSLMiscHelper.java.

Here is the caller graph for this function:

◆ pause()

static void com.jogamp.opengl.test.junit.jogl.glsl.GLSLMiscHelper.pause ( final long  ms) throws InterruptedException
static

Definition at line 63 of file GLSLMiscHelper.java.

Here is the caller graph for this function:

◆ validateGLArrayDataServerState()

static void com.jogamp.opengl.test.junit.jogl.glsl.GLSLMiscHelper.validateGLArrayDataServerState ( final GL2ES2  gl,
final ShaderState  st,
final GLArrayDataServer  data 
)
static

Definition at line 44 of file GLSLMiscHelper.java.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ colors0

final float [] com.jogamp.opengl.test.junit.jogl.glsl.GLSLMiscHelper.colors0
static
Initial value:
= new float[] { 1f, 0f, 0f, 1f,
0f, 0f, 1f, 1f,
1f, 0f, 0f, 1f,
1f, 0f, 1f, 1f }

Definition at line 203 of file GLSLMiscHelper.java.

◆ colors1

final float [] com.jogamp.opengl.test.junit.jogl.glsl.GLSLMiscHelper.colors1
static
Initial value:
= new float[] { 1f, 0f, 1f, 1f,
0f, 1f, 0f, 1f,
1f, 0f, 1f, 1f,
1f, 0f, 1f, 1f }

Definition at line 208 of file GLSLMiscHelper.java.

◆ frames_perftest

final int com.jogamp.opengl.test.junit.jogl.glsl.GLSLMiscHelper.frames_perftest = 600
static

Definition at line 41 of file GLSLMiscHelper.java.

◆ frames_warmup

final int com.jogamp.opengl.test.junit.jogl.glsl.GLSLMiscHelper.frames_warmup = 100
static

Definition at line 42 of file GLSLMiscHelper.java.

◆ vertices0

final float [] com.jogamp.opengl.test.junit.jogl.glsl.GLSLMiscHelper.vertices0
static
Initial value:
= new float[] { -2f, 2f, 0f,
2f, 2f, 0f,
-2f, -2f, 0f,
2f, -2f, 0f }

Definition at line 158 of file GLSLMiscHelper.java.

◆ vertices1

final float [] com.jogamp.opengl.test.junit.jogl.glsl.GLSLMiscHelper.vertices1
static
Initial value:
= new float[] { -2f, 1f, 0f,
2f, 1f, 0f,
-2f, -1f, 0f,
2f, -1f, 0f }

Definition at line 163 of file GLSLMiscHelper.java.


The documentation for this class was generated from the following file: