Lines Matching refs:demo

38 nw::demo::DemoAllocator s_DeviceAllocator;
39 nw::demo::DemoAllocator s_ParticleAllocator;
51 nw::demo::SceneSystem* s_SceneSystem = NULL;
52 nw::demo::RenderSystem* s_RenderSystem = NULL;
55 nw::demo::GraphicsDrawing s_GraphicsDrawing;
59 nw::demo::ResourceArray s_Resources;
72 nw::demo::FlushCache* s_FlushCache;
88 nw::demo::RenderSystem::Description renderDescription; in InitializeGraphics()
92 renderDescription.upperScreenMode = nw::demo::UPPER_SCREEN_MODE_STEREO; in InitializeGraphics()
94 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics()
101 nw::demo::Utility::InitializeGraphicsDrawing(&s_DeviceAllocator, s_GraphicsDrawing); in InitializeGraphics()
104 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics()
110 nw::demo::SceneSystem::Description sceneDescription; in InitializeGraphics()
112 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics()
178 nw::demo::Utility::CreateStereoCameras( in BuildCameras()
210 nw::demo::Utility::SetCameraAspectRatio(s_BaseCamera, s_RenderTargets[0]); in InitializeScenes()
225 nw::demo::SafeCleanupResources(s_Resources); in TerminateScenes()
269 nw::demo::DebugUtility::CalcLoadMeter(s_RenderSystem); in ReportDemo()
273 nw::demo::DebugUtility::DrawLoadMeter( in ReportDemo()
282 nw::demo::DebugUtility::DrawLoadMeterText( in ReportDemo()
299 nw::demo::ParticleEffect* s_ParticleEffect = NULL;
302 nw::demo::ParticleNode* s_ParticleNode = NULL;
329 nw::demo::ParticleEffect::InitializeShaderBinary(SHADER_RESOURCE_FILE_NAME, &s_DeviceAllocator); in InitializeParticleApplicationDemo()
332 …s_ParticleEffect = nw::demo::ParticleEffect::Create(&s_DeviceAllocator, &s_DeviceAllocator, false,… in InitializeParticleApplicationDemo()
335 …nw::demo::ResourceSet* resourceSet = nw::demo::Utility::LoadResources(s_Resources, EFFECT_RESOURCE… in InitializeParticleApplicationDemo()
377 nw::demo::ParticleNode* particleNode = s_ParticleEffect->LeaseInstance(); in UpdateParticleApplicationDemo()
395 nw::demo::ParticleNode* particleNode = s_ParticleEffect->GetActiveEffect(i); in UpdateParticleApplicationDemo()
430 nw::demo::ParticleNode* particleNode = s_ParticleEffect->GetActiveEffect(i); in ReportParticleApplicationDemo()
459 nw::demo::ParticleNode* prevTarget = s_ParticleEffect->GetActiveEffect(0); in TerminateParticleApplicationDemo()
471 nw::demo::ParticleEffect::FinalizeShaderBinary(); in TerminateParticleApplicationDemo()
492 nw::demo::DebugUtility::PostInitializeScenes(); in DemoScene()
501 nw::demo::DebugUtility::AdvanceAutoTestFrame(); in DemoScene()
503 nw::demo::PadFactory::GetPad()->Update(); in DemoScene()
522 s_RenderSystem->TransferBuffer(nw::demo::LOWER_SCREEN); in DemoScene()
524 …s_RenderSystem->PresentBuffer(nw::demo::UPPER_SCREEN | nw::demo::LOWER_SCREEN | nw::demo::EXTENSIO… in DemoScene()
528 if (nw::demo::Utility::IsTerminating()) in DemoScene()
534 nw::demo::DebugUtility::PreTerminateScenes(); in DemoScene()
550 nw::demo::InitializeGraphicsSystem(&s_DeviceAllocator); in nnMain()
551 nw::demo::InitializeDemoAllocator(&s_ParticleAllocator, nw::demo::DEMO_PARTICLE_MEMORY_SIZE); in nnMain()
553 nw::demo::PadFactory::Initialize(&s_DeviceAllocator); in nnMain()
559 s_FlushCache = nw::demo::FlushCache::Create(&s_DeviceAllocator); in nnMain()
568 nw::demo::PadFactory::Finalize(); in nnMain()
570 nw::demo::FinalizeDemoAllocator(&s_ParticleAllocator); in nnMain()
572 nw::demo::FinalizeGraphicsSystem(); in nnMain()