59 Commits

Author SHA1 Message Date
Kirill Vainer
454e210d3d native library: don't run unit test
It causes Travis-CI to freeze
2016-02-27 17:00:35 -05:00
Kirill Vainer
27041e1341 LWJGL3 improvements
* Added key remapping for GLFW key constants
 * Rename AppSettings.getGammaCorrection() to isGammaCorrection()
 * Use LWJGL3 artifacts from maven
 * Minor compatibility changes for LWJGL 3.0.0b
 * Fixed some minor bugs in LwjglWindow
2015-12-28 23:53:36 -05:00
Kirill Vainer
c50839796f Merge branch 'renderer-fbreadasync' into experimental 2015-12-07 22:05:02 -05:00
Kirill Vainer
908b37350d remove XXX HACK from native library loader
also add additional integration tests for
AppSettings, Application, and NativeLibraryLoader
2015-12-07 21:49:04 -05:00
Kirill Vainer
15465a020f Merge branch 'master' into expermiental 2015-11-26 13:38:07 -05:00
Kirill Vainer
18db26292f Add the new material system
Also includes some unrelated tests
2015-11-22 13:13:00 -05:00
Daniel Johansson
00e2717c7c Fixed an issue where on linux using jme-lwjgl3 module would cause the windows dll to be loaded instead of the linux so native library. 2015-11-10 17:03:30 +00:00
Kirill Vainer
810c7b6fa6 native loader: set lwjgl library path for lwjgl3 2015-10-21 16:43:13 -04:00
Daniel Johansson
5e8f5e6a1f Updated lwjgl3 module to use LWJGL 3.0.0b #35 which is the current stable build. 2015-10-21 17:05:16 +01:00
Kirill Vainer
2a1addd2da Merge pull request #350 from alexVengrovsk/master
Delete close() of ByteArrayOutputStream type objecs
2015-10-19 14:24:22 -04:00
Daniel Johansson
d48a1bb998 Removed native library jemalloc.dll for LWJGL3 as this will not be needed until 3.0.0b and after. 2015-10-15 09:46:35 +01:00
alexVengrovsk
2eb2cdac60 Delete close() of ByteArrayOutputStream type objecs
According to the Oracle's docummentation: "Closing a ByteArrayOutputStream has no effect. The methods in this class can be called after the stream has been closed without generating an IOException." (http://docs.oracle.com/javase/7/docs/api/java/io/ByteArrayOutputStream.html#close())
2015-09-23 12:22:11 +03:00
Daniel Johansson
30cdca7ad7 Native library loading is back to the way it used to be with the addition of LWJGL 3.x libraries added with a different key.
Moved LWJGL 3.x repository definition to build.grade in that module.
Fixed an issue where frame rate limit would cause GLFW frequency window hint to be set rather than use a software limiter.
Removed LWJGLTimer for lwjgl3 module, no need for it any more, we'll just use the NanoTimer.
Removed LWJGLCanvas for lwjgl3 module, can't implement this so we'll leave it for now.
2015-09-17 11:59:44 +01:00
Daniel Johansson
8f77dca931 Added jme3-lwjgl3 module which ultimately adds support for LWJGL 3.x and GLFW. 2015-08-26 22:34:05 +01:00
Kirill Vainer
860de88298 GLRenderer: initial commit of async FB read (including jme panels) 2015-08-21 21:27:54 -04:00
shadowislord
068047200e Threads: standardize names. Make sure they all start with "jME3". 2015-03-27 21:43:32 -04:00
shadowislord
40926dc32d AssetConfig: Platform asset config now returned as URL
- Return back DesktopAssetManager constructor with boolean argument - this time it shall use platform config instead of always using Desktop.cfg
2015-03-01 15:11:57 -05:00
shadowislord
25b1780e09 AssetManager: remove useless subclasses
* All platforms now use asset configuration files. Subclasses of DesktopAssetManager no longer required.
 * Added general asset config file which is included by all
 * JmeSystemDelegate now always returns DesktopAssetManager
 * JmeSystem is now responsible for providing the platform-specific asset config path
 * Deprecate JmeSystem.createImageRaster(), it is simpler to create a DefaultImageRaster
