summaryrefslogtreecommitdiffstats
path: root/gpu/pgl/pgl.h
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/pgl/pgl.h')
-rw-r--r--gpu/pgl/pgl.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gpu/pgl/pgl.h b/gpu/pgl/pgl.h
index f848968..3a7735e 100644
--- a/gpu/pgl/pgl.h
+++ b/gpu/pgl/pgl.h
@@ -15,6 +15,14 @@ extern "C" {
typedef void* PGLContext;
typedef bool PGLBoolean;
+// Initialize the PGL library. This must have completed before any other PGL
+// functions are invoked.
+PGLBoolean pglInitialize();
+
+// Terminate the PGL library. This must be called after any other PGL functions
+// have completed.
+PGLBoolean pglTerminate();
+
// Create A PGL context from a Pepper 3D device context.
PGLContext pglCreateContext(NPP npp,
NPDevice* device,