CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
hrydgard

CoCalc provides the best real-time collaborative environment for Jupyter Notebooks, LaTeX documents, and SageMath, scalable from individual users to large groups and classes!

GitHub Repository: hrydgard/ppsspp
Path: blob/master/Common/GPU/GPUBackendCommon.h
Views: 1401
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