Lines Matching refs:s_DeviceAllocator
36 nw::demo::DemoAllocator s_DeviceAllocator; variable
304 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics()
313 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics()
320 nw::demo::Utility::InitializeGraphicsDrawing(&s_DeviceAllocator, s_GraphicsDrawing); in InitializeGraphics()
323 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics()
330 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics()
333 .Create(&s_DeviceAllocator); in InitializeGraphics()
336 .Create(&s_DeviceAllocator); in InitializeGraphics()
502 .Create(&s_DeviceAllocator); in BuildRootNodes()
517 &s_DeviceAllocator, in BuildCameras()
536 nw::gfx::Result result = resourceSet->resource.Setup(&s_DeviceAllocator); in BuildResources()
542 nw::ut::MoveArray<nw::gfx::SceneNode*> sceneNodeArray(&s_DeviceAllocator); in BuildResources()
550 &s_DeviceAllocator, in BuildResources()
571 &s_DeviceAllocator, in BuildResources()
587 &s_DeviceAllocator, in BuildResources()
602 &s_DeviceAllocator, in BuildResources()
628 .CreateObject(&s_DeviceAllocator, &s_DeviceAllocator); in BuildResources()
648 &s_DeviceAllocator, in BuildAnimations()
671 void* slotMemory = s_DeviceAllocator.Alloc(sizeof(CallbackConstraint)); in SetupCallbackConstraint()
673 new(slotMemory) CallbackConstraint(s_Emitters.size(), &s_DeviceAllocator); in SetupCallbackConstraint()
706 void* slotMemory = s_DeviceAllocator.Alloc(sizeof(CallbackResourceBasedConstraint)); in SetupCallbackResourceBasedConstraint()
708 new(slotMemory) CallbackResourceBasedConstraint(1, &s_DeviceAllocator); in SetupCallbackResourceBasedConstraint()
755 …ResourceSet* resourceSet = nw::demo::Utility::LoadResources(s_Resources, name, &s_DeviceAllocator); in InitializeScenes()
953 nw::demo::InitializeGraphicsSystem(&s_DeviceAllocator); in nnMain()
956 nw::demo::PadFactory::Initialize(&s_DeviceAllocator); in nnMain()
958 NW_DEMO_TEST_LOOP(&s_DeviceAllocator, &s_ParticleAllocator, &s_RenderSystem) in nnMain()
962 s_FlushCache = nw::demo::FlushCache::Create(&s_DeviceAllocator); in nnMain()