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()
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()
167 extensionScreenDescription.screenKind = nw::demo::EXTENSION_SCREEN; in SmRenderSystem()
172 m_ExtensionSwapper = nw::demo::DisplayBufferSwapper::Builder() in SmRenderSystem()
213 NW_MAX_ASSERT(screenKind, (int)nw::demo::BOTH_SCREENS); in WaitVSync()
216 …if (screenKind & (nw::demo::UPPER_SCREEN | nw::demo::LOWER_SCREEN)) { display = NN_GX_DISPLAY_BOTH… in WaitVSync()
217 else if (screenKind & nw::demo::UPPER_SCREEN) { display = NN_GX_DISPLAY0; } in WaitVSync()
218 else if (screenKind & nw::demo::LOWER_SCREEN) { display = NN_GX_DISPLAY1; } in WaitVSync()
232 if (screenKind & (nw::demo::UPPER_SCREEN | nw::demo::LOWER_SCREEN)) in SwapBuffer()
237 if (screenKind & nw::demo::EXTENSION_SCREEN) in SwapBuffer()
244 else if (screenKind & nw::demo::UPPER_SCREEN) in SwapBuffer()
248 if (screenKind & nw::demo::EXTENSION_SCREEN) in SwapBuffer()
255 else if (screenKind & nw::demo::LOWER_SCREEN) in SwapBuffer()
282 if (screenKind & nw::demo::UPPER_SCREEN) in TransferBuffer()
287 if (screenKind & nw::demo::LOWER_SCREEN) in TransferBuffer()
292 if (screenKind & nw::demo::EXTENSION_SCREEN) in TransferBuffer()