Lines Matching refs:s_DeviceAllocator

115 nw::demo::DemoAllocator s_DeviceAllocator;  variable
193 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics()
202 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics()
209 …bool result = s_GraphicsDrawing.InitializeFont(&s_DeviceAllocator, FONT_SHADER_FILE_NAME, FONT_FIL… in InitializeGraphics()
214 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics()
222 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics()
260 .Create(&s_DeviceAllocator); in BuildRootNodes()
265 .Create(&s_DeviceAllocator); in BuildRootNodes()
280 &s_DeviceAllocator, in BuildCameras()
300 nw::gfx::Result result = resourceSet->resource.Setup(&s_DeviceAllocator); in BuildResources()
306 result = resourceSet->resource.Setup(&s_DeviceAllocator, s_LutResource.resource); in BuildResources()
315 nw::ut::MoveArray<nw::gfx::SceneNode*> sceneNodeArray(SCENE_NODE_COUNT, &s_DeviceAllocator); in BuildResources()
323 &s_DeviceAllocator, in BuildResources()
362 &s_DeviceAllocator, in BuildResources()
388 &s_DeviceAllocator, in BuildResources()
412 .CreateObject(&s_DeviceAllocator, &s_DeviceAllocator); in BuildResources()
429 s_LutResource.buffer = nw::demo::Utility::LoadFile(&s_DeviceAllocator , LUT_RESOURCE_FILE); in InitializeScenes()
432 s_LutResource.resource.Setup(&s_DeviceAllocator); in InitializeScenes()
435 … s_TextureResource.buffer = nw::demo::Utility::LoadFile(&s_DeviceAllocator, TEXTURE_RESOURCE_FILE); in InitializeScenes()
439 s_TextureResource.resource.Setup(&s_DeviceAllocator); in InitializeScenes()
449 BuildResources(nw::demo::Utility::LoadResources(s_Resources, name, &s_DeviceAllocator)); in InitializeScenes()
465 …void* startMaterialChangeCommandMemory = s_DeviceAllocator.Alloc(sizeof(StartMaterialChangeRenderC… in InitializeScenes()
470 …void* endMaterialChangeCommandMemory = s_DeviceAllocator.Alloc(sizeof(EndMaterialChangeRenderComma… in InitializeScenes()
486 s_DeviceAllocator.Free(s_EndMaterialChangeRenderCommand); in TerminateScenes()
488 s_DeviceAllocator.Free(s_StartMaterialChangeRenderCommand); in TerminateScenes()
731 nw::demo::InitializeGraphicsSystem(&s_DeviceAllocator); in nnMain()
733 nw::demo::PadFactory::Initialize(&s_DeviceAllocator); in nnMain()
735 NW_DEMO_TEST_LOOP(&s_DeviceAllocator, NULL, &s_RenderSystem) in nnMain()