Lines Matching refs:s_DeviceAllocator
277 nw::demo::DemoAllocator s_DeviceAllocator; variable
346 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics()
355 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics()
362 nw::demo::Utility::InitializeGraphicsDrawing(&s_DeviceAllocator, s_GraphicsDrawing); in InitializeGraphics()
365 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics()
380 .Create(&s_DeviceAllocator); in InitializeGraphics()
381 s_ShadowTexture.Setup(&s_DeviceAllocator, nw::gfx::ResGraphicsFile(NULL)); in InitializeGraphics()
385 nw::gfx::IRenderTarget::CreateOffScreenBuffer(&s_DeviceAllocator, s_ShadowTexture); in InitializeGraphics()
394 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics()
448 …urceSet* resourceSet = nw::demo::Utility::LoadResources(s_Resources, filePath, &s_DeviceAllocator); in CreateTransformAnimEvaluator()
469 .Create(&s_DeviceAllocator); in CreateTransformAnimEvaluator()
537 .Create(&s_DeviceAllocator); in BuildRootNodes()
543 .Create(&s_DeviceAllocator); in BuildRootNodes()
550 .Create(&s_DeviceAllocator); in BuildRootNodes()
565 &s_DeviceAllocator, in BuildCameras()
581 &s_DeviceAllocator, in BuildCameras()
594 &s_DeviceAllocator, in BuildCameras()
608 &s_DeviceAllocator, in BuildCameras()
655 nw::gfx::Result result = resourceSet->resource.Setup(&s_DeviceAllocator); in BuildResources()
661 nw::ut::MoveArray<nw::gfx::SceneNode*> sceneNodeArray(&s_DeviceAllocator); in BuildResources()
669 &s_DeviceAllocator, in BuildResources()
702 &s_DeviceAllocator, in BuildResources()
732 .CreateObject(&s_DeviceAllocator, &s_DeviceAllocator); in BuildResources()
754 BuildResources(nw::demo::Utility::LoadResources(s_Resources, name, &s_DeviceAllocator)); in InitializeScenes()
776 …Set = nw::demo::Utility::LoadResources(s_Resources, SHADOW_MATERIAL_FILE_NAME, &s_DeviceAllocator); in InitializeScenes()
778 nw::gfx::Result result = resShadowModel.Setup(&s_DeviceAllocator, resourceSet->resource); in InitializeScenes()
781 &s_DeviceAllocator, in InitializeScenes()
798 void* startShadowCommandMemory = s_DeviceAllocator.Alloc(sizeof(StartShadowRenderCommand)); in InitializeScenes()
806 void* endShadowCommandMemory = s_DeviceAllocator.Alloc(sizeof(EndShadowRenderCommand)); in InitializeScenes()
810 void* startCommandMemory = s_DeviceAllocator.Alloc(sizeof(StartRenderCommand)); in InitializeScenes()
814 void* endCommandMemory = s_DeviceAllocator.Alloc(sizeof(EndRenderCommand)); in InitializeScenes()
829 s_DeviceAllocator.Free(s_EndRenderCommand); in TerminateScenes()
830 s_DeviceAllocator.Free(s_StartRenderCommand); in TerminateScenes()
831 s_DeviceAllocator.Free(s_EndShadowRenderCommand); in TerminateScenes()
832 s_DeviceAllocator.Free(s_StartShadowRenderCommand); in TerminateScenes()
1090 nw::demo::InitializeGraphicsSystem(&s_DeviceAllocator); in nnMain()
1092 nw::demo::PadFactory::Initialize(&s_DeviceAllocator); in nnMain()
1094 NW_DEMO_TEST_LOOP(&s_DeviceAllocator, NULL, &s_RenderSystem) in nnMain()