You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(134) |
Sep
(52) |
Oct
(13) |
Nov
(342) |
Dec
(163) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(44) |
Feb
(62) |
Mar
(158) |
Apr
(38) |
May
(70) |
Jun
(58) |
Jul
(104) |
Aug
(207) |
Sep
(83) |
Oct
(122) |
Nov
(23) |
Dec
(49) |
| 2004 |
Jan
(119) |
Feb
(132) |
Mar
(192) |
Apr
(140) |
May
(77) |
Jun
(74) |
Jul
(201) |
Aug
(63) |
Sep
(102) |
Oct
(70) |
Nov
(173) |
Dec
(78) |
| 2005 |
Jan
(174) |
Feb
(197) |
Mar
(105) |
Apr
(59) |
May
(77) |
Jun
(43) |
Jul
(21) |
Aug
(18) |
Sep
(47) |
Oct
(37) |
Nov
(74) |
Dec
(50) |
| 2006 |
Jan
(44) |
Feb
(19) |
Mar
(32) |
Apr
(24) |
May
(31) |
Jun
(55) |
Jul
(138) |
Aug
(28) |
Sep
(12) |
Oct
(41) |
Nov
(58) |
Dec
(24) |
| 2007 |
Jan
(28) |
Feb
(14) |
Mar
(10) |
Apr
(68) |
May
(30) |
Jun
(26) |
Jul
(18) |
Aug
(63) |
Sep
(19) |
Oct
(29) |
Nov
(20) |
Dec
(10) |
| 2008 |
Jan
(38) |
Feb
(7) |
Mar
(37) |
Apr
(120) |
May
(41) |
Jun
(36) |
Jul
(39) |
Aug
(24) |
Sep
(28) |
Oct
(30) |
Nov
(36) |
Dec
(75) |
| 2009 |
Jan
(46) |
Feb
(22) |
Mar
(50) |
Apr
(70) |
May
(134) |
Jun
(105) |
Jul
(75) |
Aug
(34) |
Sep
(38) |
Oct
(34) |
Nov
(19) |
Dec
(20) |
| 2010 |
Jan
(11) |
Feb
(20) |
Mar
(65) |
Apr
(83) |
May
(104) |
Jun
(73) |
Jul
(78) |
Aug
(57) |
Sep
(43) |
Oct
(35) |
Nov
(9) |
Dec
(4) |
| 2011 |
Jan
(21) |
Feb
(11) |
Mar
(18) |
Apr
(10) |
May
(18) |
Jun
(15) |
Jul
(48) |
Aug
(25) |
Sep
(17) |
Oct
(45) |
Nov
(15) |
Dec
(12) |
| 2012 |
Jan
(21) |
Feb
(9) |
Mar
(12) |
Apr
(9) |
May
(9) |
Jun
(5) |
Jul
(1) |
Aug
(10) |
Sep
(12) |
Oct
(1) |
Nov
(28) |
Dec
(5) |
| 2013 |
Jan
(4) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
| 2015 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
| 2016 |
Jan
(2) |
Feb
(1) |
Mar
(1) |
Apr
(1) |
May
(2) |
Jun
|
Jul
(1) |
Aug
(2) |
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
1
(1) |
2
(4) |
3
|
4
|
5
|
|
6
|
7
(2) |
8
(3) |
9
(5) |
10
|
11
(4) |
12
|
|
13
(2) |
14
(2) |
15
(2) |
16
(9) |
17
|
18
|
19
|
|
20
|
21
(7) |
22
(4) |
23
(4) |
24
|
25
(10) |
26
|
|
27
(4) |
28
(16) |
29
(14) |
30
(11) |
31
(1) |
|
|
|
From: Brian M. <ma...@us...> - 2005-03-30 20:02:47
|
Update of /cvsroot/java-game-lib/LWJGL/www In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7345 Modified Files: download.php index.php Log Message: 0.96 specific files Index: download.php =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/www/download.php,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- download.php 25 Jan 2005 22:06:45 -0000 1.10 +++ download.php 30 Mar 2005 20:02:02 -0000 1.11 @@ -2,8 +2,8 @@ <h1>Download</h1> <p> - Latest stable release is 0.95. Please download it here:<br/> - <a href="https://sourceforge.net/project/showfiles.php?group_id=58488" target="_blank">LWJGL 0.95 alpha</a> + Latest stable release is 0.96. Please download it here:<br/> + <a href="https://sourceforge.net/project/showfiles.php?group_id=58488" target="_blank">LWJGL 0.96 alpha</a> </p> <p> Latest CVS tarball. Please download it here:<br/> Index: index.php =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/www/index.php,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- index.php 11 Feb 2005 16:28:48 -0000 1.8 +++ index.php 30 Mar 2005 20:02:03 -0000 1.9 @@ -8,6 +8,10 @@ <h1>News</h1> <p style="border-bottom: 1px solid #cccccc;"> + <b>Finally at last! 0.96 released!</b> <span class="newsdate">Wednesday, March 30th, 2005</span><br/> + This relase includes (among other things) AWT support and expanded DevIL and FMOD support. Please check <a href="http://lwjgl.org/forum/viewtopic.php?p=7121">this thread</a> for more info regarding the release<br/><br/> +</p> +<p style="border-bottom: 1px solid #cccccc;"> <b>LWJGL 0.95 released!</b> <span class="newsdate">Tuesday, January 25th, 2005</span><br/> 0.95 released. Lots of fixes. Thanks everybody. Please check <a href="http://lwjgl.org/forum/viewtopic.php?p=6422">this thread</a> for more info regarding the release<br/><br/> </p> @@ -19,8 +23,4 @@ <b>New site!</b> <span class="newsdate">Wednesday, November 10th, 2004</span><br/> With the help of <a href="http://www.gomjabbar.de/" target="_blank">Daniel Leinich</a> we have a new site online! If you find any bugs, please send an email to <a href="mailto:in...@lw...">in...@lw...</a><br/><br/> </p> -<p style="border-bottom: 1px solid #cccccc;"> - <b>LWJGL 0.93 released!</b> <span class="newsdate">Wednesday, October 27th, 2004</span><br/> - Thats right - <a href="download.php">another release</a> fresh off the build machine. For more info about the release, please visit <a href="http://puppygames.net/forums/viewtopic.php?p=5405" target="_blank">this thread</a> on the boards.<br/><br/> -</p> <? require('_include/footer.php'); ?> |
|
From: Brian M. <ma...@us...> - 2005-03-30 19:47:24
|
Update of /cvsroot/java-game-lib/LWJGL/www/changelogs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30590/changelogs Modified Files: full-changelog.txt Added Files: 0.96-changelog.txt Log Message: 0.96 specific files --- NEW FILE: 0.96-changelog.txt --- 2005-03-30 19:51 matzon * build.xml: dont include generator in javadoc 2005-03-30 19:44 matzon * doc/README: removed reference to lwjgl_media, extracted into dir instead 2005-03-30 19:40 matzon * doc/README: added some words about fmod 2005-03-30 19:38 matzon * doc/README: updated readme to new distribution layout 2005-03-30 18:55 matzon [...1798 lines suppressed...] 2005-01-27 22:26 elias_naur * src/native/: linux/org_lwjgl_opengl_Display.c, linux/org_lwjgl_opengl_Pbuffer.c, macosx/org_lwjgl_opengl_Display.m, win32/org_lwjgl_opengl_Display.c: Renamed org.lwjgl.opengl.Window.allowSoftwareOpenGL to org.lwjgl.opengl.Display.allowSoftwareOpenGL 2005-01-26 23:48 spasi * src/java/org/lwjgl/opengl/glu/MipMap.java: Optimized buffer allocation 2005-01-25 23:06 matzon * www/: changelog.php, download.php, index.php, changelogs/0.95-changelog.txt, changelogs/full-changelog.txt: updated for 0.95 release Index: full-changelog.txt =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/www/changelogs/full-changelog.txt,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- full-changelog.txt 25 Jan 2005 22:06:56 -0000 1.6 +++ full-changelog.txt 30 Mar 2005 19:46:19 -0000 1.7 @@ -1,3 +1,1841 @@ +2005-03-30 19:51 matzon + + * build.xml: dont include generator in javadoc + +2005-03-30 19:44 matzon + + * doc/README: removed reference to lwjgl_media, extracted into dir + instead + +2005-03-30 19:40 matzon + [...1920 lines suppressed...] -2002-08-25 12:04 cix_foo - - * doc/tutorial/skeleton_code.html: Tweaks - 2002-08-25 10:41 matzon * src/java/org/lwjgl/openal/OpenALTest.java: removing from openal @@ -11578,11 +13378,6 @@ * src/java/org/lwjgl/input/: GamePad.java, Joystick.java, Mouse.java: Buffering added -2002-08-24 18:34 cix_foo - - * doc/tutorial/: index.html, skeleton_code.html: Rough incomplete - draft - 2002-08-24 11:32 cix_foo * src/native/common/: .cvsignore, org_lwjgl_Math.h, |
|
From: Brian M. <ma...@us...> - 2005-03-30 19:47:20
|
Update of /cvsroot/java-game-lib/LWJGL/www In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30590 Modified Files: changelog.php Log Message: 0.96 specific files Index: changelog.php =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/www/changelog.php,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- changelog.php 25 Jan 2005 22:06:44 -0000 1.9 +++ changelog.php 30 Mar 2005 19:46:12 -0000 1.10 @@ -17,6 +17,7 @@ </p> <ul> <li><a href="http://www.lwjgl.org/changelogs/full-changelog.txt" target="_blank">Full changelog</a></li> + <li><a href="#0.95">LWJGL 0.96</a></li> <li><a href="#0.95">LWJGL 0.95</a></li> <li><a href="#0.94">LWJGL 0.94</a></li> <li><a href="#0.93">LWJGL 0.93</a></li> @@ -34,6 +35,7 @@ </ul> <? +displayChangelog('0.96'); displayChangelog('0.95'); displayChangelog('0.94'); displayChangelog('0.93'); |
|
From: Brian M. <ma...@us...> - 2005-03-30 17:51:13
|
Update of /cvsroot/java-game-lib/LWJGL In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2418 Modified Files: build.xml Log Message: dont include generator in javadoc Index: build.xml =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/build.xml,v retrieving revision 1.73 retrieving revision 1.74 diff -u -d -r1.73 -r1.74 --- build.xml 21 Mar 2005 08:27:38 -0000 1.73 +++ build.xml 30 Mar 2005 17:51:02 -0000 1.74 @@ -60,6 +60,7 @@ <include name="**/*.java" /> <exclude name="org/lwjgl/test/**" /> <exclude name="org/lwjgl/examples/**" /> + <exclude name="org/lwjgl/util/generator/**" /> </fileset> <!-- Files to include in common package --> |
|
From: Brian M. <ma...@us...> - 2005-03-30 17:45:03
|
Update of /cvsroot/java-game-lib/LWJGL/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31674 Modified Files: README Log Message: removed reference to lwjgl_media, extracted into dir instead Index: README =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/doc/README,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- README 30 Mar 2005 17:40:11 -0000 1.12 +++ README 30 Mar 2005 17:44:54 -0000 1.13 @@ -10,10 +10,9 @@ To run some of the included tests: Extract the archive, and cd into directory - Extract media archive into a new root folder called 'res' (please substitute ; and \ according to platform) - java -cp .;res;jar\lwjgl.jar;jar\lwjgl_media.jar;jar\lwjgl_test.jar;jar\lwjgl_util.jar;jar\lwjgl_fmod3.jar;jar\lwjgl_devil.jar; -Djava.library.path=native TEST + java -cp .;res;jar\lwjgl.jar;jar\lwjgl_test.jar;jar\lwjgl_util.jar;jar\lwjgl_fmod3.jar;jar\lwjgl_devil.jar; -Djava.library.path=native TEST (this specifies that the jvm should locate the lwjgl native libs in 'native' directory) where TEST is one of the following: @@ -59,7 +58,7 @@ org.lwjgl.test.devil.BasicTest You may also run the Space invaders demo by executing: - java -cp jar\lwjgl.jar;jar\lwjgl_media.jar;jar\lwjgl_test.jar;jar\lwjgl_util.jar; -Djava.library.path=native org.lwjgl.examples.spaceinvaders.Game + java -cp .;res;jar\lwjgl.jar;jar\lwjgl_test.jar;jar\lwjgl_util.jar; -Djava.library.path=native org.lwjgl.examples.spaceinvaders.Game Project Webpage: www.lwjgl.org Project Forum: forum.lwjgl.org |
|
From: Brian M. <ma...@us...> - 2005-03-30 17:40:25
|
Update of /cvsroot/java-game-lib/LWJGL/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29158 Modified Files: README Log Message: added some words about fmod Index: README =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/doc/README,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- README 30 Mar 2005 17:38:23 -0000 1.11 +++ README 30 Mar 2005 17:40:11 -0000 1.12 @@ -5,6 +5,8 @@ file, please download it from the cvs server. Please note that DevIL and OpenAL are distributed along side. Their license is also included. +If you want to use FMOD you must download the binary from their site: http://fmod.org. Please +note that FMOD is a commercial offering and you must accept their license before using. To run some of the included tests: Extract the archive, and cd into directory |
|
From: Brian M. <ma...@us...> - 2005-03-30 17:38:51
|
Update of /cvsroot/java-game-lib/LWJGL/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27917 Modified Files: README Log Message: updated readme to new distribution layout Index: README =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/doc/README,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- README 25 Jan 2005 20:58:48 -0000 1.10 +++ README 30 Mar 2005 17:38:23 -0000 1.11 @@ -4,18 +4,22 @@ the license as stated in the LICENSE file. If you have not received this file, please download it from the cvs server. +Please note that DevIL and OpenAL are distributed along side. Their license is also included. + To run some of the included tests: Extract the archive, and cd into directory - Extract the media files into lwjgl folder (only needed for openal tests) + Extract media archive into a new root folder called 'res' + (please substitute ; and \ according to platform) - java -cp lwjgl.jar;lwjgl_media.jar;lwjgl_test.jar;lwjgl_util.jar;lwjgl_fmod3.jar; TEST - or - java -cp lwjgl.jar;lwjgl_media.jar;lwjgl_test.jar;lwjgl_util.jar;lwjgl_fmod3.jar; -Djava.library.path=. TEST - (this specifies that the jvm should locate the lwjgl native libs in current - directory) + java -cp .;res;jar\lwjgl.jar;jar\lwjgl_media.jar;jar\lwjgl_test.jar;jar\lwjgl_util.jar;jar\lwjgl_fmod3.jar;jar\lwjgl_devil.jar; -Djava.library.path=native TEST + (this specifies that the jvm should locate the lwjgl native libs in 'native' directory) where TEST is one of the following: + org.lwjgl.test.WindowCreationTest + org.lwjgl.test.SysTest + org.lwjgl.test.DisplayTest + org.lwjgl.test.input.MouseCreationTest org.lwjgl.test.input.MouseTest org.lwjgl.test.input.HWCursorTest @@ -50,8 +54,10 @@ org.lwjgl.test.fmod3.StreamTest org.lwjgl.test.fmod3.SyncTest + org.lwjgl.test.devil.BasicTest + You may also run the Space invaders demo by executing: - java -cp lwjgl.jar;lwjgl_media.jar;lwjgl_test.jar;lwjgl_util.jar; org.lwjgl.examples.spaceinvaders.Game + java -cp jar\lwjgl.jar;jar\lwjgl_media.jar;jar\lwjgl_test.jar;jar\lwjgl_util.jar; -Djava.library.path=native org.lwjgl.examples.spaceinvaders.Game Project Webpage: www.lwjgl.org Project Forum: forum.lwjgl.org |
|
From: Brian M. <ma...@us...> - 2005-03-30 16:55:25
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/linux In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4264 Modified Files: Makefile Log Message: added X11R6 to path Index: Makefile =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/linux/Makefile,v retrieving revision 1.19 retrieving revision 1.20 diff -u -d -r1.19 -r1.20 --- Makefile 22 Feb 2005 13:14:05 -0000 1.19 +++ Makefile 30 Mar 2005 16:55:09 -0000 1.20 @@ -4,7 +4,7 @@ LINKER=gcc STRIP=strip CFLAGS_LINK=-shared -Wall -LIBS=-L/usr/X11/lib -lX11 -lXext -lXxf86vm -lpthread -L$(JAVA_HOME)/jre/lib/i386 -ljawt -Wl,-static,-lXcursor,-lXrender,-lXrandr,-call_shared +LIBS=-L/usr/X11R6/lib -L/usr/X11/lib -lX11 -lXext -lXxf86vm -lpthread -L$(JAVA_HOME)/jre/lib/i386 -ljawt -Wl,-static,-lXcursor,-lXrender,-lXrandr,-call_shared CFLAGS_O=-fPIC -O2 -D_X11 -Wall -pthread -c -I../common -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux SRC=$(wildcard *.c) $(wildcard ../common/*.c) $(wildcard ../common/arb/*.c) $(wildcard ../common/ati/*.c) $(wildcard ../common/ext/*.c) $(wildcard ../common/nv/*.c) OBJECTS=$(subst .c,.o,$(SRC)) |
|
From: Elias N. <eli...@us...> - 2005-03-30 10:46:32
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/win32 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23751/src/native/win32 Modified Files: context.c org_lwjgl_opengl_Display.c Log Message: Win32: Always sepcify WS_CLIPCHILDREN | WS_CLIPSIBLINGS in window style flags, since it is required for SetPixelFormat to work (according to MSDN docs) Index: org_lwjgl_opengl_Display.c =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/win32/org_lwjgl_opengl_Display.c,v retrieving revision 1.19 retrieving revision 1.20 diff -u -d -r1.19 -r1.20 --- org_lwjgl_opengl_Display.c 22 Mar 2005 12:34:58 -0000 1.19 +++ org_lwjgl_opengl_Display.c 30 Mar 2005 10:46:21 -0000 1.20 @@ -383,8 +383,9 @@ windowflags = WS_POPUP; } else { exstyle = WS_EX_APPWINDOW; - windowflags = WS_OVERLAPPED | WS_BORDER | WS_CAPTION | WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_MINIMIZEBOX | WS_SYSMENU; + windowflags = WS_OVERLAPPED | WS_BORDER | WS_CAPTION | WS_MINIMIZEBOX | WS_SYSMENU; } + windowflags = windowflags | WS_CLIPCHILDREN | WS_CLIPSIBLINGS; // If we're not a fullscreen window, adjust the height to account for the // height of the title bar: Index: context.c =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/win32/context.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- context.c 2 Mar 2005 08:26:36 -0000 1.4 +++ context.c 30 Mar 2005 10:46:21 -0000 1.5 @@ -130,8 +130,9 @@ windowflags = WS_POPUP; } else { exstyle = WS_EX_APPWINDOW; - windowflags = WS_OVERLAPPED | WS_BORDER | WS_CAPTION | WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_MINIMIZEBOX | WS_SYSMENU; + windowflags = WS_OVERLAPPED | WS_BORDER | WS_CAPTION | WS_MINIMIZEBOX | WS_SYSMENU; } + windowflags = windowflags | WS_CLIPCHILDREN | WS_CLIPSIBLINGS; // If we're not a fullscreen window, adjust the height to account for the // height of the title bar (unless undecorated) |
|
From: Elias N. <eli...@us...> - 2005-03-30 08:49:10
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/macosx In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22488 Added Files: org_lwjgl_opengl_MacOSXContextImplementation.m Log Message: --- NEW FILE: org_lwjgl_opengl_MacOSXContextImplementation.m --- /* * Copyright (c) 2002-2004 LWJGL Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * * Neither the name of 'LWJGL' nor the names of * its contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ /** * $Id: org_lwjgl_opengl_MacOSXContextImplementation.m,v 1.1 2005/03/30 08:49:02 elias_naur Exp $ * * @author elias_naur <eli...@us...> * @version $Revision: 1.1 $ */ #import <jni.h> #import <Cocoa/Cocoa.h> #import "org_lwjgl_opengl_MacOSXContextImplementation.h" #import "context.h" #import "common_tools.h" typedef struct { NSOpenGLContext *context; } MacOSXContext; JNIEXPORT jobject JNICALL Java_org_lwjgl_opengl_MacOSXContextImplementation_nCreate (JNIEnv *env, jclass clazz, jobject peer_info_handle, jobject shared_context_handle) { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; MacOSXPeerInfo *peer_info; MacOSXContext *shared_context_info; MacOSXContext *context_info; NSOpenGLContext *context; NSOpenGLContext *shared_context = NULL; jobject context_handle = newJavaManagedByteBuffer(env, sizeof(MacOSXContext)); if (context_handle == NULL) { throwException(env, "Could not create handle buffer"); return NULL; } peer_info = (MacOSXPeerInfo *)(*env)->GetDirectBufferAddress(env, peer_info_handle); if (shared_context_handle != NULL) { shared_context_info = (MacOSXContext *)(*env)->GetDirectBufferAddress(env, shared_context_handle); shared_context = shared_context_info->context; } context = [[NSOpenGLContext alloc] initWithFormat:peer_info->pixel_format shareContext:shared_context]; if (context == NULL) { throwException(env, "Could not create context"); return NULL; } context_info = (MacOSXContext *)(*env)->GetDirectBufferAddress(env, context_handle); context_info->context = context; [pool release]; return context_handle; } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_MacOSXContextImplementation_nSwapBuffers (JNIEnv *env, jclass clazz, jobject context_handle) { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; MacOSXContext *peer_info = (MacOSXContext *)(*env)->GetDirectBufferAddress(env, context_handle); [peer_info->context flushBuffer]; [pool release]; } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_MacOSXContextImplementation_nUpdate (JNIEnv *env, jclass clazz, jobject context_handle) { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; MacOSXContext *context_info = (MacOSXContext *)(*env)->GetDirectBufferAddress(env, context_handle); [context_info->context update]; [pool release]; } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_MacOSXContextImplementation_clearDrawable (JNIEnv *env, jclass clazz, jobject context_handle) { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; MacOSXContext *context_info = (MacOSXContext *)(*env)->GetDirectBufferAddress(env, context_handle); [context_info->context clearDrawable]; [pool release]; } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_MacOSXContextImplementation_nReleaseCurrentContext (JNIEnv *env, jclass clazz) { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; [NSOpenGLContext clearCurrentContext]; [pool release]; } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_MacOSXContextImplementation_setView (JNIEnv *env, jclass clazz, jobject peer_info_handle, jobject context_handle) { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; MacOSXContext *context_info = (MacOSXContext *)(*env)->GetDirectBufferAddress(env, context_handle); MacOSXPeerInfo *peer_info = (MacOSXPeerInfo *)(*env)->GetDirectBufferAddress(env, peer_info_handle); if (peer_info->window) { [context_info->context setView: peer_info->nsview]; } else { [context_info->context setPixelBuffer:peer_info->pbuffer cubeMapFace:0 mipMapLevel:0 currentVirtualScreen:0]; } [pool release]; } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_MacOSXContextImplementation_nMakeCurrent (JNIEnv *env, jclass clazz, jobject context_handle) { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; MacOSXContext *context_info = (MacOSXContext *)(*env)->GetDirectBufferAddress(env, context_handle); [context_info->context makeCurrentContext]; [pool release]; } JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengl_MacOSXContextImplementation_nIsCurrent (JNIEnv *env, jclass clazz, jobject context_handle) { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; MacOSXContext *context_info = (MacOSXContext *)(*env)->GetDirectBufferAddress(env, context_handle); bool result = context_info->context == [NSOpenGLContext currentContext]; [pool release]; return result ? JNI_TRUE : JNI_FALSE; } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_MacOSXContextImplementation_nSetVSync (JNIEnv *env, jclass clazz, jobject context_handle, jboolean enable) { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; MacOSXContext *context_info = (MacOSXContext *)(*env)->GetDirectBufferAddress(env, context_handle); long vsync_value = enable == JNI_TRUE ? 1 : 0; [context_info->context setValues:&vsync_value forParameter:NSOpenGLCPSwapInterval]; [pool release]; } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_MacOSXContextImplementation_nDestroy (JNIEnv *env, jclass clazz, jobject context_handle) { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; MacOSXContext *context_info = (MacOSXContext *)(*env)->GetDirectBufferAddress(env, context_handle); [context_info->context clearDrawable]; [context_info->context release]; [pool release]; } |
|
From: Elias N. <eli...@us...> - 2005-03-30 08:32:25
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/openal In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12418/src/java/org/lwjgl/openal Modified Files: AL.java Log Message: Fix linux openal library name Index: AL.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/openal/AL.java,v retrieving revision 1.39 retrieving revision 1.40 diff -u -d -r1.39 -r1.40 --- AL.java 28 Mar 2005 12:44:33 -0000 1.39 +++ AL.java 30 Mar 2005 08:32:15 -0000 1.40 @@ -144,7 +144,7 @@ } String[] oalPaths = LWJGLUtil.getLibraryPaths(new String[]{ "lwjglaudio", "lwjglaudio.dll", - "openal", "openal.so", + "openal", "libopenal.so", "openal", "openal.dylib"}, AL.class.getClassLoader()); nCreate(oalPaths); created = true; |