Remove now redundant buffer/texture/megabuffer manager locks

They have been superseeded by the global channel lock
This commit is contained in:
Billy Laws
2022-10-09 16:32:59 +01:00
parent f5a141a621
commit 05581f2230
17 changed files with 28 additions and 154 deletions

View File

@ -6,18 +6,6 @@
namespace skyline::gpu {
TextureManager::TextureManager(GPU &gpu) : gpu(gpu) {}
void TextureManager::lock() {
mutex.lock();
}
void TextureManager::unlock() {
mutex.unlock();
}
bool TextureManager::try_lock() {
return mutex.try_lock();
}
std::shared_ptr<TextureView> TextureManager::FindOrCreate(const GuestTexture &guestTexture, ContextTag tag) {
auto guestMapping{guestTexture.mappings.front()};