|
|
@ -65,7 +65,6 @@ public:
|
|
|
|
u8* GetPointer(GPUVAddr addr);
|
|
|
|
u8* GetPointer(GPUVAddr addr);
|
|
|
|
const u8* GetPointer(GPUVAddr addr) const;
|
|
|
|
const u8* GetPointer(GPUVAddr addr) const;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
/*
|
|
|
|
* ReadBlock and WriteBlock are full read and write operations over virtual
|
|
|
|
* ReadBlock and WriteBlock are full read and write operations over virtual
|
|
|
|
* GPU Memory. It's important to use these when GPU memory may not be continous
|
|
|
|
* GPU Memory. It's important to use these when GPU memory may not be continous
|
|
|
@ -90,7 +89,6 @@ public:
|
|
|
|
void WriteBlockUnsafe(GPUVAddr dest_addr, const void* src_buffer, const std::size_t size);
|
|
|
|
void WriteBlockUnsafe(GPUVAddr dest_addr, const void* src_buffer, const std::size_t size);
|
|
|
|
void CopyBlockUnsafe(GPUVAddr dest_addr, GPUVAddr src_addr, const std::size_t size);
|
|
|
|
void CopyBlockUnsafe(GPUVAddr dest_addr, GPUVAddr src_addr, const std::size_t size);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
private:
|
|
|
|
using VMAMap = std::map<GPUVAddr, VirtualMemoryArea>;
|
|
|
|
using VMAMap = std::map<GPUVAddr, VirtualMemoryArea>;
|
|
|
|
using VMAHandle = VMAMap::const_iterator;
|
|
|
|
using VMAHandle = VMAMap::const_iterator;
|
|
|
|