Removed unused Android code
This commit is contained in:
parent
9c029b36fa
commit
14536c6ec7
2 changed files with 0 additions and 17 deletions
|
|
@ -938,21 +938,6 @@ bool VulkanExampleBase::initVulkan()
|
||||||
submitInfo.signalSemaphoreCount = 1;
|
submitInfo.signalSemaphoreCount = 1;
|
||||||
submitInfo.pSignalSemaphores = &semaphores.renderComplete;
|
submitInfo.pSignalSemaphores = &semaphores.renderComplete;
|
||||||
|
|
||||||
#if defined(VK_USE_PLATFORM_ANDROID_KHR)
|
|
||||||
// Get Android device name and manufacturer (to display along GPU name)
|
|
||||||
androidProduct = "";
|
|
||||||
char prop[PROP_VALUE_MAX+1];
|
|
||||||
int len = __system_property_get("ro.product.manufacturer", prop);
|
|
||||||
if (len > 0) {
|
|
||||||
androidProduct += std::string(prop) + " ";
|
|
||||||
};
|
|
||||||
len = __system_property_get("ro.product.model", prop);
|
|
||||||
if (len > 0) {
|
|
||||||
androidProduct += std::string(prop);
|
|
||||||
};
|
|
||||||
LOGD("androidProduct = %s", androidProduct.c_str());
|
|
||||||
#endif
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -211,8 +211,6 @@ public:
|
||||||
bool touchDown = false;
|
bool touchDown = false;
|
||||||
double touchTimer = 0.0;
|
double touchTimer = 0.0;
|
||||||
int64_t lastTapTime = 0;
|
int64_t lastTapTime = 0;
|
||||||
/** @brief Product model and manufacturer of the Android device (via android.Product*) */
|
|
||||||
std::string androidProduct;
|
|
||||||
#elif (defined(VK_USE_PLATFORM_IOS_MVK) || defined(VK_USE_PLATFORM_MACOS_MVK))
|
#elif (defined(VK_USE_PLATFORM_IOS_MVK) || defined(VK_USE_PLATFORM_MACOS_MVK))
|
||||||
void* view;
|
void* view;
|
||||||
#elif defined(VK_USE_PLATFORM_WAYLAND_KHR)
|
#elif defined(VK_USE_PLATFORM_WAYLAND_KHR)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue