Lines Matching refs:demo

23 nw::demo::GraphicsMemoryAllocator s_GraphicsMemoryAllocator;    
31 SmInitializeGraphicsSystem(nw::demo::DemoAllocator* deviceAllocator) in SmInitializeGraphicsSystem()
39 nw::demo::InitializeDemoMemory(); in SmInitializeGraphicsSystem()
41 …nw::demo::InitializeDemoAllocator(deviceAllocator, nw::demo::DEMO_MEMORY_SIZE, nn::os::ALLOCATE_OP… in SmInitializeGraphicsSystem()
50 void* workingMemory = nw::demo::Alloc(workingMemorySize); in SmInitializeGraphicsSystem()
60 SmFinalizeGraphicsSystem(nw::demo::DemoAllocator* deviceAllocator) in SmFinalizeGraphicsSystem()
64 nw::demo::FinalizeDemoAllocator(deviceAllocator); in SmFinalizeGraphicsSystem()
147 m_UpperSwapper = nw::demo::DisplayBufferSwapper::Builder() in SmRenderSystem()
152 m_LowerSwapper = nw::demo::DisplayBufferSwapper::Builder() in SmRenderSystem()
159 nw::demo::DisplayBufferSwapper::Description extensionScreenDescription; in SmRenderSystem()
160 extensionScreenDescription.screenKind = nw::demo::EXTENSION_SCREEN; in SmRenderSystem()
165 m_ExtensionSwapper = nw::demo::DisplayBufferSwapper::Builder() in SmRenderSystem()
206 NW_MAX_ASSERT(screenKind, (int)nw::demo::BOTH_SCREENS); in WaitVSync()
209 …if (screenKind & (nw::demo::UPPER_SCREEN | nw::demo::LOWER_SCREEN)) { display = NN_GX_DISPLAY_BOTH… in WaitVSync()
210 else if (screenKind & nw::demo::UPPER_SCREEN) { display = NN_GX_DISPLAY0; } in WaitVSync()
211 else if (screenKind & nw::demo::LOWER_SCREEN) { display = NN_GX_DISPLAY1; } in WaitVSync()
225 if (screenKind & (nw::demo::UPPER_SCREEN | nw::demo::LOWER_SCREEN)) in SwapBuffer()
230 if (screenKind & nw::demo::EXTENSION_SCREEN) in SwapBuffer()
237 else if (screenKind & nw::demo::UPPER_SCREEN) in SwapBuffer()
241 if (screenKind & nw::demo::EXTENSION_SCREEN) in SwapBuffer()
248 else if (screenKind & nw::demo::LOWER_SCREEN) in SwapBuffer()
275 if (screenKind & nw::demo::UPPER_SCREEN) in TransferBuffer()
280 if (screenKind & nw::demo::LOWER_SCREEN) in TransferBuffer()
285 if (screenKind & nw::demo::EXTENSION_SCREEN) in TransferBuffer()