Now targeting iOS 7 and enabling 64-bit ARM

--HG--
branch : async_streaming
This commit is contained in:
2013-10-18 17:26:07 -07:00
parent e849f55b34
commit 63503393a4
2 changed files with 9 additions and 4 deletions

View File

@@ -11,10 +11,6 @@
#ifndef KRENGINE_COMMON_H
#define KRENGINE_COMMON_H
#define KRAKEN_MEM_PAGE_SIZE 4096
#define KRAKEN_MEM_ROUND_DOWN_PAGE(x) (x & ~(KRAKEN_MEM_PAGE_SIZE - 1))
#define KRENGINE_MAX_TEXTURE_UNITS 8
float const PI = 3.141592653589793f;
float const D2R = PI * 2 / 360;
@@ -71,6 +67,11 @@ using std::queue;
#define KRAKEN_HAVE_BLAS 1
#endif
int KRAKEN_MEM_PAGE_SIZE = getpagesize();
#define KRAKEN_MEM_ROUND_DOWN_PAGE(x) (x & ~(KRAKEN_MEM_PAGE_SIZE - 1))
#define KRENGINE_MAX_TEXTURE_UNITS 8
#if !defined(__i386__) && defined(__arm__)
#define KRAKEN_USE_ARM_NEON