Home
last modified time | relevance | path

Searched refs:m_Allocator (Results 1 – 25 of 46) sorted by relevance

12

/NW4C-2.0.3/demos/Nw4cDemo/include/
DSmFile.h34 m_Allocator( NULL ){} in m_Buffer()
51 m_Allocator = allocator; in Read()
60 this->m_Buffer = static_cast<u8*>(m_Allocator->Alloc(this->m_Size, 128)); in Read()
90 m_Allocator->Free( m_Buffer ); in Release()
99 nw::os::IAllocator* m_Allocator; variable
DSmBase.h36 m_Allocator = allocator; in SetAllocator()
41 static nw::os::IAllocator* m_Allocator;
/NW4C-2.0.3/sources/libraries/dev/
Ddev_CallbackChain.cpp40 m_Allocator( allocator ) in CallbackChain()
43 NW_NULL_ASSERT( m_Allocator ); in CallbackChain()
52 m_MicroSecArray = static_cast<s64*>( m_Allocator->Alloc( sizeof(s64) * m_MaxRequestCount ) ); in CallbackChain()
60 m_Allocator->Free( m_MicroSecArray ); in ~CallbackChain()
71 if (m_Allocator != NULL) in Destroy()
75 m_Allocator->Free(memory); in Destroy()
Ddev_Screenshot.cpp58 if (this->m_Allocator) in ~Screenshot()
62 (this->m_Allocator)->Free(this->m_CopyScreen); in ~Screenshot()
67 (this->m_Allocator)->Free(this->m_Hash); in ~Screenshot()
148 : m_Allocator(allocator), in ScreenshotManager()
224 m_Allocator->Free(screenshot); in ClearScreenshots()
/NW4C-2.0.3/demos/Nw4cDemo/sources/
DSmSceneCtrl.cpp71 .MaxSceneNodes( 128 ).MaxModels(128).Create( m_Allocator ); in SmSceneCtrl()
74 .Create( m_Allocator ); in SmSceneCtrl()
77 .Create( m_Allocator ); in SmSceneCtrl()
80 .Create( m_Allocator ); in SmSceneCtrl()
85 .Create( m_Allocator ); in SmSceneCtrl()
91 .Create(m_Allocator); in SmSceneCtrl()
95 .Create( m_Allocator ); in SmSceneCtrl()
98 nw::gfx::CreatePriorMaterialRenderKeyFactory( m_Allocator ); in SmSceneCtrl()
101 nw::gfx::CreatePriorDepthReverseDepthRenderKeyFactory( m_Allocator ); in SmSceneCtrl()
105 .Create( m_Allocator ); in SmSceneCtrl()
[all …]
DGfxCtrl.cpp90 .Create(m_Allocator); in GfxCtrl()
99 .Create( m_Allocator ); in GfxCtrl()
103 .Create( m_Allocator ); in GfxCtrl()
200 LoadResources( &resSet, resourcePath, m_Allocator, m_DeviceAllocator, vramType ); in CreateModel()
217 nw::ut::MoveArray<nw::gfx::SceneNode*> sceneNodeArray(m_Allocator); in CreateModel()
261 .Create(m_Allocator); in CreateModel()
292 .Create(m_Allocator); in CreateModel()
351 nw::ut::MoveArray<nw::gfx::SceneNode*> sceneNodeArray(m_Allocator); in CreateParticle()
354 LoadResources( &resSet, resourcePath, m_Allocator, m_DeviceAllocator, vramType ); in CreateParticle()
467 LoadResources( &resSet, resourcePath, m_Allocator, m_DeviceAllocator ); in CreateSceneEnvironment()
[all …]
DSmRenderSystem.cpp141 .Create( m_Allocator ); in SmRenderSystem()
150 .Create(m_Allocator); in SmRenderSystem()
155 .Create(m_Allocator); in SmRenderSystem()
167 .Create( m_Allocator ); in SmRenderSystem()
170 void* cameraMemory = m_Allocator->Alloc(sizeof(nn::ulcd::CTR::StereoCamera)); in SmRenderSystem()
187 m_Allocator->Free(m_StereoCamera); in ~SmRenderSystem()
DSmCommandUtility.cpp113 cmdCacheCopied.cmdBuff = m_Allocator->Alloc( copiedBuffSize ); in CreateCopiedCmdCache()
137 nw::os::SafeFree( cmdCacheCopied.cmdBuff, m_Allocator ); in DestroyCopiedCmdCache()
DSmPrimitive.cpp85 if ( !m_ShaderFile.Read( shaderName, m_Allocator ) ) in SmOgl()
246 NW_NULL_ASSERT( m_Allocator ); in Sm2DPrimPC()
250 m_pVertex = static_cast<SmVertexPC*>(m_Allocator->Alloc( sizeof( SmVertexPC ) * m_VertexCnt )); in Sm2DPrimPC()
260 nw::os::SafeFree( m_pVertex, m_Allocator ); in ~Sm2DPrimPC()
DSmBase.cpp22 nw::os::IAllocator* SmBase::m_Allocator = NULL; member in SmBase
/NW4C-2.0.3/include/nw/ut/
Dut_MoveArray.h123 : m_Allocator(NULL), in MoveArray()
151 : m_Allocator(allocator), in m_Allocator() function
178 : m_Allocator(allocator) in m_Allocator() function
207 : m_Allocator(allocator), in MoveArray()
223 : m_Allocator(array.m_Allocator), in MoveArray()
236 if (m_Allocator && m_Elements) in ~MoveArray()
238 m_Allocator->Free(m_Elements); in ~MoveArray()
320 if (m_Allocator && m_Elements)
322 m_Allocator->Free(m_Elements);
327 m_Allocator = allocator;
[all …]
Dut_Children.h40 ChildDeleter() : m_Allocator(0) {} in ChildDeleter()
41 ChildDeleter(os::IAllocator* allocator) : m_Allocator(allocator) { } in ChildDeleter()
46 if (m_Allocator) in operator()
48 m_Allocator->Free(child); in operator()
52 os::IAllocator* m_Allocator; variable
Dut_MovePtr.h52 : m_Allocator(0) in MovePtrDeleterBase()
61 : m_Allocator(allocator) in MovePtrDeleterBase()
71 if (m_Allocator) in operator()
73 m_Allocator->Free(memory); in operator()
78 os::IAllocator* m_Allocator; variable
217 MovePtrDefaultDeleter(os::IAllocator* allocator = 0) { this->m_Allocator = allocator; }
/NW4C-2.0.3/include/nw/gfx/
Dgfx_Fog.h241 ResFogDataDestroyer(os::IAllocator* allocator = 0) : m_Allocator(allocator) in m_Allocator() function
245 DestroyResFog(m_Allocator, data); in operator()
248 os::IAllocator* m_Allocator; member
253 ResFogUpdaterDataDestroyer(os::IAllocator* allocator = 0) : m_Allocator(allocator) in m_Allocator() function
257 DestroyResFogUpdater(m_Allocator, data); in operator()
260 os::IAllocator* m_Allocator; member
Dgfx_GfxObject.h46 void Destroy() { this->~GfxObject(); m_Allocator.Free( this ); } in Destroy()
81 : m_Allocator( *allocator ) in GfxObject()
100 nw::os::IAllocator& GetAllocator() { return m_Allocator; } in GetAllocator()
105 nw::os::IAllocator& m_Allocator;
Dgfx_AmbientLight.h184 ResAmbientLightDataDestroyer(os::IAllocator* allocator = 0) : m_Allocator(allocator) in m_Allocator() function
188 DestroyResAmbientLight(m_Allocator, data); in operator()
191 os::IAllocator* m_Allocator; member
Dgfx_HemiSphereLight.h185 ResHemiSphereLightDataDestroyer(os::IAllocator* allocator = 0) : m_Allocator(allocator) in m_Allocator() function
189 DestroyResHemiSphereLight(m_Allocator, data); in operator()
192 os::IAllocator* m_Allocator; member
Dgfx_VertexLight.h226 ResVertexLightDataDestroyer(os::IAllocator* allocator = 0) : m_Allocator(allocator) in m_Allocator() function
230 DestroyResVertexLight(m_Allocator, data); in operator()
233 os::IAllocator* m_Allocator; member
Dgfx_FragmentLight.h265 : m_Allocator(allocator) in m_Allocator() function
269 DestroyResFragmentLight(m_Allocator, data); in operator()
272 os::IAllocator* m_Allocator; member
Dgfx_Material.h276 ResMaterialDestroyer(os::IAllocator* allocator = 0) : m_Allocator(allocator) in m_Allocator() function
280 DestroyResMaterial(m_Allocator, data); in operator()
283 os::IAllocator* m_Allocator; member
/NW4C-2.0.3/include/nw/ut/generated/
Dut_Signal.hi35 explicit Slot0(AllocatorType* allocator) : m_Allocator(allocator) {}
59 AllocatorType* GetAllocator() { return m_Allocator; }
66 AllocatorType* m_Allocator;
213 void Destroy() { this->~Signal0(); this->m_Allocator->Free(this); }
314 return CreateAndConnect(function, this->m_Allocator);
424 : m_Allocator(allocator), m_Slots(elements, maxSlots, allocator) {}
427 : m_Allocator(allocator), m_Slots(allocator) {}
432 explicit Signal0(AllocatorType* allocator) : m_Allocator(allocator), m_Slot(NULL) {}
437 AllocatorType* m_Allocator;
464 explicit Slot1(AllocatorType* allocator) : m_Allocator(allocator) {}
[all …]
/NW4C-2.0.3/sources/libraries/demo/
Ddemo_AutoTester.cpp63 .Create(m_Allocator, m_DeviceAllocator); in Initialize()
86 m_Scenario = nw::ut::MoveArray<TestEvent>(testInfoHeader.eventCount, m_Allocator); in Initialize()
111 m_Scenario = nw::ut::MoveArray<TestEvent>(2, m_Allocator); in Initialize()
149 m_Allocator, in Initialize()
177 nw::os::IAllocator* allocator = m_Allocator; in Destroy()
484 : m_Allocator(allocator), in AutoTester()
496 m_ScreenshotManager->Destroy(m_Allocator); in ~AutoTester()
Ddemo_Pad.cpp35 pad->m_Allocator = allocator; in Create()
44 os::IAllocator* allocator = this->m_Allocator; in Destroy()
/NW4C-2.0.3/include/nw/dev/
Ddev_Screenshot.h154 : m_Allocator(allocator), in Screenshot()
166 nw::os::IAllocator* m_Allocator; variable
248 nw::os::IAllocator* m_Allocator; variable
/NW4C-2.0.3/include/nw/demo/
Ddemo_Utility.h801 nw::os::IAllocator* allocator = m_Allocator; in Destroy()
820 m_Allocator = allocator; in FlushCache()
823 if (m_Allocator != NULL) in FlushCache()
825 m_Buffer = (u8*)m_Allocator->Alloc(BufferSize); in FlushCache()
835 m_Allocator->Free(m_Buffer); in ~FlushCache()
841 nw::demo::DemoAllocator* m_Allocator; variable

12