Commit graph

131 commits

Author SHA1 Message Date
Brian Matzon
83bbe5d68d fixed percentage calculation error in extractJars
added subtask messages to extractJars
reworked debug/sleep
2008-04-20 19:55:55 +00:00
Brian Matzon
f256e7fa91 fix: native file name also has to be updated if they are using lzma or pack 2008-04-20 16:59:57 +00:00
Brian Matzon
413899809a fixed issue with filenames when cache is turned on 2008-04-19 18:42:02 +00:00
Brian Matzon
61b2170c9f support for pack200 and lzma jars 2008-04-18 22:34:11 +00:00
Brian Matzon
85ed9cbe76 dont add the platform native jar to the classpath 2008-04-13 16:32:55 +00:00
Brian Matzon
737f7885ae support for prepending host to cache path (defaults to true) 2008-04-10 21:02:04 +00:00
Brian Matzon
bb16ec7492 updated and added license where needed 2008-04-07 18:36:09 +00:00
Brian Matzon
3b5c704383 fixed issue with prematurely interrupting the inputstream getter thread\nmade secondary check for inputstream null 2008-04-06 22:15:16 +00:00
Elias Naur
a877b0c1f1 javadoc fixes 2008-01-21 22:20:25 +00:00
Brian Matzon
73f10ce7c0 removing as per request of elias 2008-01-21 22:07:48 +00:00
Elias Naur
7fe1db23ec Converted GLU to use Buffers instead of arrays to match the rest of lwjgl 2008-01-21 21:27:03 +00:00
Elias Naur
df9e7af261 Moved org.lwjgl.opengl.glu to org.lwjgl.util.glu 2008-01-21 20:38:04 +00:00
Brian Matzon
632fcbfeaa added aho's adapter 2007-11-07 23:17:14 +00:00
Brian Matzon
d098129690 miscellaneous minor fixes to improve the loading and displaying of the applet 2007-10-24 21:55:39 +00:00
Brian Matzon
99fe356399 reworked urlconnection.getInputStream to threaded usage, to avoid Opera issue (detective work: kappaOne) 2007-10-24 21:25:54 +00:00
Brian Matzon
ee85c04e95 removed annotation 2007-10-24 21:23:32 +00:00
Brian Matzon
409da4106b added required isSupported 2007-10-22 20:54:16 +00:00
Brian Matzon
21b2cc0c21 cleaning imports 2007-10-20 21:31:52 +00:00
Brian Matzon
d87b73e73d applied kappaOnes latest fixes 2007-10-20 21:20:00 +00:00
Brian Matzon
d11758044a fix: generic error message placeholder String text was not being replace by the error message - kappaOne 2007-10-13 07:37:39 +00:00
Brian Matzon
ee9c52ddb4 no longer null'ing SecurityManager 2007-06-11 18:43:13 +00:00
Brian Matzon
92edcd850b applied kappaOne's Permision denied handling
made some minor cleanup
2007-06-11 18:10:19 +00:00
Brian Matzon
48c91afd16 initial checking on AppletLoader 2007-06-10 20:30:03 +00:00
Elias Naur
98c79d991d Missing change to ContextCapabilitiesGenerator from last commit 2007-06-06 12:18:33 +00:00
Elias Naur
ddfae1512d Don't use GL13 and ARB_vertex_shader constants in BaseReferences if they're not supported 2007-06-06 12:07:45 +00:00
Elias Naur
16cdf15499 Removed unused org.lwjgl.util.IGL 2007-06-05 16:33:33 +00:00
Elias Naur
59a3176ace Implemented proper buffer reference retaining for complicated functions like glVertexAttribPointer and glTexCoordPointer. Patch by MatthiasM. 2007-05-22 22:30:21 +00:00
Elias Naur
c025a7c70f Re-implemented VBO buffer binding caches to speed up gl*Pointer calls. Patch by MatthiasM. 2007-04-29 20:22:25 +00:00
Elias Naur
b386d2185b Added support for non-direct in glGet* style functions 2007-04-23 20:17:42 +00:00
Elias Naur
d9373a798a Move null parameter checks from check classes to the generated classes, since calculateImageSize assumes the buffer being non-null 2007-04-15 19:43:35 +00:00
Elias Naur
7c6511cf66 Added support for non-direct buffers for all functions that doesn't cache the buffer address at the native side (e.g. glVertexPointer). Reasons:
1. We can now support calls like "glLight(..., ..., FloatBuffer.wrap(new float[] {...}));" without worrying about running out of direct memory heap, 
since both the FloatBuffer and the array are allocated on the java heap. Future JVMs with stack allocation support could improve this even further.
2. We avoid getting in the way of users that doesn't (yet) know why direct buffers are important.

