29package com.jogamp.opengl.test.junit.util;
32import com.jogamp.opengl.*;
33import com.jogamp.opengl.JoglVersion;
37 private final float red, green, blue, alpha;
39 public GLClearColor(
final float red,
final float green,
final float blue,
final float alpha) {
50 public void reshape(
final GLAutoDrawable drawable,
final int x,
final int y,
final int width,
final int height) {
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.
void dispose(final GLAutoDrawable drawable)
Notifies the listener to perform the release of all OpenGL resources per GLContext,...
void init(final GLAutoDrawable drawable)
Called by the drawable immediately after the OpenGL context is initialized.
GLClearColor(final float red, final float green, final float blue, final float alpha)
void display(final GLAutoDrawable drawable)
Called by the drawable to initiate OpenGL rendering by the client.
A higher-level abstraction than GLDrawable which supplies an event based mechanism (GLEventListener) ...
GL getGL()
Returns the GL pipeline object this GLAutoDrawable uses.
Declares events which client code can use to manage OpenGL rendering into a GLAutoDrawable.
static final int GL_COLOR_BUFFER_BIT
GL_ES_VERSION_2_0, GL_VERSION_1_1, GL_VERSION_1_0, GL_VERSION_ES_1_0 Define "GL_COLOR_BUFFER_BIT" wit...
void glClearColor(float red, float green, float blue, float alpha)
Entry point to C language function: void {@native glClearColor}(GLfloat red, GLfloat green,...
void glClear(int mask)
Entry point to C language function: void {@native glClear}(GLbitfield mask) Part of GL_ES_VERSION_...