From 87393ae98fa459715b0c9616b986a23650e373b6 Mon Sep 17 00:00:00 2001 From: quou Date: Wed, 1 Jan 2025 10:52:05 +1100 Subject: vram allocator debug hooks --- video.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'video.hpp') 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; -- cgit v1.2.3-54-g00ecf