2015-02-28 18:32:38 -05:00
Nehon
dd66d21147 Changed jME's default splash screen 2015-02-19 23:03:41 +01:00
Nehon
2aa50694b8 Awt Panel now supports gamma correct pipeline. Default stays non srgb for backward compatibility. But IMO it should be set to srgb by default to promote the srgb pipeline. 2015-02-16 14:48:57 +01:00
shadowislord
b300915092 NativeLibraryLoader: use the OS's cache folder instead of home folder for storing natives 2015-02-15 16:18:04 -05:00
shadowislord
51c8894e03 NativeLibraryLoader: Fix crash when working directory not writable
Loder -> Loader
2015-02-15 14:05:33 -05:00
shadowislord
253c3ac80d JmeSystem: print build info on initialization 2015-02-09 21:07:59 -05:00
shadowislord
66d4763a04 Fix issue #204 2015-01-31 16:35:46 -05:00
shadowislord
30efc7ce86 ScreenshotAppState to use old FB read-back
Also, set compression quality for JPG to 95% (same as on Android)
2015-01-31 15:01:23 -05:00
shadowislord
2fb87f9682 SettingsDialog to choose closest refresh rate to 60 for fullscreen modes 2015-01-31 14:25:05 -05:00
shadowislord
3f4ce758e7 * Use INT_BGR format in AwtPanel - allows using old compatible readFrameBuffer 2015-01-31 12:50:56 -05:00
shadowislord
8f9dfcc7c1 NativeLibraryLoader: Allow specifying the filename that the extracted library should have (needed for certain workarounds..) 2015-01-27 21:11:13 -05:00
shadowislord
3991123073 NativeLibraryLoader: Don't load LWJGL / JInput when they are not found in classpath
* LWJGL / JInput have their own loading mechanism which works fine when they are in java.library.path (e.g. when bundling)
2015-01-27 20:07:34 -05:00
shadowislord
2cc601edc3 NativeLibraryLoader: Don't gobble the exception message when loading via System.loadLibrary() 2015-01-27 18:00:29 -05:00
Normen Hansen
a6d67ed92b - add executable class for extracting binaries and getting a list of jar file excludes to be used in build systems 2015-01-27 17:20:51 +01:00
Normen Hansen
50134899f8 - remove adding for 64 ending for natives 2015-01-27 11:49:06 +01:00
shadowislord
32cfca495d * NativeLibraryLoader: Add method to get a list of jars that contain known natives 2015-01-25 19:32:33 -05:00
shadowislord
56a187f77a * NativeLibraryLoader: Add method to extract a platform's natives 2015-01-25 19:10:32 -05:00
Normen Hansen
5c9fee7a7e - update library names for lwjgl 2.9.2 on OSX 2015-01-25 22:48:23 +01:00
Normen Hansen
32f4245aff - fix osx bullet binary path 2015-01-13 17:14:48 +01:00
Normen Hansen
fd78498bc8 - fix NativeLibraryLoader using deprecated Natives class for hash generation
- fix bullet native file name for OSX
2015-01-13 16:10:09 +01:00
Nehon
50ec3023d4 Fixed ScreenshotAppState, VideoRecorderAppSate, AwtPanel and TestRenderToMemory so the frameBuffer is read with an BGRA8 format 2014-12-29 00:17:59 +01:00
iwgeric
d42a777909 Add showSoftKeyboard(boolean show) to JmeSystem.
Includes empty implementations for now.  Android to be implemented in next commit.
2014-12-12 08:15:53 -05:00
shadowislord
ec6befeeaa AWT panels: fix flipped coords when mouse pressed or released 2014-11-23 18:54:09 -05:00
shadowislord
595183fb64 Fix items in Translucent bucket not be rendered in AWT panels 2014-11-23 18:39:19 -05:00
shadowislord
5f33bdfa95 JOAL audio renderer to use the unified OpenAL backend as well 2014-11-15 16:36:24 -05:00
shadowislord
91715c4a48 Add support for URA, or Unified Renderer Architecture for audio
* Unified all renderers into common class 'ALAudioRenderer'
 * LWJGL and Android now implement the AL / ALC / EFX interfaces to provide a common OpenAL backend for jME
 * Added support for OpenAL Soft "Pause Device" extension, which allows the engine to pause the context while running in the background (currently requires OpenAL soft 1.16 and thus is Android only feature)
2014-11-15 15:15:50 -05:00
shadowislord
62cfbc8a3e Remove usage of all deprecated image formats 2014-11-09 11:50:57 -05:00
shadowislord
e637cd0b7a * NativeLibraryLoader: More hacks .. Use the proper loading method based on the library name.
* TestNativeLoader: More concrete test that uses a custom natives folder and ensures all natives load properly and prints their versions.
2014-06-07 14:09:42 -04:00
shadowislord
36483c4b49 * Avoid conflicts when extracting both 64-bit and 32-bit libraries to the same folder .. This is mainly for the bulletjme library which doesn't specify "64" at the end of the filename 2014-06-06 21:18:50 -04:00
shadowislord
34826360d6 * Native bullet was marked as a non-JNI library for some reason - that's fixed now 2014-06-06 21:15:24 -04:00
shadowislord
48ccb0fe56 * Fix jinput native library loading - now the JNI library name is based on the name in the jar 2014-06-06 21:05:15 -04:00
shadowislord
54ffe15dda * Switch to new native library loader
* Deprecate old library loader
 * Add warning when the requested number of antialiasing samples cannot be satisfied
 * Cleaned up LwjglContext.determineMaxSamples()
2014-06-06 20:39:37 -04:00
shadowislord
2ca99b83de * More javadoc in NativeLibraryLoader 2014-06-05 23:59:24 -04:00