|
JOGL v2.6.0-rc-20250706
JOGL, High-Performance Graphics Binding for Java (public API).
|
Test Vertex Array Object (VAO) Usage and BufferStateTracker. More...
Classes | |
| class | GL3VAODemo |
Public Member Functions | |
| void | test01CPUSource () throws GLException, InterruptedException |
| void | test02VBOOnly () throws GLException, InterruptedException |
| void | test03VBOVAO () throws GLException, InterruptedException |
| void | test12CPUSourceAndVBOOnly () throws GLException, InterruptedException |
| void | test13CPUSourceAndVBOVAO () throws GLException, InterruptedException |
| void | test23VBOOnlyAndVBOVAO () throws GLException, InterruptedException |
| void | test88AllModes () throws GLException, InterruptedException |
Public Member Functions inherited from com.jogamp.opengl.test.junit.util.UITestCase | |
| int | getMaxTestNameLen () |
| String | getSnapshotFilename (final int sn, String postSNDetail, final GLCapabilitiesImmutable caps, final int width, final int height, final boolean sinkHasAlpha, String fileSuffix, final String destPath) |
| void | snapshot (final int sn, final String postSNDetail, final GL gl, final GLReadBufferUtil readBufferUtil, final String fileSuffix, final String destPath) |
| Takes a snapshot of the drawable's current front framebuffer. More... | |
Static Public Member Functions | |
| static void | main (final String args[]) throws IOException |
Static Public Member Functions inherited from com.jogamp.opengl.test.junit.util.UITestCase | |
| static void | setResetXRandRIfX11AfterClass () |
| static int | resetXRandRIfX11 () |
| Iterates through all outputs and sets the preferred mode and normal rotation using RandR 1.3. More... | |
| static int | processCommand (final String[] cmdline, final OutputStream outstream, final StringBuilder outstring, final String outPrefix) |
| static final void | oneTimeSetUpUITest () |
| static final void | oneTimeTearDownUITest () |
Test Vertex Array Object (VAO) Usage and BufferStateTracker.
All combinations of CPU_SRC, VBO_ONLY and VBO_VAO are tested and validate the fix for Bug 692, i.e. https://jogamp.org/bugzilla/show_bug.cgi?id=692.
Test order is important!
Note that VAO initialization does unbind the VBO .. since otherwise they are still bound and the CPU_SRC test will fail!
The OpenGL spec does not mention that unbinding a VAO will also unbind the bound VBOs during their setup.
Local tests here on NV and AMD proprietary driver resulted in no ourput image when not unbinding said VBOs before the CPU_SRC tests.
Hence Bug 692 Comment 5 is invalid, i.e. https://jogamp.org/bugzilla/show_bug.cgi?id=692#c5, and we should throw an exception to give users a hint!
Definition at line 80 of file TestBug692GL3VAONEWT.java.
|
static |
Definition at line 434 of file TestBug692GL3VAONEWT.java.
| void com.jogamp.opengl.test.junit.jogl.acore.TestBug692GL3VAONEWT.test01CPUSource | ( | ) | throws GLException, InterruptedException |
| void com.jogamp.opengl.test.junit.jogl.acore.TestBug692GL3VAONEWT.test02VBOOnly | ( | ) | throws GLException, InterruptedException |
| void com.jogamp.opengl.test.junit.jogl.acore.TestBug692GL3VAONEWT.test03VBOVAO | ( | ) | throws GLException, InterruptedException |
| void com.jogamp.opengl.test.junit.jogl.acore.TestBug692GL3VAONEWT.test12CPUSourceAndVBOOnly | ( | ) | throws GLException, InterruptedException |
| void com.jogamp.opengl.test.junit.jogl.acore.TestBug692GL3VAONEWT.test13CPUSourceAndVBOVAO | ( | ) | throws GLException, InterruptedException |
| void com.jogamp.opengl.test.junit.jogl.acore.TestBug692GL3VAONEWT.test23VBOOnlyAndVBOVAO | ( | ) | throws GLException, InterruptedException |
| void com.jogamp.opengl.test.junit.jogl.acore.TestBug692GL3VAONEWT.test88AllModes | ( | ) | throws GLException, InterruptedException |