Graphics module Initial (And some more fixes embedded)
This commit is contained in:
parent
98132ca2f5
commit
f52b351cac
23 changed files with 456 additions and 31 deletions
|
|
@ -1,6 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include "Module.hpp"
|
||||
#include "Multithreading.hpp"
|
||||
|
||||
namespace tp {
|
||||
|
||||
|
|
@ -9,6 +10,8 @@ namespace tp {
|
|||
#ifdef MEM_DEBUG
|
||||
static ualni mNumAllocations;
|
||||
static struct MemHead* mEntry;
|
||||
static Mutex mMutex;
|
||||
static bool mIgnore;
|
||||
#endif
|
||||
|
||||
public:
|
||||
|
|
@ -20,6 +23,9 @@ namespace tp {
|
|||
static void deallocate(void* aPtr);
|
||||
|
||||
static bool checkLeaks();
|
||||
static void startIgnore();
|
||||
static void stopIgnore();
|
||||
|
||||
public:
|
||||
[[nodiscard]] bool checkWrap() const { return false; }
|
||||
void checkValid() {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue