Lines Matching refs:demo
34 nw::demo::DemoAllocator s_DeviceAllocator;
35 nw::demo::DemoAllocator s_ParticleAllocator;
54 nw::demo::SceneSystem* s_SceneSystem = NULL;
55 nw::demo::RenderSystem* s_RenderSystem = NULL;
58 nw::demo::GraphicsDrawing s_GraphicsDrawing;
62 nw::demo::ResourceArray s_Resources;
79 nw::demo::FlushCache* s_FlushCache;
90 nw::demo::RenderSystem::Description renderDescription; in InitializeGraphics()
94 renderDescription.upperScreenMode = nw::demo::UPPER_SCREEN_MODE_STEREO; in InitializeGraphics()
96 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics()
108 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics()
114 nw::demo::SceneSystem::Description sceneDescription; in InitializeGraphics()
115 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics()
174 nw::demo::Utility::CreateStereoCameras( in BuildCameras()
206 nw::demo::Utility::SetCameraAspectRatio(s_BaseCamera, s_RenderTargets[0]); in InitializeScenes()
220 nw::demo::SafeCleanupResources(s_Resources); in TerminateScenes()
266 nw::demo::DebugUtility::DrawLoadMeter( in ReportDemo()
284 nw::demo::ParticleEffect* s_ParticleEffect = NULL;
287 nw::demo::ParticleNode* s_PaticleNode = NULL;
315 …s_ParticleEffect = nw::demo::ParticleEffect::Create(&s_DeviceAllocator, &s_DeviceAllocator, false,… in InitializeParticleScaleDemo()
318 …nw::demo::ResourceSet* resourceSet = nw::demo::Utility::LoadResources(s_Resources, EFFECT_RESOURCE… in InitializeParticleScaleDemo()
426 nw::demo::ParticleNode* prevTarget = s_ParticleEffect->GetActiveEffect(0); in TerminateParticleScaleDemo()
460 nw::demo::DebugUtility::AdvanceAutoTestFrame(); in DemoScene()
462 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()
508 nw::demo::InitializeGraphicsSystem(&s_DeviceAllocator); in nnMain()
509 nw::demo::InitializeDemoAllocator(&s_ParticleAllocator, nw::demo::DEMO_PARTICLE_MEMORY_SIZE); in nnMain()
511 nw::demo::PadFactory::Initialize(&s_DeviceAllocator); in nnMain()
517 s_FlushCache = nw::demo::FlushCache::Create(&s_DeviceAllocator); in nnMain()
526 nw::demo::PadFactory::Finalize(); in nnMain()
528 nw::demo::FinalizeDemoAllocator(&s_ParticleAllocator); in nnMain()
530 nw::demo::FinalizeGraphicsSystem(); in nnMain()