65 Commits

Author SHA1 Message Date
Sha..rd
65c27304be * Android - disable GL error check by default
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9141 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-11 05:35:29 +00:00
Sha..rd
b75a3415c5 * Android - fix shader compile error on PowerVR GPUs
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9140 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-11 05:32:24 +00:00
rem..om
82b1e94953 Added SpashScreen support for android thanks to iwgeric
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9106 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-21 09:59:10 +00:00
Sha..rd
b38e545036 * Fix Android 2.2 - 3.2 crash
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9081 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-17 02:13:17 +00:00
nor..67
60f7963cf4 - add storage folder support to android renderer, thanks @iwgeric
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9064 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-15 20:36:50 +00:00
Sha..rd
9c6ca69b34 * Fixed GLSL version parsing issue on Android 4.0
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9020 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-14 04:49:28 +00:00
rem..om
1547500b5a AndroidInput now correctly handles mutiple pointers touch events
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9001 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-08 18:42:51 +00:00
rem..om
dd76ee0890 Fixed Tap confirme event that was sending 2 tap events on each tap
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8998 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-08 15:05:52 +00:00
rem..om
a906b97be3 AndroidInput now correctly dispatches DOUBLETAP event
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8994 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-07 23:29:51 +00:00
rem..om
5454675cda Formatted AndroidInput.java so it doesn't look like a C++ file...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8991 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-07 21:58:30 +00:00
rem..om
cbd1248302 Mesh bufferList is now a SafeArrayList instead of an ArrayList
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8869 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-05 20:27:28 +00:00
rem..om
ed6dedb409 OGLESShaderRenderer : Changed Iteration on mesh buffer to use bufferList ArrayList instead of buffer IntMap. This fixes the non working animation issue on android. IntMap must be further investigated
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8867 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-05 17:35:24 +00:00
nor..67
3cdaf0e051 jme3:
- fix imports in all classes

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8843 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-03 14:06:48 +00:00
nor..67
c906508e62 - big refactoring of engine build and cleaning of sources, totally breaking SDK build for now
- separate jar files for engine components
- resolve dependencies between code parts
- remove Nifty dependency from Cinematics
- remove Physics dependency from TerrainGrid
- add public accessors to Natives Extraction
- remove RenderHint serialization from networking

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8839 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-03 01:22:42 +00:00
nor..67
6113425db9 - add loading of native bullet libraries to AndroidHarness, caught if fails
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8828 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-27 23:27:56 +00:00
sha..rd
f9a798c651 * Better check for android version. Should prevent NoSuchMethodError: glVertexAttribPointer
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8668 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-14 05:08:12 +00:00
sha..rd
6110509b8e * Added android 2.2 workaround for glVertexAttribPointer
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8658 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-12 02:55:51 +00:00
nor..67
fcb6b2e6ab Android:
- change glVertexAttribPointer use to API level 8 method signature

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8653 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-11 23:19:54 +00:00
nor..67
9f16b989fe - add a way to add a classpath for loading in-asset classes to AssetManager, use in BinaryImporter
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8600 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-08 21:18:53 +00:00
sha..rd
ffce10b8da * Added AwtPanel.attachTo() argument that allows attaching panel to main framebuffer instead of replacing it on the viewports
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8481 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-21 23:01:34 +00:00
sha..rd
55bfc5f0cf * Update to LWJGL 2.8.1
* Audio system to use new NativeObject class for managing audio buffers and filters
 * Formatting for AndroidAudioRenderer
 * Changed AndroidAudioData to match new NativeObject class
 * AudioNode now serializes the audio key as "audio_key" instead "key"
 

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8423 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-17 01:33:42 +00:00
sha..rd
107380afc1 * Moved GLObjectManager to util, it is now NativeObjectManager and can be used to manage collection of any native object
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8422 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-17 01:26:31 +00:00
sha..rd
3f95a0ca2f * Eclipse classpath no longer includes .svn folders
* Updated android.jar to 2.3
 * Add support for changing fullscreen mode in AndroidHarness
 * VBO now used by default for Android versions > 2.2
 * Fix wrong setting array type uniforms in android (e.g. Vector3Array)
 * Improved efficiency of setVertexAttrib in android by not creating iterator each time
 * Added method ParticleEmitter.killParticle()
 * Deleted useless com.jme3.renderer.layer package
 * Fix documentation of AppSettings.setCustomRenderer()
 * Fix SkyFactory on android (again!)
 * Deleted useless com.jme3.video package
 * Add KeyNames to get names of keyboard keys
 

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8317 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-30 04:24:36 +00:00
rem..om
c011a29529 OGLES renderer : gl error now appear after the shader code output when a shader fail to compile (like in LWJGL renderer)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8264 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-18 14:21:07 +00:00
kim..ng
7d315f04d9 Android: removed old apk code and added source of the curent beta1 demo apk.
Source is in: jme3test.android, only java classes and the android manifest.xml, not buildable without your own android project

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8239 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-11 16:04:15 +00:00
sha..rd
64c61c86e4 * Fix syntax errors due to JmeSystem/Platform changes
* Prevent stream closed exception when playing OGG music
 * Prevent UnsatisfiedLinkError when using audio effects on Mac
 * Add BitmapText caching to Nifty GUI. May improve FPS in guis with lots of text elements

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8237 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-11 02:02:29 +00:00
sha..rd
5ac90f46fa * Formatting for many android classes which needed it desperately
* Moved JmeSystem.Platform to its own class in core. Desktop's and Android's JmeSystem now both use it
 * Moved proper usage of efficient data from AndroidSkyFactory to SkyFactory, deprecated AndroidSkyFactory

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8236 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-10 21:26:59 +00:00
sha..rd
120a3d1e4f Blender Loader
* Correct calculation of spot light's inner and outer cone angles
 * Loaded lights are now attached to the model's root node instead of being foolishly discarded


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8209 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-07 02:39:02 +00:00
nor..67
42f3770946 - fix AndroidApplication
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8189 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-05 08:48:45 +00:00
kim..ng
895e02f2a6 Android: minor fixes
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8090 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-25 17:35:30 +00:00
kim..ng
5f0bfd8c2e Android: complete rework of the config chooser, LEGACY is still using Android phone code, FASTEST is using 5,6,5,0,16,0 but with code in jme3-andoid which is currently identical to the android source and BEST is using 8,8,8,8,16,0 - also with the same jme3 code.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8085 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-25 12:46:10 +00:00
kim..ng
0b7f96726f Android: fixed logging
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7902 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-22 18:27:17 +00:00
kim..ng
bb2d1073de Android: added some more logging to the surface creation
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7888 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-21 09:19:50 +00:00
kim..ng
7d08828fa7 Android: fixed excessive logging in audio renderer
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7864 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-16 15:18:32 +00:00
kim..ng
0a58b3c92b Android: added ConfigType.LEGACY
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7858 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-13 10:32:00 +00:00
kim..ng
d90f6e7e18 Android: Allow custom app instantiation
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7851 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-12 09:52:35 +00:00
kim..ng
2f8ae09033 Android: Fixed a race condition in OGLESContext which sometimes called initialize() more than once, added screen resolution setting and invert mouse x to harness
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7850 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-12 09:25:36 +00:00
kim..ng
7b0f06ff4d Android: added mouseEventsInvertY option to Harness
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7827 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-05 20:20:01 +00:00
kim..ng
ef6b7157b9 Android: Fixed deadlock in AndroidHarness.onDestroy() and added screenOrientation
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7791 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-30 18:24:31 +00:00
kim..ng
c58f429543 Android: Fixed bug in AndroidHarness if appClass can not be found
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7778 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-29 07:29:16 +00:00
kim..ng
f5ee0ca201 Android: Added positional audio and let the user control the overall media volume
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7763 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-28 18:43:36 +00:00
kim..ng
ab9a2635a2 Android: Bugfix Using PixelFormat.RGBA_8888 instead of PixelFormat.RGB_888
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7755 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-27 09:42:39 +00:00
kim..ng
354ff46ccf Android: Added streaming music to AndroidAudioRenderer
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7753 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-27 05:52:27 +00:00
kim..ng
a7974ac659 Android: Added first prototype of AndroidAudioRenderer
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7723 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-24 20:11:27 +00:00
kim..ng
f230997d93 Android: added customizable messages to exit dialog
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7689 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-22 17:26:27 +00:00
kim..ng
fef0820ca6 Android: fixed bug - EGL_SURFACE_TYPE is checked now. Added ConfigType.FASTEST and .BEST to AndroidHarness
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7685 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-21 22:13:42 +00:00
sha..rd
8c69c7d205 * Shader now has accelerated access to attribute by using IntMap
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7671 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-19 19:14:27 +00:00
nor..67
93d968a12b - fix compile error in renderer (vb.getBufferType().name())
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7669 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-19 12:00:16 +00:00
sha..rd
c727d3e006 * Fixed crash in TestCinematic
* Fixed crash in LightList.sort()
 * Removed usage of Arrays.copyOf() in BitmapFont, so Android can run it
 * Formatted OGLESShaderRenderer

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7668 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-19 00:23:19 +00:00
kim..ng
f02c21a51f Android: fixed crash in harness if inputManager is not initialized yet
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7647 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-17 09:56:55 +00:00