Top Description Constructors Methods
org.lwjgl.opengl

public Class GREMEDYFrameTerminator

extends Object
Class Inheritance
Imports
org.lwjgl.system.*

Native bindings to the GREMEDY_frame_terminator extension.

This extension defines a mechanism that enables marking the end of render frames within the OpenGL stream.

When debugging or profiling an OpenGL application, the debuggers and profilers needs to know when a render frame is ended. This is important for frame per second measurements, statistical analysis, marking and clearing stream loggers logs, performance counters sampling and more.

When an application uses off screen buffers, the debugger / profiler cannot be guaranteed that the application will call a certain function at the end of each off-screen frame (e.g: SwapBuffers / glClear / etc). This extension enables the application to notify the debugger / profiler whenever a render frame is ended.

This extension is mainly useful for debuggers and profilers. It is not expected that standard drivers would implement this extension. The main point of having this extension is to allow applications to have a clean way of accessing this functionality only when they are run under the control of a debugger / profiler, without having to recompile or change the application source code.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static native void
glFrameTerminatorGREMEDY()

Can be used to insert a frame terminator marker into the command stream.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

GREMEDYFrameTerminatorback to summary
protected GREMEDYFrameTerminator()

Method Detail

glFrameTerminatorGREMEDYback to summary
public static native void glFrameTerminatorGREMEDY()

Can be used to insert a frame terminator marker into the command stream. This frame terminator marker can be used by appropriate debugging tools / profiling tools / profiling drivers for frame per second measurements, statistical analysis, marking and clearing stream loggers logs, performance counters sampling and more. This command has no influence on the rendered image or the OpenGL state.