Lines Matching refs:s_DeviceAllocator
34 nw::demo::DemoAllocator s_DeviceAllocator; variable
134 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics()
143 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics()
150 nw::demo::Utility::InitializeGraphicsDrawing(&s_DeviceAllocator, s_GraphicsDrawing); in InitializeGraphics()
153 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics()
161 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics()
165 s_ShaderResource = s_DeviceAllocator.AllocAndConstruct<nw::demo::ResourceSet>(1); in InitializeGraphics()
166 …s_ShaderResource->buffer = nw::demo::Utility::LoadFile(&s_DeviceAllocator , SHADER_RESOURCE_FILE_N… in InitializeGraphics()
185 s_DeviceAllocator.DestructAndFree(s_ShaderResource, 1); in TerminateGraphics()
211 .Create(&s_DeviceAllocator); in BuildRootNodes()
225 .Create(&s_DeviceAllocator); in BuildCameras()
233 .Create(&s_DeviceAllocator); in BuildCameras()
254 resourceSet.buffer = nw::demo::Utility::LoadFile(&s_DeviceAllocator , name); in InitializeScenes()
263 nw::ut::MoveArray<nw::gfx::SceneNode*> sceneNodeArray(SCENE_NODE_COUNT, &s_DeviceAllocator); in InitializeScenes()
268 …rceSet = nw::demo::Utility::LoadResources(s_Resources, resourceData.modelName, &s_DeviceAllocator); in InitializeScenes()
274 nw::gfx::Result result = resourceSet->resource.Setup(&s_DeviceAllocator); in InitializeScenes()
280 … result = resourceSet->resource.Setup(&s_DeviceAllocator, s_ShaderResource->resource); in InitializeScenes()
286 …result = resourceSet->resource.Setup(&s_DeviceAllocator, s_LutResources[resourceData.lutIndex].res… in InitializeScenes()
304 &s_DeviceAllocator, in InitializeScenes()
316 …ResourceSet* resourceSet = nw::demo::Utility::LoadResources(s_Resources, name, &s_DeviceAllocator); in InitializeScenes()
318 nw::gfx::Result result = resourceSet->resource.Setup(&s_DeviceAllocator); in InitializeScenes()
330 &s_DeviceAllocator, in InitializeScenes()
343 &s_DeviceAllocator, in InitializeScenes()
356 &s_DeviceAllocator, in InitializeScenes()
370 .CreateObject(&s_DeviceAllocator, &s_DeviceAllocator); in InitializeScenes()
543 nw::demo::InitializeGraphicsSystem(&s_DeviceAllocator); in nnMain()
545 nw::demo::PadFactory::Initialize(&s_DeviceAllocator); in nnMain()
547 NW_DEMO_TEST_LOOP(&s_DeviceAllocator, NULL, &s_RenderSystem) in nnMain()