Lines Matching refs:s_DeviceAllocator
46 nw::demo::DemoAllocator s_DeviceAllocator; variable
134 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics()
143 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics()
150 nw::demo::Utility::InitializeGraphicsDrawing(&s_DeviceAllocator, s_GraphicsDrawing); in InitializeGraphics()
153 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics()
165 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics()
203 .Create(&s_DeviceAllocator); in BuildRootNodes()
209 .Create(&s_DeviceAllocator); in BuildRootNodes()
224 &s_DeviceAllocator, in BuildCameras()
244 nw::gfx::Result result = resourceSet->resource.Setup(&s_DeviceAllocator); in BuildResources()
250 nw::ut::MoveArray<nw::gfx::SceneNode*> sceneNodeArray(&s_DeviceAllocator); in BuildResources()
265 &s_DeviceAllocator, in BuildResources()
289 .CreateObject(&s_DeviceAllocator, &s_DeviceAllocator); in BuildResources()
312 void* memory = s_DeviceAllocator.Alloc(memorySize); in BuildLattices()
317 allocator = &s_DeviceAllocator; in BuildLattices()
376 s_DeviceAllocator.Free(memory); in DestroyLattices()
465 BuildResources(nw::demo::Utility::LoadResources(s_Resources, name, &s_DeviceAllocator)); in InitializeScenes()
631 nw::demo::InitializeGraphicsSystem(&s_DeviceAllocator); in nnMain()
633 nw::demo::PadFactory::Initialize(&s_DeviceAllocator); in nnMain()
635 NW_DEMO_TEST_LOOP(&s_DeviceAllocator, NULL, &s_RenderSystem) in nnMain()