Lines Matching refs:demo

37 nw::demo::DemoAllocator s_DeviceAllocator;
38 nw::demo::DemoAllocator s_ParticleAllocator;
57 nw::demo::SceneSystem* s_SceneSystem = NULL;
58 nw::demo::RenderSystem* s_RenderSystem = NULL;
61 nw::demo::GraphicsDrawing s_GraphicsDrawing;
65 nw::demo::ResourceArray s_Resources;
82 nw::demo::FlushCache* s_FlushCache;
94 nw::demo::RenderSystem::Description renderDescription; in InitializeGraphics()
98 renderDescription.upperScreenMode = nw::demo::UPPER_SCREEN_MODE_STEREO; in InitializeGraphics()
100 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics()
107 nw::demo::Utility::InitializeGraphicsDrawing(&s_DeviceAllocator, s_GraphicsDrawing); in InitializeGraphics()
110 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics()
116 nw::demo::SceneSystem::Description sceneDescription; in InitializeGraphics()
117 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics()
177 nw::demo::Utility::CreateStereoCameras( in BuildCameras()
209 nw::demo::Utility::SetCameraAspectRatio(s_BaseCamera, s_RenderTargets[0]); in InitializeScenes()
224 nw::demo::SafeCleanupResources(s_Resources); in TerminateScenes()
268 nw::demo::DebugUtility::CalcLoadMeter(s_RenderSystem); in ReportDemo()
272 nw::demo::DebugUtility::DrawLoadMeter( in ReportDemo()
281 nw::demo::DebugUtility::DrawLoadMeterText( in ReportDemo()
298 nw::demo::ParticleEffect* s_ParticleEffect = NULL;
301 nw::demo::ParticleNode* s_particleNode = NULL;
325 nw::demo::ParticleEffect::InitializeShaderBinary(SHADER_RESOURCE_FILE_NAME, &s_DeviceAllocator); in InitializeParticleChokeDemo()
328 …s_ParticleEffect = nw::demo::ParticleEffect::Create(&s_DeviceAllocator, &s_DeviceAllocator, false,… in InitializeParticleChokeDemo()
331 …nw::demo::ResourceSet* resourceSet = nw::demo::Utility::LoadResources(s_Resources, EFFECT_RESOURCE… in InitializeParticleChokeDemo()
378 if (s_IsDone && nw::demo::PadFactory::GetPad()->IsButtonDown(nw::demo::Pad::BUTTON_R)) in UpdateParticleChokeDemo()
419 nw::demo::ParticleNode* prevTarget = s_ParticleEffect->GetActiveEffect(0); in TerminateParticleChokeDemo()
431 nw::demo::ParticleEffect::FinalizeShaderBinary(); in TerminateParticleChokeDemo()
452 nw::demo::DebugUtility::PostInitializeScenes(); in DemoScene()
459 nw::demo::DebugUtility::AdvanceAutoTestFrame(); in DemoScene()
461 nw::demo::PadFactory::GetPad()->Update(); in DemoScene()
482 s_RenderSystem->TransferBuffer(nw::demo::LOWER_SCREEN); in DemoScene()
484 …s_RenderSystem->PresentBuffer(nw::demo::UPPER_SCREEN | nw::demo::LOWER_SCREEN | nw::demo::EXTENSIO… in DemoScene()
488 if (nw::demo::Utility::IsTerminating()) in DemoScene()
494 nw::demo::DebugUtility::PreTerminateScenes(); in DemoScene()
510 nw::demo::InitializeGraphicsSystem(&s_DeviceAllocator); in nnMain()
511 nw::demo::InitializeDemoAllocator(&s_ParticleAllocator, nw::demo::DEMO_PARTICLE_MEMORY_SIZE); in nnMain()
513 nw::demo::PadFactory::Initialize(&s_DeviceAllocator); in nnMain()
519 s_FlushCache = nw::demo::FlushCache::Create(&s_DeviceAllocator); in nnMain()
528 nw::demo::PadFactory::Finalize(); in nnMain()
530 nw::demo::FinalizeDemoAllocator(&s_ParticleAllocator); in nnMain()
532 nw::demo::FinalizeGraphicsSystem(); in nnMain()