JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java™ (public API).
TraceGL2.java
Go to the documentation of this file.
1package com.jogamp.opengl;
2
3import java.io.PrintStream;
4
5/**
6 * <p>
7 * Composable pipeline which wraps an underlying {@link GL} implementation,
8 * providing tracing information to a user-specified {@link java.io.PrintStream}
9 * before and after each OpenGL method call.
10 * </p>
11 * <p>
12 * Sample code which installs this pipeline, manual:
13 * <pre>
14 * gl = drawable.setGL(new TraceGL(drawable.getGL(), System.err));
15 * </pre>
16 * For automatic instantiation see {@link GLPipelineFactory#create(String, Class, GL, Object[])}.
17 * </p>
18 */
19public class TraceGL2 extends TraceGL4bc {
20 public TraceGL2(final GL2 downstream, final PrintStream stream) {
21 super((GL4bc)downstream, stream);
22 }
23}
TraceGL2(final GL2 downstream, final PrintStream stream)
Definition: TraceGL2.java:20