28package com.jogamp.nativewindow;
30import com.jogamp.nativewindow.util.PixelRectangle;
31import com.jogamp.nativewindow.util.PointImmutable;
33import com.jogamp.common.util.locks.RecursiveLock;
A generic exception for OpenGL errors used throughout the binding as a substitute for RuntimeExceptio...
Specifies an immutable set of capabilities that a window's rendering context must support,...
Interface specifying the offscreen layer surface protocol.
void setChosenCapabilities(CapabilitiesImmutable caps)
Sets the capabilities of this instance, allowing upstream API's to refine it, i.e.
void detachSurfaceLayer()
Detaches a previously attached offscreen layer from this offscreen layer surface.
RecursiveLock getLock()
Returns the recursive lock object of this surface, which synchronizes multithreaded access.
long getAttachedSurfaceLayer()
Returns the attached surface layer or null if none is attached.
boolean hideCursor()
Optional method hiding the cursor in the corresponding on-screen surface/window, if exists.
boolean isSurfaceLayerAttached()
Returns true if a surface layer is attached, otherwise false.
boolean setCursor(PixelRectangle pixelrect, PointImmutable hotSpot)
Optional method setting cursor in the corresponding on-screen surface/window, if exists.
void attachSurfaceLayer(final long layerHandle)
Attach the offscreen layer to this offscreen layer surface.
Pixel Rectangle identified by it's hashCode().
Immutable Point interface.