Browse Source

Merge branch 'next' of https://github.com/blackberry-gaming/GamePlay into next-sgrenier

Steve Grenier 13 years ago
parent
commit
148e7a6f57
2 changed files with 6 additions and 2 deletions
  1. 2 1
      CHANGES.md
  2. 4 1
      gameplay/src/Base.h

+ 2 - 1
CHANGES.md

@@ -5,7 +5,8 @@
 - User Interface support for scrolling with scrollbars on Container.
 - User Interface support for scrolling with scrollbars on Container.
 - PVRTC, ATC and DXT texture compression support.
 - PVRTC, ATC and DXT texture compression support.
 - Performance improvements in user interface forms and text.
 - Performance improvements in user interface forms and text.
-- Performance improvements in animations on transforms.
+- Performance improvements in animations on transforms.
+- Performance improvements using NEON math for BlackBerry and iOS.
 - Fixes for improvements in error handling throughout all systems.
 - Fixes for improvements in error handling throughout all systems.
 - Fixes supporting built-in Maya COLLADA exporter via DAE_FBX export.
 - Fixes supporting built-in Maya COLLADA exporter via DAE_FBX export.
 - Fixes for latest FBX SDK 2013 support.
 - Fixes for latest FBX SDK 2013 support.

+ 4 - 1
gameplay/src/Base.h

@@ -185,7 +185,7 @@ extern void printError(const char* format, ...);
     #define glClearDepth glClearDepthf
     #define glClearDepth glClearDepthf
     #define OPENGL_ES
     #define OPENGL_ES
     #define USE_PVRTC
     #define USE_PVRTC
-    #ifdef __ARM__
+    #ifdef __arm__
         #define USE_NEON
         #define USE_NEON
     #endif
     #endif
 #elif __ANDROID__
 #elif __ANDROID__
@@ -214,6 +214,9 @@ extern void printError(const char* format, ...);
         #define glClearDepth glClearDepthf
         #define glClearDepth glClearDepthf
         #define OPENGL_ES
         #define OPENGL_ES
         #define USE_VAO
         #define USE_VAO
+        #ifdef __arm__
+            #define USE_NEON
+        #endif
     #elif TARGET_OS_MAC
     #elif TARGET_OS_MAC
         #include <OpenGL/gl.h>
         #include <OpenGL/gl.h>
         #include <OpenGL/glext.h>
         #include <OpenGL/glext.h>