Obviously, we'd like direct support for arrays, but non-direct buffers are a nice compromise that avoids the API bloat that results when almost all 
functions gain an overloaded versions that take arrays instead of buffers.

Notes:

1. Non-direct buffer support should not affect the performance in the direct buffer case, since the non-direct buffer code path is only activated 
when the isDirect() check fails, and we were already checking isDirect() for sanity checking.
2. When using non-direct buffers, the buffer contents (remaining() bytes) are copied to a resizable ThreadLocal cached direct buffer (which is 
resized as needed) and used instead of the non-direct buffer. Thus, performance of non-direct buffers is lower than direct buffers.
2007-04-11 17:30:13 +00:00
Elias Naur
5a2c33423a Moved null check from generated code to BufferChecks and removed unused buffer checks 2007-04-11 16:13:05 +00:00
Elias Naur
eaed716958 Generator: Support arbitrary @AutoResultSize expressions. Make Buffer result sizes long instead of int 2006-12-20 19:19:56 +00:00
Elias Naur
93eabcf999 Generator: Make sure that @GLvoid types result in proper address calculations at the native side, even though the parameter java type is not java.nio.Buffer 2006-11-27 23:01:01 +00:00
Elias Naur
9709e6da2b Remove GL.java and GLImpl.java as they're not updated automatically anyway 2006-11-27 22:45:28 +00:00
Elias Naur
2502496b2d Made all GL functions only query ContextCapabilities.getCapabilities() once. Now all GLCheck checks will take the ContextCapabilities instance as an argument instead of querying for it. Inspired by MatthiasM, who just don't seem to be content with LWJGL performance, ever ;) 2006-11-19 13:33:45 +00:00
Elias Naur
7b7ad52f29 ReferencesStack now clears references when popping to avoid keeping buffer references around too long 2006-07-31 22:37:31 +00:00
Elias Naur
e2bbb739aa Linux: added support for 64 bit JVMs 2006-07-11 20:30:19 +00:00
Elias Naur
253ee1bcf4 LWJGLInstaller: use constant instead of hardcoded filename 2006-07-11 19:33:05 +00:00
Brian Matzon
b69aed51c7 update/fix comments 2006-07-11 19:30:10 +00:00
Elias Naur
c2ed404c44 LWJGInstaller: Run the uninstaller before installing instead of at VM exit 2006-07-11 19:06:11 +00:00
Elias Naur
02d9944b2f LWJGLInstaller: Rename watermark file to .lwjglinuse 2006-07-11 18:55:35 +00:00
Elias Naur
9dfe05a126 LWJGLInstaller: Don't allow applets to decide whether to uninstall old lwjgl dirs 2006-07-11 18:52:13 +00:00
Elias Naur
b3dcdeb51d Tightened access modifiers in LWJGLInstaller 2006-07-11 18:49:36 +00:00
Elias Naur
3768fdf891 Added final modifier to a constant in LWJGLInstaller 2006-07-11 18:38:46 +00:00
Elias Naur
292839a5be Add correct timestamps to jinput controller environment for LWJGL input Mouse and Keyboard 2006-07-10 00:47:32 +00:00
Elias Naur
c64dd328f9 Added a native NewStringNativeUnsigned to avoid compile warnings 2006-07-07 10:36:26 +00:00
Elias Naur
e28bde351b LWJGLInstaller now uses JarFile instead of JarInputStream to work around a bug with java 1.5 and jar signing 2006-07-04 13:44:16 +00:00
Elias Naur
e0268732b0 LWJGLInstaller: Exceptions should propagate to ease debugging 2006-07-04 12:20:17 +00:00
Elias Naur
a2f398e507 Tightened access modifiers for LWJGLInstaller 2006-07-04 12:10:35 +00:00