Home
last modified time | relevance | path

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

12

/NW4C-1.2.23/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.2.23/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.2.23/demos/Nw4cDemo/sources/
DSmSceneCtrl.cpp69 .MaxSceneNodes( 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 ); in CreateParticle()
465 LoadResources( &resSet, resourcePath, m_Allocator, m_DeviceAllocator ); in CreateSceneEnvironment()
[all …]
DSmRenderSystem.cpp148 .Create( m_Allocator ); in SmRenderSystem()
157 .Create(m_Allocator); in SmRenderSystem()
162 .Create(m_Allocator); in SmRenderSystem()
174 .Create( m_Allocator ); in SmRenderSystem()
177 void* cameraMemory = m_Allocator->Alloc(sizeof(nn::ulcd::CTR::StereoCamera)); in SmRenderSystem()
194 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.2.23/include/nw/gfx/
Dgfx_Fog.h185 ResFogDataDestroyer(os::IAllocator* allocator = 0) : m_Allocator(allocator) in m_Allocator() function
189 DestroyResFog(m_Allocator, data); in operator()
192 os::IAllocator* m_Allocator; member
197 ResFogUpdaterDataDestroyer(os::IAllocator* allocator = 0) : m_Allocator(allocator) in m_Allocator() function
201 DestroyResFogUpdater(m_Allocator, data); in operator()
204 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.h150 ResAmbientLightDataDestroyer(os::IAllocator* allocator = 0) : m_Allocator(allocator) in m_Allocator() function
154 DestroyResAmbientLight(m_Allocator, data); in operator()
157 os::IAllocator* m_Allocator; member
Dgfx_HemiSphereLight.h151 ResHemiSphereLightDataDestroyer(os::IAllocator* allocator = 0) : m_Allocator(allocator) in m_Allocator() function
155 DestroyResHemiSphereLight(m_Allocator, data); in operator()
158 os::IAllocator* m_Allocator; member
Dgfx_FragmentLight.h193 ResFragmentLightDataDestroyer(os::IAllocator* allocator = 0) : m_Allocator(allocator) in m_Allocator() function
197 DestroyResFragmentLight(m_Allocator, data); in operator()
200 os::IAllocator* m_Allocator; member
Dgfx_VertexLight.h192 ResVertexLightDataDestroyer(os::IAllocator* allocator = 0) : m_Allocator(allocator) in m_Allocator() function
196 DestroyResVertexLight(m_Allocator, data); in operator()
199 os::IAllocator* m_Allocator; member
Dgfx_Material.h273 ResMaterialDestroyer(os::IAllocator* allocator = 0) : m_Allocator(allocator) in m_Allocator() function
277 DestroyResMaterial(m_Allocator, data); in operator()
280 os::IAllocator* m_Allocator; member
/NW4C-1.2.23/include/nw/ut/
Dut_MoveArray.h108 : m_Allocator(NULL), in MoveArray()
135 : m_Allocator(allocator), in m_Allocator() function
159 : m_Allocator(allocator) in m_Allocator() function
188 : m_Allocator(allocator), in MoveArray()
204 : m_Allocator(array.m_Allocator), in MoveArray()
217 if (m_Allocator && m_Elements) in ~MoveArray()
219 m_Allocator->Free(m_Elements); in ~MoveArray()
303 if (m_Allocator && m_Elements)
305 m_Allocator->Free(m_Elements);
310 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.2.23/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); }
289 return CreateAndConnect(function, this->m_Allocator);
399 : m_Allocator(allocator), m_Slots(elements, maxSlots, allocator) {}
402 : m_Allocator(allocator), m_Slots(allocator) {}
407 explicit Signal0(AllocatorType* allocator) : m_Allocator(allocator), m_Slot(NULL) {}
412 AllocatorType* m_Allocator;
439 explicit Slot1(AllocatorType* allocator) : m_Allocator(allocator) {}
[all …]
/NW4C-1.2.23/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()
451 : m_Allocator(allocator), in AutoTester()
463 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.2.23/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.2.23/include/nw/demo/
Ddemo_Utility.h758 nw::os::IAllocator* allocator = m_Allocator; in Destroy()
777 m_Allocator = allocator; in FlushCache()
780 if (m_Allocator != NULL) in FlushCache()
782 m_Buffer = (u8*)m_Allocator->Alloc(BufferSize); in FlushCache()
792 m_Allocator->Free(m_Buffer); in ~FlushCache()
798 nw::demo::DemoAllocator* m_Allocator; variable

12