Lines Matching refs:demo

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()
145 m_UpperSwapper = nw::demo::DisplayBufferSwapper::Builder() in SmRenderSystem()
150 m_LowerSwapper = nw::demo::DisplayBufferSwapper::Builder() in SmRenderSystem()
157 nw::demo::DisplayBufferSwapper::Description extensionScreenDescription; in SmRenderSystem()
158 extensionScreenDescription.screenKind = nw::demo::EXTENSION_SCREEN; in SmRenderSystem()
163 m_ExtensionSwapper = nw::demo::DisplayBufferSwapper::Builder() in SmRenderSystem()
204 NW_MAX_ASSERT(screenKind, (int)nw::demo::BOTH_SCREENS); in WaitVSync()
207 …if (screenKind & (nw::demo::UPPER_SCREEN | nw::demo::LOWER_SCREEN)) { display = NN_GX_DISPLAY_BOTH… in WaitVSync()
208 else if (screenKind & nw::demo::UPPER_SCREEN) { display = NN_GX_DISPLAY0; } in WaitVSync()
209 else if (screenKind & nw::demo::LOWER_SCREEN) { display = NN_GX_DISPLAY1; } in WaitVSync()
223 if (screenKind & (nw::demo::UPPER_SCREEN | nw::demo::LOWER_SCREEN)) in SwapBuffer()
228 if (screenKind & nw::demo::EXTENSION_SCREEN) in SwapBuffer()
235 else if (screenKind & nw::demo::UPPER_SCREEN) in SwapBuffer()
239 if (screenKind & nw::demo::EXTENSION_SCREEN) in SwapBuffer()
246 else if (screenKind & nw::demo::LOWER_SCREEN) in SwapBuffer()
273 if (screenKind & nw::demo::UPPER_SCREEN) in TransferBuffer()
278 if (screenKind & nw::demo::LOWER_SCREEN) in TransferBuffer()
283 if (screenKind & nw::demo::EXTENSION_SCREEN) in TransferBuffer()