Lines Matching refs:demo
34 nw::demo::DemoAllocator s_DeviceAllocator;
35 nw::demo::DemoAllocator s_ParticleAllocator;
47 nw::demo::SceneSystem* s_SceneSystem = NULL;
48 nw::demo::RenderSystem* s_RenderSystem = NULL;
51 nw::demo::GraphicsDrawing s_GraphicsDrawing;
55 nw::demo::ResourceArray s_Resources;
72 nw::demo::FlushCache* s_FlushCache;
83 nw::demo::RenderSystem::Description renderDescription; in InitializeGraphics()
87 renderDescription.upperScreenMode = nw::demo::UPPER_SCREEN_MODE_STEREO; in InitializeGraphics()
89 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics()
96 nw::demo::Utility::InitializeGraphicsDrawing(&s_DeviceAllocator, s_GraphicsDrawing); in InitializeGraphics()
99 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics()
105 nw::demo::SceneSystem::Description sceneDescription; in InitializeGraphics()
106 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics()
166 nw::demo::Utility::CreateStereoCameras( in BuildCameras()
198 nw::demo::Utility::SetCameraAspectRatio(s_BaseCamera, s_RenderTargets[0]); in InitializeScenes()
212 nw::demo::SafeCleanupResources(s_Resources); in TerminateScenes()
256 nw::demo::DebugUtility::CalcLoadMeter(s_RenderSystem); in ReportDemo()
260 nw::demo::DebugUtility::DrawLoadMeter( in ReportDemo()
269 nw::demo::DebugUtility::DrawLoadMeterText( in ReportDemo()
286 nw::demo::ParticleEffect* s_ParticleEffect = NULL;
292 nw::demo::ParticleHandle* s_PaticleHandle5M5E[DEMO_FIRE_DRAW_NUM];
293 nw::demo::ParticleHandle* s_PaticleHandle1M5E = NULL;
294 nw::demo::ParticleHandle* s_PaticleHandle1M1E = NULL;
340 nw::demo::ParticleEffect::InitializeShaderBinary(SHADER_RESOURCE_FILE_NAME, &s_DeviceAllocator); in InitializeParticleNodeCombinationDemo()
343 …s_ParticleEffect = nw::demo::ParticleEffect::Create(&s_DeviceAllocator, &s_DeviceAllocator, false,… in InitializeParticleNodeCombinationDemo()
346 …nw::demo::ResourceSet* resourceSet = nw::demo::Utility::LoadResources(s_Resources, EFFECT_RESOURCE… in InitializeParticleNodeCombinationDemo()
524 nw::demo::ParticleNode* prevTarget = s_ParticleEffect->GetActiveEffect(0); in TerminateParticleNodeCombinationDemo()
539 nw::demo::ParticleEffect::FinalizeShaderBinary(); in TerminateParticleNodeCombinationDemo()
564 nw::demo::DebugUtility::AdvanceAutoTestFrame(); in DemoScene()
566 nw::demo::PadFactory::GetPad()->Update(); in DemoScene()
586 s_RenderSystem->TransferBuffer(nw::demo::LOWER_SCREEN); in DemoScene()
588 …s_RenderSystem->PresentBuffer(nw::demo::UPPER_SCREEN | nw::demo::LOWER_SCREEN | nw::demo::EXTENSIO… in DemoScene()
592 if (nw::demo::Utility::IsTerminating()) in DemoScene()
612 nw::demo::InitializeGraphicsSystem(&s_DeviceAllocator); in nnMain()
613 nw::demo::InitializeDemoAllocator(&s_ParticleAllocator, nw::demo::DEMO_PARTICLE_MEMORY_SIZE); in nnMain()
615 nw::demo::PadFactory::Initialize(&s_DeviceAllocator); in nnMain()
621 s_FlushCache = nw::demo::FlushCache::Create(&s_DeviceAllocator); in nnMain()
630 nw::demo::PadFactory::Finalize(); in nnMain()
632 nw::demo::FinalizeDemoAllocator(&s_ParticleAllocator); in nnMain()
634 nw::demo::FinalizeGraphicsSystem(); in nnMain()