Commit graph

3188 commits

Author SHA1 Message Date
Ioannis Tsakpinis
74d25bcffe Calling convention is ignored on x64. 2010-10-12 09:32:34 +00:00
Ioannis Tsakpinis
9405dde18a Replaced HashMap<Long, T> with FastLongMap in the OpenCL package.
Replaced CharsetEncoder with simple ASCII encoding in APIUtil.
Attempt to fix CL native kernels on x64.
2010-10-12 01:35:33 +00:00
kappa1
8d37d1bdee AppletLoader: use the tmp directory on Windows to store cache. 2010-10-08 20:57:23 +00:00
kappa1
a0ee569434 fix for focus issues with Display.setParent on linux when using it as a non applet. Thx to MatthiasM for finding this and providing a small test case. 2010-10-08 20:19:44 +00:00
kappa1
e2b1e8dbd8 catch null pointer exception that can be thrown on mac, app shouldn't explode now. 2010-10-07 20:38:50 +00:00
kappa1
8c79dfb363 AppletLoader: move cache directory to a better location, as the current location is periodically purged on mac and linux. 2010-10-07 20:33:01 +00:00
Ioannis Tsakpinis
b805673891 Fixed 64bit loading. 2010-10-04 22:51:19 +00:00
Ioannis Tsakpinis
60bd1c00ac Minor clean-up. 2010-10-04 17:04:46 +00:00
Ioannis Tsakpinis
f6006e567d Added cl_khr_select_fprounding_mode. 2010-10-02 13:07:46 +00:00
Ioannis Tsakpinis
208972dba5 Attempt to fix build issues. 2010-10-02 12:19:00 +00:00
Ioannis Tsakpinis
4b0ba01b9c 2010-10-01 22:37:45 +00:00
Ioannis Tsakpinis
f80e5a94d6 OpenCL bug fixes on MacOS.
Improved 64bit pointer detection.
2010-10-01 22:20:14 +00:00
Ioannis Tsakpinis
3470552355 Fixed Mandelbrot.cl to not crash on Cuda. 2010-10-01 17:00:17 +00:00
Ioannis Tsakpinis
c2ba79169b OpenCL C 1.0 didn't support 3-component vectors. 2010-10-01 03:48:41 +00:00
Ioannis Tsakpinis
fb6c46c189 More CL fixes. 2010-10-01 00:18:45 +00:00
Ioannis Tsakpinis
76f2e5bf67 Misc CL fixes. 2010-09-30 23:36:37 +00:00
Ioannis Tsakpinis
662abf403b Added NV OpenCL extensions. 2010-09-30 19:04:25 +00:00
Ioannis Tsakpinis
eab30c3976 Added checks for CL 1.1 stuff. 2010-09-30 17:52:16 +00:00
Ioannis Tsakpinis
2b79b68501 Misc GL/CL fixes and additions.
Made native calls package private, we can now use them from the high-level API.
Added support for "render-to-texture" in the fractal demo.
2010-09-30 17:21:50 +00:00
Ioannis Tsakpinis
a8bcb7fd25 Ported codebase to Java 1.5.
Misc OpenCL fixes and API improvements.
Changed fractal demo to use events/sync objects instead of cl/glFinish for synchronization. (untested)
2010-09-28 21:11:35 +00:00
Ioannis Tsakpinis
d17e13f24b Added AL/CL NativeGetFunctionPointer prefixes. 2010-09-27 00:25:59 +00:00
Ioannis Tsakpinis
917c79a7d4 Apple's cl_platform.h is missing CL_CALLBACK. 2010-09-27 00:13:31 +00:00
Ioannis Tsakpinis
a86fd4b14d Typo fix. 2010-09-26 23:49:09 +00:00
Ioannis Tsakpinis
91593a3a2c Added APPLE's cl_platform.h 2010-09-26 23:44:19 +00:00
Ioannis Tsakpinis
1aa9ab5104 Added support for OpenCL & CL/GL interop + minor improvements. [WIP] 2010-09-26 23:43:24 +00:00
Ioannis Tsakpinis
4318d4d9f8 Fixed ARB_framebuffer_object tokens. 2010-09-15 22:51:27 +00:00
kappa1
b56a7def9c Applet package in nightly builds now cleaned of unused files so extra code to build file can be removed. 2010-09-01 18:12:06 +00:00
kappa1
0d6cc9ccc8 second attempt to clean applet package of unused files 2010-08-31 20:10:12 +00:00
kappa1
a19d4838a7 attempt to clean nightly builds of unused files 2010-08-31 19:30:15 +00:00
kappa1
af6dc3d5b5 Applet Package: clean up and split the applet download package, it should be much easier for noobs to pick it up now and less confusing. 2010-08-28 16:39:16 +00:00
kappa1
94fa701973 AppletLoader: slight tweak to the behaviour of al_version 2010-08-28 13:47:18 +00:00
kappa1
bca5e48ea7 AppletLoader: set java.library.path to the folder containing natives, this should make it easier when using extra custom native files. 2010-08-28 12:04:55 +00:00
kappa1
020a55d74f AppletLoader: slight tweak to use classloader the way Oracle recommend. 2010-08-23 18:12:06 +00:00
kappa1
4d59d460d0 AppletLoader: fix mixed mode message when using custom logo images. 2010-08-23 18:02:17 +00:00
Ioannis Tsakpinis
6be13dfd45 2010-08-16 22:18:33 +00:00
Ioannis Tsakpinis
3e698786be Fixed NPE when safeNewBuffer returns NULL. 2010-08-16 22:09:01 +00:00
Ioannis Tsakpinis
1760ef88a7 Typo fix. 2010-07-31 16:14:13 +00:00
kappa1
6e231b50a8 clean unneeded check 2010-07-28 21:12:41 +00:00
kappa1
7a6a74541f Fix Mac Mouse behaviour where mouse is centred everytime Mouse.setGrabbed(boolean) is called. 2010-07-28 21:07:04 +00:00
Brian Matzon
0738e6985c bumping native version 2010-07-27 19:18:58 +00:00
Brian Matzon
833fcaa122 Adding lwjgl version string to debug output 2010-07-27 19:17:53 +00:00
Brian Matzon
cba5ab3492 incrementing version to 2.6 2010-07-27 19:08:50 +00:00
Ioannis Tsakpinis
e55165239e ARBDebugOutputCallback header. 2010-07-27 16:20:37 +00:00
Ioannis Tsakpinis
5842103580 Added support for OpenGL 4.1 and new extensions. 2010-07-27 15:33:22 +00:00
kappa1
19b501fc46 AppletLoader: slight tweak to make code more readable 2010-07-25 14:22:09 +00:00
kappa1
6f398ac850 AppletLoader: removed dead code. 2010-07-25 13:35:00 +00:00
kappa1
c05cc0b695 AppletLoader: addded ability to use appletloader with no images, just the logo, just the progressbar or both. To set no image for either image you must set the parameter value to "". Both images are now centred independently allowing variable size logo and progressbar images. Resized appletprogress.gif to match appletlogo.png size. 2010-07-25 13:31:49 +00:00
kappa1
12a37c264e AppletLoader: actually fail with error message if logo images are not found or an error occurs when they are loaded, added missing MediaTracker step. Also prevent paint thread from null pointer exception when this happens. 2010-07-25 12:18:17 +00:00
kappa1
bf68b287da AppletLoader: fix error message so that it actually uses the error message string. 2010-07-25 11:40:58 +00:00
kappa1
a7b892b7ab AppletLoader: clean up resources (images) when switching to the LWJGL Applet as opposed to when applet is destroyed 2010-07-24 20:00:58 +00:00