Lines Matching refs:s_DeviceAllocator

279 nw::demo::DemoAllocator s_DeviceAllocator;  variable
354 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics()
363 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics()
370 …bool result = s_GraphicsDrawing.InitializeFont(&s_DeviceAllocator, FONT_SHADER_FILE_NAME, FONT_FIL… in InitializeGraphics()
375 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics()
395 .Create(&s_DeviceAllocator); in InitializeGraphics()
396 s_ShadowTexture.Setup(&s_DeviceAllocator, nw::gfx::ResGraphicsFile(NULL)); in InitializeGraphics()
400 nw::gfx::IRenderTarget::CreateOffScreenBuffer(&s_DeviceAllocator, s_ShadowTexture); in InitializeGraphics()
409 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics()
463 …urceSet* resourceSet = nw::demo::Utility::LoadResources(s_Resources, filePath, &s_DeviceAllocator); in CreateTransformAnimEvaluator()
484 .Create(&s_DeviceAllocator); in CreateTransformAnimEvaluator()
552 .Create(&s_DeviceAllocator); in BuildRootNodes()
558 .Create(&s_DeviceAllocator); in BuildRootNodes()
565 .Create(&s_DeviceAllocator); in BuildRootNodes()
580 &s_DeviceAllocator, in BuildCameras()
596 &s_DeviceAllocator, in BuildCameras()
610 &s_DeviceAllocator, in BuildCameras()
625 &s_DeviceAllocator, in BuildCameras()
715 nw::gfx::Result result = resourceSet->resource.Setup(&s_DeviceAllocator); in BuildResources()
721 nw::ut::MoveArray<nw::gfx::SceneNode*> sceneNodeArray(&s_DeviceAllocator); in BuildResources()
729 &s_DeviceAllocator, in BuildResources()
769 &s_DeviceAllocator, in BuildResources()
799 .CreateObject(&s_DeviceAllocator, &s_DeviceAllocator); in BuildResources()
821 BuildResources(nw::demo::Utility::LoadResources(s_Resources, name, &s_DeviceAllocator)); in InitializeScenes()
843 …Set = nw::demo::Utility::LoadResources(s_Resources, SHADOW_MATERIAL_FILE_NAME, &s_DeviceAllocator); in InitializeScenes()
845 nw::gfx::Result result = resShadowModel.Setup(&s_DeviceAllocator, resourceSet->resource); in InitializeScenes()
848 &s_DeviceAllocator, in InitializeScenes()
872 void* startShadowCommandMemory = s_DeviceAllocator.Alloc(sizeof(StartShadowRenderCommand)); in InitializeScenes()
880 void* endShadowCommandMemory = s_DeviceAllocator.Alloc(sizeof(EndShadowRenderCommand)); in InitializeScenes()
884 void* startCommandMemory = s_DeviceAllocator.Alloc(sizeof(StartRenderCommand)); in InitializeScenes()
888 void* endCommandMemory = s_DeviceAllocator.Alloc(sizeof(EndRenderCommand)); in InitializeScenes()
903 s_DeviceAllocator.Free(s_EndRenderCommand); in TerminateScenes()
904 s_DeviceAllocator.Free(s_StartRenderCommand); in TerminateScenes()
905 s_DeviceAllocator.Free(s_EndShadowRenderCommand); in TerminateScenes()
906 s_DeviceAllocator.Free(s_StartShadowRenderCommand); in TerminateScenes()
1150 nw::demo::InitializeGraphicsSystem(&s_DeviceAllocator); in nnMain()
1152 nw::demo::PadFactory::Initialize(&s_DeviceAllocator); in nnMain()
1154 NW_DEMO_TEST_LOOP(&s_DeviceAllocator, NULL, &s_RenderSystem) in nnMain()