Lines Matching refs:s_DeviceAllocator
42 nw::demo::DemoAllocator s_DeviceAllocator; variable
152 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics()
161 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics()
168 nw::demo::Utility::InitializeGraphicsDrawing(&s_DeviceAllocator, s_GraphicsDrawing); in InitializeGraphics()
171 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics()
181 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics()
187 s_GrPrimitiveRenderer.Initialize( &s_DeviceAllocator, GR_SHADER_FILE ); in InitializeGraphics()
224 void* userCommandMemory = s_DeviceAllocator.Alloc(sizeof(GrUserRenderCommand)); in BuildUserRenderNode()
232 .Create(&s_DeviceAllocator); in BuildUserRenderNode()
258 .Create(&s_DeviceAllocator); in BuildRootNodes()
272 &s_DeviceAllocator, in BuildCameras()
291 nw::gfx::Result result = resourceSet->resource.Setup(&s_DeviceAllocator); in BuildResources()
297 nw::ut::MoveArray<nw::gfx::SceneNode*> sceneNodeArray(SCENE_NODE_COUNT, &s_DeviceAllocator); in BuildResources()
305 &s_DeviceAllocator, in BuildResources()
322 &s_DeviceAllocator, in BuildResources()
345 .CreateObject(&s_DeviceAllocator, &s_DeviceAllocator); in BuildResources()
369 BuildResources(nw::demo::Utility::LoadResources(s_Resources, name, &s_DeviceAllocator)); in InitializeScenes()
394 s_DeviceAllocator.Free(s_GrUserRenderCommand); in TerminateScenes()
524 nw::demo::InitializeGraphicsSystem(&s_DeviceAllocator); in nnMain()
526 nw::demo::PadFactory::Initialize(&s_DeviceAllocator); in nnMain()
528 NW_DEMO_TEST_LOOP(&s_DeviceAllocator, NULL, &s_RenderSystem) in nnMain()