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()
387 .Create(&s_DeviceAllocator); in InitializeGraphics()
388 s_ShadowTexture.Setup(&s_DeviceAllocator, nw::gfx::ResGraphicsFile(NULL)); in InitializeGraphics()
392 nw::gfx::IRenderTarget::CreateOffScreenBuffer(&s_DeviceAllocator, s_ShadowTexture); in InitializeGraphics()
401 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics()
455 …urceSet* resourceSet = nw::demo::Utility::LoadResources(s_Resources, filePath, &s_DeviceAllocator); in CreateTransformAnimEvaluator()
476 .Create(&s_DeviceAllocator); in CreateTransformAnimEvaluator()
544 .Create(&s_DeviceAllocator); in BuildRootNodes()
550 .Create(&s_DeviceAllocator); in BuildRootNodes()
557 .Create(&s_DeviceAllocator); in BuildRootNodes()
572 &s_DeviceAllocator, in BuildCameras()
588 &s_DeviceAllocator, in BuildCameras()
602 &s_DeviceAllocator, in BuildCameras()
617 &s_DeviceAllocator, in BuildCameras()
707 nw::gfx::Result result = resourceSet->resource.Setup(&s_DeviceAllocator); in BuildResources()
713 nw::ut::MoveArray<nw::gfx::SceneNode*> sceneNodeArray(&s_DeviceAllocator); in BuildResources()
721 &s_DeviceAllocator, in BuildResources()
761 &s_DeviceAllocator, in BuildResources()
791 .CreateObject(&s_DeviceAllocator, &s_DeviceAllocator); in BuildResources()
813 BuildResources(nw::demo::Utility::LoadResources(s_Resources, name, &s_DeviceAllocator)); in InitializeScenes()
835 …Set = nw::demo::Utility::LoadResources(s_Resources, SHADOW_MATERIAL_FILE_NAME, &s_DeviceAllocator); in InitializeScenes()
837 nw::gfx::Result result = resShadowModel.Setup(&s_DeviceAllocator, resourceSet->resource); in InitializeScenes()
840 &s_DeviceAllocator, in InitializeScenes()
864 void* startShadowCommandMemory = s_DeviceAllocator.Alloc(sizeof(StartShadowRenderCommand)); in InitializeScenes()
872 void* endShadowCommandMemory = s_DeviceAllocator.Alloc(sizeof(EndShadowRenderCommand)); in InitializeScenes()
876 void* startCommandMemory = s_DeviceAllocator.Alloc(sizeof(StartRenderCommand)); in InitializeScenes()
880 void* endCommandMemory = s_DeviceAllocator.Alloc(sizeof(EndRenderCommand)); in InitializeScenes()
895 s_DeviceAllocator.Free(s_EndRenderCommand); in TerminateScenes()
896 s_DeviceAllocator.Free(s_StartRenderCommand); in TerminateScenes()
897 s_DeviceAllocator.Free(s_EndShadowRenderCommand); in TerminateScenes()
898 s_DeviceAllocator.Free(s_StartShadowRenderCommand); in TerminateScenes()
1156 nw::demo::InitializeGraphicsSystem(&s_DeviceAllocator); in nnMain()
1158 nw::demo::PadFactory::Initialize(&s_DeviceAllocator); in nnMain()
1160 NW_DEMO_TEST_LOOP(&s_DeviceAllocator, NULL, &s_RenderSystem) in nnMain()