Lines Matching refs:demo

37 nw::demo::DemoAllocator s_DeviceAllocator;
38 nw::demo::DemoAllocator s_ParticleAllocator;
63 nw::demo::SceneSystem* s_SceneSystem = NULL;
64 nw::demo::RenderSystem* s_RenderSystem = NULL;
67 nw::demo::GraphicsDrawing s_GraphicsDrawing;
71 nw::demo::ResourceArray s_Resources;
88 nw::demo::FlushCache* s_FlushCache;
100 nw::demo::RenderSystem::Description renderDescription; in InitializeGraphics()
104 renderDescription.upperScreenMode = nw::demo::UPPER_SCREEN_MODE_STEREO; in InitializeGraphics()
106 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics()
117 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics()
123 nw::demo::SceneSystem::Description sceneDescription; in InitializeGraphics()
124 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;
319 …s_ParticleEffect = nw::demo::ParticleEffect::Create(&s_DeviceAllocator, &s_DeviceAllocator, false,… in InitializeParticleChokeDemo()
322 …nw::demo::ResourceSet* resourceSet = nw::demo::Utility::LoadResources(s_Resources, EFFECT_RESOURCE… in InitializeParticleChokeDemo()
369 if (s_IsDone && nw::demo::PadFactory::GetPad()->IsButtonDown(nw::demo::Pad::BUTTON_R)) in UpdateParticleChokeDemo()
410 nw::demo::ParticleNode* prevTarget = s_ParticleEffect->GetActiveEffect(0); in TerminateParticleChokeDemo()
445 nw::demo::DebugUtility::AdvanceAutoTestFrame(); in DemoScene()
447 nw::demo::PadFactory::GetPad()->Update(); in DemoScene()
468 s_RenderSystem->TransferBuffer(nw::demo::LOWER_SCREEN); in DemoScene()
470 …s_RenderSystem->PresentBuffer(nw::demo::UPPER_SCREEN | nw::demo::LOWER_SCREEN | nw::demo::EXTENSIO… in DemoScene()
474 if (nw::demo::Utility::IsTerminating()) in DemoScene()
494 nw::demo::InitializeGraphicsSystem(&s_DeviceAllocator); in nnMain()
495 nw::demo::InitializeDemoAllocator(&s_ParticleAllocator, nw::demo::DEMO_PARTICLE_MEMORY_SIZE); in nnMain()
497 nw::demo::PadFactory::Initialize(&s_DeviceAllocator); in nnMain()
503 s_FlushCache = nw::demo::FlushCache::Create(&s_DeviceAllocator); in nnMain()
512 nw::demo::PadFactory::Finalize(); in nnMain()
514 nw::demo::FinalizeDemoAllocator(&s_ParticleAllocator); in nnMain()
516 nw::demo::FinalizeGraphicsSystem(); in nnMain()