mirror of
https://github.com/mitch030504/Wiicompiled_VR_Frame.git
synced 2026-10-06 05:00:27 +02:00
- Added new strings for installation reset prompts and messages in strings.xml.
- Created InstallReset.kt to handle the removal of game files, built games, and mod packs while preserving user data. - Implemented unit tests for InstallReset to ensure correct functionality and file handling. - Updated RetroRewindPackTest to include new test cases for update and deletion order. - Enhanced Vulkan interop and OpenXR integration to support new thread scheduling hints for Android. - Improved error handling and logging for GPU submission failures in Vulkan backend.
This commit is contained in:
1 parent
d4a3f0b350
commit
7f2113dbc5
22 files changed
+583
-94
No files matched your search
@@ -27,6 +27,9 @@
|
||||
#ifdef AURORA_ENABLE_GX
|
||||
#include "gfx/pipeline_cache.hpp"
|
||||
#endif
|
||||
#if defined(__ANDROID__)
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#include "system_info.hpp"
|
||||
#include "tracy/Tracy.hpp"
|
||||
|
||||
@@ -294,6 +297,8 @@ struct FrameWorkerState {
|
||||
};
|
||||
|
||||
FrameWorkerState g_frameWorker;
|
||||
// The worker's Linux thread id, published for the host's scheduling hints (Android).
|
||||
std::atomic<uint32_t> g_frameWorkerNativeThreadId{0};
|
||||
|
||||
bool frame_worker_requested() noexcept {
|
||||
#ifdef AURORA_ENABLE_GX
|
||||
@@ -343,6 +348,9 @@ void frame_worker_main() noexcept {
|
||||
std::lock_guard lock(g_frameWorker.mutex);
|
||||
g_frameWorker.threadId = std::this_thread::get_id();
|
||||
}
|
||||
#if defined(__ANDROID__)
|
||||
g_frameWorkerNativeThreadId.store(static_cast<uint32_t>(gettid()), std::memory_order_release);
|
||||
#endif
|
||||
|
||||
#ifdef AURORA_ENABLE_GX
|
||||
// Owned by the worker for its whole lifetime so the sealed pass vector and
|
||||
@@ -2524,6 +2532,9 @@ void aurora_set_pipeline_cache_idle_store(bool allowed) {
|
||||
(void)allowed;
|
||||
#endif
|
||||
}
|
||||
uint32_t aurora_get_frame_worker_native_thread_id(void) {
|
||||
return aurora::g_frameWorkerNativeThreadId.load(std::memory_order_acquire);
|
||||
}
|
||||
void aurora_set_present_schedule(uint64_t baseNanos, uint64_t intervalNanos) {
|
||||
aurora::g_presentScheduleBaseNanos.store(baseNanos, std::memory_order_release);
|
||||
aurora::g_presentScheduleIntervalNanos.store(intervalNanos, std::memory_order_release);
|
||||
|
||||
Reference in new issue
Block a user