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