Graphics module Initial (And some more fixes embedded)

This commit is contained in:
IlushaShurupov 2023-07-23 10:51:21 +03:00
parent e81449eddf
commit 6db1406d68
23 changed files with 456 additions and 31 deletions

View file

@ -3,7 +3,7 @@
#include "Environment.hpp"
#include "Map.hpp"
#define MAX_CALL_DEPTH_CAPTURE 16
#define MAX_CALL_DEPTH_CAPTURE 128
#define MAX_CALL_CAPTURES_MEM_SIZE_MB 16
#define MAX_DEBUG_INFO_LEN 63
#define FRAMES_TO_SKIP_START 2

View file

@ -0,0 +1,19 @@
#pragma once
#include <pthread.h>
namespace tp {
class Mutex {
pthread_mutex_t mMutex {};
public:
Mutex() = default;
void lock() {
pthread_mutex_lock(&mMutex);
}
void unlock() {
pthread_mutex_unlock(&mMutex);
}
};
}