mirror of
https://github.com/Takiiiiiiii/strato.git
synced 2025-07-17 08:46:39 +00:00
Remove now redundant buffer/texture/megabuffer manager locks
They have been superseeded by the global channel lock
This commit is contained in:
@ -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()};
|
||||
|
||||
|
Reference in New Issue
Block a user