| /NW4C-1.2.23/demos/gfx/ParticleCtrlEmissionDemo/sources/ |
| D | ParticleCtrlEmissionDemo.cpp | 36 nw::demo::DemoAllocator s_DeviceAllocator; 37 nw::demo::DemoAllocator s_ParticleAllocator; 55 nw::demo::SceneSystem* s_SceneSystem = NULL; 56 nw::demo::RenderSystem* s_RenderSystem = NULL; 59 nw::demo::GraphicsDrawing s_GraphicsDrawing; 63 nw::demo::ResourceArray s_Resources; 81 nw::demo::FlushCache* s_FlushCache; 92 nw::demo::RenderSystem::Description renderDescription; in InitializeGraphics() 96 renderDescription.upperScreenMode = nw::demo::UPPER_SCREEN_MODE_STEREO; in InitializeGraphics() 98 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics() [all …]
|
| /NW4C-1.2.23/demos/gfx/ParticleChokeDemo/sources/ |
| D | ParticleChokeDemo.cpp | 37 nw::demo::DemoAllocator s_DeviceAllocator; 38 nw::demo::DemoAllocator s_ParticleAllocator; 63 nw::demo::SceneSystem* s_SceneSystem = NULL; 64 nw::demo::RenderSystem* s_RenderSystem = NULL; 67 nw::demo::GraphicsDrawing s_GraphicsDrawing; 71 nw::demo::ResourceArray s_Resources; 88 nw::demo::FlushCache* s_FlushCache; 100 nw::demo::RenderSystem::Description renderDescription; in InitializeGraphics() 104 renderDescription.upperScreenMode = nw::demo::UPPER_SCREEN_MODE_STEREO; in InitializeGraphics() 106 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics() [all …]
|
| /NW4C-1.2.23/demos/gfx/ParticleRecycleDemo/sources/ |
| D | ParticleRecycleDemo.cpp | 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() [all …]
|
| /NW4C-1.2.23/demos/gfx/ParticleScaleDemo/sources/ |
| D | ParticleScaleDemo.cpp | 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() [all …]
|
| /NW4C-1.2.23/demos/gfx/ParticleApplicationDemo/sources/ |
| D | ParticleApplicationDemo.cpp | 36 nw::demo::DemoAllocator s_DeviceAllocator; 37 nw::demo::DemoAllocator s_ParticleAllocator; 55 nw::demo::SceneSystem* s_SceneSystem = NULL; 56 nw::demo::RenderSystem* s_RenderSystem = NULL; 59 nw::demo::GraphicsDrawing s_GraphicsDrawing; 63 nw::demo::ResourceArray s_Resources; 76 nw::demo::FlushCache* s_FlushCache; 92 nw::demo::RenderSystem::Description renderDescription; in InitializeGraphics() 96 renderDescription.upperScreenMode = nw::demo::UPPER_SCREEN_MODE_STEREO; in InitializeGraphics() 98 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics() [all …]
|
| /NW4C-1.2.23/sources/libraries/demo/ |
| D | demo_SimpleApp.cpp | 21 namespace demo namespace 32 nw::demo::InitializeGraphicsSystem(&m_DeviceAllocator); in Initialize() 34 nw::demo::PadFactory::Initialize(&m_DeviceAllocator); in Initialize() 36 nw::demo::RenderSystem::Description renderDesc; in Initialize() 38 nw::demo::DisplayBufferSwapper::Description& upperScreenDesc = in Initialize() 41 nw::demo::DisplayBufferSwapper::Description& lowerScreenDesc = in Initialize() 44 m_pRenderSystem = nw::demo::RenderSystem::Create( in Initialize() 70 nw::demo::PadFactory::Finalize(); in Finalize() 83 m_pRenderSystem->TransferBuffer(nw::demo::UPPER_SCREEN); in TransferBuffer() 87 m_pRenderSystem->TransferBuffer(nw::demo::LOWER_SCREEN); in TransferBuffer() [all …]
|
| D | demo_DebugUtility.cpp | 25 namespace demo { namespace 39 nw::demo::RenderSystem* renderSystem, in DrawLoadMeter() 40 nw::demo::GraphicsDrawing* graphicsDrawing, in DrawLoadMeter() 47 if (nw::demo::DebugUtility::IsCpuProfilingMode() != s_LastCpuCountingMode) in DrawLoadMeter() 51 if (nw::demo::DebugUtility::IsCpuProfilingMode()) in DrawLoadMeter() 68 s_LastCpuCountingMode = nw::demo::DebugUtility::IsCpuProfilingMode(); in DrawLoadMeter() 73 if (nw::demo::DebugUtility::IsCpuProfilingMode()) in DrawLoadMeter()
|
| /NW4C-1.2.23/demos/Nw4cDemo/sources/ |
| D | SmRenderSystem.cpp | 21 nw::demo::GraphicsMemoryAllocator s_GraphicsMemoryAllocator; 29 SmInitializeGraphicsSystem(nw::demo::DemoAllocator* deviceAllocator) in SmInitializeGraphicsSystem() 37 nw::demo::InitializeDemoMemory(); in SmInitializeGraphicsSystem() 39 …nw::demo::InitializeDemoAllocator(deviceAllocator, nw::demo::DEMO_MEMORY_SIZE, nn::os::ALLOCATE_OP… in SmInitializeGraphicsSystem() 48 void* workingMemory = nw::demo::Alloc(workingMemorySize); in SmInitializeGraphicsSystem() 58 SmFinalizeGraphicsSystem(nw::demo::DemoAllocator* deviceAllocator) in SmFinalizeGraphicsSystem() 62 nw::demo::FinalizeDemoAllocator(deviceAllocator); in SmFinalizeGraphicsSystem() 154 m_UpperSwapper = nw::demo::DisplayBufferSwapper::Builder() in SmRenderSystem() 159 m_LowerSwapper = nw::demo::DisplayBufferSwapper::Builder() in SmRenderSystem() 166 nw::demo::DisplayBufferSwapper::Description extensionScreenDescription; in SmRenderSystem() [all …]
|
| /NW4C-1.2.23/demos/gfx/SimpleDemo/sources/ |
| D | SimpleDemo.cpp | 34 nw::demo::DemoAllocator s_DeviceAllocator; 59 nw::demo::SceneSystem* s_SceneSystem = NULL; 60 nw::demo::RenderSystem* s_RenderSystem = NULL; 62 nw::demo::GraphicsDrawing s_GraphicsDrawing; 66 nw::demo::ResourceArray s_Resources; 97 nw::demo::RenderSystem::Description renderDescription; in InitializeGraphics() 98 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics() 109 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics() 116 nw::demo::SceneSystem::Description sceneDescription; in InitializeGraphics() 118 s_SceneSystem = nw::demo::SceneSystem::Create(&s_DeviceAllocator, sceneDescription); in InitializeGraphics() [all …]
|
| /NW4C-1.2.23/demos/gfx/ParticleMultiEmitterDemo/sources/ |
| D | ParticleMultiEmitterDemo.cpp | 37 nw::demo::DemoAllocator s_DeviceAllocator; 38 nw::demo::DemoAllocator s_ParticleAllocator; 63 nw::demo::SceneSystem* s_SceneSystem = NULL; 64 nw::demo::RenderSystem* s_RenderSystem = NULL; 67 nw::demo::GraphicsDrawing s_GraphicsDrawing; 71 nw::demo::ResourceArray s_Resources; 95 nw::demo::FlushCache* s_FlushCache; 106 nw::demo::RenderSystem::Description renderDescription; in InitializeGraphics() 110 renderDescription.upperScreenMode = nw::demo::UPPER_SCREEN_MODE_STEREO; in InitializeGraphics() 112 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics() [all …]
|
| /NW4C-1.2.23/demos/gfx/ParticleDemo/sources/ |
| D | ParticleDemo.cpp | 34 nw::demo::DemoAllocator s_DeviceAllocator; 35 nw::demo::DemoAllocator s_ParticleAllocator; 60 nw::demo::SceneSystem* s_SceneSystem = NULL; 61 nw::demo::RenderSystem* s_RenderSystem = NULL; 64 nw::demo::GraphicsDrawing s_GraphicsDrawing; 68 nw::demo::ResourceArray s_Resources; 96 nw::demo::FlushCache* s_FlushCache; 107 nw::demo::RenderSystem::Description renderDescription; in InitializeGraphics() 111 renderDescription.upperScreenMode = nw::demo::UPPER_SCREEN_MODE_STEREO; in InitializeGraphics() 113 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics() [all …]
|
| /NW4C-1.2.23/demos/gfx/ParticleMultiModelDemo/sources/ |
| D | ParticleMultiModelDemo.cpp | 38 nw::demo::DemoAllocator s_DeviceAllocator; 39 nw::demo::DemoAllocator s_ParticleAllocator; 64 nw::demo::SceneSystem* s_SceneSystem = NULL; 65 nw::demo::RenderSystem* s_RenderSystem = NULL; 68 nw::demo::GraphicsDrawing s_GraphicsDrawing; 72 nw::demo::ResourceArray s_Resources; 96 nw::demo::FlushCache* s_FlushCache; 107 nw::demo::RenderSystem::Description renderDescription; in InitializeGraphics() 111 renderDescription.upperScreenMode = nw::demo::UPPER_SCREEN_MODE_STEREO; in InitializeGraphics() 113 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics() [all …]
|
| /NW4C-1.2.23/demos/gfx/MultiAnimationDemo/sources/ |
| D | MultiAnimationDemo.cpp | 36 nw::demo::DemoAllocator s_DeviceAllocator; 69 nw::demo::SceneSystem* s_SceneSystem = NULL; 70 nw::demo::RenderSystem* s_RenderSystem = NULL; 72 nw::demo::GraphicsDrawing s_GraphicsDrawing; 76 nw::demo::ResourceArray s_Resources; 77 nw::demo::ResourceSet* s_LutResource; 127 nw::demo::Utility::AnimationType animType; 132 { "Male", "Walk", nw::demo::Utility::SKELETAL_ANIMATION }, 133 { "MatAnim", "MatAnim", nw::demo::Utility::MATERIAL_ANIMATION }, 134 { "VisibilityAnim", "VisibilityAnim", nw::demo::Utility::VISIBILITY_ANIMATION }, [all …]
|
| /NW4C-1.2.23/include/nw/demo/ |
| D | demo_DebugUtility.h | 31 namespace demo 62 nw::demo::RenderSystem* renderSystem, 63 nw::demo::GraphicsDrawing* graphicsDrawing, 76 …return s_IsForceCpuProfilingMode || nw::demo::PadFactory::GetPad()->IsButtonPress(nw::demo::Pad::B… in IsCpuProfilingMode() 96 nw::demo::RenderSystem** renderSystem, 171 nw::demo::DemoAllocator* deviceAllocator, in ResetMemoryLeakTester() 172 nw::demo::DemoAllocator* particleAllocator in ResetMemoryLeakTester() 195 nw::demo::DemoAllocator* deviceAllocator, in TestMemoryLeak() 196 nw::demo::DemoAllocator* particleAllocator in TestMemoryLeak() 288 nw::demo::RenderSystem** renderSystem, [all …]
|
| /NW4C-1.2.23/demos/gfx/AnimationChangeDemo/sources/ |
| D | AnimationChangeDemo.cpp | 36 nw::demo::DemoAllocator s_DeviceAllocator; 67 nw::demo::SceneSystem* s_SceneSystem = NULL; 68 nw::demo::RenderSystem* s_RenderSystem = NULL; 70 nw::demo::GraphicsDrawing s_GraphicsDrawing; 74 nw::demo::ResourceArray s_Resources; 113 nw::demo::RenderSystem::Description renderDescription; in InitializeGraphics() 117 renderDescription.upperScreenMode = nw::demo::UPPER_SCREEN_MODE_STEREO; in InitializeGraphics() 119 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics() 131 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics() 137 nw::demo::SceneSystem::Description sceneDescription; in InitializeGraphics() [all …]
|
| /NW4C-1.2.23/demos/gfx/ResourceDemo/sources/ |
| D | ResourceDemo.cpp | 34 nw::demo::DemoAllocator s_DeviceAllocator; 38 nw::demo::ResourceSet* s_ShaderResource; 39 nw::demo::ResourceArray s_LutResources; 40 nw::demo::ResourceArray s_Resources; 110 nw::demo::SceneSystem* s_SceneSystem = NULL; 111 nw::demo::RenderSystem* s_RenderSystem = NULL; 113 nw::demo::GraphicsDrawing s_GraphicsDrawing; 143 nw::demo::RenderSystem::Description renderDescription; in InitializeGraphics() 147 renderDescription.upperScreenMode = nw::demo::UPPER_SCREEN_MODE_STEREO; in InitializeGraphics() 149 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics() [all …]
|
| /NW4C-1.2.23/demos/gfx/AnimationDemo/sources/ |
| D | AnimationDemo.cpp | 36 nw::demo::DemoAllocator s_DeviceAllocator; 63 nw::demo::SceneSystem* s_SceneSystem = NULL; 64 nw::demo::RenderSystem* s_RenderSystem = NULL; 66 nw::demo::GraphicsDrawing s_GraphicsDrawing; 70 nw::demo::ResourceArray s_Resources; 108 nw::demo::RenderSystem::Description renderDescription; in InitializeGraphics() 112 renderDescription.upperScreenMode = nw::demo::UPPER_SCREEN_MODE_STEREO; in InitializeGraphics() 114 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics() 126 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics() 132 nw::demo::SceneSystem::Description sceneDescription; in InitializeGraphics() [all …]
|
| /NW4C-1.2.23/demos/gfx/ParticleChangeVtxDemo/sources/ |
| D | ParticleChangeVtxDemo.cpp | 34 nw::demo::DemoAllocator s_DeviceAllocator; 35 nw::demo::DemoAllocator s_ParticleAllocator; 60 nw::demo::SceneSystem* s_SceneSystem = NULL; 61 nw::demo::RenderSystem* s_RenderSystem = NULL; 64 nw::demo::GraphicsDrawing s_GraphicsDrawing; 68 nw::demo::ResourceArray s_Resources; 96 nw::demo::FlushCache* s_FlushCache; 107 nw::demo::RenderSystem::Description renderDescription; in InitializeGraphics() 111 renderDescription.upperScreenMode = nw::demo::UPPER_SCREEN_MODE_STEREO; in InitializeGraphics() 113 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics() [all …]
|
| /NW4C-1.2.23/demos/gfx/AnimationBlendDemo/sources/ |
| D | AnimationBlendDemo.cpp | 36 nw::demo::DemoAllocator s_DeviceAllocator; 73 nw::demo::SceneSystem* s_SceneSystem = NULL; 74 nw::demo::RenderSystem* s_RenderSystem = NULL; 76 nw::demo::GraphicsDrawing s_GraphicsDrawing; 80 nw::demo::ResourceArray s_Resources; 121 nw::demo::RenderSystem::Description renderDescription; in InitializeGraphics() 125 renderDescription.upperScreenMode = nw::demo::UPPER_SCREEN_MODE_STEREO; in InitializeGraphics() 127 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics() 139 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics() 145 nw::demo::SceneSystem::Description sceneDescription; in InitializeGraphics() [all …]
|
| /NW4C-1.2.23/demos/gfx/PartialAnimationDemo/sources/ |
| D | PartialAnimationDemo.cpp | 36 nw::demo::DemoAllocator s_DeviceAllocator; 67 nw::demo::SceneSystem* s_SceneSystem = NULL; 68 nw::demo::RenderSystem* s_RenderSystem = NULL; 70 nw::demo::GraphicsDrawing s_GraphicsDrawing; 74 nw::demo::ResourceArray s_Resources; 112 nw::demo::RenderSystem::Description renderDescription; in InitializeGraphics() 116 renderDescription.upperScreenMode = nw::demo::UPPER_SCREEN_MODE_STEREO; in InitializeGraphics() 118 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics() 130 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics() 136 nw::demo::SceneSystem::Description sceneDescription; in InitializeGraphics() [all …]
|
| /NW4C-1.2.23/demos/lyt/orthoStereo/sources/ |
| D | main.cpp | 38 nw::demo::RenderSystem* s_pRenderSystem = NULL; 46 nw::demo::DemoAllocator s_DeviceAllocator; 62 nw::demo::RenderSystem::Description renderDesc; in InitializeGraphics() 64 nw::demo::DisplayBufferSwapper::Description& upperScreenDesc = in InitializeGraphics() 67 nw::demo::DisplayBufferSwapper::Description& lowerScreenDesc = in InitializeGraphics() 70 renderDesc.upperScreenMode = nw::demo::UPPER_SCREEN_MODE_STEREO; in InitializeGraphics() 72 s_pRenderSystem = nw::demo::RenderSystem::Create( in InitializeGraphics() 248 return wkParallax * nw::demo::SimpleApp::DISPLAY0_WIDTH; in CalcParallaxDot() 366 nw::demo::InitializeGraphicsSystem(&s_DeviceAllocator); in nnMain() 368 nw::demo::PadFactory::Initialize(&s_DeviceAllocator); in nnMain() [all …]
|
| /NW4C-1.2.23/demos/gfx/ParticleUpdaterDemo/sources/ |
| D | ParticleUpdaterDemo.cpp | 48 nw::demo::DemoAllocator s_DeviceAllocator; 49 nw::demo::DemoAllocator s_ParticleAllocator; 74 nw::demo::SceneSystem* s_SceneSystem = NULL; 75 nw::demo::RenderSystem* s_RenderSystem = NULL; 78 nw::demo::GraphicsDrawing s_GraphicsDrawing; 82 nw::demo::ResourceArray s_Resources; 106 nw::demo::FlushCache* s_FlushCache; 118 nw::demo::RenderSystem::Description renderDescription; in InitializeGraphics() 122 renderDescription.upperScreenMode = nw::demo::UPPER_SCREEN_MODE_STEREO; in InitializeGraphics() 124 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics() [all …]
|
| /NW4C-1.2.23/demos/gfx/MultiInstanceDemo/sources/ |
| D | MultiInstanceDemo.cpp | 36 nw::demo::DemoAllocator s_DeviceAllocator; 66 nw::demo::SceneSystem* s_SceneSystem = NULL; 67 nw::demo::RenderSystem* s_RenderSystem = NULL; 69 nw::demo::GraphicsDrawing s_GraphicsDrawing; 73 nw::demo::ResourceArray s_Resources; 136 nw::demo::RenderSystem::Description renderDescription; in InitializeGraphics() 140 renderDescription.upperScreenMode = nw::demo::UPPER_SCREEN_MODE_STEREO; in InitializeGraphics() 142 s_RenderSystem = nw::demo::RenderSystem::Create(&s_DeviceAllocator, renderDescription); in InitializeGraphics() 154 nw::demo::Utility::CreateUpperScreenBuffer(&s_DeviceAllocator, renderDescription) in InitializeGraphics() 159 nw::demo::SceneSystem::Description sceneDescription; in InitializeGraphics() [all …]
|
| /NW4C-1.2.23/demos/gfx/ConstraintDemo/sources/ |
| D | ConstraintDemo.cpp | 36 nw::demo::DemoAllocator s_DeviceAllocator; 37 nw::demo::DemoAllocator s_ParticleAllocator; 63 nw::demo::SceneSystem* s_SceneSystem = NULL; 64 nw::demo::RenderSystem* s_RenderSystem = NULL; 67 nw::demo::GraphicsDrawing s_GraphicsDrawing; 71 nw::demo::ResourceArray s_Resources; 110 nw::demo::Utility::AnimationType animType; 115 { "Toy_Mobile", "Toy_Mobile", nw::demo::Utility::SKELETAL_ANIMATION }, 116 { "pointLight1", "pointLight1", nw::demo::Utility::LIGHT_ANIMATION } 124 nw::demo::FlushCache* s_FlushCache; [all …]
|
| /NW4C-1.2.23/demos/gfx/ProjectionShadowDemo/sources/ |
| D | ProjectionShadowDemo.cpp | 63 nw::demo::CommandListSwapper* commandListSwapper, in StartShadowRenderCommand() 100 nw::demo::CommandListSwapper* m_CommandListSwapper; 114 …EndShadowRenderCommand(nw::demo::CommandListSwapper* commandListSwapper, StartShadowRenderCommand*… in EndShadowRenderCommand() 137 nw::demo::CommandListSwapper* m_CommandListSwapper; 148 …StartRenderCommand(nw::demo::RenderSystem* renderSystem, nw::gfx::IRenderTarget* renderTarget, s32… in StartRenderCommand() 159 nw::demo::CommandListSwapper* commandListSwapper = m_RenderSystem->GetCommandListSwapper(); in Invoke() 177 nw::demo::RenderSystem* m_RenderSystem; 190 nw::demo::RenderSystem* renderSystem, in EndRenderCommand() 206 nw::demo::CommandListSwapper* commandListSwapper = m_RenderSystem->GetCommandListSwapper(); in Invoke() 221 m_RenderSystem->TransferBuffer(nw::demo::UPPER_SCREEN); in Invoke() [all …]
|