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
|
|
2
|
3
(2) |
4
|
5
|
6
(8) |
7
|
8
|
|
9
(8) |
10
(7) |
11
(11) |
12
(7) |
13
(8) |
14
(8) |
15
(5) |
|
16
(3) |
17
|
18
(51) |
19
(9) |
20
(6) |
21
(3) |
22
(3) |
|
23
(2) |
24
|
25
(17) |
26
(1) |
27
(4) |
28
(5) |
29
(4) |
|
30
(1) |
31
(1) |
|
|
|
|
|
|
From: Elias N. <eli...@us...> - 2005-01-31 22:33:40
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/win32 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16181/src/native/win32 Modified Files: org_lwjgl_opengl_Display.c Log Message: Win32: Fix multisample pixel formats 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.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- org_lwjgl_opengl_Display.c 29 Jan 2005 10:17:56 -0000 1.7 +++ org_lwjgl_opengl_Display.c 31 Jan 2005 22:33:27 -0000 1.8 @@ -707,37 +707,39 @@ // Some crazy strangeness here so we can use ARB_pixel_format to specify the number // of multisamples we want. If the extension is present we'll delete the existing // rendering context and start over, using the ARB extension instead to pick the context. - if ( !extgl_Extensions.WGL_ARB_pixel_format ) + if (!extgl_Extensions.WGL_ARB_pixel_format) return false; - pixel_format_index = findPixelFormatARB(env, hdc, pixel_format, NULL, true, true, true, true); - if ( pixel_format_index == -1 ) { + if (pixel_format_index == -1) { pixel_format_index = findPixelFormatARB(env, hdc, pixel_format, NULL, true, true, false, true); - if ( pixel_format_index == -1 ) + if ( pixel_format_index == -1) return false; } arb_hwnd = createWindow(0, 0, 1, 1, false, false); - if ( arb_hwnd == NULL ) + if (arb_hwnd == NULL) return false; arb_hdc = GetDC(arb_hwnd); - if ( !applyPixelFormat(arb_hdc, pixel_format_index) ) { + if (!applyPixelFormat(arb_hdc, pixel_format_index)) { closeWindow(&arb_hwnd, &arb_hdc); return false; } arb_context = wglCreateContext(arb_hdc); - closeWindow(&arb_hwnd, &arb_hdc); - if ( arb_context == NULL ) + if (arb_context == NULL) { + closeWindow(&arb_hwnd, &arb_hdc); return false; - - if ( !wglMakeCurrent(arb_hdc, arb_context) ) { + } + if (!wglMakeCurrent(arb_hdc, arb_context)) { wglDeleteContext(arb_context); + closeWindow(&arb_hwnd, &arb_hdc); return false; } extgl_InitWGL(env); + wglMakeCurrent(NULL, NULL); + closeWindow(&arb_hwnd, &arb_hdc); *pixel_format_index_return = pixel_format_index; *context_return = arb_context; |
|
From: Ioannis T. <sp...@us...> - 2005-01-30 23:21:22
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/test/opengl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21590 Modified Files: VBOIndexTest.java VBOTest.java Log Message: Improved API for glBufferData Index: VBOIndexTest.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/test/opengl/VBOIndexTest.java,v retrieving revision 1.22 retrieving revision 1.23 diff -u -d -r1.22 -r1.23 --- VBOIndexTest.java 6 Jul 2004 16:08:17 -0000 1.22 +++ VBOIndexTest.java 30 Jan 2005 23:21:06 -0000 1.23 @@ -1,31 +1,31 @@ -/* +/* * 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 + * modification, are permitted provided that the following conditions are * met: - * - * * Redistributions of source code must retain the above copyright + * + * * 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 + * * 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 + * 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 + * 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. */ @@ -224,14 +224,8 @@ indices = ByteBuffer.allocateDirect(4 * 4).order(ByteOrder.nativeOrder()).asIntBuffer(); indices.put(0).put(1).put(2).put(3); indices.rewind(); - ARBBufferObject.glBufferDataARB(ARBVertexBufferObject.GL_ARRAY_BUFFER_ARB, - 2 * 4 * 4, - (ByteBuffer)null, - ARBBufferObject.GL_STREAM_DRAW_ARB); - ARBBufferObject.glBufferDataARB(ARBVertexBufferObject.GL_ELEMENT_ARRAY_BUFFER_ARB, - 4 * 4, - (ByteBuffer)null, - ARBBufferObject.GL_STREAM_DRAW_ARB); + ARBBufferObject.glBufferDataARB(ARBVertexBufferObject.GL_ARRAY_BUFFER_ARB, 2 * 4 * 4, ARBBufferObject.GL_STREAM_DRAW_ARB); + ARBBufferObject.glBufferDataARB(ARBVertexBufferObject.GL_ELEMENT_ARRAY_BUFFER_ARB, 4 * 4, ARBBufferObject.GL_STREAM_DRAW_ARB); GL11.glEnableClientState(GL11.GL_VERTEX_ARRAY); GL11.glVertexPointer(2, GL11.GL_FLOAT, 0, 0); } Index: VBOTest.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/test/opengl/VBOTest.java,v retrieving revision 1.28 retrieving revision 1.29 diff -u -d -r1.28 -r1.29 --- VBOTest.java 6 Jul 2004 16:08:08 -0000 1.28 +++ VBOTest.java 30 Jan 2005 23:21:06 -0000 1.29 @@ -1,31 +1,31 @@ -/* +/* * 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 + * modification, are permitted provided that the following conditions are * met: - * - * * Redistributions of source code must retain the above copyright + * + * * 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 + * * 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 + * 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 + * 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. */ @@ -197,10 +197,7 @@ ARBBufferObject.glBindBufferARB(ARBVertexBufferObject.GL_ARRAY_BUFFER_ARB, buffer_id); vertices = ByteBuffer.allocateDirect(2 * 4 * 4).order(ByteOrder.nativeOrder()).asFloatBuffer(); vertices.put(-50).put(-50).put(50).put(-50).put(50).put(50).put(-50).put(50); - ARBBufferObject.glBufferDataARB(ARBVertexBufferObject.GL_ARRAY_BUFFER_ARB, - 2 * 4 * 4, - (ByteBuffer)null, - ARBBufferObject.GL_STREAM_DRAW_ARB); + ARBBufferObject.glBufferDataARB(ARBVertexBufferObject.GL_ARRAY_BUFFER_ARB, 2 * 4 * 4, ARBBufferObject.GL_STREAM_DRAW_ARB); GL11.glEnableClientState(GL11.GL_VERTEX_ARRAY); GL11.glVertexPointer(2, GL11.GL_FLOAT, 0, 0); } |
|
From: Ioannis T. <sp...@us...> - 2005-01-29 23:13:13
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/util In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4097 Modified Files: GL.java GLImpl.java IGL.java Log Message: Improved API for glBufferData Index: GLImpl.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/util/GLImpl.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- GLImpl.java 13 Jan 2005 02:15:50 -0000 1.7 +++ GLImpl.java 29 Jan 2005 23:13:00 -0000 1.8 @@ -318,81 +318,91 @@ /** * @param target * @param size + * @param usage + */ + public void glBufferData(int target, int size, int usage) { + GL.glBufferData(target, size, usage); + } + + /** + * @param target * @param data * @param usage */ - public void glBufferData(int target, int size, ByteBuffer data, int usage) { - GL.glBufferData(target, size, data, usage); + public void glBufferData(int target, ByteBuffer data, int usage) { + GL.glBufferData(target, data, usage); } /** * @param target - * @param size * @param data * @param usage */ - public void glBufferData(int target, int size, FloatBuffer data, int usage) { - GL.glBufferData(target, size, data, usage); + public void glBufferData(int target, FloatBuffer data, int usage) { + GL.glBufferData(target, data, usage); } /** * @param target - * @param size * @param data * @param usage */ - public void glBufferData(int target, int size, IntBuffer data, int usage) { - GL.glBufferData(target, size, data, usage); + public void glBufferData(int target, IntBuffer data, int usage) { + GL.glBufferData(target, data, usage); } /** * @param target - * @param size * @param data * @param usage */ - public void glBufferData(int target, int size, ShortBuffer data, int usage) { - GL.glBufferData(target, size, data, usage); + public void glBufferData(int target, ShortBuffer data, int usage) { + GL.glBufferData(target, data, usage); } /** * @param target * @param size + * @param usage + */ + public void glBufferDataARB(int target, int size, int usage) { + GL.glBufferDataARB(target, size, usage); + } + + /** + * @param target * @param data * @param usage */ - public void glBufferDataARB(int target, int size, ByteBuffer data, int usage) { - GL.glBufferDataARB(target, size, data, usage); + public void glBufferDataARB(int target, ByteBuffer data, int usage) { + GL.glBufferDataARB(target, data, usage); } /** * @param target - * @param size * @param data * @param usage */ - public void glBufferDataARB(int target, int size, FloatBuffer data, int usage) { - GL.glBufferDataARB(target, size, data, usage); + public void glBufferDataARB(int target, FloatBuffer data, int usage) { + GL.glBufferDataARB(target, data, usage); } /** * @param target - * @param size * @param data * @param usage */ - public void glBufferDataARB(int target, int size, IntBuffer data, int usage) { - GL.glBufferDataARB(target, size, data, usage); + public void glBufferDataARB(int target, IntBuffer data, int usage) { + GL.glBufferDataARB(target, data, usage); } /** * @param target - * @param size * @param data * @param usage */ - public void glBufferDataARB(int target, int size, ShortBuffer data, int usage) { - GL.glBufferDataARB(target, size, data, usage); + public void glBufferDataARB(int target, ShortBuffer data, int usage) { + GL.glBufferDataARB(target, data, usage); } /** Index: GL.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/util/GL.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- GL.java 13 Jan 2005 02:15:47 -0000 1.7 +++ GL.java 29 Jan 2005 23:13:00 -0000 1.8 @@ -3164,41 +3164,46 @@ /** * @param target * @param size + * @param usage + */ + public static void glBufferData(int target, int size, int usage) { + GL15.glBufferData(target, size, usage); + } + + /** + * @param target * @param data * @param usage */ - public static void glBufferData(int target, int size, ByteBuffer data, int usage) { - GL15.glBufferData(target, size, data, usage); + public static void glBufferData(int target, ByteBuffer data, int usage) { + GL15.glBufferData(target, data, usage); } /** * @param target - * @param size * @param data * @param usage */ - public static void glBufferData(int target, int size, FloatBuffer data, int usage) { - GL15.glBufferData(target, size, data, usage); + public static void glBufferData(int target, FloatBuffer data, int usage) { + GL15.glBufferData(target, data, usage); } /** * @param target - * @param size * @param data * @param usage */ - public static void glBufferData(int target, int size, IntBuffer data, int usage) { - GL15.glBufferData(target, size, data, usage); + public static void glBufferData(int target, IntBuffer data, int usage) { + GL15.glBufferData(target, data, usage); } /** * @param target - * @param size * @param data * @param usage */ - public static void glBufferData(int target, int size, ShortBuffer data, int usage) { - GL15.glBufferData(target, size, data, usage); + public static void glBufferData(int target, ShortBuffer data, int usage) { + GL15.glBufferData(target, data, usage); } /** @@ -3395,41 +3400,46 @@ /** * @param target * @param size + * @param usage + */ + public static void glBufferDataARB(int target, int size, int usage) { + ARBBufferObject.glBufferDataARB(target, size, usage); + } + + /** + * @param target * @param data * @param usage */ - public static void glBufferDataARB(int target, int size, ByteBuffer data, int usage) { - ARBBufferObject.glBufferDataARB(target, size, data, usage); + public static void glBufferDataARB(int target, ByteBuffer data, int usage) { + ARBBufferObject.glBufferDataARB(target, data, usage); } /** * @param target - * @param size * @param data * @param usage */ - public static void glBufferDataARB(int target, int size, FloatBuffer data, int usage) { - ARBBufferObject.glBufferDataARB(target, size, data, usage); + public static void glBufferDataARB(int target, FloatBuffer data, int usage) { + ARBBufferObject.glBufferDataARB(target, data, usage); } /** * @param target - * @param size * @param data * @param usage */ - public static void glBufferDataARB(int target, int size, IntBuffer data, int usage) { - ARBBufferObject.glBufferDataARB(target, size, data, usage); + public static void glBufferDataARB(int target, IntBuffer data, int usage) { + ARBBufferObject.glBufferDataARB(target, data, usage); } /** * @param target - * @param size * @param data * @param usage */ - public static void glBufferDataARB(int target, int size, ShortBuffer data, int usage) { - ARBBufferObject.glBufferDataARB(target, size, data, usage); + public static void glBufferDataARB(int target, ShortBuffer data, int usage) { + ARBBufferObject.glBufferDataARB(target, data, usage); } /** Index: IGL.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/util/IGL.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- IGL.java 13 Jan 2005 02:15:51 -0000 1.6 +++ IGL.java 29 Jan 2005 23:13:00 -0000 1.7 @@ -2649,34 +2649,37 @@ /** * @param target * @param size + * @param usage + */ + void glBufferData(int target, int size, int usage); + + /** + * @param target * @param data * @param usage */ - void glBufferData(int target, int size, ByteBuffer data, int usage); + void glBufferData(int target, ByteBuffer data, int usage); /** * @param target - * @param size * @param data * @param usage */ - void glBufferData(int target, int size, FloatBuffer data, int usage); + void glBufferData(int target, FloatBuffer data, int usage); /** * @param target - * @param size * @param data * @param usage */ - void glBufferData(int target, int size, IntBuffer data, int usage); + void glBufferData(int target, IntBuffer data, int usage); /** * @param target - * @param size * @param data * @param usage */ - void glBufferData(int target, int size, ShortBuffer data, int usage); + void glBufferData(int target, ShortBuffer data, int usage); /** * @param target @@ -2836,34 +2839,37 @@ /** * @param target * @param size + * @param usage + */ + void glBufferDataARB(int target, int size, int usage); + + /** + * @param target * @param data * @param usage */ - void glBufferDataARB(int target, int size, ByteBuffer data, int usage); + void glBufferDataARB(int target, ByteBuffer data, int usage); /** * @param target - * @param size * @param data * @param usage */ - void glBufferDataARB(int target, int size, FloatBuffer data, int usage); + void glBufferDataARB(int target, FloatBuffer data, int usage); /** * @param target - * @param size * @param data * @param usage */ - void glBufferDataARB(int target, int size, IntBuffer data, int usage); + void glBufferDataARB(int target, IntBuffer data, int usage); /** * @param target - * @param size * @param data * @param usage */ - void glBufferDataARB(int target, int size, ShortBuffer data, int usage); + void glBufferDataARB(int target, ShortBuffer data, int usage); /** * @param target |
|
From: Ioannis T. <sp...@us...> - 2005-01-29 23:11:05
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3732 Modified Files: ARBBufferObject.java ARBProgram.java GL15.java Log Message: Improved API for glBufferData Index: ARBBufferObject.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/ARBBufferObject.java,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- ARBBufferObject.java 13 Jan 2005 20:32:30 -0000 1.11 +++ ARBBufferObject.java 29 Jan 2005 23:10:55 -0000 1.12 @@ -118,24 +118,28 @@ public static native boolean glIsBufferARB(int buffer); - public static void glBufferDataARB(int target, int size, ByteBuffer data, int usage) { - BufferChecks.checkDirectOrNull(data); - nglBufferDataARB(target, data != null ? data.remaining() : size, data, data != null ? data.position() : 0, usage); + public static void glBufferDataARB(int target, int size, int usage) { + nglBufferDataARB(target, size, null, 0, usage); } - public static void glBufferDataARB(int target, int size, ShortBuffer data, int usage) { - BufferChecks.checkDirectOrNull(data); - nglBufferDataARB(target, data != null ? data.remaining() << 1 : size, data, data != null ? data.position() << 1 : 0, usage); + public static void glBufferDataARB(int target, ByteBuffer data, int usage) { + BufferChecks.checkDirect(data); + nglBufferDataARB(target, data.remaining(), data, data.position(), usage); } - public static void glBufferDataARB(int target, int size, FloatBuffer data, int usage) { + public static void glBufferDataARB(int target, ShortBuffer data, int usage) { + BufferChecks.checkDirect(data); + nglBufferDataARB(target, data.remaining() << 1, data, data.position() << 1, usage); + } + + public static void glBufferDataARB(int target, FloatBuffer data, int usage) { BufferChecks.checkDirectOrNull(data); - nglBufferDataARB(target, data != null ? data.remaining() << 2 : size, data, data != null ? data.position() << 2 : 0, usage); + nglBufferDataARB(target, data.remaining() << 2, data, data.position() << 2, usage); } - public static void glBufferDataARB(int target, int size, IntBuffer data, int usage) { + public static void glBufferDataARB(int target, IntBuffer data, int usage) { BufferChecks.checkDirectOrNull(data); - nglBufferDataARB(target, data != null ? data.remaining() << 2 : size, data, data != null ? data.position() << 2 : 0, usage); + nglBufferDataARB(target, data.remaining() << 2, data, data.position() << 2, usage); } private static native void nglBufferDataARB(int target, int size, Buffer data, int data_offset, int usage); Index: ARBProgram.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/ARBProgram.java,v retrieving revision 1.14 retrieving revision 1.15 diff -u -d -r1.14 -r1.15 --- ARBProgram.java 25 Nov 2004 22:20:43 -0000 1.14 +++ ARBProgram.java 29 Jan 2005 23:10:55 -0000 1.15 @@ -161,12 +161,7 @@ private static native void nglGenProgramsARB(int n, IntBuffer programs, int programsOffset); // --------------------------- - public static native void glProgramEnvParameter4fARB(int target, - int index, - float x, - float y, - float z, - float w); + public static native void glProgramEnvParameter4fARB(int target, int index, float x, float y, float z, float w); private static void checkProgramEnv(int index, Buffer buf) { if ( index < 0 ) { @@ -187,12 +182,7 @@ private static native void nglProgramEnvParameter4fvARB(int target, int index, FloatBuffer params, int paramsOffset); // --------------------------- - public static native void glProgramLocalParameter4fARB(int target, - int index, - float x, - float y, - float z, - float w); + public static native void glProgramLocalParameter4fARB(int target, int index, float x, float y, float z, float w); // --------------------------- public static void glProgramLocalParameterARB(int target, int index, FloatBuffer params) { Index: GL15.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/GL15.java,v retrieving revision 1.13 retrieving revision 1.14 diff -u -d -r1.13 -r1.14 --- GL15.java 13 Jan 2005 20:32:31 -0000 1.13 +++ GL15.java 29 Jan 2005 23:10:55 -0000 1.14 @@ -118,24 +118,28 @@ public static native boolean glIsBuffer(int buffer); - public static void glBufferData(int target, int size, ByteBuffer data, int usage) { - BufferChecks.checkDirectOrNull(data); - nglBufferData(target, data != null ? data.remaining() : size, data, data != null ? data.position() : 0, usage); + public static void glBufferData(int target, int size, int usage) { + nglBufferData(target, size, null, 0, usage); } - public static void glBufferData(int target, int size, ShortBuffer data, int usage) { - BufferChecks.checkDirectOrNull(data); - nglBufferData(target, data != null ? data.remaining() << 1 : size, data, data != null ? data.position() << 1 : 0, usage); + public static void glBufferData(int target, ByteBuffer data, int usage) { + BufferChecks.checkDirect(data); + nglBufferData(target, data.remaining(), data, data.position(), usage); } - public static void glBufferData(int target, int size, FloatBuffer data, int usage) { - BufferChecks.checkDirectOrNull(data); - nglBufferData(target, data != null ? data.remaining() << 2 : size, data, data != null ? data.position() << 2 : 0, usage); + public static void glBufferData(int target, ShortBuffer data, int usage) { + BufferChecks.checkDirect(data); + nglBufferData(target, data.remaining() << 1, data, data.position() << 1, usage); } - public static void glBufferData(int target, int size, IntBuffer data, int usage) { - BufferChecks.checkDirectOrNull(data); - nglBufferData(target, data != null ? data.remaining() << 2 : size, data, data != null ? data.position() << 2 : 0, usage); + public static void glBufferData(int target, FloatBuffer data, int usage) { + BufferChecks.checkDirect(data); + nglBufferData(target, data.remaining() << 2, data, data.position() << 2, usage); + } + + public static void glBufferData(int target, IntBuffer data, int usage) { + BufferChecks.checkDirect(data); + nglBufferData(target, data.remaining() << 2, data, data.position() << 2, usage); } private static native void nglBufferData(int target, int size, Buffer data, int data_offset, int usage); |
|
From: Gregory P. <gre...@us...> - 2005-01-29 18:20:51
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/macosx In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5146/src/native/macosx Modified Files: org_lwjgl_opengl_Pbuffer.m Log Message: Update for pbuffer power of 2 issues Index: org_lwjgl_opengl_Pbuffer.m =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/macosx/org_lwjgl_opengl_Pbuffer.m,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- org_lwjgl_opengl_Pbuffer.m 11 Jan 2005 14:03:50 -0000 1.3 +++ org_lwjgl_opengl_Pbuffer.m 29 Jan 2005 18:20:41 -0000 1.4 @@ -75,26 +75,60 @@ [pool release]; } -static void createPbuffer(JNIEnv *env, jobject pbuffer_handle, jint width, jint height, jobject pixel_format, NSOpenGLContext *shared_context) { - if (!checkCapacity(env, pbuffer_handle)) - return; - NSOpenGLPixelBuffer *pbuffer = [[NSOpenGLPixelBuffer alloc] initWithTextureTarget:GL_TEXTURE_2D textureInternalFormat:GL_RGBA textureMaxMipMapLevel:0 pixelsWide:width pixelsHigh:height]; - if (pbuffer == nil) { - throwException(env, "Could not allocate Pbuffer"); - return; - } - NSOpenGLContext *context = createContext(env, pixel_format, false, false, NSOpenGLPFAPixelBuffer, shared_context); - if (context == nil) - return; - int screen; - if (getDisplayContext() != NULL) - screen = [getDisplayContext() currentVirtualScreen]; - else - screen = 0; - [context setPixelBuffer:pbuffer cubeMapFace:0 mipMapLevel:0 currentVirtualScreen:screen]; - PbufferInfo *pbuffer_handle_ptr = (PbufferInfo *)(*env)->GetDirectBufferAddress(env, pbuffer_handle); - pbuffer_handle_ptr->pbuffer = pbuffer; - pbuffer_handle_ptr->context = context; +static void createPbuffer(JNIEnv *env, jobject pbuffer_handle, jint width, jint height, jobject pixel_format, NSOpenGLContext *shared_context) +{ + if (!checkCapacity(env, pbuffer_handle)) + return; + + NSOpenGLPixelBuffer *pbuffer = nil; + + // check if the texture is power of 2 + if ( (( width > 0 ) && ( width & ( width-1)) == 0) || (( height > 0 ) && ( height & ( height-1)) == 0) ) + { + pbuffer = [[NSOpenGLPixelBuffer alloc] initWithTextureTarget:GL_TEXTURE_2D + textureInternalFormat:GL_RGBA + textureMaxMipMapLevel:0 + pixelsWide:width + pixelsHigh:height]; + } + else + { + pbuffer = [[NSOpenGLPixelBuffer alloc] initWithTextureTarget:GL_TEXTURE_RECTANGLE_EXT + textureInternalFormat:GL_RGBA + textureMaxMipMapLevel:0 + pixelsWide:width + pixelsHigh:height]; + } + + + if (pbuffer == nil) + { + throwException(env, "Could not allocate Pbuffer"); + return; + } + + NSOpenGLContext *context = createContext(env, pixel_format, false, false, NSOpenGLPFAPixelBuffer, shared_context); + + if (context == nil) + { + return; + } + + int screen; + if (getDisplayContext() != NULL) + { + screen = [getDisplayContext() currentVirtualScreen]; + } + else + { + screen = 0; + } + + [context setPixelBuffer:pbuffer cubeMapFace:0 mipMapLevel:0 currentVirtualScreen:screen]; + + PbufferInfo *pbuffer_handle_ptr = (PbufferInfo *)(*env)->GetDirectBufferAddress(env, pbuffer_handle); + pbuffer_handle_ptr->pbuffer = pbuffer; + pbuffer_handle_ptr->context = context; } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_MacOSXDisplay_nCreatePbuffer(JNIEnv *env, jobject this, jobject pbuffer_handle, jint width, jint height, jobject pixel_format, jobject pixelFormatCaps, jobject pBufferAttribs, jobject shared_context_handle_buffer) { |
|
From: Elias N. <eli...@us...> - 2005-01-29 10:18:11
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/win32 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27207/src/native/win32 Modified Files: Window.h org_lwjgl_Sys.c org_lwjgl_opengl_Display.c org_lwjgl_opengl_Pbuffer.c Log Message: Win32: Better Sys.alert fix Index: org_lwjgl_opengl_Pbuffer.c =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/win32/org_lwjgl_opengl_Pbuffer.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- org_lwjgl_opengl_Pbuffer.c 19 Jan 2005 13:15:44 -0000 1.7 +++ org_lwjgl_opengl_Pbuffer.c 29 Jan 2005 10:17:56 -0000 1.8 @@ -97,21 +97,21 @@ return NULL; } if (!applyPixelFormat(dummy_hdc, iPixelFormat)) { - closeWindow(dummy_hwnd, dummy_hdc); + closeWindow(&dummy_hwnd, &dummy_hdc); throwException(env, "Could not apply pixel format to window"); return NULL; } dummy_hglrc = wglCreateContext(dummy_hdc); if (dummy_hglrc == NULL) { - closeWindow(dummy_hwnd, dummy_hdc); + closeWindow(&dummy_hwnd, &dummy_hdc); throwException(env, "Failed to create OpenGL rendering context"); return NULL; } result = wglMakeCurrent(dummy_hdc, dummy_hglrc); if (!result) { wglDeleteContext(dummy_hglrc); - closeWindow(dummy_hwnd, dummy_hdc); + closeWindow(&dummy_hwnd, &dummy_hdc); throwException(env, "Could not bind context to dummy window"); return NULL; } @@ -122,17 +122,17 @@ iPixelFormat = findPixelFormatARB(env, dummy_hdc, pixel_format, pixelFormatCaps, false, false, true, true); wglDeleteContext(dummy_hglrc); if (!pbuffers_supported) { - closeWindow(dummy_hwnd, dummy_hdc); + closeWindow(&dummy_hwnd, &dummy_hdc); throwException(env, "No Pbuffer support."); return NULL; } if (iPixelFormat == -1) { - closeWindow(dummy_hwnd, dummy_hdc); + closeWindow(&dummy_hwnd, &dummy_hdc); throwException(env, "Could not find suitable pixel format."); return NULL; } Pbuffer = wglCreatePbufferARB(dummy_hdc, iPixelFormat, width, height, pBufferAttribs_ptr); - closeWindow(dummy_hwnd, dummy_hdc); + closeWindow(&dummy_hwnd, &dummy_hdc); return Pbuffer; } 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.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- org_lwjgl_opengl_Display.c 27 Jan 2005 21:26:46 -0000 1.6 +++ org_lwjgl_opengl_Display.c 29 Jan 2005 10:17:56 -0000 1.7 @@ -265,21 +265,21 @@ /* * Close the window */ -void closeWindow(HWND hwnd, HDC hdc) +void closeWindow(HWND *hwnd, HDC *hdc) { // Release device context - if (hdc != NULL && hwnd != NULL) { + if (*hdc != NULL && *hwnd != NULL) { printfDebug("Releasing DC\n"); - ReleaseDC(hwnd, hdc); - hdc = NULL; + ReleaseDC(*hwnd, *hdc); + *hdc = NULL; } // Close the window - if (hwnd != NULL) { - ShowWindow(hwnd, SW_HIDE); + if (*hwnd != NULL) { + ShowWindow(*hwnd, SW_HIDE); printfDebug("Destroy window\n"); - DestroyWindow(hwnd); - hwnd = NULL; + DestroyWindow(*hwnd); + *hwnd = NULL; } } @@ -655,7 +655,7 @@ } display_hdc = GetDC(display_hwnd); if (!applyPixelFormat(display_hdc, pixel_format_index)) { - closeWindow(display_hwnd, display_hdc); + closeWindow(&display_hwnd, &display_hdc); throwException(env, "Could not apply pixel format to window"); return; } @@ -667,7 +667,7 @@ } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_Win32Display_destroyWindow(JNIEnv *env, jobject self) { - closeWindow(display_hwnd, display_hdc); + closeWindow(&display_hwnd, &display_hdc); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_Win32Display_switchDisplayMode(JNIEnv *env, jobject self, jobject mode) { @@ -723,12 +723,12 @@ arb_hdc = GetDC(arb_hwnd); if ( !applyPixelFormat(arb_hdc, pixel_format_index) ) { - closeWindow(arb_hwnd, arb_hdc); + closeWindow(&arb_hwnd, &arb_hdc); return false; } arb_context = wglCreateContext(arb_hdc); - closeWindow(arb_hwnd, arb_hdc); + closeWindow(&arb_hwnd, &arb_hdc); if ( arb_context == NULL ) return false; @@ -764,13 +764,13 @@ return; } if (!applyPixelFormat(dummy_hdc, pixel_format_index)) { - closeWindow(dummy_hwnd, dummy_hdc); + closeWindow(&dummy_hwnd, &dummy_hdc); throwException(env, "Could not apply pixel format to window"); return; } display_hglrc = wglCreateContext(dummy_hdc); if (display_hglrc == NULL) { - closeWindow(dummy_hwnd, dummy_hdc); + closeWindow(&dummy_hwnd, &dummy_hdc); throwException(env, "Failed to create OpenGL rendering context"); return; } @@ -778,7 +778,7 @@ if (!result) { throwException(env, "Could not bind context to dummy window"); wglDeleteContext(display_hglrc); - closeWindow(dummy_hwnd, dummy_hdc); + closeWindow(&dummy_hwnd, &dummy_hdc); return; } extgl_InitWGL(env); @@ -786,7 +786,7 @@ samples = (int)(*env)->GetIntField(env, pixel_format, (*env)->GetFieldID(env, cls_pixel_format, "samples", "I")); if (samples > 0) { arb_success = createARBContextAndPixelFormat(env, dummy_hdc, pixel_format, &pixel_format_index_arb, &context_arb); - closeWindow(dummy_hwnd, dummy_hdc); + closeWindow(&dummy_hwnd, &dummy_hdc); wglDeleteContext(display_hglrc); if (!arb_success) { throwException(env, "Samples > 0 but could not find a suitable ARB pixel format"); @@ -795,7 +795,7 @@ display_hglrc = context_arb; pixel_format_index = pixel_format_index_arb; } else - closeWindow(dummy_hwnd, dummy_hdc); + closeWindow(&dummy_hwnd, &dummy_hdc); } JNIEXPORT void JNICALL Java_org_lwjgl_opengl_Win32Display_destroyContext(JNIEnv *env, jobject self) { Index: Window.h =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/win32/Window.h,v retrieving revision 1.21 retrieving revision 1.22 diff -u -d -r1.21 -r1.22 --- Window.h 26 Oct 2004 20:07:24 -0000 1.21 +++ Window.h 29 Jan 2005 10:17:56 -0000 1.22 @@ -66,7 +66,7 @@ WINDOW_H_API bool applyPixelFormat(HDC hdc, int iPixelFormat); - WINDOW_H_API void closeWindow(HWND hwnd, HDC hdc); + WINDOW_H_API void closeWindow(HWND *hwnd, HDC *hdc); WINDOW_H_API void handleMouseMoved(int x, int y); @@ -101,10 +101,4 @@ */ WINDOW_H_API void handleMessage(JNIEnv * env, jobject obj); - - /* - * Close the window - */ - WINDOW_H_API void closeWindow(); - #endif /* _LWJGL_WINDOW_H_INCLUDED_ */ Index: org_lwjgl_Sys.c =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/win32/org_lwjgl_Sys.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- org_lwjgl_Sys.c 28 Jan 2005 22:42:23 -0000 1.7 +++ org_lwjgl_Sys.c 29 Jan 2005 10:17:56 -0000 1.8 @@ -82,7 +82,7 @@ { char * eMessageText = GetStringNativeChars(env, message); char * cTitleBarText = GetStringNativeChars(env, title); - MessageBox(NULL, eMessageText, cTitleBarText, MB_OK | MB_TOPMOST); + MessageBox(getCurrentHWND(), eMessageText, cTitleBarText, MB_OK | MB_TOPMOST); printfDebug("*** Alert ***%s\n%s\n", cTitleBarText, eMessageText); |
|
From: Elias N. <eli...@us...> - 2005-01-28 22:42:46
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/win32 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14141/src/native/win32 Modified Files: org_lwjgl_Sys.c Log Message: Win32: Fixed Sys.alert() Index: org_lwjgl_Sys.c =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/win32/org_lwjgl_Sys.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- org_lwjgl_Sys.c 20 Jan 2005 22:51:28 -0000 1.6 +++ org_lwjgl_Sys.c 28 Jan 2005 22:42:23 -0000 1.7 @@ -82,7 +82,7 @@ { char * eMessageText = GetStringNativeChars(env, message); char * cTitleBarText = GetStringNativeChars(env, title); - MessageBox(getCurrentHWND(), eMessageText, cTitleBarText, MB_OK | MB_TOPMOST); + MessageBox(NULL, eMessageText, cTitleBarText, MB_OK | MB_TOPMOST); printfDebug("*** Alert ***%s\n%s\n", cTitleBarText, eMessageText); |
|
From: Elias N. <eli...@us...> - 2005-01-28 21:08:36
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/common In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26045/common Modified Files: checkALerror.h Log Message: OpenAL: Enable error checking unconditionally, not only when debug is enabled Index: checkALerror.h =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/common/checkALerror.h,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- checkALerror.h 10 Sep 2004 08:13:47 -0000 1.12 +++ checkALerror.h 28 Jan 2005 21:08:16 -0000 1.13 @@ -39,25 +39,21 @@ #define CHECK_AL_ERROR \ { \ - if (isDebugEnabled()) { \ - int err = alGetError(); \ - if (err != AL_NO_ERROR) { \ - jclass cls = (*env)->FindClass(env, "org/lwjgl/openal/OpenALException"); \ - (*env)->ThrowNew(env, cls, (const char*) alGetString(err)); \ - (*env)->DeleteLocalRef(env, cls); \ - } \ + int err = alGetError(); \ + if (err != AL_NO_ERROR) { \ + jclass cls = (*env)->FindClass(env, "org/lwjgl/openal/OpenALException"); \ + (*env)->ThrowNew(env, cls, (const char*) alGetString(err)); \ + (*env)->DeleteLocalRef(env, cls); \ } \ } /* only available if deviceaddress is specified in method */ #define CHECK_ALC_ERROR \ { \ - if (isDebugEnabled()) { \ - int err = alcGetError((ALCdevice*) deviceaddress); \ - if (err != AL_NO_ERROR) { \ - jclass cls = (*env)->FindClass(env, "org/lwjgl/openal/OpenALException"); \ - (*env)->ThrowNew(env, cls, (const char*) alcGetString((ALCdevice*) deviceaddress, err)); \ - (*env)->DeleteLocalRef(env, cls); \ - } \ + int err = alcGetError((ALCdevice*) deviceaddress); \ + if (err != AL_NO_ERROR) { \ + jclass cls = (*env)->FindClass(env, "org/lwjgl/openal/OpenALException"); \ + (*env)->ThrowNew(env, cls, (const char*) alcGetString((ALCdevice*) deviceaddress, err)); \ + (*env)->DeleteLocalRef(env, cls); \ } \ } |
|
From: Elias N. <eli...@us...> - 2005-01-28 21:03:10
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/common In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24917/src/native/common Modified Files: org_lwjgl_openal_ALC.c Log Message: OpenAL: Don't call CHECK_ALC_ERROR after alcCloseDevice Index: org_lwjgl_openal_ALC.c =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/common/org_lwjgl_openal_ALC.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- org_lwjgl_openal_ALC.c 14 Nov 2004 10:42:16 -0000 1.5 +++ org_lwjgl_openal_ALC.c 28 Jan 2005 21:02:48 -0000 1.6 @@ -163,7 +163,6 @@ */ static void JNICALL Java_org_lwjgl_openal_ALC_alcCloseDevice (JNIEnv *env, jclass clazz, jint deviceaddress) { alcCloseDevice((ALCdevice*) deviceaddress); - CHECK_ALC_ERROR } /** |
|
From: Elias N. <eli...@us...> - 2005-01-28 15:48:04
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/openal In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8244/src/java/org/lwjgl/openal Modified Files: AL.java Log Message: Renamed AL.getPathFromJWS to AL.getPathFromClassLoader and made it access protected methods too Index: AL.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/openal/AL.java,v retrieving revision 1.34 retrieving revision 1.35 diff -u -d -r1.34 -r1.35 --- AL.java 22 Nov 2004 09:43:52 -0000 1.34 +++ AL.java 28 Jan 2005 15:47:29 -0000 1.35 @@ -145,15 +145,15 @@ throw new LWJGLException("Unknown platform: "+osName); } - String jwsPath = getPathFromJWS(jwsLibname); + String jwsPath = getPathFromClassLoader(jwsLibname); if (jwsPath != null) { - Sys.log("getPathFromJWS: Path found: " + jwsPath); + Sys.log("getPathFromClassLoader: Path found: " + jwsPath); libpath += seperator + jwsPath.substring(0, jwsPath.lastIndexOf(File.separator)); } - String lwjgl_jws_path = getPathFromJWS("lwjgl"); + String lwjgl_jws_path = getPathFromClassLoader("lwjgl"); if (lwjgl_jws_path != null) { - Sys.log("getPathFromJWS: Path found: " + lwjgl_jws_path); + Sys.log("getPathFromClassLoader: Path found: " + lwjgl_jws_path); libpath += seperator + lwjgl_jws_path.substring(0, lwjgl_jws_path.lastIndexOf(File.separator)); } @@ -237,25 +237,29 @@ } /** - * Tries to locate OpenAL from the JWS Library path + * Tries to locate OpenAL from the current ClassLoader * This method exists because OpenAL is loaded from native code, and as such - * is exempt from JWS library loading rutines. OpenAL therefore always fails. - * We therefore invoke the protected method of the JWS classloader to see if it can + * is exempt from ClassLoader library loading rutines. OpenAL therefore always fails. + * We therefore invoke the protected method of the ClassLoader to see if it can * locate it. * * @param libname Name of library to search for * @return Absolute path to library if found, otherwise null */ - private static String getPathFromJWS(String libname) { + private static String getPathFromClassLoader(String libname) { try { - Sys.log("getPathFromJWS: searching for: " + libname); + Sys.log("getPathFromClassLoader: searching for: " + libname); Object o = AL.class.getClassLoader(); Class c = o.getClass(); - Method findLibrary = - c.getMethod("findLibrary", new Class[] { String.class }); - Object[] arguments = new Object[] { libname }; - return (String) findLibrary.invoke(o, arguments); - + while (c != null) { + try { + Method findLibrary = c.getDeclaredMethod("findLibrary", new Class[] { String.class }); + Object[] arguments = new Object[] { libname }; + return (String)findLibrary.invoke(o, arguments); + } catch (NoSuchMethodException e) { + c = c.getSuperclass(); + } + } } catch (Exception e) { Sys.log("Failure locating OpenAL using classloader:" + e); } |
|
From: Gregory P. <gre...@us...> - 2005-01-28 02:10:02
|
Update of /cvsroot/java-game-lib/LWJGL In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29859 Modified Files: build.xml Log Message: Update to fix a problem with openal environmental problem in the OSX version Index: build.xml =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/build.xml,v retrieving revision 1.56 retrieving revision 1.57 diff -u -d -r1.56 -r1.57 --- build.xml 25 Jan 2005 21:26:18 -0000 1.56 +++ build.xml 28 Jan 2005 02:09:51 -0000 1.57 @@ -311,7 +311,7 @@ <echo>Compiling Mac OS X LWJGL version</echo> <exec dir="${lwjgl.src.native}/macosx" executable="make" failonerror="true"> - <env key="AL" path="${openal.home}/include/AL/" /> + <env key="AL" path="${openal.home}" /> </exec> <move file="${lwjgl.src.native}/macosx/liblwjgl.jnilib" tofile="${lwjgl.lib}/liblwjgl.jnilib" /> |
|
From: Brian M. <ma...@us...> - 2005-01-27 22:09:16
|
Update of /cvsroot/java-game-lib/LWJGL/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6770 Modified Files: lwjgl_hidden_switches.text Log Message: update docs to reflect property name change Index: lwjgl_hidden_switches.text =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/doc/lwjgl_hidden_switches.text,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- lwjgl_hidden_switches.text 25 Jan 2005 20:51:28 -0000 1.2 +++ lwjgl_hidden_switches.text 27 Jan 2005 22:08:59 -0000 1.3 @@ -12,7 +12,7 @@ org.lwjgl.Sys.debug Whether to output debug info -org.lwjgl.opengl.Window.allowSoftwareOpenGL +org.lwjgl.opengl.Display.allowSoftwareOpenGL Whether to allow creation of a software only opengl context org.lwjgl.opengl.Window.undecorated |
|
From: Elias N. <eli...@us...> - 2005-01-27 21:26:58
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/macosx In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29507/src/native/macosx Modified Files: org_lwjgl_opengl_Display.m Log Message: Renamed org.lwjgl.opengl.Window.allowSoftwareOpenGL to org.lwjgl.opengl.Display.allowSoftwareOpenGL Index: org_lwjgl_opengl_Display.m =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/macosx/org_lwjgl_opengl_Display.m,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- org_lwjgl_opengl_Display.m 11 Dec 2004 10:47:21 -0000 1.6 +++ org_lwjgl_opengl_Display.m 27 Jan 2005 21:26:45 -0000 1.7 @@ -69,7 +69,7 @@ bool stereo = (bool)(*env)->GetBooleanField(env, pixel_format, (*env)->GetFieldID(env, cls_pixel_format, "stereo", "Z")); attrib_list_t attribs; - jboolean allow_software_acceleration = getBooleanProperty(env, "org.lwjgl.opengl.Window.allowSoftwareOpenGL"); + jboolean allow_software_acceleration = getBooleanProperty(env, "org.lwjgl.opengl.Display.allowSoftwareOpenGL"); initAttribList(&attribs); if (!allow_software_acceleration) putAttrib(&attribs, NSOpenGLPFAAccelerated); |
|
From: Elias N. <eli...@us...> - 2005-01-27 21:26:57
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/win32 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29507/src/native/win32 Modified Files: org_lwjgl_opengl_Display.c Log Message: Renamed org.lwjgl.opengl.Window.allowSoftwareOpenGL to org.lwjgl.opengl.Display.allowSoftwareOpenGL 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.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- org_lwjgl_opengl_Display.c 15 Jan 2005 23:52:53 -0000 1.5 +++ org_lwjgl_opengl_Display.c 27 Jan 2005 21:26:46 -0000 1.6 @@ -236,7 +236,7 @@ } if ((desc.dwFlags & PFD_GENERIC_FORMAT) != 0 || (desc.dwFlags & PFD_GENERIC_ACCELERATED) != 0) { - jboolean allowSoftwareOpenGL = getBooleanProperty(env, "org.lwjgl.opengl.Window.allowSoftwareOpenGL"); + jboolean allowSoftwareOpenGL = getBooleanProperty(env, "org.lwjgl.opengl.Display.allowSoftwareOpenGL"); // secondary check for software override if(!allowSoftwareOpenGL) { printfDebugJava(env, "Pixel format not accelerated"); |
|
From: Elias N. <eli...@us...> - 2005-01-27 21:26:57
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/linux In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29507/src/native/linux Modified Files: org_lwjgl_opengl_Display.c org_lwjgl_opengl_Pbuffer.c Log Message: Renamed org.lwjgl.opengl.Window.allowSoftwareOpenGL to org.lwjgl.opengl.Display.allowSoftwareOpenGL Index: org_lwjgl_opengl_Pbuffer.c =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/linux/org_lwjgl_opengl_Pbuffer.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- org_lwjgl_opengl_Pbuffer.c 19 Jan 2005 13:05:07 -0000 1.8 +++ org_lwjgl_opengl_Pbuffer.c 27 Jan 2005 21:26:44 -0000 1.9 @@ -110,7 +110,7 @@ throwException(env, "Could not create a GLX context"); return false; } - jboolean allow_software_acceleration = getBooleanProperty(env, "org.lwjgl.opengl.Window.allowSoftwareOpenGL"); + jboolean allow_software_acceleration = getBooleanProperty(env, "org.lwjgl.opengl.Display.allowSoftwareOpenGL"); if (!allow_software_acceleration && glXIsDirect(getDisplay(), context) == False) { glXDestroyContext(getDisplay(), context); XFree(configs); Index: org_lwjgl_opengl_Display.c =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/linux/org_lwjgl_opengl_Display.c,v retrieving revision 1.20 retrieving revision 1.21 diff -u -d -r1.20 -r1.21 --- org_lwjgl_opengl_Display.c 12 Jan 2005 12:20:52 -0000 1.20 +++ org_lwjgl_opengl_Display.c 27 Jan 2005 21:26:44 -0000 1.21 @@ -622,7 +622,7 @@ throwException(env, "Could not create a GLX context"); return false; } - jboolean allow_software_acceleration = getBooleanProperty(env, "org.lwjgl.opengl.Window.allowSoftwareOpenGL"); + jboolean allow_software_acceleration = getBooleanProperty(env, "org.lwjgl.opengl.Display.allowSoftwareOpenGL"); if (!allow_software_acceleration && (glXIsDirect(getDisplay(), display_context) == False)) { glXDestroyContext(getDisplay(), display_context); XFree(configs); @@ -659,7 +659,7 @@ throwException(env, "Could not create a GLX context"); return false; } - jboolean allow_software_acceleration = getBooleanProperty(env, "org.lwjgl.opengl.Window.allowSoftwareOpenGL"); + jboolean allow_software_acceleration = getBooleanProperty(env, "org.lwjgl.opengl.Display.allowSoftwareOpenGL"); if (!allow_software_acceleration && glXIsDirect(getDisplay(), display_context) == False) { glXDestroyContext(getDisplay(), display_context); XFree(vis_info); |
|
From: Ioannis T. <sp...@us...> - 2005-01-26 22:48:21
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/glu In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12377 Modified Files: MipMap.java Log Message: Optimized buffer allocation Index: MipMap.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/glu/MipMap.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- MipMap.java 29 Jul 2004 11:41:11 -0000 1.7 +++ MipMap.java 26 Jan 2005 22:48:12 -0000 1.8 @@ -1,40 +1,40 @@ -/* +/* * 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 + * modification, are permitted provided that the following conditions are * met: - * - * * Redistributions of source code must retain the above copyright + * + * * 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 + * * 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 + * 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 + * 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. */ package org.lwjgl.opengl.glu; -import java.nio.ByteBuffer; - -import org.lwjgl.opengl.GL11; import org.lwjgl.BufferUtils; +import org.lwjgl.opengl.GL11; + +import java.nio.ByteBuffer; /** * MipMap.java @@ -57,39 +57,24 @@ * @param data * @return int */ - public static int gluBuild2DMipmaps( - int target, - int components, - int width, - int height, - int format, - int type, - ByteBuffer data) { - - int retVal = 0; - int error; - int w, h, maxSize; - ByteBuffer image, newimage; - int neww, newh, level, bpp; - boolean done; + public static int gluBuild2DMipmaps(final int target, + final int components, final int width, final int height, + final int format, final int type, final ByteBuffer data) { + if ( width < 1 || height < 1 ) return GLU.GLU_INVALID_VALUE; - if (width < 1 || height < 1) return GLU.GLU_INVALID_VALUE; + final int bpp = bytesPerPixel(format, type); + if ( bpp == 0 ) + return GLU.GLU_INVALID_ENUM; - maxSize = glGetIntegerv(GL11.GL_MAX_TEXTURE_SIZE); + final int maxSize = glGetIntegerv(GL11.GL_MAX_TEXTURE_SIZE); - w = nearestPower(width); - if (w > maxSize) { + int w = nearestPower(width); + if ( w > maxSize ) w = maxSize; - } - h = nearestPower(height); - if (h > maxSize) { - h = maxSize; - } - bpp = bytesPerPixel(format, type); - if (bpp == 0) { - return GLU.GLU_INVALID_ENUM; - } + int h = nearestPower(height); + if ( h > maxSize ) + h = maxSize; // Get current glPixelStore state PixelStoreState pss = new PixelStoreState(); @@ -100,49 +85,62 @@ GL11.glPixelStorei(GL11.GL_PACK_SKIP_ROWS, 0); GL11.glPixelStorei(GL11.GL_PACK_SKIP_PIXELS, 0); - done = false; + ByteBuffer image; + int retVal = 0; + boolean done = false; - if (w != width || h != height) { + if ( w != width || h != height ) { // must rescale image to get "top" mipmap texture image image = BufferUtils.createByteBuffer((w + 4) * h * bpp); - error = gluScaleImage(format, width, height, type, data, w, h, type, image); - if (error != 0) { + int error = gluScaleImage(format, width, height, type, data, w, h, type, image); + if ( error != 0 ) { retVal = error; done = true; } + + /* set pixel unpacking */ + GL11.glPixelStorei(GL11.GL_UNPACK_ROW_LENGTH, 0); + GL11.glPixelStorei(GL11.GL_UNPACK_ALIGNMENT, 1); + GL11.glPixelStorei(GL11.GL_UNPACK_SKIP_ROWS, 0); + GL11.glPixelStorei(GL11.GL_UNPACK_SKIP_PIXELS, 0); } else { image = data; } - level = 0; - while (!done) { - if (image != data) { - /* set pixel unpacking */ - GL11.glPixelStorei(GL11.GL_UNPACK_ROW_LENGTH, 0); - GL11.glPixelStorei(GL11.GL_UNPACK_ALIGNMENT, 1); - GL11.glPixelStorei(GL11.GL_UNPACK_SKIP_ROWS, 0); - GL11.glPixelStorei(GL11.GL_UNPACK_SKIP_PIXELS, 0); - } + ByteBuffer bufferA = null; + ByteBuffer bufferB = null; + int level = 0; + while ( !done ) { GL11.glTexImage2D(target, level, components, w, h, 0, format, type, image); - if (w == 1 && h == 1) + if ( w == 1 && h == 1 ) break; - neww = (w < 2) ? 1 : w / 2; - newh = (h < 2) ? 1 : h / 2; - newimage = BufferUtils.createByteBuffer((neww + 4) * newh * bpp); + final int newW = (w < 2) ? 1 : w >> 1; + final int newH = (h < 2) ? 1 : h >> 1; - error = gluScaleImage(format, w, h, type, image, neww, newh, type, newimage); - if (error != 0) { + final ByteBuffer newImage; + + if ( bufferA == null ) + newImage = (bufferA = BufferUtils.createByteBuffer((newW + 4) * newH * bpp)); + else if ( bufferB == null ) + newImage = (bufferB = BufferUtils.createByteBuffer((newW + 4) * newH * bpp)); + else + newImage = bufferB; + + int error = gluScaleImage(format, w, h, type, image, newW, newH, type, newImage); + if ( error != 0 ) { retVal = error; done = true; } - image = newimage; + image = newImage; + if ( bufferB != null ) + bufferB = bufferA; - w = neww; - h = newh; + w = newW; + h = newH; level++; } @@ -165,48 +163,39 @@ * @param dataOut * @return int */ - public static int gluScaleImage( - int format, - int widthIn, - int heightIn, - int typein, - ByteBuffer dataIn, - int widthOut, - int heightOut, - int typeOut, - ByteBuffer dataOut) { + public static int gluScaleImage(int format, + int widthIn, int heightIn, int typein, ByteBuffer dataIn, + int widthOut, int heightOut, int typeOut, ByteBuffer dataOut) { - int components, i, j, k; - float[] tempin, tempout; + final int components = compPerPix(format); + if ( components == -1 ) + return GLU.GLU_INVALID_ENUM; + + int i, j, k; + float[] tempIn, tempOut; float sx, sy; int sizein, sizeout; int rowstride, rowlen; - components = compPerPix(format); - if (components == -1) { - return GLU.GLU_INVALID_ENUM; - } - // temp image data - tempin = new float[widthIn * heightIn * components]; - tempout = new float[widthOut * heightOut * components]; + tempIn = new float[widthIn * heightIn * components]; + tempOut = new float[widthOut * heightOut * components]; // Determine bytes per input type - switch (typein) { - case GL11.GL_UNSIGNED_BYTE : + switch ( typein ) { + case GL11.GL_UNSIGNED_BYTE: sizein = 1; break; - default : + default: return GL11.GL_INVALID_ENUM; } // Determine bytes per output type - switch (typeOut) { - case GL11.GL_UNSIGNED_BYTE : + switch ( typeOut ) { + case GL11.GL_UNSIGNED_BYTE: sizeout = 1; break; - - default : + default: return GL11.GL_INVALID_ENUM; } @@ -214,62 +203,60 @@ PixelStoreState pss = new PixelStoreState(); //Unpack the pixel data and convert to floating point - if (pss.unpackRowLength > 0) { + if ( pss.unpackRowLength > 0 ) rowlen = pss.unpackRowLength; - } else { + else rowlen = widthIn; - } - if (sizein >= pss.unpackAlignment) { + + if ( sizein >= pss.unpackAlignment ) rowstride = components * rowlen; - } else { + else rowstride = pss.unpackAlignment / sizein * ceil(components * rowlen * sizein, pss.unpackAlignment); - } - switch (typein) { - case GL11.GL_UNSIGNED_BYTE : + switch ( typein ) { + case GL11.GL_UNSIGNED_BYTE: k = 0; dataIn.rewind(); - for (i = 0; i < heightIn; i++) { + for ( i = 0; i < heightIn; i++ ) { int ubptr = i * rowstride + pss.unpackSkipRows * rowstride + pss.unpackSkipPixels * components; - for (j = 0; j < widthIn * components; j++) { - tempin[k++] = (float) ((int) dataIn.get(ubptr++) & 0xff); + for ( j = 0; j < widthIn * components; j++ ) { + tempIn[k++] = (float)((int)dataIn.get(ubptr++) & 0xff); } } break; - - default : + default: return GLU.GLU_INVALID_ENUM; } // Do scaling - sx = (float) widthIn / (float) widthOut; - sy = (float) heightIn / (float) heightOut; + sx = (float)widthIn / (float)widthOut; + sy = (float)heightIn / (float)heightOut; float[] c = new float[components]; int src, dst; - for (int iy = 0; iy < heightOut; iy++) { - for (int ix = 0; ix < widthOut; ix++) { - int x0 = (int) (ix * sx); - int x1 = (int) ((ix + 1) * sx); - int y0 = (int) (iy * sy); - int y1 = (int) ((iy + 1) * sy); + for ( int iy = 0; iy < heightOut; iy++ ) { + for ( int ix = 0; ix < widthOut; ix++ ) { + int x0 = (int)(ix * sx); + int x1 = (int)((ix + 1) * sx); + int y0 = (int)(iy * sy); + int y1 = (int)((iy + 1) * sy); int readPix = 0; // reset weighted pixel - for (int ic = 0; ic < components; ic++) { + for ( int ic = 0; ic < components; ic++ ) { c[ic] = 0; } // create weighted pixel - for (int ix0 = x0; ix0 < x1; ix0++) { - for (int iy0 = y0; iy0 < y1; iy0++) { + for ( int ix0 = x0; ix0 < x1; ix0++ ) { + for ( int iy0 = y0; iy0 < y1; iy0++ ) { src = (iy0 * widthIn + ix0) * components; - for (int ic = 0; ic < components; ic++) { - c[ic] += tempin[src + ic]; + for ( int ic = 0; ic < components; ic++ ) { + c[ic] += tempIn[src + ic]; } readPix++; @@ -279,47 +266,45 @@ // store weighted pixel dst = (iy * widthOut + ix) * components; - if (readPix == 0) { - // Image is sized up, caused by non power of two texture as input - src = (y0 * widthIn + x0) * components; - for (int ic = 0; ic < components; ic++) { - tempout[dst++] = tempin[src + ic]; - } + if ( readPix == 0 ) { + // Image is sized up, caused by non power of two texture as input + src = (y0 * widthIn + x0) * components; + for ( int ic = 0; ic < components; ic++ ) { + tempOut[dst++] = tempIn[src + ic]; + } } else { - // sized down - for (k = 0; k < components; k++) { - tempout[dst++] = c[k] / readPix; - } - } + // sized down + for ( k = 0; k < components; k++ ) { + tempOut[dst++] = c[k] / readPix; + } + } } } // Convert temp output - if (pss.packRowLength > 0) { + if ( pss.packRowLength > 0 ) rowlen = pss.packRowLength; - } else { + else rowlen = widthOut; - } - if (sizeout >= pss.packAlignment) { + + if ( sizeout >= pss.packAlignment ) rowstride = components * rowlen; - } else { + else rowstride = pss.packAlignment / sizeout * ceil(components * rowlen * sizeout, pss.packAlignment); - } - switch (typeOut) { - case GL11.GL_UNSIGNED_BYTE : + switch ( typeOut ) { + case GL11.GL_UNSIGNED_BYTE: k = 0; - for (i = 0; i < heightOut; i++) { + for ( i = 0; i < heightOut; i++ ) { int ubptr = i * rowstride + pss.packSkipRows * rowstride + pss.packSkipPixels * components; - for (j = 0; j < widthOut * components; j++) { - dataOut.put(ubptr++, (byte) tempout[k++]); + for ( j = 0; j < widthOut * components; j++ ) { + dataOut.put(ubptr++, (byte)tempOut[k++]); } } break; - - default : + default: return GLU.GLU_INVALID_ENUM; } |
|
From: Brian M. <ma...@us...> - 2005-01-25 22:08:00
|
Update of /cvsroot/java-game-lib/LWJGL/www In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14834 Modified Files: changelog.php download.php index.php Log Message: updated for 0.95 release Index: changelog.php =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/www/changelog.php,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- changelog.php 14 Dec 2004 21:12:27 -0000 1.8 +++ changelog.php 25 Jan 2005 22:06:44 -0000 1.9 @@ -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.95</a></li> <li><a href="#0.94">LWJGL 0.94</a></li> <li><a href="#0.93">LWJGL 0.93</a></li> <li><a href="#0.92">LWJGL 0.92</a></li> @@ -33,6 +34,7 @@ </ul> <? +displayChangelog('0.95'); displayChangelog('0.94'); displayChangelog('0.93'); displayChangelog('0.92'); Index: download.php =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/www/download.php,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- download.php 14 Dec 2004 21:27:13 -0000 1.9 +++ download.php 25 Jan 2005 22:06:45 -0000 1.10 @@ -2,8 +2,8 @@ <h1>Download</h1> <p> - Latest stable release is 0.94. Please download it here:<br/> - <a href="https://sourceforge.net/project/showfiles.php?group_id=58488" target="_blank">LWJGL 0.94 alpha</a> + 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> </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.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- index.php 14 Dec 2004 21:27:14 -0000 1.6 +++ index.php 25 Jan 2005 22:06:45 -0000 1.7 @@ -8,6 +8,10 @@ <h1>News</h1> <p style="border-bottom: 1px solid #cccccc;"> + <b>LWJGL 0.95 released!</b> <span class="newsdate">Tuesday, January 25th, 2004</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> +<p style="border-bottom: 1px solid #cccccc;"> <b>LWJGL 0.94 released!</b> <span class="newsdate">Tuesday, December 14th, 2004</span><br/> Time for yet another relase - this time featuring the long awaited Mac OS X port which was made possible using the donated money. Thanks everybody. Please check <a href="http://lwjgl.org/forum/viewtopic.php?t=846">this thread</a> for more info regarding the release<br/><br/> </p> @@ -19,8 +23,4 @@ <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> -<p style="border-bottom: 1px solid #cccccc;"> - <b>LWJGL 0.92 released!</b> <span class="newsdate">Monday, September 5th, 2004</span><br/> - LWJGL 0.92 has arrived! <a href="download.php">Get Downloading</a>! Please follow <a href="http://puppygames.net/forums/viewtopic.php?p=5052" target="_blank">this thread</a> for more info.<br/><br/> -</p> <? require('_include/footer.php'); ?> |
|
From: Brian M. <ma...@us...> - 2005-01-25 22:07:57
|
Update of /cvsroot/java-game-lib/LWJGL/www/changelogs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14834/changelogs Modified Files: full-changelog.txt Added Files: 0.95-changelog.txt Log Message: updated for 0.95 release --- NEW FILE: 0.95-changelog.txt --- 2005-01-25 22:26 matzon * src/java/org/lwjgl/opengl/EXTFramebufferObject.java: fixed "html" tags causing bug 5082928 in 1.5 2005-01-25 22:26 matzon * build.xml: it's 2005! :) 2005-01-25 21:58 matzon * doc/README: removed entry about media distribution 2005-01-25 21:56 matzon * doc/: openal_c-to-java.html, tutorial/intro.html, tutorial/openal_basics.html, tutorial/skeleton_code.html: removed more obsolete stuff 2005-01-25 21:53 matzon * doc/LICENSE: it's 2005! :) 2005-01-25 21:53 matzon * doc/TODO: nuke todo list - waaaaay old 2005-01-25 21:51 matzon * doc/lwjgl_hidden_switches.text: removed controller switch 2005-01-25 21:50 matzon * build.xml: proper mac check 2005-01-25 10:17 elias_naur * src/native/macosx/Makefile: Mac OS X:Fix Makefile indentation 2005-01-25 07:30 matzon * build.xml, src/java/org/lwjgl/Sys.java, src/java/org/lwjgl/fmod3/FMOD.java, src/native/common/common_tools.c, src/native/common/fmod3/org_lwjgl_fmod3_FMOD.c: incrementing to 0.95 2005-01-24 00:07 matzon * src/native/macosx/Makefile, build.xml: mac fix as per: http://lwjgl.org/forum/viewtopic.php?t=903 2005-01-22 01:35 cix_foo * src/native/win32/.cvsignore: [no log message] 2005-01-22 01:34 cix_foo * src/java/org/lwjgl/: opengl/MacOSXDisplay.java, opengl/MacOSXFrame.java, NativeSysImplementation.java, opengl/Pbuffer.java: Fixing Mac problems. 2005-01-21 23:07 elias_naur * src/java/org/lwjgl/opengl/: MacOSXDisplay.java, MacOSXFrame.java, MacOSXGLCanvas.java: Mac OS X: Remove invokeAndWait stuff since AWT, unlike swing, is thread safe 2005-01-21 09:35 elias_naur * src/java/org/lwjgl/opengl/: MacOSXFrame.java, MacOSXGLCanvas.java: Mac OS X: Move GLCanvas init() from paint to immediately after being displayable to avoid deadlocks 2005-01-21 08:41 elias_naur * build.xml: Added org.lwjgl.DefaultSysImplementation to javah build target again. 2005-01-20 23:51 cix_foo * src/java/org/lwjgl/J2SESysImplementation.java, src/java/org/lwjgl/LWJGLException.java, src/java/org/lwjgl/LinuxSysImplementation.java, src/java/org/lwjgl/MacOSXSysImplementation.java, src/java/org/lwjgl/NativeSysImplementation.java, src/java/org/lwjgl/Sys.java, src/java/org/lwjgl/Win32SysImplementation.java, src/java/org/lwjgl/opengl/LinuxDisplay.java, build.xml, src/java/org/lwjgl/DefaultSysImplementation.java, src/native/common/.cvsignore, src/native/win32/org_lwjgl_Sys.c: Fixed AWT dependency. 2005-01-20 22:30 elias_naur * src/native/common/common_tools.h: Compilation fix 2005-01-19 14:15 elias_naur * src/native/win32/org_lwjgl_opengl_Pbuffer.c: Win32 compile fix 2005-01-19 14:05 elias_naur * src/: java/org/lwjgl/opengl/Pbuffer.java, native/linux/org_lwjgl_opengl_Pbuffer.c, native/win32/org_lwjgl_opengl_Pbuffer.c: Moved pbuffer supported check into native code to fix the case of no current context when creating the pbuffer 2005-01-19 10:10 elias_naur * src/java/org/lwjgl/opengl/MacOSXFrame.java: Mac OS X: Don't use invokeAndWait() if called from dispatch thread 2005-01-19 03:10 cix_foo * src/native/win32/org_lwjgl_Sys.c: Fixed return type in native openURL 2005-01-19 03:10 cix_foo * src/native/: common/devil/.cvsignore, macosx/.cvsignore, win32/.cvsignore: [no log message] 2005-01-18 22:27 matzon * www/links.php: updated links 2005-01-18 22:11 elias_naur * src/native/win32/org_lwjgl_Sys.c: Win32 compile fix 2005-01-18 21:55 spasi * src/: native/common/ext/org_lwjgl_opengl_EXTFramebufferObject.c, java/org/lwjgl/opengl/EXTFramebufferObject.java, java/org/lwjgl/opengl/GLContext.java: Added EXT_framebuffer_object 2005-01-18 21:22 elias_naur * build.xml, src/java/org/lwjgl/DefaultSysImplementation.java, src/java/org/lwjgl/LinuxSysImplementation.java, src/java/org/lwjgl/MacOSXSysImplementation.java, src/java/org/lwjgl/PlatformAdapter.java, src/java/org/lwjgl/SwingAdapter.java, src/java/org/lwjgl/Sys.java, src/java/org/lwjgl/SysImplementation.java, src/java/org/lwjgl/Win32SysImplementation.java, src/java/org/lwjgl/opengl/DisplayImplementation.java, src/java/org/lwjgl/opengl/LinuxDisplay.java, src/java/org/lwjgl/opengl/MacOSXDisplay.java, src/java/org/lwjgl/opengl/Win32Display.java, src/native/common/common_tools.c, src/native/linux/org_lwjgl_Sys.c, src/native/macosx/org_lwjgl_Sys.c, src/native/win32/org_lwjgl_Sys.c: Delegate Sys platform dependent methods into SysImplementation instances 2005-01-18 20:22 elias_naur * src/java/org/lwjgl/test/: SysTest.java, fmod3/SyncTest.java: Fix tests 2005-01-18 20:05 elias_naur * src/: java/org/lwjgl/Sys.java, native/linux/org_lwjgl_Sys.c, native/macosx/org_lwjgl_Sys.c, native/win32/org_lwjgl_Sys.c: Removed Sys.setProcessPriority 2005-01-18 18:25 elias_naur * src/: java/org/lwjgl/opengl/LinuxDisplay.java, native/linux/org_lwjgl_input_Mouse.c: Linux:Moved NUM_BUTTONS up into java 2005-01-18 17:50 elias_naur * src/native/win32/org_lwjgl_input_Keyboard.c: Win32 compile fix 2005-01-18 17:42 elias_naur * src/: java/org/lwjgl/input/Keyboard.java, java/org/lwjgl/input/Mouse.java, java/org/lwjgl/opengl/DisplayImplementation.java, java/org/lwjgl/opengl/LinuxDisplay.java, java/org/lwjgl/opengl/MacOSXDisplay.java, java/org/lwjgl/opengl/Win32Display.java, native/linux/org_lwjgl_input_Keyboard.c, native/linux/org_lwjgl_input_Mouse.c, native/win32/org_lwjgl_input_Cursor.c, native/win32/org_lwjgl_input_Keyboard.c, native/win32/org_lwjgl_input_Mouse.c: Cleaned up Mouse and Keyboard now that buffering and translation are always enabled 2005-01-18 16:31 elias_naur * build.xml, doc/README, src/java/org/lwjgl/examples/spaceinvaders/Game.java, src/java/org/lwjgl/input/Controller.java, src/java/org/lwjgl/opengl/Display.java, src/java/org/lwjgl/test/input/ControllerCreationTest.java, src/java/org/lwjgl/test/input/ControllerFieldTest.java, src/java/org/lwjgl/test/input/ControllerTest.java, src/native/common/.cvsignore, src/native/win32/org_lwjgl_input_Controller.c: Removed Controller 2005-01-18 16:22 elias_naur * build.xml, doc/README, doc/tutorial/intro.html, platform_build/win32_ms_cmdline/build.bat, src/java/org/lwjgl/test/openal/EAXTest.java, src/java/org/lwjgl/test/openal/MovingSoundTest.java, src/native/common/extal.c, src/native/common/extal.h, src/native/common/org_lwjgl_openal_eax_EAX.c, src/native/common/org_lwjgl_openal_eax_EAX20.c, src/native/common/org_lwjgl_openal_eax_EAXBufferProperties.c, src/native/common/org_lwjgl_openal_eax_EAXListenerProperties.c: Removed EAX 2005-01-18 15:27 cix_foo * src/java/org/lwjgl/util/Timer.java: [no log message] 2005-01-18 15:09 elias_naur * src/native/linux/org_lwjgl_input_Controller.c: Linux: removed org_lwjgl_input_Controller.c, since the methods were empty anyway 2005-01-18 13:53 elias_naur * src/java/org/lwjgl/Sys.java: Made Sys.getLibraryName() private 2005-01-18 13:49 elias_naur * src/java/org/lwjgl/test/input/HWCursorTest.java: Fixed tests 2005-01-18 13:34 elias_naur * src/: java/org/lwjgl/input/Cursor.java, java/org/lwjgl/input/Mouse.java, java/org/lwjgl/opengl/DisplayImplementation.java, java/org/lwjgl/opengl/LinuxDisplay.java, java/org/lwjgl/opengl/MacOSXDisplay.java, java/org/lwjgl/opengl/Pbuffer.java, java/org/lwjgl/opengl/Win32Display.java, java/org/lwjgl/test/input/HWCursorTest.java, java/org/lwjgl/test/opengl/PbufferTest.java, java/org/lwjgl/test/opengl/pbuffers/PbufferTest.java, native/linux/org_lwjgl_input_Cursor.c, native/linux/org_lwjgl_input_Mouse.c, native/linux/org_lwjgl_opengl_Pbuffer.c, native/win32/org_lwjgl_input_Cursor.c, native/win32/org_lwjgl_input_Mouse.c, native/win32/org_lwjgl_opengl_Pbuffer.c: Moved Mouse.getNativeCursorCaps() to Cursor.getCapabilities() Renamed Pbuffer.getPbufferCaps() to Pbuffer.getCapabilities() 2005-01-18 12:58 elias_naur * src/java/org/lwjgl/opengl/Pbuffer.java: Added supported check to Pbuffer constructor 2005-01-16 12:12 elias_naur * platform_build/win32_ms_cmdline/build.bat, src/native/win32/display.c: Win32: hardened getAvailableDisplayModes 2005-01-16 11:43 elias_naur * src/native/linux/: Makefile, display.c: Linux: Hardened getAvailableDisplayModes so that it won't be confused by a changing number of display modes while it is executing 2005-01-16 00:52 spasi * src/native/win32/org_lwjgl_opengl_Display.c: createARBContextAndPixelFormat didn't return true when ok 2005-01-16 00:49 spasi * src/: java/org/lwjgl/opengl/GL14.java, java/org/lwjgl/opengl/GL20.java, native/common/org_lwjgl_opengl_GL14.c, native/common/org_lwjgl_opengl_GL20.c: Completed GL 2.0 2005-01-15 17:30 elias_naur * src/java/org/lwjgl/Sys.java: Don't allow null strings in Sys.alert() 2005-01-15 16:45 elias_naur * src/native/win32/org_lwjgl_opengl_Display.c: Win32: Fix Pbuffer.getPbufferCaps() 2005-01-14 14:56 elias_naur * src/native/win32/org_lwjgl_opengl_Pbuffer.c: Win32: Fix pbuffer context sharing 2005-01-14 14:30 elias_naur * src/native/linux/org_lwjgl_opengl_Pbuffer.c: Linux: Don't free Pbuffer when it is not created 2005-01-14 13:29 elias_naur * src/java/org/lwjgl/opengl/Display.java: Don't set the window location twice in Display.createWindow() 2005-01-14 12:20 elias_naur * src/native/win32/org_lwjgl_opengl_Display.c: Win32: Fix native crash when no suitable pixel format is found. 2005-01-14 11:01 elias_naur * platform_build/win32_ms_cmdline/build.bat: Win32 build: Removed redundant libraries from linker option 2005-01-14 10:39 elias_naur * src/java/org/lwjgl/opengl/Display.java: Removed redundant makeCurrent from Display.java 2005-01-14 10:24 elias_naur * src/: java/org/lwjgl/opengl/Display.java, native/win32/org_lwjgl_opengl_Display.c: Don't make context current in DisplayImplementation.createWindow(), but let Display do it explicitly to increase native call granularity 2005-01-13 21:34 spasi * src/java/org/lwjgl/opengl/VBOTracker.java: VBOTracker renamed to BufferObjectTracker 2005-01-13 21:32 spasi * src/java/org/lwjgl/opengl/: ARBBufferObject.java, ARBImaging.java, ARBTextureCompression.java, BufferObjectTracker.java, GL11.java, GL12.java, GL13.java, GL15.java, GLBufferChecks.java, GLContext.java: Finished PBO support implementation 2005-01-13 21:30 spasi * src/native/common/arb/org_lwjgl_opengl_ARBTextureCompression.c: Implemented PBO support 2005-01-13 13:14 elias_naur * src/native/common/common_tools.h: remove const from offsetToPointer in common_tools.h since PBO functions take non-const pointers 2005-01-13 03:14 spasi * src/: java/org/lwjgl/opengl/ARBBufferObject.java, java/org/lwjgl/opengl/ARBImaging.java, java/org/lwjgl/opengl/GL11.java, java/org/lwjgl/opengl/GL12.java, java/org/lwjgl/opengl/GL13.java, java/org/lwjgl/opengl/GLBufferChecks.java, java/org/lwjgl/opengl/VBOTracker.java, java/org/lwjgl/util/GL.java, java/org/lwjgl/util/GLImpl.java, java/org/lwjgl/util/IGL.java, native/common/org_lwjgl_opengl_GL11.c, native/common/org_lwjgl_opengl_GL12.c, native/common/org_lwjgl_opengl_GL13.c, native/common/arb/org_lwjgl_opengl_ARBImaging.c: Implemented PBO support 2005-01-12 13:32 captainjester * src/native/common/devil/org_lwjgl_devil_ILUT.c: Should be ASCII 2005-01-12 13:30 captainjester * src/native/common/devil/extil.h, src/native/common/devil/org_lwjgl_devil_ILU.c, src/native/common/devil/org_lwjgl_devil_ILUT.c, .cvsignore, build.xml, platform_build/win32_ms_cmdline/build-devil.bat, src/java/org/lwjgl/devil/ILUT.java: Add files for ILUT portion of DevIL. 2005-01-12 13:20 elias_naur * src/native/linux/: Window.h, org_lwjgl_opengl_Display.c, org_lwjgl_opengl_Pbuffer.c: Linux: Release context before destroying it 2005-01-12 09:58 elias_naur * src/java/org/lwjgl/opengl/GLContext.java: Added sanity check to GLContext.java 2005-01-11 16:22 elias_naur * src/: java/org/lwjgl/opengl/LinuxDisplay.java, native/common/common_tools.c, native/common/common_tools.h, native/linux/Makefile, native/linux/org_lwjgl_input_Cursor.c, native/linux/org_lwjgl_input_Keyboard.c, native/linux/org_lwjgl_input_Mouse.c, native/linux/org_lwjgl_opengl_Display.c, native/linux/org_lwjgl_opengl_Pbuffer.c: Linux: Implemented AWT synchronization through JAWT. Needed because Xlib is not guaranteed thread safe 2005-01-11 15:05 elias_naur * src/native/win32/org_lwjgl_opengl_Pbuffer.c: Win32: Compile fixes 2005-01-11 15:03 elias_naur * src/native/macosx/org_lwjgl_opengl_Pbuffer.m: macosx compile fix 2005-01-11 14:53 elias_naur * src/: java/org/lwjgl/opengl/DisplayImplementation.java, java/org/lwjgl/opengl/LinuxDisplay.java, java/org/lwjgl/opengl/MacOSXDisplay.java, java/org/lwjgl/opengl/Pbuffer.java, java/org/lwjgl/opengl/Win32Display.java, java/org/lwjgl/test/opengl/PbufferTest.java, java/org/lwjgl/test/opengl/pbuffers/UniqueRenderer.java, java/org/lwjgl/test/opengl/pbuffers/UniqueRendererRTT.java, native/linux/org_lwjgl_opengl_Pbuffer.c, native/macosx/org_lwjgl_opengl_Pbuffer.m, native/win32/org_lwjgl_opengl_Pbuffer.c: Added a Pbuffer argument to the Pbuffer constructor to enable sharing between pbuffers when the display is not created. Moved Pbuffer native methods into DisplayImplementation. 2005-01-10 20:03 matzon * www/: _gfx/projects/puppytron_1.jpg, _gfx/projects/puppytron_2.jpg, _gfx/projects/puppytron_3.jpg, _gfx/projects/puppytron_small_1.jpg, _gfx/projects/puppytron_small_2.jpg, _gfx/projects/puppytron_small_3.jpg, projects.php: added puppytron 2005-01-10 10:21 elias_naur * src/native/win32/org_lwjgl_input_Mouse.c: Win32: Fixes for previous commit 2005-01-10 09:48 elias_naur * src/native/win32/org_lwjgl_input_Mouse.c: I've discovered that at least one Win XP configuration doesn't support the DirectInput cooperative level NONEXCLUSIVE | FOREGROUND for mouse devices. Fortunately, we don't really need that coop level anyway, so I have replaced it with Unacquire/Acquire. 2005-01-10 09:19 elias_naur * src/java/org/lwjgl/: input/Keyboard.java, input/Mouse.java, opengl/Display.java, test/input/KeyboardTest.java: Removed enableBuffer() and enableTranslation() from the public API. 2005-01-10 00:59 captainjester * src/java/org/lwjgl/: devil/ILinfo.java, devil/ILU.java, devil/ILpointf.java, devil/ILpointi.java, test/devil/BasicTest.java: iluGetImageInfo now working. 2005-01-09 05:59 captainjester * res/ILtest.bmp, res/ILtest.gif, res/ILtest.jpg, res/ILtest.tga, platform_build/win32_ms_cmdline/build-devil.bat, src/native/common/devil/.cvsignore, src/native/common/devil/extil.h, src/native/common/devil/org_lwjgl_devil_ILU.c, build.xml, src/java/org/lwjgl/devil/ILU.java, src/java/org/lwjgl/devil/ILinfo.java, src/java/org/lwjgl/devil/ILpointf.java, src/java/org/lwjgl/devil/ILpointi.java, src/java/org/lwjgl/test/devil/BasicTest.java: First pass at ILU portion of DevIL. Only basic testing is one. No dynamic loading yet. 3 methods not implemented yet. 2005-01-06 15:22 elias_naur * src/java/org/lwjgl/opengl/Display.java: call setLocation _after_ window has been created 2005-01-06 15:03 elias_naur * src/: java/org/lwjgl/opengl/LinuxDisplay.java, native/linux/org_lwjgl_input_Mouse.c, native/linux/org_lwjgl_opengl_Display.c: Linux: Moved trivial methods from native to java 2005-01-06 14:06 elias_naur * src/native/win32/: org_lwjgl_input_Mouse.c: Win32: Clean up mouse error handling 2005-01-06 12:41 elias_naur * src/native/win32/org_lwjgl_input_Mouse.c: More debug output 2005-01-06 10:18 elias_naur * src/native/win32/org_lwjgl_input_Mouse.c: Added debugging 2005-01-06 09:56 elias_naur * src/native/win32/org_lwjgl_input_Mouse.c: Added debugging 2005-01-03 07:34 matzon * www/installation.php: fixed output 2005-01-03 07:32 matzon * www/installation.php: lwjgl_util.jar needed on classpath too 2004-12-28 21:21 spasi * src/java/org/lwjgl/opengl/: ARBPixelBufferObject.java, GLContext.java: Added PBO extension 2004-12-27 22:39 matzon * src/java/org/lwjgl/test/WindowCreationTest.java: move before creation 2004-12-27 22:38 matzon * src/java/org/lwjgl/opengl/Display.java: respect display location 2004-12-27 22:32 matzon * src/java/org/lwjgl/test/WindowCreationTest.java: move window after centering updated output 2004-12-17 18:28 matzon * www/: projects.php, _gfx/projects/gravitybattle_1.jpg, _gfx/projects/gravitybattle_2.jpg, _gfx/projects/gravitybattle_3.jpg, _gfx/projects/gravitybattle_small_1.jpg, _gfx/projects/gravitybattle_small_2.jpg, _gfx/projects/gravitybattle_small_3.jpg, _gfx/projects/superdudester_1.jpg, _gfx/projects/superdudester_2.jpg, _gfx/projects/superdudester_3.jpg, _gfx/projects/superdudester_small_1.jpg, _gfx/projects/superdudester_small_2.jpg, _gfx/projects/superdudester_small_3.jpg: added Super Dudester & Gravity Battle to projects page 2004-12-14 22:31 matzon * www/faq.php: fixed anchors 2004-12-14 22:27 matzon * www/: download.php, index.php: updated to 0.94 2004-12-14 22:12 matzon * www/changelog.php: updated changelogs to 0.94 2004-12-14 22:05 matzon * www/changelogs/: 0.94-changelog.txt, full-changelog.txt: updated changelogs to 0.94 Index: full-changelog.txt =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/www/changelogs/full-changelog.txt,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- full-changelog.txt 14 Dec 2004 21:05:35 -0000 1.5 +++ full-changelog.txt 25 Jan 2005 22:06:56 -0000 1.6 @@ -1,3 +1,576 @@ +2005-01-25 22:26 matzon + + * src/java/org/lwjgl/opengl/EXTFramebufferObject.java: fixed "html" + tags causing bug 5082928 in 1.5 + +2005-01-25 22:26 matzon + + * build.xml: it's 2005! :) + +2005-01-25 21:58 matzon + + * doc/README: removed entry about media distribution + +2005-01-25 21:56 matzon + + * doc/: openal_c-to-java.html, tutorial/intro.html, + tutorial/openal_basics.html, tutorial/skeleton_code.html: removed + more obsolete stuff + +2005-01-25 21:53 matzon + + * doc/LICENSE: it's 2005! :) + +2005-01-25 21:53 matzon + + * doc/TODO: nuke todo list - waaaaay old + +2005-01-25 21:51 matzon + + * doc/lwjgl_hidden_switches.text: removed controller switch + +2005-01-25 21:50 matzon + + * build.xml: proper mac check + +2005-01-25 10:17 elias_naur + + * src/native/macosx/Makefile: Mac OS X:Fix Makefile indentation + +2005-01-25 07:30 matzon + + * build.xml, src/java/org/lwjgl/Sys.java, + src/java/org/lwjgl/fmod3/FMOD.java, + src/native/common/common_tools.c, + src/native/common/fmod3/org_lwjgl_fmod3_FMOD.c: incrementing to + 0.95 + +2005-01-24 00:07 matzon + + * src/native/macosx/Makefile, build.xml: mac fix as per: + http://lwjgl.org/forum/viewtopic.php?t=903 + +2005-01-22 01:35 cix_foo + + * src/native/win32/.cvsignore: [no log message] + +2005-01-22 01:34 cix_foo + + * src/java/org/lwjgl/: opengl/MacOSXDisplay.java, + opengl/MacOSXFrame.java, NativeSysImplementation.java, + opengl/Pbuffer.java: Fixing Mac problems. + +2005-01-21 23:07 elias_naur + + * src/java/org/lwjgl/opengl/: MacOSXDisplay.java, MacOSXFrame.java, + MacOSXGLCanvas.java: Mac OS X: Remove invokeAndWait stuff since + AWT, unlike swing, is thread safe + +2005-01-21 09:35 elias_naur + + * src/java/org/lwjgl/opengl/: MacOSXFrame.java, + MacOSXGLCanvas.java: Mac OS X: Move GLCanvas init() from paint to + immediately after being displayable to avoid deadlocks + +2005-01-21 08:41 elias_naur + + * build.xml: Added org.lwjgl.DefaultSysImplementation to javah + build target again. + +2005-01-20 23:51 cix_foo + + * src/java/org/lwjgl/J2SESysImplementation.java, + src/java/org/lwjgl/LWJGLException.java, + src/java/org/lwjgl/LinuxSysImplementation.java, + src/java/org/lwjgl/MacOSXSysImplementation.java, + src/java/org/lwjgl/NativeSysImplementation.java, + src/java/org/lwjgl/Sys.java, + src/java/org/lwjgl/Win32SysImplementation.java, + src/java/org/lwjgl/opengl/LinuxDisplay.java, build.xml, + src/java/org/lwjgl/DefaultSysImplementation.java, + src/native/common/.cvsignore, src/native/win32/org_lwjgl_Sys.c: + Fixed AWT dependency. + +2005-01-20 22:30 elias_naur + + * src/native/common/common_tools.h: Compilation fix + +2005-01-19 14:15 elias_naur + + * src/native/win32/org_lwjgl_opengl_Pbuffer.c: Win32 compile fix + +2005-01-19 14:05 elias_naur + + * src/: java/org/lwjgl/opengl/Pbuffer.java, + native/linux/org_lwjgl_opengl_Pbuffer.c, + native/win32/org_lwjgl_opengl_Pbuffer.c: Moved pbuffer supported + check into native code to fix the case of no current context when + creating the pbuffer + +2005-01-19 10:10 elias_naur + + * src/java/org/lwjgl/opengl/MacOSXFrame.java: Mac OS X: Don't use + invokeAndWait() if called from dispatch thread + +2005-01-19 03:10 cix_foo + + * src/native/win32/org_lwjgl_Sys.c: Fixed return type in native + openURL + +2005-01-19 03:10 cix_foo + + * src/native/: common/devil/.cvsignore, macosx/.cvsignore, + win32/.cvsignore: [no log message] + +2005-01-18 22:27 matzon + + * www/links.php: updated links + +2005-01-18 22:11 elias_naur + + * src/native/win32/org_lwjgl_Sys.c: Win32 compile fix + +2005-01-18 21:55 spasi + + * src/: native/common/ext/org_lwjgl_opengl_EXTFramebufferObject.c, + java/org/lwjgl/opengl/EXTFramebufferObject.java, + java/org/lwjgl/opengl/GLContext.java: Added + EXT_framebuffer_object + +2005-01-18 21:22 elias_naur + + * build.xml, src/java/org/lwjgl/DefaultSysImplementation.java, + src/java/org/lwjgl/LinuxSysImplementation.java, + src/java/org/lwjgl/MacOSXSysImplementation.java, + src/java/org/lwjgl/PlatformAdapter.java, + src/java/org/lwjgl/SwingAdapter.java, + src/java/org/lwjgl/Sys.java, + src/java/org/lwjgl/SysImplementation.java, + src/java/org/lwjgl/Win32SysImplementation.java, + src/java/org/lwjgl/opengl/DisplayImplementation.java, + src/java/org/lwjgl/opengl/LinuxDisplay.java, + src/java/org/lwjgl/opengl/MacOSXDisplay.java, + src/java/org/lwjgl/opengl/Win32Display.java, + src/native/common/common_tools.c, + src/native/linux/org_lwjgl_Sys.c, + src/native/macosx/org_lwjgl_Sys.c, + src/native/win32/org_lwjgl_Sys.c: Delegate Sys platform dependent + methods into SysImplementation instances + +2005-01-18 20:22 elias_naur + + * src/java/org/lwjgl/test/: SysTest.java, fmod3/SyncTest.java: Fix + tests + +2005-01-18 20:05 elias_naur + + * src/: java/org/lwjgl/Sys.java, native/linux/org_lwjgl_Sys.c, + native/macosx/org_lwjgl_Sys.c, native/win32/org_lwjgl_Sys.c: + Removed Sys.setProcessPriority + +2005-01-18 18:25 elias_naur + + * src/: java/org/lwjgl/opengl/LinuxDisplay.java, + native/linux/org_lwjgl_input_Mouse.c: Linux:Moved NUM_BUTTONS up + into java + +2005-01-18 17:50 elias_naur + + * src/native/win32/org_lwjgl_input_Keyboard.c: Win32 compile fix + +2005-01-18 17:42 elias_naur + + * src/: java/org/lwjgl/input/Keyboard.java, + java/org/lwjgl/input/Mouse.java, + java/org/lwjgl/opengl/DisplayImplementation.java, + java/org/lwjgl/opengl/LinuxDisplay.java, + java/org/lwjgl/opengl/MacOSXDisplay.java, + java/org/lwjgl/opengl/Win32Display.java, + native/linux/org_lwjgl_input_Keyboard.c, + native/linux/org_lwjgl_input_Mouse.c, + native/win32/org_lwjgl_input_Cursor.c, + native/win32/org_lwjgl_input_Keyboard.c, + native/win32/org_lwjgl_input_Mouse.c: Cleaned up Mouse and + Keyboard now that buffering and translation are always enabled + +2005-01-18 16:31 elias_naur + + * build.xml, doc/README, + src/java/org/lwjgl/examples/spaceinvaders/Game.java, + src/java/org/lwjgl/input/Controller.java, + src/java/org/lwjgl/opengl/Display.java, + src/java/org/lwjgl/test/input/ControllerCreationTest.java, + src/java/org/lwjgl/test/input/ControllerFieldTest.java, + src/java/org/lwjgl/test/input/ControllerTest.java, + src/native/common/.cvsignore, + src/native/win32/org_lwjgl_input_Controller.c: Removed Controller + +2005-01-18 16:22 elias_naur + + * build.xml, doc/README, doc/tutorial/intro.html, + platform_build/win32_ms_cmdline/build.bat, + src/java/org/lwjgl/test/openal/EAXTest.java, + src/java/org/lwjgl/test/openal/MovingSoundTest.java, + src/native/common/extal.c, src/native/common/extal.h, + src/native/common/org_lwjgl_openal_eax_EAX.c, + src/native/common/org_lwjgl_openal_eax_EAX20.c, + src/native/common/org_lwjgl_openal_eax_EAXBufferProperties.c, + src/native/common/org_lwjgl_openal_eax_EAXListenerProperties.c: + Removed EAX + +2005-01-18 15:27 cix_foo + + * src/java/org/lwjgl/util/Timer.java: [no log message] + +2005-01-18 15:09 elias_naur + + * src/native/linux/org_lwjgl_input_Controller.c: Linux: removed + org_lwjgl_input_Controller.c, since the methods were empty anyway + +2005-01-18 13:53 elias_naur + + * src/java/org/lwjgl/Sys.java: Made Sys.getLibraryName() private + +2005-01-18 13:49 elias_naur + + * src/java/org/lwjgl/test/input/HWCursorTest.java: Fixed tests + +2005-01-18 13:34 elias_naur + + * src/: java/org/lwjgl/input/Cursor.java, + java/org/lwjgl/input/Mouse.java, + java/org/lwjgl/opengl/DisplayImplementation.java, + java/org/lwjgl/opengl/LinuxDisplay.java, + java/org/lwjgl/opengl/MacOSXDisplay.java, + java/org/lwjgl/opengl/Pbuffer.java, + java/org/lwjgl/opengl/Win32Display.java, + java/org/lwjgl/test/input/HWCursorTest.java, + java/org/lwjgl/test/opengl/PbufferTest.java, + java/org/lwjgl/test/opengl/pbuffers/PbufferTest.java, + native/linux/org_lwjgl_input_Cursor.c, + native/linux/org_lwjgl_input_Mouse.c, + native/linux/org_lwjgl_opengl_Pbuffer.c, + native/win32/org_lwjgl_input_Cursor.c, + native/win32/org_lwjgl_input_Mouse.c, + native/win32/org_lwjgl_opengl_Pbuffer.c: Moved + Mouse.getNativeCursorCaps() to Cursor.getCapabilities() Renamed + Pbuffer.getPbufferCaps() to Pbuffer.getCapabilities() + +2005-01-18 12:58 elias_naur + + * src/java/org/lwjgl/opengl/Pbuffer.java: Added supported check to + Pbuffer constructor + +2005-01-16 12:12 elias_naur + + * platform_build/win32_ms_cmdline/build.bat, + src/native/win32/display.c: Win32: hardened + getAvailableDisplayModes + +2005-01-16 11:43 elias_naur + + * src/native/linux/: Makefile, display.c: Linux: Hardened + getAvailableDisplayModes so that it won't be confused by a + changing number of display modes while it is executing + +2005-01-16 00:52 spasi + + * src/native/win32/org_lwjgl_opengl_Display.c: + createARBContextAndPixelFormat didn't return true when ok + +2005-01-16 00:49 spasi + + * src/: java/org/lwjgl/opengl/GL14.java, + java/org/lwjgl/opengl/GL20.java, + native/common/org_lwjgl_opengl_GL14.c, + native/common/org_lwjgl_opengl_GL20.c: Completed GL 2.0 + +2005-01-15 17:30 elias_naur + + * src/java/org/lwjgl/Sys.java: Don't allow null strings in + Sys.alert() + +2005-01-15 16:45 elias_naur + + * src/native/win32/org_lwjgl_opengl_Display.c: Win32: Fix + Pbuffer.getPbufferCaps() + +2005-01-14 14:56 elias_naur + + * src/native/win32/org_lwjgl_opengl_Pbuffer.c: Win32: Fix pbuffer + context sharing + +2005-01-14 14:30 elias_naur + + * src/native/linux/org_lwjgl_opengl_Pbuffer.c: Linux: Don't free + Pbuffer when it is not created + +2005-01-14 13:29 elias_naur + + * src/java/org/lwjgl/opengl/Display.java: Don't set the window + location twice in Display.createWindow() + +2005-01-14 12:20 elias_naur + + * src/native/win32/org_lwjgl_opengl_Display.c: Win32: Fix native + crash when no suitable pixel format is found. + +2005-01-14 11:01 elias_naur + + * platform_build/win32_ms_cmdline/build.bat: Win32 build: Removed + redundant libraries from linker option + +2005-01-14 10:39 elias_naur + + * src/java/org/lwjgl/opengl/Display.java: Removed redundant + makeCurrent from Display.java + +2005-01-14 10:24 elias_naur + + * src/: java/org/lwjgl/opengl/Display.java, + native/win32/org_lwjgl_opengl_Display.c: Don't make context + current in DisplayImplementation.createWindow(), but let Display + do it explicitly to increase native call granularity + +2005-01-13 21:34 spasi + + * src/java/org/lwjgl/opengl/VBOTracker.java: VBOTracker renamed to + BufferObjectTracker + +2005-01-13 21:32 spasi + + * src/java/org/lwjgl/opengl/: ARBBufferObject.java, + ARBImaging.java, ARBTextureCompression.java, + BufferObjectTracker.java, GL11.java, GL12.java, GL13.java, + GL15.java, GLBufferChecks.java, GLContext.java: Finished PBO + support implementation + +2005-01-13 21:30 spasi + + * src/native/common/arb/org_lwjgl_opengl_ARBTextureCompression.c: + Implemented PBO support + +2005-01-13 13:14 elias_naur + + * src/native/common/common_tools.h: remove const from + offsetToPointer in common_tools.h since PBO functions take + non-const pointers + +2005-01-13 03:14 spasi + + * src/: java/org/lwjgl/opengl/ARBBufferObject.java, + java/org/lwjgl/opengl/ARBImaging.java, + java/org/lwjgl/opengl/GL11.java, java/org/lwjgl/opengl/GL12.java, + java/org/lwjgl/opengl/GL13.java, + java/org/lwjgl/opengl/GLBufferChecks.java, + java/org/lwjgl/opengl/VBOTracker.java, + java/org/lwjgl/util/GL.java, java/org/lwjgl/util/GLImpl.java, + java/org/lwjgl/util/IGL.java, + native/common/org_lwjgl_opengl_GL11.c, + native/common/org_lwjgl_opengl_GL12.c, + native/common/org_lwjgl_opengl_GL13.c, + native/common/arb/org_lwjgl_opengl_ARBImaging.c: Implemented PBO + support + +2005-01-12 13:32 captainjester + + * src/native/common/devil/org_lwjgl_devil_ILUT.c: Should be ASCII + +2005-01-12 13:30 captainjester + + * src/native/common/devil/extil.h, + src/native/common/devil/org_lwjgl_devil_ILU.c, + src/native/common/devil/org_lwjgl_devil_ILUT.c, .cvsignore, + build.xml, platform_build/win32_ms_cmdline/build-devil.bat, + src/java/org/lwjgl/devil/ILUT.java: Add files for ILUT portion of + DevIL. + +2005-01-12 13:20 elias_naur + + * src/native/linux/: Window.h, org_lwjgl_opengl_Display.c, + org_lwjgl_opengl_Pbuffer.c: Linux: Release context before + destroying it + +2005-01-12 09:58 elias_naur + + * src/java/org/lwjgl/opengl/GLContext.java: Added sanity check to + GLContext.java + +2005-01-11 16:22 elias_naur + + * src/: java/org/lwjgl/opengl/LinuxDisplay.java, + native/common/common_tools.c, native/common/common_tools.h, + native/linux/Makefile, native/linux/org_lwjgl_input_Cursor.c, + native/linux/org_lwjgl_input_Keyboard.c, + native/linux/org_lwjgl_input_Mouse.c, + native/linux/org_lwjgl_opengl_Display.c, + native/linux/org_lwjgl_opengl_Pbuffer.c: Linux: Implemented AWT + synchronization through JAWT. Needed because Xlib is not + guaranteed thread safe + +2005-01-11 15:05 elias_naur + + * src/native/win32/org_lwjgl_opengl_Pbuffer.c: Win32: Compile fixes + +2005-01-11 15:03 elias_naur + + * src/native/macosx/org_lwjgl_opengl_Pbuffer.m: macosx compile fix + +2005-01-11 14:53 elias_naur + + * src/: java/org/lwjgl/opengl/DisplayImplementation.java, + java/org/lwjgl/opengl/LinuxDisplay.java, + java/org/lwjgl/opengl/MacOSXDisplay.java, + java/org/lwjgl/opengl/Pbuffer.java, + java/org/lwjgl/opengl/Win32Display.java, + java/org/lwjgl/test/opengl/PbufferTest.java, + java/org/lwjgl/test/opengl/pbuffers/UniqueRenderer.java, + java/org/lwjgl/test/opengl/pbuffers/UniqueRendererRTT.java, + native/linux/org_lwjgl_opengl_Pbuffer.c, + native/macosx/org_lwjgl_opengl_Pbuffer.m, + native/win32/org_lwjgl_opengl_Pbuffer.c: Added a Pbuffer argument + to the Pbuffer constructor to enable sharing between pbuffers + when the display is not created. Moved Pbuffer native methods + into DisplayImplementation. + +2005-01-10 20:03 matzon + + * www/: _gfx/projects/puppytron_1.jpg, + _gfx/projects/puppytron_2.jpg, _gfx/projects/puppytron_3.jpg, + _gfx/projects/puppytron_small_1.jpg, + _gfx/projects/puppytron_small_2.jpg, + _gfx/projects/puppytron_small_3.jpg, projects.php: added + puppytron + +2005-01-10 10:21 elias_naur + + * src/native/win32/org_lwjgl_input_Mouse.c: Win32: Fixes for + previous commit + +2005-01-10 09:48 elias_naur + + * src/native/win32/org_lwjgl_input_Mouse.c: I've discovered that at + least one Win XP configuration doesn't support the DirectInput + cooperative level NONEXCLUSIVE | FOREGROUND for mouse devices. + Fortunately, we don't really need that coop level anyway, so I + have replaced it with Unacquire/Acquire. + +2005-01-10 09:19 elias_naur + + * src/java/org/lwjgl/: input/Keyboard.java, input/Mouse.java, + opengl/Display.java, test/input/KeyboardTest.java: Removed + enableBuffer() and enableTranslation() from the public API. + +2005-01-10 00:59 captainjester + + * src/java/org/lwjgl/: devil/ILinfo.java, devil/ILU.java, + devil/ILpointf.java, devil/ILpointi.java, + test/devil/BasicTest.java: iluGetImageInfo now working. + +2005-01-09 05:59 captainjester + + * res/ILtest.bmp, res/ILtest.gif, res/ILtest.jpg, res/ILtest.tga, + platform_build/win32_ms_cmdline/build-devil.bat, + src/native/common/devil/.cvsignore, + src/native/common/devil/extil.h, + src/native/common/devil/org_lwjgl_devil_ILU.c, build.xml, + src/java/org/lwjgl/devil/ILU.java, + src/java/org/lwjgl/devil/ILinfo.java, + src/java/org/lwjgl/devil/ILpointf.java, + src/java/org/lwjgl/devil/ILpointi.java, + src/java/org/lwjgl/test/devil/BasicTest.java: First pass at ILU + portion of DevIL. Only basic testing is one. No dynamic loading + yet. 3 methods not implemented yet. + +2005-01-06 15:22 elias_naur + + * src/java/org/lwjgl/opengl/Display.java: call setLocation _after_ + window has been created + +2005-01-06 15:03 elias_naur + + * src/: java/org/lwjgl/opengl/LinuxDisplay.java, + native/linux/org_lwjgl_input_Mouse.c, + native/linux/org_lwjgl_opengl_Display.c: Linux: Moved trivial + methods from native to java + +2005-01-06 14:06 elias_naur + + * src/native/win32/: org_lwjgl_input_Mouse.c: Win32: Clean up mouse + error handling + +2005-01-06 12:41 elias_naur + + * src/native/win32/org_lwjgl_input_Mouse.c: More debug output + +2005-01-06 10:18 elias_naur + + * src/native/win32/org_lwjgl_input_Mouse.c: Added debugging + +2005-01-06 09:56 elias_naur + + * src/native/win32/org_lwjgl_input_Mouse.c: Added debugging + +2005-01-03 07:34 matzon + + * www/installation.php: fixed output + +2005-01-03 07:32 matzon + + * www/installation.php: lwjgl_util.jar needed on classpath too + +2004-12-28 21:21 spasi + + * src/java/org/lwjgl/opengl/: ARBPixelBufferObject.java, + GLContext.java: Added PBO extension + +2004-12-27 22:39 matzon + + * src/java/org/lwjgl/test/WindowCreationTest.java: move before + creation + +2004-12-27 22:38 matzon + + * src/java/org/lwjgl/opengl/Display.java: respect display location + +2004-12-27 22:32 matzon + + * src/java/org/lwjgl/test/WindowCreationTest.java: move window + after centering updated output + +2004-12-17 18:28 matzon + + * www/: projects.php, _gfx/projects/gravitybattle_1.jpg, + _gfx/projects/gravitybattle_2.jpg, + _gfx/projects/gravitybattle_3.jpg, + _gfx/projects/gravitybattle_small_1.jpg, + _gfx/projects/gravitybattle_small_2.jpg, + _gfx/projects/gravitybattle_small_3.jpg, + _gfx/projects/superdudester_1.jpg, + _gfx/projects/superdudester_2.jpg, + _gfx/projects/superdudester_3.jpg, + _gfx/projects/superdudester_small_1.jpg, + _gfx/projects/superdudester_small_2.jpg, + _gfx/projects/superdudester_small_3.jpg: added Super Dudester & + Gravity Battle to projects page + +2004-12-14 22:31 matzon + + * www/faq.php: fixed anchors + +2004-12-14 22:27 matzon + + * www/: download.php, index.php: updated to 0.94 + +2004-12-14 22:12 matzon + + * www/changelog.php: updated changelogs to 0.94 + +2004-12-14 22:05 matzon + + * www/changelogs/: 0.94-changelog.txt, full-changelog.txt: updated + changelogs to 0.94 + 2004-12-14 20:12 elias_naur * src/native/linux/org_lwjgl_input_Keyboard.c: Don't close iconv @@ -2092,8 +2665,7 @@ 2004-07-29 13:41 elias_naur - * src/java/org/lwjgl/: input/Keyboard.java, - openal/eax/EAXBufferProperties.java, opengl/Display.java, + * src/java/org/lwjgl/: input/Keyboard.java, opengl/Display.java, opengl/glu/MipMap.java: Converted *.allocateDirect to BufferUtils 2004-07-29 13:30 elias_naur @@ -3121,10 +3693,6 @@ java/org/lwjgl/openal/ALCcontext.java, java/org/lwjgl/openal/ALCdevice.java, java/org/lwjgl/openal/OpenALException.java, - java/org/lwjgl/openal/eax/EAX.java, - java/org/lwjgl/openal/eax/EAX20.java, - java/org/lwjgl/openal/eax/EAXBufferProperties.java, - java/org/lwjgl/openal/eax/EAXListenerProperties.java, java/org/lwjgl/opengl/ARBBufferObject.java, java/org/lwjgl/opengl/ARBDepthTexture.java, java/org/lwjgl/opengl/ARBFragmentProgram.java, @@ -4279,7 +4847,6 @@ java/org/lwjgl/input/Keyboard.java, java/org/lwjgl/input/Mouse.java, java/org/lwjgl/openal/AL.java, java/org/lwjgl/openal/ALC.java, - java/org/lwjgl/openal/eax/EAX.java, java/org/lwjgl/opengl/Pbuffer.java, java/org/lwjgl/opengl/Window.java, native/common/common_tools.cpp: Renamed LWJGLErrorException to @@ -4295,7 +4862,6 @@ java/org/lwjgl/input/Keyboard.java, java/org/lwjgl/input/Mouse.java, java/org/lwjgl/openal/AL.java, java/org/lwjgl/openal/ALC.java, - java/org/lwjgl/openal/eax/EAX.java, java/org/lwjgl/opengl/Pbuffer.java, java/org/lwjgl/opengl/Window.java, native/common/common_tools.cpp, native/common/extal.cpp: Added @@ -4316,10 +4882,8 @@ * src/java/org/lwjgl/: Display.java, Sys.java, input/Controller.java, input/Cursor.java, input/Keyboard.java, input/Mouse.java, openal/AL.java, openal/ALC.java, - openal/eax/EAX.java, openal/eax/EAXBufferProperties.java, - openal/eax/EAXListenerProperties.java, opengl/GLContext.java, - opengl/Pbuffer.java, opengl/Window.java: All classes use - Sys.initialize now + opengl/GLContext.java, opengl/Pbuffer.java, opengl/Window.java: + All classes use Sys.initialize now 2004-03-27 12:55 elias_naur @@ -4985,13 +5549,6 @@ java/org/lwjgl/openal/BaseAL.java, java/org/lwjgl/openal/BaseALConstants.java, java/org/lwjgl/openal/CoreAL.java, - java/org/lwjgl/openal/eax/BaseEAX.java, - java/org/lwjgl/openal/eax/BaseEAXConstants.java, - java/org/lwjgl/openal/eax/CoreEAX.java, - java/org/lwjgl/openal/eax/EAX.java, - java/org/lwjgl/openal/eax/EAX20.java, - java/org/lwjgl/openal/eax/EAXBufferProperties.java, - java/org/lwjgl/openal/eax/EAXListenerProperties.java, java/org/lwjgl/test/openal/BasicTest.java, java/org/lwjgl/test/openal/EAXTest.java, java/org/lwjgl/test/openal/MovingSoundTest.java, @@ -6088,11 +6645,6 @@ 2004-01-08 23:41 matzon - * src/java/org/lwjgl/openal/eax/BaseEAX.java: created set too - quickly - -2004-01-08 23:41 matzon - * src/java/org/lwjgl/openal/AL.java: no destroy on !create 2004-01-08 23:40 matzon @@ -6112,11 +6664,7 @@ 2004-01-06 20:22 matzon - * src/: java/org/lwjgl/openal/eax/BaseEAX.java, - java/org/lwjgl/openal/eax/CoreEAX.java, - java/org/lwjgl/openal/eax/EAXBufferProperties.java, - java/org/lwjgl/openal/eax/EAXListenerProperties.java, - java/org/lwjgl/test/openal/EAXTest.java, + * src/: java/org/lwjgl/test/openal/EAXTest.java, java/org/lwjgl/test/openal/MovingSoundTest.java, native/common/extal.h, native/common/org_lwjgl_openal_eax_CoreEAX.cpp, @@ -7200,10 +7748,6 @@ test/input/ControllerCreationTest.java, test/input/ControllerTest.java, test/input/KeyboardTest.java, test/input/MouseCreationTest.java, input/Cursor.java, - openal/eax/BaseEAX.java, openal/eax/BaseEAXConstants.java, - openal/eax/CoreEAX.java, openal/eax/EAX.java, - openal/eax/EAXBufferProperties.java, - openal/eax/EAXListenerProperties.java, test/DisplayConfigurationTest.java, test/WindowCreationTest.java, test/openal/ALCTest.java, test/openal/BasicTest.java, test/openal/EAXTest.java, test/openal/MovingSoundTest.java, @@ -7230,18 +7774,15 @@ openal/ALCdevice.java, openal/ALConstants.java, openal/BaseAL.java, openal/BaseALConstants.java, openal/CoreAL.java, openal/OpenALException.java, - openal/eax/BaseEAX.java, openal/eax/BaseEAXConstants.java, - openal/eax/CoreEAX.java, openal/eax/EAX.java, - openal/eax/EAXBufferProperties.java, - openal/eax/EAXListenerProperties.java, opengl/CoreGL11.java, - opengl/CoreGL11Constants.java, opengl/CoreGL12.java, - opengl/CoreGL12Constants.java, opengl/CoreGL13.java, - opengl/CoreGL13Constants.java, opengl/CoreGL14.java, - opengl/CoreGL14Constants.java, opengl/GL.java, - opengl/GLCaps.java, opengl/GLConstants.java, opengl/GLU.java, - opengl/GLUConstants.java, opengl/OpenGLException.java, - opengl/Pbuffer.java, opengl/StateStack.java, opengl/Util.java, - opengl/VBOTracker.java: [no log message] + opengl/CoreGL11.java, opengl/CoreGL11Constants.java, + opengl/CoreGL12.java, opengl/CoreGL12Constants.java, + opengl/CoreGL13.java, opengl/CoreGL13Constants.java, + opengl/CoreGL14.java, opengl/CoreGL14Constants.java, + opengl/GL.java, opengl/GLCaps.java, opengl/GLConstants.java, + opengl/GLU.java, opengl/GLUConstants.java, + opengl/OpenGLException.java, opengl/Pbuffer.java, + opengl/StateStack.java, opengl/Util.java, opengl/VBOTracker.java: + [no log message] 2003-08-17 18:14 cix_foo @@ -7858,13 +8399,10 @@ * src/java/org/lwjgl/test/openal/: ALTest.java, MovingSoundTest.java: fix: make it compile -2003-07-16 23:15 matzon +2003-07-16 23:16 matzon - * src/: java/org/lwjgl/openal/eax/EAX.java, - java/org/lwjgl/openal/eax/EAXBufferProperties.java, - java/org/lwjgl/openal/eax/EAXListenerProperties.java, - native/common/org_lwjgl_openal_eax_CoreEAX.cpp: "fix": deactivate - EAX for this test release + * src/native/common/org_lwjgl_openal_eax_CoreEAX.cpp: "fix": + deactivate EAX for this test release 2003-07-16 23:10 elias_naur @@ -7989,11 +8527,7 @@ * src/java/org/lwjgl/: openal/AL.java, openal/ALC.java, openal/ALCcontext.java, openal/ALCdevice.java, openal/BaseAL.java, openal/BaseALConstants.java, - openal/CoreAL.java, openal/eax/BaseEAX.java, - openal/eax/BaseEAXConstants.java, openal/eax/CoreEAX.java, - openal/eax/EAX.java, openal/eax/EAXBufferProperties.java, - openal/eax/EAXListenerProperties.java, - test/input/ControllerCreationTest.java, + openal/CoreAL.java, test/input/ControllerCreationTest.java, test/input/ControllerTest.java, test/input/HWCursorTest.java, test/input/KeyboardTest.java, test/input/MouseCreationTest.java, test/input/MouseTest.java, test/openal/ALCTest.java, @@ -8417,9 +8951,7 @@ 2003-05-03 23:20 matzon * src/java/org/lwjgl/: Display.java, Window.java, - openal/CoreAL.java, openal/eax/EAXBufferProperties.java, - openal/eax/EAXListenerProperties.java, opengl/BaseGL.java: fix: - javadoc + openal/CoreAL.java, opengl/BaseGL.java: fix: javadoc 2003-05-03 21:50 matzon @@ -9646,10 +10178,7 @@ openal/ALC.java, openal/ALCcontext.java, openal/ALCdevice.java, openal/ALConstants.java, openal/BaseAL.java, openal/BaseALConstants.java, openal/CoreAL.java, - openal/OpenALException.java, openal/eax/BaseEAX.java, - openal/eax/BaseEAXConstants.java, openal/eax/CoreEAX.java, - openal/eax/EAX.java, openal/eax/EAXBufferProperties.java, - openal/eax/EAXListenerProperties.java, opengl/BaseGL.java, + openal/OpenALException.java, opengl/BaseGL.java, opengl/CoreGL.java, opengl/CoreGLConstants.java, opengl/GL.java, opengl/GLConstants.java, opengl/GLU.java, opengl/GLUConstants.java, opengl/OpenGLException.java, @@ -9675,8 +10204,8 @@ 2002-12-21 13:07 matzon - * src/java/org/lwjgl/: input/Joystick.java, - openal/eax/BaseEAX.java, opengl/GLU.java: javadoc fixes + * src/java/org/lwjgl/: input/Joystick.java, opengl/GLU.java: + javadoc fixes 2002-12-21 12:35 matzon @@ -10376,11 +10905,10 @@ * src/java/org/lwjgl/test/openal/ALTest.java: fix: removed unneeded import fix: removed getSource3f reference -2002-11-21 23:35 matzon +2002-11-21 23:36 matzon - * src/java/org/lwjgl/: openal/eax/EAXBufferProperties.java, - test/openal/ALCTest.java, test/openal/EAXTest.java: fix: removed - unneeded import + * src/java/org/lwjgl/test/openal/: ALCTest.java, EAXTest.java: fix: + removed unneeded import 2002-11-21 16:13 elias_naur @@ -10691,22 +11219,6 @@ the whole initializing thingy - just assume that OpenAL is initialized fix:: wrong comment fix: changed ifndef to ifdef DOH! -2002-09-12 03:26 matzon - - * src/java/org/lwjgl/openal/eax/BaseEAX.java: add: added finalizer - -2002-09-11 18:57 matzon - - * src/java/org/lwjgl/openal/eax/EAXListenerProperties.java: fix: - now reading ints instead of longs - buffer overflow, since longs - are 64 bit in java - -2002-09-11 18:46 matzon - - * src/java/org/lwjgl/openal/eax/EAXBufferProperties.java: fix: now - reading ints instead of longs - buffer overflow, since longs are - 64 bit in java - 2002-09-10 16:35 matzon * doc/CREDITS: add: Added Gregory Pierce to credits list @@ -10807,13 +11319,6 @@ * src/java/org/lwjgl/openal/: ALC.java, ALUT.java, BaseAL.java: mod: updated to create/destroy architecture -2002-09-03 13:17 matzon - - * src/java/org/lwjgl/openal/eax/: BaseEAXConstants.java, - EAXBufferProperties.java, EAXListenerProperties.java: mod: - refactored some EAX constants to Buffer or Listerner Properties - class - 2002-09-03 07:53 gregorypierce * src/native/macosx/org_lwjgl_Display.cpp: Updated with GL setup @@ -10832,13 +11337,6 @@ win32/org_lwjgl_openal_eax_EAXListenerProperties.cpp: add: finished EAX support -2002-09-03 00:06 matzon - - * src/java/org/lwjgl/openal/eax/: BaseEAXConstants.java, - EAXBufferProperties.java, EAXListenerProperties.java: add: EAX - support done - needs some cleaning, and possibly refactoring of - constants... - 2002-09-02 20:01 matzon * src/java/org/lwjgl/openal/ALConstants.java: mod: AL shouldn't @@ -10859,9 +11357,7 @@ 2002-09-02 15:07 matzon * src/java/org/lwjgl/openal/: BaseEAX.java, BaseEAXConstants.java, - CoreEAX.java, EAX.java, eax/BaseEAX.java, - eax/BaseEAXConstants.java, eax/CoreEAX.java, eax/EAX.java: mod: - moved to eax subpackage + CoreEAX.java, EAX.java: mod: moved to eax subpackage 2002-09-02 11:51 matzon |
|
From: Brian M. <ma...@us...> - 2005-01-25 21:27:13
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4923/src/java/org/lwjgl/opengl Modified Files: EXTFramebufferObject.java Log Message: fixed "html" tags causing bug 5082928 in 1.5 Index: EXTFramebufferObject.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/EXTFramebufferObject.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- EXTFramebufferObject.java 18 Jan 2005 20:57:32 -0000 1.1 +++ EXTFramebufferObject.java 25 Jan 2005 21:26:52 -0000 1.2 @@ -40,21 +40,21 @@ /** - * Accepted by the <target> parameter of BindFramebufferEXT, + * Accepted by the <target> parameter of BindFramebufferEXT, * CheckFramebufferStatusEXT, FramebufferTexture{1D|2D|3D}EXT, and * FramebufferRenderbufferEXT: */ public static final int GL_FRAMEBUFFER_EXT = 0x8D40; /** - * Accepted by the <target> parameter of BindRenderbufferEXT, + * Accepted by the <target> parameter of BindRenderbufferEXT, * RenderbufferStorageEXT, and GetRenderbufferParameterivEXT, and * returned by GetFramebufferAttachmentParameterivEXT: */ public static final int GL_RENDERBUFFER_EXT = 0x8D41; /** - * Accepted by the <internalformat> parameter of + * Accepted by the <internalformat> parameter of * RenderbufferStorageEXT: */ public static final int GL_STENCIL_INDEX_EXT = 0x8D45; @@ -64,14 +64,14 @@ public static final int GL_STENCIL_INDEX16_EXT = 0x8D49; /** - * Accepted by the <pname> parameter of GetRenderbufferParameterivEXT: + * Accepted by the <pname> parameter of GetRenderbufferParameterivEXT: */ public static final int GL_RENDERBUFFER_WIDTH_EXT = 0x8D42; public static final int GL_RENDERBUFFER_HEIGHT_EXT = 0x8D43; public static final int GL_RENDERBUFFER_INTERNAL_FORMAT_EXT = 0x8D44; /** - * Accepted by the <pname> parameter of + * Accepted by the <pname> parameter of * GetFramebufferAttachmentParameterivEXT: */ public static final int GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT = 0x8CD0; @@ -81,7 +81,7 @@ public static final int GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT = 0x8CD4; /** - * Accepted by the <attachment> parameter of + * Accepted by the <attachment> parameter of * FramebufferTexture{1D|2D|3D}EXT, FramebufferRenderbufferEXT, and * GetFramebufferAttachmentParameterivEXT */ |
|
From: Brian M. <ma...@us...> - 2005-01-25 21:26:31
|
Update of /cvsroot/java-game-lib/LWJGL In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4838 Modified Files: build.xml Log Message: it's 2005! :) Index: build.xml =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/build.xml,v retrieving revision 1.55 retrieving revision 1.56 diff -u -d -r1.55 -r1.56 --- build.xml 25 Jan 2005 20:50:44 -0000 1.55 +++ build.xml 25 Jan 2005 21:26:18 -0000 1.56 @@ -58,6 +58,7 @@ <fileset id="lwjgl.javadoc.fileset" dir="${lwjgl.src}/java"> <include name="**/*.java" /> <exclude name="org/lwjgl/test/**" /> + <exclude name="org/lwjgl/examples/**" /> </fileset> <!-- Files to include in common package --> @@ -359,7 +360,7 @@ <javadoc destdir="${lwjgl.docs}/javadoc" author="true" version="true" use="true" source="1.4" windowtitle="LWJGL API"> <fileset refid="lwjgl.javadoc.fileset" /> <doctitle><![CDATA[<h1>Lightweight Java Game Toolkit</h1>]]></doctitle> - <bottom><![CDATA[<i>Copyright © 2002-2004 lwjgl.org. All Rights Reserved.</i>]]></bottom> + <bottom><![CDATA[<i>Copyright © 2002-2005 lwjgl.org. All Rights Reserved.</i>]]></bottom> </javadoc> </target> |
|
From: Brian M. <ma...@us...> - 2005-01-25 20:59:02
|
Update of /cvsroot/java-game-lib/LWJGL/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30894 Modified Files: README Log Message: removed entry about media distribution Index: README =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/doc/README,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- README 18 Jan 2005 15:31:57 -0000 1.9 +++ README 25 Jan 2005 20:58:48 -0000 1.10 @@ -4,9 +4,6 @@ the license as stated in the LICENSE file. If you have not received this file, please download it from the cvs server. -To run any openal tests, you need to download the media file too, and -extract it to the root directory. - 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) |
|
From: Brian M. <ma...@us...> - 2005-01-25 20:57:11
|
Update of /cvsroot/java-game-lib/LWJGL/doc/tutorial In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30432/tutorial Removed Files: intro.html openal_basics.html skeleton_code.html Log Message: removed more obsolete stuff --- intro.html DELETED --- --- openal_basics.html DELETED --- --- skeleton_code.html DELETED --- |
|
From: Brian M. <ma...@us...> - 2005-01-25 20:57:08
|
Update of /cvsroot/java-game-lib/LWJGL/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30432 Removed Files: openal_c-to-java.html Log Message: removed more obsolete stuff --- openal_c-to-java.html DELETED --- |
|
From: Brian M. <ma...@us...> - 2005-01-25 20:53:58
|
Update of /cvsroot/java-game-lib/LWJGL/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29603 Modified Files: LICENSE Log Message: it's 2005! :) Index: LICENSE =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/doc/LICENSE,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- LICENSE 31 Jan 2004 12:57:25 -0000 1.3 +++ LICENSE 25 Jan 2005 20:53:46 -0000 1.4 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002-2004 Lightweight Java Game Library Project + * Copyright (c) 2002-2005 Lightweight Java Game Library Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without |
|
From: Brian M. <ma...@us...> - 2005-01-25 20:53:27
|
Update of /cvsroot/java-game-lib/LWJGL/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29513 Removed Files: TODO Log Message: nuke todo list - waaaaay old --- TODO DELETED --- |