Added shader state; WIP kernel objects

This commit is contained in:
Hamish Milne
2019-08-11 00:20:09 +01:00
committed by zhupengfei
parent 45788b9c82
commit f79c9668a3
33 changed files with 576 additions and 68 deletions

View File

@ -60,6 +60,17 @@ struct MemoryRegionInfo {
* @param size the size of the region to free.
*/
void Free(u32 offset, u32 size);
private:
friend class boost::serialization::access;
template <class Archive>
void serialize(Archive& ar, const unsigned int file_version)
{
ar & base;
ar & size;
ar & used;
// TODO: boost icl / free_blocks
}
};
} // namespace Kernel