mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-27 07:20:49 +00:00
18 lines
461 B
C++
18 lines
461 B
C++
#pragma once
|
|
|
|
#include <vector>
|
|
|
|
// Just an abstract thing to get debug information.
|
|
class GPUMemoryManager {
|
|
public:
|
|
virtual ~GPUMemoryManager() {}
|
|
|
|
virtual void GetDebugString(char *buffer, size_t bufSize) const = 0;
|
|
virtual const char *Name() const = 0; // for sorting
|
|
};
|
|
|
|
std::vector<GPUMemoryManager *> GetActiveGPUMemoryManagers();
|
|
|
|
void RegisterGPUMemoryManager(GPUMemoryManager *manager);
|
|
void UnregisterGPUMemoryManager(GPUMemoryManager *manager);
|