Home
last modified time | relevance | path

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

12

/NW4C-1.3.3/demos/Nw4cDemo/include/
DSmFile.h32 m_Allocator( NULL ){} in m_Buffer()
49 m_Allocator = allocator; in Read()
58 this->m_Buffer = static_cast<u8*>(m_Allocator->Alloc(this->m_Size, 128)); in Read()
88 m_Allocator->Free( m_Buffer ); in Release()
97 nw::os::IAllocator* m_Allocator; variable
DSmBase.h34 m_Allocator = allocator; in SetAllocator()
39 static nw::os::IAllocator* m_Allocator;
/NW4C-1.3.3/sources/libraries/dev/
Ddev_CallbackChain.cpp38 m_Allocator( allocator ) in CallbackChain()
41 NW_NULL_ASSERT( m_Allocator ); in CallbackChain()
50 m_MicroSecArray = static_cast<s64*>( m_Allocator->Alloc( sizeof(s64) * m_MaxRequestCount ) ); in CallbackChain()
58 m_Allocator->Free( m_MicroSecArray ); in ~CallbackChain()
69 if (m_Allocator != NULL) in Destroy()
73 m_Allocator->Free(memory); in Destroy()
Ddev_Screenshot.cpp56 if (this->m_Allocator) in ~Screenshot()
60 (this->m_Allocator)->Free(this->m_CopyScreen); in ~Screenshot()
65 (this->m_Allocator)->Free(this->m_Hash); in ~Screenshot()
146 : m_Allocator(allocator), in ScreenshotManager()
222 m_Allocator->Free(screenshot); in ClearScreenshots()
/NW4C-1.3.3/demos/Nw4cDemo/sources/
DSmSceneCtrl.cpp69 .MaxSceneNodes( 128 ).MaxModels(128).Create( m_Allocator ); in SmSceneCtrl()
72 .Create( m_Allocator ); in SmSceneCtrl()
75 .Create( m_Allocator ); in SmSceneCtrl()
78 .Create( m_Allocator ); in SmSceneCtrl()
83 .Create( m_Allocator ); in SmSceneCtrl()
89 .Create(m_Allocator); in SmSceneCtrl()
93 .Create( m_Allocator ); in SmSceneCtrl()
96 nw::gfx::CreatePriorMaterialRenderKeyFactory( m_Allocator ); in SmSceneCtrl()
99 nw::gfx::CreatePriorDepthReverseDepthRenderKeyFactory( m_Allocator ); in SmSceneCtrl()
103 .Create( m_Allocator ); in SmSceneCtrl()
[all …]
DGfxCtrl.cpp88 .Create(m_Allocator); in GfxCtrl()
97 .Create( m_Allocator ); in GfxCtrl()
101 .Create( m_Allocator ); in GfxCtrl()
198 LoadResources( &resSet, resourcePath, m_Allocator, m_DeviceAllocator, vramType ); in CreateModel()
215 nw::ut::MoveArray<nw::gfx::SceneNode*> sceneNodeArray(m_Allocator); in CreateModel()
259 .Create(m_Allocator); in CreateModel()
290 .Create(m_Allocator); in CreateModel()
349 nw::ut::MoveArray<nw::gfx::SceneNode*> sceneNodeArray(m_Allocator); in CreateParticle()
352 LoadResources( &resSet, resourcePath, m_Allocator, m_DeviceAllocator, vramType ); in CreateParticle()
465 LoadResources( &resSet, resourcePath, m_Allocator, m_DeviceAllocator ); in CreateSceneEnvironment()
[all …]
DSmRenderSystem.cpp139 .Create( m_Allocator ); in SmRenderSystem()
148 .Create(m_Allocator); in SmRenderSystem()
153 .Create(m_Allocator); in SmRenderSystem()
165 .Create( m_Allocator ); in SmRenderSystem()
168 void* cameraMemory = m_Allocator->Alloc(sizeof(nn::ulcd::CTR::StereoCamera)); in SmRenderSystem()
185 m_Allocator->Free(m_StereoCamera); in ~SmRenderSystem()
DSmCommandUtility.cpp111 cmdCacheCopied.cmdBuff = m_Allocator->Alloc( copiedBuffSize ); in CreateCopiedCmdCache()
135 nw::os::SafeFree( cmdCacheCopied.cmdBuff, m_Allocator ); in DestroyCopiedCmdCache()
DSmPrimitive.cpp83 if ( !m_ShaderFile.Read( shaderName, m_Allocator ) ) in SmOgl()
244 NW_NULL_ASSERT( m_Allocator ); in Sm2DPrimPC()
248 m_pVertex = static_cast<SmVertexPC*>(m_Allocator->Alloc( sizeof( SmVertexPC ) * m_VertexCnt )); in Sm2DPrimPC()
258 nw::os::SafeFree( m_pVertex, m_Allocator ); in ~Sm2DPrimPC()
DSmBase.cpp20 nw::os::IAllocator* SmBase::m_Allocator = NULL; member in SmBase
/NW4C-1.3.3/include/nw/ut/
Dut_MoveArray.h121 : m_Allocator(NULL), in MoveArray()
149 : m_Allocator(allocator), in m_Allocator() function
176 : m_Allocator(allocator) in m_Allocator() function
205 : m_Allocator(allocator), in MoveArray()
221 : m_Allocator(array.m_Allocator), in MoveArray()
234 if (m_Allocator && m_Elements) in ~MoveArray()
236 m_Allocator->Free(m_Elements); in ~MoveArray()
318 if (m_Allocator && m_Elements)
320 m_Allocator->Free(m_Elements);
325 m_Allocator = allocator;
[all …]
Dut_Children.h38 ChildDeleter() : m_Allocator(0) {} in ChildDeleter()
39 ChildDeleter(os::IAllocator* allocator) : m_Allocator(allocator) { } in ChildDeleter()
44 if (m_Allocator) in operator()
46 m_Allocator->Free(child); in operator()
50 os::IAllocator* m_Allocator; variable
Dut_MovePtr.h50 : m_Allocator(0) in MovePtrDeleterBase()
59 : m_Allocator(allocator) in MovePtrDeleterBase()
69 if (m_Allocator) in operator()
71 m_Allocator->Free(memory); in operator()
76 os::IAllocator* m_Allocator; variable
215 MovePtrDefaultDeleter(os::IAllocator* allocator = 0) { this->m_Allocator = allocator; }
/NW4C-1.3.3/include/nw/gfx/
Dgfx_Fog.h239 ResFogDataDestroyer(os::IAllocator* allocator = 0) : m_Allocator(allocator) in m_Allocator() function
243 DestroyResFog(m_Allocator, data); in operator()
246 os::IAllocator* m_Allocator; member
251 ResFogUpdaterDataDestroyer(os::IAllocator* allocator = 0) : m_Allocator(allocator) in m_Allocator() function
255 DestroyResFogUpdater(m_Allocator, data); in operator()
258 os::IAllocator* m_Allocator; member
Dgfx_GfxObject.h44 void Destroy() { this->~GfxObject(); m_Allocator.Free( this ); } in Destroy()
79 : m_Allocator( *allocator ) in GfxObject()
98 nw::os::IAllocator& GetAllocator() { return m_Allocator; } in GetAllocator()
103 nw::os::IAllocator& m_Allocator;
Dgfx_AmbientLight.h182 ResAmbientLightDataDestroyer(os::IAllocator* allocator = 0) : m_Allocator(allocator) in m_Allocator() function
186 DestroyResAmbientLight(m_Allocator, data); in operator()
189 os::IAllocator* m_Allocator; member
Dgfx_HemiSphereLight.h183 ResHemiSphereLightDataDestroyer(os::IAllocator* allocator = 0) : m_Allocator(allocator) in m_Allocator() function
187 DestroyResHemiSphereLight(m_Allocator, data); in operator()
190 os::IAllocator* m_Allocator; member
Dgfx_VertexLight.h224 ResVertexLightDataDestroyer(os::IAllocator* allocator = 0) : m_Allocator(allocator) in m_Allocator() function
228 DestroyResVertexLight(m_Allocator, data); in operator()
231 os::IAllocator* m_Allocator; member
Dgfx_FragmentLight.h225 ResFragmentLightDataDestroyer(os::IAllocator* allocator = 0) : m_Allocator(allocator) in m_Allocator() function
229 DestroyResFragmentLight(m_Allocator, data); in operator()
232 os::IAllocator* m_Allocator; member
Dgfx_Material.h274 ResMaterialDestroyer(os::IAllocator* allocator = 0) : m_Allocator(allocator) in m_Allocator() function
278 DestroyResMaterial(m_Allocator, data); in operator()
281 os::IAllocator* m_Allocator; member
/NW4C-1.3.3/include/nw/ut/generated/
Dut_Signal.hi33 explicit Slot0(AllocatorType* allocator) : m_Allocator(allocator) {}
57 AllocatorType* GetAllocator() { return m_Allocator; }
64 AllocatorType* m_Allocator;
211 void Destroy() { this->~Signal0(); this->m_Allocator->Free(this); }
312 return CreateAndConnect(function, this->m_Allocator);
422 : m_Allocator(allocator), m_Slots(elements, maxSlots, allocator) {}
425 : m_Allocator(allocator), m_Slots(allocator) {}
430 explicit Signal0(AllocatorType* allocator) : m_Allocator(allocator), m_Slot(NULL) {}
435 AllocatorType* m_Allocator;
462 explicit Slot1(AllocatorType* allocator) : m_Allocator(allocator) {}
[all …]
/NW4C-1.3.3/sources/libraries/demo/
Ddemo_AutoTester.cpp61 .Create(m_Allocator, m_DeviceAllocator); in Initialize()
84 m_Scenario = nw::ut::MoveArray<TestEvent>(testInfoHeader.eventCount, m_Allocator); in Initialize()
109 m_Scenario = nw::ut::MoveArray<TestEvent>(2, m_Allocator); in Initialize()
147 m_Allocator, in Initialize()
175 nw::os::IAllocator* allocator = m_Allocator; in Destroy()
482 : m_Allocator(allocator), in AutoTester()
494 m_ScreenshotManager->Destroy(m_Allocator); in ~AutoTester()
Ddemo_Pad.cpp33 pad->m_Allocator = allocator; in Create()
42 os::IAllocator* allocator = this->m_Allocator; in Destroy()
/NW4C-1.3.3/include/nw/dev/
Ddev_Screenshot.h152 : m_Allocator(allocator), in Screenshot()
164 nw::os::IAllocator* m_Allocator; variable
246 nw::os::IAllocator* m_Allocator; variable
/NW4C-1.3.3/include/nw/demo/
Ddemo_Utility.h799 nw::os::IAllocator* allocator = m_Allocator; in Destroy()
818 m_Allocator = allocator; in FlushCache()
821 if (m_Allocator != NULL) in FlushCache()
823 m_Buffer = (u8*)m_Allocator->Alloc(BufferSize); in FlushCache()
833 m_Allocator->Free(m_Buffer); in ~FlushCache()
839 nw::demo::DemoAllocator* m_Allocator; variable

12