Update mimir, WIP implementing Arena allocation
Some checks failed
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, clang, clang++, macos-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Has been cancelled
Some checks failed
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, clang, clang++, macos-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Has been cancelled
This commit is contained in:
2
hydra
2
hydra
Submodule hydra updated: 516e143901...7e38a43301
@@ -49,6 +49,7 @@
|
||||
#include "KRDeviceManager.h"
|
||||
#include "KRDevice.h"
|
||||
#include "KRSurface.h"
|
||||
#include "arena.h"
|
||||
|
||||
class KRAudioManager;
|
||||
class KRPresentationThread;
|
||||
@@ -225,4 +226,6 @@ private:
|
||||
unordered_map<KrSurfaceMapIndex, KrSurfaceHandle> m_surfaceHandleMap;
|
||||
|
||||
virtual bool getShaderValue(const KRCamera* camera, ShaderValue value, float* output) const;
|
||||
|
||||
mimir::Arena m_frameAllocators[KRENGINE_MAX_FRAMES_IN_FLIGHT];
|
||||
};
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
#pragma once
|
||||
|
||||
#define KRENGINE_MAX_GPU_COUNT 4
|
||||
#define KRENGINE_MAX_FRAMES_IN_FLIGHT 2
|
||||
#define KRENGINE_MAX_FRAMES_IN_FLIGHT 3
|
||||
#define KRENGINE_DEBUG_GPU_LABELS 1
|
||||
#define KRENGINE_DEBUG_GPU_LABEL_MAX_LEN 128
|
||||
|
||||
|
||||
@@ -486,7 +486,7 @@ void KRCamera::renderPost(RenderInfo& ri)
|
||||
void KRCamera::renderDebug(RenderInfo& ri)
|
||||
{
|
||||
|
||||
settings.m_debug_text = std::format("Frame Number {}", getContext().getCurrentFrame()); // FNIDME!! KIPG!! HACK!! Debug text debugging...
|
||||
// settings.m_debug_text = std::format("Frame Number {}", getContext().getCurrentFrame()); // FINDME!! KIPG!! HACK!! Debug text debugging...
|
||||
|
||||
const char* szText = settings.m_debug_text.c_str();
|
||||
if (*szText == '\0') {
|
||||
|
||||
@@ -45,6 +45,8 @@
|
||||
#include "nodes/KRBone.h"
|
||||
#include "KRShaderReflection.h"
|
||||
|
||||
#include <limits>
|
||||
|
||||
enum class CullMode : __uint32_t;
|
||||
enum class ModelFormat : __uint8_t;
|
||||
enum class Topology : __uint8_t;
|
||||
|
||||
2
mimir
2
mimir
Submodule mimir updated: da5f3ec981...7dd0eb961a
Reference in New Issue
Block a user