Lines Matching refs:demo
2713 Demo demo; variable
2722 demo.run(); in WndProc()
2725 ((MINMAXINFO *)lParam)->ptMinTrackSize = demo.minsize; in WndProc()
2732 demo.width = lParam & 0xffff; in WndProc()
2733 demo.height = (lParam & 0xffff0000) >> 16; in WndProc()
2734 demo.resize(); in WndProc()
2783 demo.init(argc, argv); in WinMain()
2795 demo.connection = hInstance; in WinMain()
2796 strncpy(demo.name, "cube", APP_NAME_STR_LEN); in WinMain()
2797 demo.create_window(); in WinMain()
2798 demo.init_vk_swapchain(); in WinMain()
2800 demo.prepare(); in WinMain()
2815 RedrawWindow(demo.window, nullptr, nullptr, RDW_INTERNALPAINT); in WinMain()
2818 demo.cleanup(); in WinMain()
2844 Demo demo; in main() local
2846 demo.init(argc, argv); in main()
2849 if (demo.use_xlib) { in main()
2850 demo.create_xlib_window(); in main()
2852 demo.create_xcb_window(); in main()
2854 demo.create_xcb_window(); in main()
2856 demo.create_xlib_window(); in main()
2858 demo.create_window(); in main()
2862 demo.init_vk_swapchain(); in main()
2864 demo.prepare(); in main()
2867 if (demo.use_xlib) { in main()
2868 demo.run_xlib(); in main()
2870 demo.run_xcb(); in main()
2872 demo.run_xcb(); in main()
2874 demo.run_xlib(); in main()
2876 demo.run(); in main()
2880 demo.cleanup(); in main()