From c8440fcccaa8b306c8b52acf384fa14daec95f5c Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Wed, 21 Apr 2004 10:02:51 +0000 Subject: Updated context creation code to unpack GLCapabilities object in Java rather than in C using JNI. Added full-scene antialiasing (FSAA) support. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@113 232f8b59-042b-4e1e-8c03-345bb8c30851 --- make/stub_includes/macosx/window-system.c | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'make/stub_includes/macosx') diff --git a/make/stub_includes/macosx/window-system.c b/make/stub_includes/macosx/window-system.c index 5b1381792..2908b07be 100644 --- a/make/stub_includes/macosx/window-system.c +++ b/make/stub_includes/macosx/window-system.c @@ -1,10 +1,21 @@ /* C routines encapsulating small amounts of Objective C code to allow nsContext creation and manipulation to occur from Java */ -#include typedef int Bool; -void* createContext(JNIEnv* env, jobject glCapabilities, void* shareContext, void* nsView); +void* createContext(void* shareContext, void* nsView, + int redBits, + int greenBits, + int blueBits, + int alphaBits, + int depthBits, + int stencilBits, + int accumRedBits, + int accumGreenBits, + int accumBlueBits, + int accumAlphaBits, + int sampleBuffers, + int numSamples); Bool makeCurrentContext(void* nsContext, void* nsView); Bool clearCurrentContext(void* nsContext, void* nsView); Bool deleteContext(void* nsContext, void* nsView); -- cgit v1.2.3