Lines Matching refs:demo
36 nw::demo::DemoAllocator s_DeviceAllocator;
37 nw::demo::DemoAllocator s_ParticleAllocator;
49 nw::demo::SceneSystem* s_SceneSystem = NULL;
50 nw::demo::RenderSystem* s_RenderSystem = NULL;
53 nw::demo::GraphicsDrawing s_GraphicsDrawing;
57 nw::demo::ResourceArray s_Resources;
70 nw::demo::FlushCache* s_FlushCache;
86 nw::demo::RenderSystem::Description renderDescription; in InitializeGraphics()
90 renderDescription.upperScreenMode = nw::demo::UPPER_SCREEN_MODE_STEREO; in InitializeGraphics()
92 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics()
99 nw::demo::Utility::InitializeGraphicsDrawing(&s_DeviceAllocator, s_GraphicsDrawing); in InitializeGraphics()
102 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics()
108 nw::demo::SceneSystem::Description sceneDescription; in InitializeGraphics()
110 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics()
176 nw::demo::Utility::CreateStereoCameras( in BuildCameras()
208 nw::demo::Utility::SetCameraAspectRatio(s_BaseCamera, s_RenderTargets[0]); in InitializeScenes()
223 nw::demo::SafeCleanupResources(s_Resources); in TerminateScenes()
267 nw::demo::DebugUtility::CalcLoadMeter(s_RenderSystem); in ReportDemo()
271 nw::demo::DebugUtility::DrawLoadMeter( in ReportDemo()
280 nw::demo::DebugUtility::DrawLoadMeterText( in ReportDemo()
297 nw::demo::ParticleEffect* s_ParticleEffect = NULL;
300 nw::demo::ParticleNode* s_ParticleNode = NULL;
327 nw::demo::ParticleEffect::InitializeShaderBinary(SHADER_RESOURCE_FILE_NAME, &s_DeviceAllocator); in InitializeParticleApplicationDemo()
330 …s_ParticleEffect = nw::demo::ParticleEffect::Create(&s_DeviceAllocator, &s_DeviceAllocator, false,… in InitializeParticleApplicationDemo()
333 …nw::demo::ResourceSet* resourceSet = nw::demo::Utility::LoadResources(s_Resources, EFFECT_RESOURCE… in InitializeParticleApplicationDemo()
375 nw::demo::ParticleNode* particleNode = s_ParticleEffect->LeaseInstance(); in UpdateParticleApplicationDemo()
393 nw::demo::ParticleNode* particleNode = s_ParticleEffect->GetActiveEffect(i); in UpdateParticleApplicationDemo()
428 nw::demo::ParticleNode* particleNode = s_ParticleEffect->GetActiveEffect(i); in ReportParticleApplicationDemo()
457 nw::demo::ParticleNode* prevTarget = s_ParticleEffect->GetActiveEffect(0); in TerminateParticleApplicationDemo()
469 nw::demo::ParticleEffect::FinalizeShaderBinary(); in TerminateParticleApplicationDemo()
490 nw::demo::DebugUtility::PostInitializeScenes(); in DemoScene()
499 nw::demo::DebugUtility::AdvanceAutoTestFrame(); in DemoScene()
501 nw::demo::PadFactory::GetPad()->Update(); in DemoScene()
520 s_RenderSystem->TransferBuffer(nw::demo::LOWER_SCREEN); in DemoScene()
522 …s_RenderSystem->PresentBuffer(nw::demo::UPPER_SCREEN | nw::demo::LOWER_SCREEN | nw::demo::EXTENSIO… in DemoScene()
526 if (nw::demo::Utility::IsTerminating()) in DemoScene()
532 nw::demo::DebugUtility::PreTerminateScenes(); in DemoScene()
548 nw::demo::InitializeGraphicsSystem(&s_DeviceAllocator); in nnMain()
549 nw::demo::InitializeDemoAllocator(&s_ParticleAllocator, nw::demo::DEMO_PARTICLE_MEMORY_SIZE); in nnMain()
551 nw::demo::PadFactory::Initialize(&s_DeviceAllocator); in nnMain()
557 s_FlushCache = nw::demo::FlushCache::Create(&s_DeviceAllocator); in nnMain()
566 nw::demo::PadFactory::Finalize(); in nnMain()
568 nw::demo::FinalizeDemoAllocator(&s_ParticleAllocator); in nnMain()
570 nw::demo::FinalizeGraphicsSystem(); in nnMain()