Lines Matching refs:s_DeviceAllocator
36 nw::demo::DemoAllocator s_DeviceAllocator; variable
249 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics()
258 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics()
265 …bool result = s_GraphicsDrawing.InitializeFont(&s_DeviceAllocator, FONT_SHADER_FILE_NAME, FONT_FIL… in InitializeGraphics()
270 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics()
277 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics()
280 .Create(&s_DeviceAllocator); in InitializeGraphics()
283 .Create(&s_DeviceAllocator); in InitializeGraphics()
449 .Create(&s_DeviceAllocator); in BuildRootNodes()
464 &s_DeviceAllocator, in BuildCameras()
483 nw::gfx::Result result = resourceSet->resource.Setup(&s_DeviceAllocator); in BuildResources()
489 nw::ut::MoveArray<nw::gfx::SceneNode*> sceneNodeArray(&s_DeviceAllocator); in BuildResources()
497 &s_DeviceAllocator, in BuildResources()
518 &s_DeviceAllocator, in BuildResources()
534 &s_DeviceAllocator, in BuildResources()
549 &s_DeviceAllocator, in BuildResources()
575 .CreateObject(&s_DeviceAllocator, &s_DeviceAllocator); in BuildResources()
595 &s_DeviceAllocator, in BuildAnimations()
618 void* slotMemory = s_DeviceAllocator.Alloc(sizeof(CallbackConstraint)); in SetupCallbackConstraint()
620 new(slotMemory) CallbackConstraint(s_Emitters.size(), &s_DeviceAllocator); in SetupCallbackConstraint()
664 …ResourceSet* resourceSet = nw::demo::Utility::LoadResources(s_Resources, name, &s_DeviceAllocator); in InitializeScenes()
852 nw::demo::InitializeGraphicsSystem(&s_DeviceAllocator); in nnMain()
855 nw::demo::PadFactory::Initialize(&s_DeviceAllocator); in nnMain()
857 NW_DEMO_TEST_LOOP(&s_DeviceAllocator, &s_ParticleAllocator, &s_RenderSystem) in nnMain()
861 s_FlushCache = nw::demo::FlushCache::Create(&s_DeviceAllocator); in nnMain()