Lines Matching refs:s_DeviceAllocator
36 nw::demo::DemoAllocator s_DeviceAllocator; variable
136 nw::gfx::CommandCacheManager::SetAllocator( &s_DeviceAllocator ); in InitializeGraphics()
145 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics()
152 nw::demo::Utility::InitializeGraphicsDrawing(&s_DeviceAllocator, s_GraphicsDrawing); in InitializeGraphics()
155 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics()
163 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics()
167 s_ShaderResource = s_DeviceAllocator.AllocAndConstruct<nw::demo::ResourceSet>(1); in InitializeGraphics()
168 …s_ShaderResource->buffer = nw::demo::Utility::LoadFile(&s_DeviceAllocator , SHADER_RESOURCE_FILE_N… in InitializeGraphics()
187 s_DeviceAllocator.DestructAndFree(s_ShaderResource, 1); in TerminateGraphics()
213 .Create(&s_DeviceAllocator); in BuildRootNodes()
227 .Create(&s_DeviceAllocator); in BuildCameras()
235 .Create(&s_DeviceAllocator); in BuildCameras()
256 resourceSet.buffer = nw::demo::Utility::LoadFile(&s_DeviceAllocator , name); in InitializeScenes()
265 nw::ut::MoveArray<nw::gfx::SceneNode*> sceneNodeArray(SCENE_NODE_COUNT, &s_DeviceAllocator); in InitializeScenes()
270 …rceSet = nw::demo::Utility::LoadResources(s_Resources, resourceData.modelName, &s_DeviceAllocator); in InitializeScenes()
276 nw::gfx::Result result = resourceSet->resource.Setup(&s_DeviceAllocator); in InitializeScenes()
282 … result = resourceSet->resource.Setup(&s_DeviceAllocator, s_ShaderResource->resource); in InitializeScenes()
288 …result = resourceSet->resource.Setup(&s_DeviceAllocator, s_LutResources[resourceData.lutIndex].res… in InitializeScenes()
306 &s_DeviceAllocator, in InitializeScenes()
318 …ResourceSet* resourceSet = nw::demo::Utility::LoadResources(s_Resources, name, &s_DeviceAllocator); in InitializeScenes()
320 nw::gfx::Result result = resourceSet->resource.Setup(&s_DeviceAllocator); in InitializeScenes()
332 &s_DeviceAllocator, in InitializeScenes()
345 &s_DeviceAllocator, in InitializeScenes()
358 &s_DeviceAllocator, in InitializeScenes()
372 .CreateObject(&s_DeviceAllocator, &s_DeviceAllocator); in InitializeScenes()
545 nw::demo::InitializeGraphicsSystem(&s_DeviceAllocator); in nnMain()
547 nw::demo::PadFactory::Initialize(&s_DeviceAllocator); in nnMain()
549 NW_DEMO_TEST_LOOP(&s_DeviceAllocator, NULL, &s_RenderSystem) in nnMain()