Package panamagl.platform.linux
Class GLXContext_linux
java.lang.Object
panamagl.opengl.AGLContext
panamagl.platform.linux.GLXContext_linux
- All Implemented Interfaces:
panamagl.opengl.GLContext
public class GLXContext_linux
extends panamagl.opengl.AGLContext
implements panamagl.opengl.GLContext
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected MemorySegmentprotected booleanprotected MemorySegmentFields inherited from class panamagl.opengl.AGLContext
arena, initialized, profile -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected MemorySegmentchooseVisual(int screen) Specifies the visual that defines the frame buffer resources available to the rendering context.protected voidcreateContext(MemorySegment visualInfo) voiddestroy()voidinit()voidMethods inherited from class panamagl.opengl.AGLContext
getProfile, initArena, isInitialized, setProfileMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface panamagl.opengl.GLContext
getProfile, isInitialized, setProfile
-
Field Details
-
display
-
context
-
debug
protected boolean debug
-
-
Constructor Details
-
GLXContext_linux
public GLXContext_linux()
-
-
Method Details
-
init
public void init()- Specified by:
initin interfacepanamagl.opengl.GLContext
-
destroy
public void destroy()- Specified by:
destroyin interfacepanamagl.opengl.GLContext
-
chooseVisual
Specifies the visual that defines the frame buffer resources available to the rendering context. It is a pointer to an XVisualInfo structure, not a visual ID or a pointer to a Visual structure. -
createContext
- Parameters:
visualInfo-
-
makeCurrent
public void makeCurrent()
-