JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.opengl.util.CustomGLEventListener Interface Reference

Extended GLEventListener interface supporting more fine grained control over the implementation. More...

Inheritance diagram for com.jogamp.opengl.util.CustomGLEventListener:
Collaboration diagram for com.jogamp.opengl.util.CustomGLEventListener:

Public Member Functions

void display (final GLAutoDrawable drawable, final int flags)
 Extended display method, allowing to pass a display flag, e.g. More...
 
- Public Member Functions inherited from com.jogamp.opengl.GLEventListener
void init (GLAutoDrawable drawable)
 Called by the drawable immediately after the OpenGL context is initialized. More...
 
void dispose (GLAutoDrawable drawable)
 Notifies the listener to perform the release of all OpenGL resources per GLContext, such as memory buffers and GLSL programs. More...
 
void display (GLAutoDrawable drawable)
 Called by the drawable to initiate OpenGL rendering by the client. More...
 
void reshape (GLAutoDrawable drawable, int x, int y, int width, int height)
 Called by the drawable during the first repaint after the component has been resized. More...
 

Static Public Attributes

static final int DISPLAY_REPEAT = 1 << 0
 display flag: Repeat last produced image. More...
 
static final int DISPLAY_DONTCLEAR = 1 << 1
 display flag: Do not clear any target buffer, e.g. More...
 

Detailed Description

Extended GLEventListener interface supporting more fine grained control over the implementation.

Definition at line 37 of file CustomGLEventListener.java.

Member Function Documentation

◆ display()

void com.jogamp.opengl.util.CustomGLEventListener.display ( final GLAutoDrawable  drawable,
final int  flags 
)

Extended display method, allowing to pass a display flag, e.g.

DISPLAY_REPEAT or DISPLAY_DONTCLEAR.

Method is usually called by a custom rendering loop, e.g. for manual stereo rendering or the like.

Parameters
drawable
flags

Implemented in com.jogamp.opengl.demos.av.MovieSBSStereo, com.jogamp.opengl.demos.es2.GearsES2, and com.jogamp.opengl.test.junit.jogl.demos.es2.GearsES2.

Here is the caller graph for this function:

Member Data Documentation

◆ DISPLAY_DONTCLEAR

final int com.jogamp.opengl.util.CustomGLEventListener.DISPLAY_DONTCLEAR = 1 << 1
static

display flag: Do not clear any target buffer, e.g.

color-, depth- or stencil-buffers.

Definition at line 50 of file CustomGLEventListener.java.

◆ DISPLAY_REPEAT

final int com.jogamp.opengl.util.CustomGLEventListener.DISPLAY_REPEAT = 1 << 0
static

display flag: Repeat last produced image.

While a repeated frame shall produce the same artifacts as the last display call, e.g. not change animated objects, it shall reflect the current matrix.

Definition at line 45 of file CustomGLEventListener.java.


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