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

Public Member Functions

 TextRendererGLEL (final GLProfile glp)
 
void dispose (final 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 (final GLAutoDrawable drawable)
 Called by the drawable to initiate OpenGL rendering by the client. More...
 
- Public Member Functions inherited from com.jogamp.opengl.test.junit.graph.TextRendererGLELBase
 TextRendererGLELBase (final int renderModes, final int[] sampleCount)
 
void setSharedPMVMatrix (final PMVMatrix4f pmv)
 In exclusive mode, impl. More...
 
void setRendererCallbacks (final RegionRenderer.GLCallback enable, final RegionRenderer.GLCallback disable)
 See RegionRenderer#create(Vertex.Factory<? extends Vertex>, RenderState, com.jogamp.graph.curve.opengl.RegionRenderer.GLCallback, com.jogamp.graph.curve.opengl.RegionRenderer.GLCallback). More...
 
void setFlipVerticalInGLOrientation (final boolean v)
 
final RegionRenderer getRenderer ()
 
final TextRegionUtil getTextRenderUtil ()
 
void init (final GLAutoDrawable drawable)
 Called by the drawable immediately after the OpenGL context is initialized. More...
 
void reshape (final GLAutoDrawable drawable, final int x, final int y, final int width, final int height)
 Called by the drawable during the first repaint after the component has been resized. More...
 
abstract void display (GLAutoDrawable drawable)
 Called by the drawable to initiate OpenGL rendering by the client. More...
 
void dispose (final GLAutoDrawable drawable)
 Notifies the listener to perform the release of all OpenGL resources per GLContext, such as memory buffers and GLSL programs. More...
 
void renderString (final GLAutoDrawable drawable, final Font font, final float pixelSize, final String text, final int column, final float tx, final float ty, final float tz, final boolean cacheRegion)
 
void renderString (final GLAutoDrawable drawable, final Font font, final float pixelSize, final String text, final int column, final float tx, final float ty, final float tz, final GLRegion region)
 
void renderString (final GLAutoDrawable drawable, final Font font, final float pixelSize, final String text, final int column, final int row, final float tx, final float ty, final float tz, final boolean cacheRegion)
 
void renderString (final GLAutoDrawable drawable, final Font font, final float pixelSize, final String text, final int column, final int row, final float tx, final float ty, final float tz, final GLRegion region)
 
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...
 

Public Attributes

int frameNo = 0
 
int userCounter = 0
 
- Public Attributes inherited from com.jogamp.opengl.test.junit.graph.TextRendererGLELBase
final int renderModes
 

Additional Inherited Members

- Static Public Member Functions inherited from com.jogamp.opengl.test.junit.graph.TextRendererGLELBase
static Font getFont (final int fontSet, final int fontFamily, final int fontStylebits)
 
- Protected Attributes inherited from com.jogamp.opengl.test.junit.graph.TextRendererGLELBase
final int[] vbaaSampleCount
 
final float[] staticRGBAColor = new float[] { 1f, 1f, 1f, 1f }
 
RegionRenderer renderer = null
 
TextRegionUtil textRenderUtil = null
 
final AffineTransform tempT1 = new AffineTransform()
 
final AffineTransform tempT2 = new AffineTransform()
 
float pixelScale = 1.0f
 scale pixel, default is 1f More...
 
float dpiH = 96
 dpi display resolution, queried at init(GLAutoDrawable) if NEWT, otherwise 96. More...
 

Detailed Description

Definition at line 69 of file GLReadBuffer00Base.java.

Constructor & Destructor Documentation

◆ TextRendererGLEL()

com.jogamp.opengl.test.junit.jogl.acore.GLReadBuffer00Base.TextRendererGLEL.TextRendererGLEL ( final GLProfile  glp)

Definition at line 75 of file GLReadBuffer00Base.java.

Here is the call graph for this function:

Member Function Documentation

◆ display()

void com.jogamp.opengl.test.junit.jogl.acore.GLReadBuffer00Base.TextRendererGLEL.display ( final GLAutoDrawable  drawable)

Called by the drawable to initiate OpenGL rendering by the client.

After all GLEventListeners have been notified of a display event, the drawable will swap its buffers if setAutoSwapBufferMode is enabled.

Reimplemented from com.jogamp.opengl.test.junit.graph.TextRendererGLELBase.

Definition at line 94 of file GLReadBuffer00Base.java.

Here is the call graph for this function:

◆ dispose()

void com.jogamp.opengl.test.junit.jogl.acore.GLReadBuffer00Base.TextRendererGLEL.dispose ( final GLAutoDrawable  drawable)

Notifies the listener to perform the release of all OpenGL resources per GLContext, such as memory buffers and GLSL programs.

Called by the drawable before the OpenGL context is destroyed by an external event, like a reconfiguration of the GLAutoDrawable closing an attached window, but also manually by calling destroy.

Note that this event does not imply the end of life of the application. It could be produced with a followup call to init(GLAutoDrawable) in case the GLContext has been recreated, e.g. due to a pixel configuration change in a multihead environment.

Reimplemented from com.jogamp.opengl.test.junit.graph.TextRendererGLELBase.

Definition at line 88 of file GLReadBuffer00Base.java.

Here is the call graph for this function:

Member Data Documentation

◆ frameNo

int com.jogamp.opengl.test.junit.jogl.acore.GLReadBuffer00Base.TextRendererGLEL.frameNo = 0

Definition at line 71 of file GLReadBuffer00Base.java.

◆ userCounter

int com.jogamp.opengl.test.junit.jogl.acore.GLReadBuffer00Base.TextRendererGLEL.userCounter = 0

Definition at line 72 of file GLReadBuffer00Base.java.


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