Skip to content

Commit d8eb887

Browse files
committed
Part 1 of replacing memory menager. Delete debug stuff and dlmalloc.
1 parent e62cd89 commit d8eb887

38 files changed

+103
-8803
lines changed

src/Layers/xrRender/r__dsgraph_build.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1041,7 +1041,6 @@ void D3DXRenderBase::End()
10411041
if (HW.Caps.SceneMode)
10421042
overdrawEnd();
10431043
RCache.OnFrameEnd();
1044-
Memory.dbg_check();
10451044
DoAsyncScreenshot();
10461045
#if defined(USE_DX10) || defined(USE_DX11)
10471046
bool bUseVSync = psDeviceFlags.is(rsFullscreen) && psDeviceFlags.test(rsVSync); //xxx: weird tearing glitches when VSync turned on for windowed mode in DX10\11

src/xrCDB/xrCDB.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ void MODEL::build_internal(Fvector* V, int Vcnt, TRI* T, int Tcnt, build_callbac
140140
OPCC.Rules = SPLIT_COMPLETE | SPLIT_SPLATTERPOINTS | SPLIT_GEOMCENTER;
141141
OPCC.NoLeaf = true;
142142
OPCC.Quantized = false;
143-
// if (Memory.debug_mode) OPCC.KeepOriginal = true;
144143

145144
tree = new OPCODE_Model();
146145
if (!tree->Build(OPCC))

src/xrCore/Memory/XRayAllocator.hpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
#pragma once
22
#include "memory_allocator_options.h"
33
#include "xalloc.h"
4-
#ifdef USE_DOUG_LEA_ALLOCATOR
5-
#include "doug_lea_allocator.h"
6-
#endif
74

85
namespace XRay
96
{

src/xrCore/Memory/dlmalloc.c

Lines changed: 0 additions & 6349 deletions
This file was deleted.

0 commit comments

Comments
 (0)