summaryrefslogtreecommitdiff
path: root/video.hpp
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2025-01-01 10:52:05 +1100
committerquou <quou@disroot.org>2025-01-01 10:52:05 +1100
commit87393ae98fa459715b0c9616b986a23650e373b6 (patch)
tree163d019f483d79d2563b97865e0b230c422c8040 /video.hpp
parent933ef51c7978c1baa414ba294a5b9b4db2cf6d4c (diff)
vram allocator debug hooks
Diffstat (limited to 'video.hpp')
-rw-r--r--video.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/video.hpp b/video.hpp
index bc57f1f..52fffea 100644
--- a/video.hpp
+++ b/video.hpp
@@ -423,6 +423,8 @@ struct Device_Debug_Hooks {
virtual void on_acquire(Context& ctx);
virtual void on_submit(Context& ctx);
virtual void on_present(Context& ctx);
+ virtual void on_page_alloc(size_t size);
+ virtual void on_vram_alloc(size_t size, size_t align);
};
struct Context;