diff options
author | vng <viktor.govako@gmail.com> | 2013-02-08 19:16:51 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:49:46 +0300 |
commit | aca14466854d86c2890d1ed4f24bbb84b85b6b63 (patch) | |
tree | ff8eb7359e12f8ea979697843d2fed338a64be60 /platform/platform_android.cpp | |
parent | a113092f7b9555ce2efa5960186fabc7cde82382 (diff) |
Remove Platform::ScaleEtalonSize and other old stuff.
Diffstat (limited to 'platform/platform_android.cpp')
-rw-r--r-- | platform/platform_android.cpp | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/platform/platform_android.cpp b/platform/platform_android.cpp index 9ff174079b..04ca781ed1 100644 --- a/platform/platform_android.cpp +++ b/platform/platform_android.cpp @@ -11,11 +11,10 @@ #include <unistd.h> -Platform::Platform() : m_impl(0) -{} - -Platform::~Platform() -{} +Platform::Platform() +{ + /// @see initialization routine in android/jni/com/.../Platform.hpp +} ModelReader * Platform::GetReader(string const & file) const { @@ -77,19 +76,14 @@ int Platform::CpuCores() const return (numCPU > 1 ? static_cast<int>(numCPU) : 1); } -string Platform::DeviceName() const -{ - return "Android"; -} - -int Platform::ScaleEtalonSize() const +int Platform::VideoMemoryLimit() const { - return 512 + 256; + return 10 * 1024 * 1024; } -int Platform::VideoMemoryLimit() const +int Platform::PreCachingDepth() const { - return 10 * 1024 * 1024; + return 3; } bool Platform::GetFileSizeByName(string const & fileName, uint64_t & size) const |