Skip to content

Commit

Permalink
Part 1 of replacing memory menager. Delete debug stuff and dlmalloc.
Browse files Browse the repository at this point in the history
  • Loading branch information
intorr committed Jan 28, 2018
1 parent e62cd89 commit d8eb887
Show file tree
Hide file tree
Showing 38 changed files with 103 additions and 8,803 deletions.
1 change: 0 additions & 1 deletion src/Layers/xrRender/r__dsgraph_build.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1041,7 +1041,6 @@ void D3DXRenderBase::End()
if (HW.Caps.SceneMode)
overdrawEnd();
RCache.OnFrameEnd();
Memory.dbg_check();
DoAsyncScreenshot();
#if defined(USE_DX10) || defined(USE_DX11)
bool bUseVSync = psDeviceFlags.is(rsFullscreen) && psDeviceFlags.test(rsVSync); //xxx: weird tearing glitches when VSync turned on for windowed mode in DX10\11
Expand Down
1 change: 0 additions & 1 deletion src/xrCDB/xrCDB.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ void MODEL::build_internal(Fvector* V, int Vcnt, TRI* T, int Tcnt, build_callbac
OPCC.Rules = SPLIT_COMPLETE | SPLIT_SPLATTERPOINTS | SPLIT_GEOMCENTER;
OPCC.NoLeaf = true;
OPCC.Quantized = false;
// if (Memory.debug_mode) OPCC.KeepOriginal = true;

tree = new OPCODE_Model();
if (!tree->Build(OPCC))
Expand Down
3 changes: 0 additions & 3 deletions src/xrCore/Memory/XRayAllocator.hpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
#pragma once
#include "memory_allocator_options.h"
#include "xalloc.h"
#ifdef USE_DOUG_LEA_ALLOCATOR
#include "doug_lea_allocator.h"
#endif

namespace XRay
{
Expand Down
6,349 changes: 0 additions & 6,349 deletions src/xrCore/Memory/dlmalloc.c

This file was deleted.

Loading

0 comments on commit d8eb887

Please sign in to comment.