Lines Matching refs:demo

36 nw::demo::DemoAllocator s_DeviceAllocator;
37 nw::demo::DemoAllocator s_ParticleAllocator;
55 nw::demo::SceneSystem* s_SceneSystem = NULL;
56 nw::demo::RenderSystem* s_RenderSystem = NULL;
59 nw::demo::GraphicsDrawing s_GraphicsDrawing;
63 nw::demo::ResourceArray s_Resources;
76 nw::demo::FlushCache* s_FlushCache;
92 nw::demo::RenderSystem::Description renderDescription; in InitializeGraphics()
96 renderDescription.upperScreenMode = nw::demo::UPPER_SCREEN_MODE_STEREO; in InitializeGraphics()
98 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics()
110 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics()
116 nw::demo::SceneSystem::Description sceneDescription; in InitializeGraphics()
118 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics()
184 nw::demo::Utility::CreateStereoCameras( in BuildCameras()
216 nw::demo::Utility::SetCameraAspectRatio(s_BaseCamera, s_RenderTargets[0]); in InitializeScenes()
231 nw::demo::SafeCleanupResources(s_Resources); in TerminateScenes()
277 nw::demo::DebugUtility::DrawLoadMeter( in ReportDemo()
295 nw::demo::ParticleEffect* s_ParticleEffect = NULL;
298 nw::demo::ParticleNode* s_ParticleNode = NULL;
323 …s_ParticleEffect = nw::demo::ParticleEffect::Create(&s_DeviceAllocator, &s_DeviceAllocator, false,… in InitializeParticleApplicationDemo()
326 …nw::demo::ResourceSet* resourceSet = nw::demo::Utility::LoadResources(s_Resources, EFFECT_RESOURCE… in InitializeParticleApplicationDemo()
368 nw::demo::ParticleNode* particleNode = s_ParticleEffect->LeaseInstance(); in UpdateParticleApplicationDemo()
386 nw::demo::ParticleNode* particleNode = s_ParticleEffect->GetActiveEffect(i); in UpdateParticleApplicationDemo()
421 nw::demo::ParticleNode* particleNode = s_ParticleEffect->GetActiveEffect(i); in ReportParticleApplicationDemo()
450 nw::demo::ParticleNode* prevTarget = s_ParticleEffect->GetActiveEffect(0); in TerminateParticleApplicationDemo()
487 nw::demo::DebugUtility::AdvanceAutoTestFrame(); in DemoScene()
489 nw::demo::PadFactory::GetPad()->Update(); in DemoScene()
508 s_RenderSystem->TransferBuffer(nw::demo::LOWER_SCREEN); in DemoScene()
510 …s_RenderSystem->PresentBuffer(nw::demo::UPPER_SCREEN | nw::demo::LOWER_SCREEN | nw::demo::EXTENSIO… in DemoScene()
514 if (nw::demo::Utility::IsTerminating()) in DemoScene()
534 nw::demo::InitializeGraphicsSystem(&s_DeviceAllocator); in nnMain()
535 nw::demo::InitializeDemoAllocator(&s_ParticleAllocator, nw::demo::DEMO_PARTICLE_MEMORY_SIZE); in nnMain()
537 nw::demo::PadFactory::Initialize(&s_DeviceAllocator); in nnMain()
543 s_FlushCache = nw::demo::FlushCache::Create(&s_DeviceAllocator); in nnMain()
552 nw::demo::PadFactory::Finalize(); in nnMain()
554 nw::demo::FinalizeDemoAllocator(&s_ParticleAllocator); in nnMain()
556 nw::demo::FinalizeGraphicsSystem(); in nnMain()