Commit Graph

3454 Commits

Author SHA1 Message Date
Ioannis Tsakpinis 87c04cc995 Text encoding improvements. 2011-08-20 16:38:45 +00:00
kappa1 6502050630 Add Unicode support to the native Window title on Linux 2011-08-20 11:56:46 +00:00
Ioannis Tsakpinis cf463ecdfc Added glRotated. 2011-08-18 23:17:17 +00:00
Ioannis Tsakpinis b333b029bd Fixed GLX extension detection. 2011-08-18 17:13:05 +00:00
Ioannis Tsakpinis 67945fe317 Added unicode support on Windows.
Fixed AL and GLES native stub bindings.
Replaced many GetStringNativeChars usages with a Java implementation.
2011-08-16 22:17:32 +00:00
Brian Matzon 3da40143e3 Updating version to 2.8.0, still some stuff to do tho 2011-08-15 19:24:39 +00:00
kappa1 873fed0613 AppletLoader: al_version tag now uses a case insensitive String (instead of float), much nicer for specifying application versions (e.g. "10.3.3.1 Beta"), still backwards compatible too :) 2011-08-14 17:07:23 +00:00
Ioannis Tsakpinis be10741150 Added support for AMD_pinned_memory. 2011-08-14 10:46:00 +00:00
Ioannis Tsakpinis 717334be5a Replaced Arrays.copyof with custom implementation for Java 5 compatibility. 2011-08-13 19:16:58 +00:00
kappa1 6f95b368e3 Fix issue with Mouse getWidth/getHeight values being wrongly clipped when using Display.setParent(), thx to MatthiasM for finding this. 2011-08-13 18:53:54 +00:00
Ioannis Tsakpinis 1d03746435 Fixed GL42 detection and added an @Optional so that AMD's beta driver works. 2011-08-13 17:20:59 +00:00
Ioannis Tsakpinis f684a8a7a8 Added EXT_texture_storage alias. 2011-08-10 17:27:49 +00:00
Ioannis Tsakpinis 900eb4e4d2 Added support for cache-line padding and alignment.
Made byteOffset() in MappedField optional.
Misc fixes and improvements.
2011-08-10 16:05:46 +00:00
Ioannis Tsakpinis dc4fb854cb Added missing annotation and import. 2011-08-08 17:02:20 +00:00
Ioannis Tsakpinis f62c5786ff Added DSA functions. 2011-08-08 16:42:37 +00:00
Ioannis Tsakpinis 72f4758d5e Added support for OpenGL 4.2 2011-08-08 10:48:14 +00:00
kappa1 059983c6c6 Fix issue with Linux and Java 7 where libjawt.so was failing to load. 2011-08-06 13:18:49 +00:00
Ioannis Tsakpinis f3472da2ed CL: Cleaned-up callbacks and object registries.
Mapped: Added .capacity() and .foreach() with default elementCount.
2011-08-02 23:45:19 +00:00
Ioannis Tsakpinis 83c2208aa0 Added support for NV_path_rendering.
Made MappedObjectUnsafe package private.
2011-07-29 11:30:14 +00:00
Ioannis Tsakpinis d3d14b6f3c @MappedType is now optional.
copyTo now only copies (SIZEOF - padding) bytes.
2011-07-24 09:38:46 +00:00
Ioannis Tsakpinis 054a5c5ae9 Added support for volatile keyword. 2011-07-23 22:28:57 +00:00
Ioannis Tsakpinis d0cb1f8c90 Removed sizeof from @MappedType, it's calculated automatically now.
Added padding to @MappedType, defaults to 0.
Added support for @Pointer long fields for easier interaction with pointer data.
2011-07-23 22:02:01 +00:00
Ioannis Tsakpinis 896e363979 Converted sizeof and align to methods.
Override more methods in MappedObject subclasses, foreach is now 4 times faster.
2011-07-22 20:09:01 +00:00
Ioannis Tsakpinis 20b9d3f89f Added support for array access to mapped objects.
Added SpriteShootout test that uses mapped objects.
2011-07-22 02:01:56 +00:00
Brian Matzon 087d0f4ba9 Initial stab at win32 resize api 2011-07-21 22:52:16 +00:00
Ioannis Tsakpinis 8193447a0d Code cleanup. 2011-07-17 09:37:35 +00:00
Ioannis Tsakpinis 30261d1f82 Removed GLES dependency on GL APIUtil. 2011-07-16 22:40:06 +00:00
Ioannis Tsakpinis a9a7067461 Converted GL APIUtil to a per ContextCapabilities instance. 2011-07-16 22:26:46 +00:00
Ioannis Tsakpinis 5d624b86bf Removed test code. /fail 2011-07-16 19:40:16 +00:00
Ioannis Tsakpinis 4a1d110b22 Pointer cast warning fix. 2011-07-16 16:59:46 +00:00
Ioannis Tsakpinis 4a02aed129 More java-side pointer arithmetic.
Fixed pointer cast warning.
2011-07-16 16:42:51 +00:00
Ioannis Tsakpinis 0b0e185f47 Moved all pointer arithmetic to Java code. 2011-07-16 16:05:37 +00:00
Ioannis Tsakpinis c7088cb44f Fixed manual merge error. 2011-07-14 23:11:41 +00:00
Ioannis Tsakpinis b09625557d Implemented .next() with bytecode transformation, 4x faster now.
Made method transformation a bit faster.
2011-07-14 16:54:25 +00:00
kappa1 5949d57bb1 Implement Resizing Display API for OS X 2011-07-13 22:15:35 +00:00
Ioannis Tsakpinis 1f305d514a Removed stride and .configure. Mapped object view updates are now 50% faster. [Riven]
org.lwjgl.util.mapped.PrintBytecode is now functional. [Riven]
2011-07-13 22:15:25 +00:00
kappa1 f0766fb6c4 Updated JavaDoc for the new resizing api to clarify behaviour when running in fullscreen or with Display.setParent(). 2011-07-13 19:29:15 +00:00
Ioannis Tsakpinis 0033f1cc95 Made MappedForeach package private (foreach returns Iterable now) and changed next() to go through the bounds check. 2011-07-13 12:44:25 +00:00
kappa1 9aafabd728 Add placeholder methods for initial resizing api for the Display 2011-07-12 22:07:32 +00:00
Ioannis Tsakpinis bad616d4cb Fixed stackmap and classloading bugs. 2011-07-12 21:30:48 +00:00
Ioannis Tsakpinis c8c2c670d4 Added some new ES extensions. 2011-07-12 20:59:27 +00:00
Ioannis Tsakpinis 12f5f3c88d Added support for EXT_atomic_counter_32/64. 2011-07-12 20:47:46 +00:00
Ioannis Tsakpinis 5158d53dec Added bounds check to copyRange. 2011-07-12 20:40:05 +00:00
Ioannis Tsakpinis a75b1dde68 Added friendly error message when a non-static inner class is registered with the transformer. 2011-07-12 19:29:15 +00:00
riven-lwjgl 1e108964cd First attempt at manual computation of stack frames 2011-07-12 18:30:56 +00:00
riven-lwjgl 950b17a8fe Test case showing problems on loading library (64 vs 32 bit) 2011-07-12 17:49:58 +00:00
Ioannis Tsakpinis 4a6717959c Added GLES classes on which Display depends to the main jar. 2011-07-12 15:36:16 +00:00
Ioannis Tsakpinis e174bf3bc8 Changed mapping behavior to be consistent with the LWJGL API; it now starts at the buffer's current .position().
Reverted client JVM warning to use serr instead of LWJGLUtil.log, for extra visibility when Debug is disabled.
2011-07-12 14:21:29 +00:00
Ioannis Tsakpinis fa31e0f9cb Fixed bounds checking to work with .sliced mapped objects. 2011-07-12 13:44:13 +00:00
Ioannis Tsakpinis 585549f1f1 Mapped object code improvements: added license, additional documentation, reformatted code, now using LWJGLUtil.log instead of System.err.
Added system properties for bytecode transformer debug output. (org.lwjgl.util.mapped.PrintTiming & org.lwjgl.util.mapped.PrintActivity)
Added support for bounds checking the view of mapped objects. Enabled with org.lwjgl.util.mapped.Checks
Added tests for mapped objects. (org.lwjgl.test.mapped package)
Added "[LWJGL] " prefix to all LWJGL generated debug messages.
2011-07-12 13:29:04 +00:00
Ioannis Tsakpinis b3e18e1d84 Added ASM to compilation classpath. 2011-07-11 22:21:40 +00:00
riven-lwjgl 7e244edc2b Initial release of mapped objects library (v0.10) in LWJGL. 2011-07-11 21:46:00 +00:00
Ioannis Tsakpinis 8e7e212161 Attempt to fix ant release. 2011-07-10 22:38:21 +00:00
Ioannis Tsakpinis 16ff1f892d Attempt (2) to fix MacOS build. 2011-07-10 19:16:46 +00:00
Ioannis Tsakpinis fcba7a09ee Attempt to fix MacOS build. 2011-07-10 18:48:23 +00:00
Ioannis Tsakpinis 63cbea7957 Fixed display creation. 2011-07-10 18:18:51 +00:00
Ioannis Tsakpinis f1fee0624b Replaced Display.createES() with Display.create(ContextType.GLES). 2011-07-10 17:45:43 +00:00
Ioannis Tsakpinis 6c134c6330 Merged OpenGL ES branch. 2011-07-10 16:58:16 +00:00
Ioannis Tsakpinis bab22f696b Merge preparation. 2011-07-10 10:26:36 +00:00
kappa1 2cbae6efc8 minor update to comments and add missing JavaDoc 2011-07-10 00:31:16 +00:00
Ioannis Tsakpinis 4a748c7954 Removed __cdecl workaround. 2011-07-09 21:56:22 +00:00
Ioannis Tsakpinis 1c7c56994d Added support for EXT_framebuffer_multisample_blit_scaled. 2011-07-09 10:20:48 +00:00
kappa1 9e4c915959 Remove dead code from AWTGears example 2011-07-08 17:47:16 +00:00
kappa1 e49bfe3c40 LinuxDisplay - fix remaining issues with focus handling when running in xembed mode. 2011-07-02 20:50:27 +00:00
kappa1 7782156962 Fix small race condition in LinuxDisplay when focusing in and out really fast. 2011-06-26 11:50:23 +00:00
kappa1 6e15f0b781 AppletLoader: revert native file certificate validation to after extraction as it was failing if done before. 2011-06-26 02:18:53 +00:00
kappa1 cc91d81781 Proper fix for Linux focus handling with setParent(Canvas), no more hacks or messing with EDT. Side effect being LWJGL applet focus handling should work perfectly now. 2011-06-26 01:42:34 +00:00
Brian Matzon a2a3a25b9b Applying patch from Matthias that changes the LWJGL icon from byte array to string, shaving ~20k in class size. 2011-06-24 18:34:10 +00:00
Brian Matzon c797193647 Applying patch from Matthias that adds the "negative mouse coordinates" to Mouse.next() too 2011-06-24 18:31:26 +00:00
kappa1 e2fe8155f8 Add "Unix" as a linux platform to allow LWJGL to work on Slackware Linux, thx to kruno73 for pointing this out. 2011-06-23 11:26:42 +00:00
Brian Matzon 18e6e1f95f Applying 64bit loading patch by Matthias 2011-06-19 20:18:02 +00:00
kappa1 96648a6fad AppletLoader: validate certificate for native files before attempting to extract them. 2011-06-15 21:15:58 +00:00
kappa1 1929c3be5d AppletLoader: fix problem with file extension trimming code, added warning when lzma support is missing 'lzma.jar' and lzma files are being loaded. 2011-06-12 23:51:44 +00:00
kappa1 5e318ef834 AppletLoader: fix some comments, code clean up and refactoring 2011-06-12 21:22:50 +00:00
kappa1 4e85079dde LinuxDisplay: run setFocusable(boolean) on the EDT 2011-06-09 22:27:53 +00:00
Ioannis Tsakpinis c9e1319fc6 Fixed getWorkGroupInfoSizeArray parameter check. 2011-06-09 07:48:25 +00:00
Ioannis Tsakpinis 179b45a215 Added support for AMD_multi_draw_indirect. 2011-06-07 17:58:17 +00:00
Ioannis Tsakpinis 307d39cc04 We need safeGetBufferAddress in clSetKernelArg for local buffer sizes. 2011-06-05 00:18:16 +00:00
Ioannis Tsakpinis af0ed1d1c4 Added OpenAL & OpenCL generated native paths.
Added support for AMD_device_memory_flags, AMD_offline_devices, AMD_popcnt [OpenCL]
Minor bugs fixed in high-level OpenCL API.
2011-06-04 00:53:04 +00:00
Ioannis Tsakpinis 073da79e95 Update current DisplayMode when the Display's parent is resized. 2011-05-31 14:40:47 +00:00
Ioannis Tsakpinis 1dd8817855 Update current DisplayMode when the Display's parent is resized. 2011-05-31 13:32:38 +00:00
Ioannis Tsakpinis eff8493ef6 Added support for NV_present_video and NV_video_capture.
Re-designed WindowsPeerInfo so that we can more easily use WGL extensions in the future.
2011-05-21 10:48:05 +00:00
Ioannis Tsakpinis 9b4b2f6f92 Added Context. 2011-05-17 17:26:33 +00:00
Ioannis Tsakpinis edaeef7cb3 Added the Linux emulator libs. 2011-05-17 17:00:41 +00:00
Ioannis Tsakpinis 40cbf3e45f Added support for OpenGL ES. 2011-05-17 16:53:57 +00:00
kappa1 8f6dcd3a6d AppletLoader: small fix to also include "ppc64" on macs. 2011-05-13 19:16:34 +00:00
kappa1 4e872f8c2c AppletLoader: add support for optional mac arch specific natives, al_mac32, al_mac64, al_macppc, if they are not specified AppletLoader will fall back to the usual al_mac parameter. 2011-05-13 16:24:10 +00:00
Ioannis Tsakpinis d53afc0b4d Added missing include. 2011-05-11 14:21:59 +00:00
Ioannis Tsakpinis ce777ef350 Pointer cast fix. 2011-05-11 09:50:50 +00:00
Ioannis Tsakpinis 3fb5f8ab8b Added alignment checks to PointerBuffer constructor. 2011-05-11 00:12:52 +00:00
Ioannis Tsakpinis 0f274256b7 Added support for AMD_sample_positions. 2011-05-10 20:22:08 +00:00
kappa1 d8ef76f3fe AppletLoader: remove the last dependency on the sun.* package. 2011-05-07 16:29:13 +00:00
kappa1 ed6bdc0f7f AppletLoader: fix String replace bug on file names, full credits to Riven for spotting it and assisting with the fix. 2011-05-04 23:11:11 +00:00
Brian Matzon 4b0cbedc64 excessively verbose exception description added to lower support requests :) 2011-05-04 19:24:57 +00:00
kappa1 4015ae10a7 AppletLoader: remove unneeded debug code 2011-05-01 00:09:43 +00:00
kappa1 555ac07fd4 2011-05-01 00:03:26 +00:00
kappa1 d635a22014 AppletLoader: minor tweak on comments 2011-04-30 23:56:24 +00:00
kappa1 f11b5ac0b1 AppletLoader: added jar validation to detect corruption and ensures that the cache system doesn't mark corrupt files as successfully downloads. Thx to Riven and MatthiasM for assisting with the implementation. 2011-04-30 23:54:24 +00:00
Brian Matzon 31df38d35c applying maven version patch by ruben01 2011-04-28 17:54:46 +00:00
kappa1 d100475d95 AppletLoader: close fileoutputstream properly when extracting pack files. Minor clean up of extract lzma and gzip methods. 2011-04-26 11:04:12 +00:00