Lines Matching refs:s_DeviceAllocator
279 nw::demo::DemoAllocator s_DeviceAllocator; variable
348 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics()
357 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics()
364 nw::demo::Utility::InitializeGraphicsDrawing(&s_DeviceAllocator, s_GraphicsDrawing); in InitializeGraphics()
367 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics()
382 .Create(&s_DeviceAllocator); in InitializeGraphics()
383 s_ShadowTexture.Setup(&s_DeviceAllocator, nw::gfx::ResGraphicsFile(NULL)); in InitializeGraphics()
387 nw::gfx::IRenderTarget::CreateOffScreenBuffer(&s_DeviceAllocator, s_ShadowTexture); in InitializeGraphics()
396 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics()
450 …urceSet* resourceSet = nw::demo::Utility::LoadResources(s_Resources, filePath, &s_DeviceAllocator); in CreateTransformAnimEvaluator()
471 .Create(&s_DeviceAllocator); in CreateTransformAnimEvaluator()
539 .Create(&s_DeviceAllocator); in BuildRootNodes()
545 .Create(&s_DeviceAllocator); in BuildRootNodes()
552 .Create(&s_DeviceAllocator); in BuildRootNodes()
567 &s_DeviceAllocator, in BuildCameras()
583 &s_DeviceAllocator, in BuildCameras()
596 &s_DeviceAllocator, in BuildCameras()
610 &s_DeviceAllocator, in BuildCameras()
657 nw::gfx::Result result = resourceSet->resource.Setup(&s_DeviceAllocator); in BuildResources()
663 nw::ut::MoveArray<nw::gfx::SceneNode*> sceneNodeArray(&s_DeviceAllocator); in BuildResources()
671 &s_DeviceAllocator, in BuildResources()
704 &s_DeviceAllocator, in BuildResources()
734 .CreateObject(&s_DeviceAllocator, &s_DeviceAllocator); in BuildResources()
756 BuildResources(nw::demo::Utility::LoadResources(s_Resources, name, &s_DeviceAllocator)); in InitializeScenes()
778 …Set = nw::demo::Utility::LoadResources(s_Resources, SHADOW_MATERIAL_FILE_NAME, &s_DeviceAllocator); in InitializeScenes()
780 nw::gfx::Result result = resShadowModel.Setup(&s_DeviceAllocator, resourceSet->resource); in InitializeScenes()
783 &s_DeviceAllocator, in InitializeScenes()
800 void* startShadowCommandMemory = s_DeviceAllocator.Alloc(sizeof(StartShadowRenderCommand)); in InitializeScenes()
808 void* endShadowCommandMemory = s_DeviceAllocator.Alloc(sizeof(EndShadowRenderCommand)); in InitializeScenes()
812 void* startCommandMemory = s_DeviceAllocator.Alloc(sizeof(StartRenderCommand)); in InitializeScenes()
816 void* endCommandMemory = s_DeviceAllocator.Alloc(sizeof(EndRenderCommand)); in InitializeScenes()
831 s_DeviceAllocator.Free(s_EndRenderCommand); in TerminateScenes()
832 s_DeviceAllocator.Free(s_StartRenderCommand); in TerminateScenes()
833 s_DeviceAllocator.Free(s_EndShadowRenderCommand); in TerminateScenes()
834 s_DeviceAllocator.Free(s_StartShadowRenderCommand); in TerminateScenes()
1092 nw::demo::InitializeGraphicsSystem(&s_DeviceAllocator); in nnMain()
1094 nw::demo::PadFactory::Initialize(&s_DeviceAllocator); in nnMain()
1096 NW_DEMO_TEST_LOOP(&s_DeviceAllocator, NULL, &s_RenderSystem) in nnMain()