Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
hrydgard
GitHub Repository: hrydgard/ppsspp
Path: blob/master/Common/GPU/GPUBackendCommon.h
3186 views
1
#pragma once
2
3
#include <vector>
4
5
// Just an abstract thing to get debug information.
6
class GPUMemoryManager {
7
public:
8
virtual ~GPUMemoryManager() {}
9
10
virtual void GetDebugString(char *buffer, size_t bufSize) const = 0;
11
virtual const char *Name() const = 0; // for sorting
12
};
13
14
std::vector<GPUMemoryManager *> GetActiveGPUMemoryManagers();
15
16
void RegisterGPUMemoryManager(GPUMemoryManager *manager);
17
void UnregisterGPUMemoryManager(GPUMemoryManager *manager);
18
19