Lines Matching defs:window
365 static SDL_Window *window;
1294 if (window)
1295 SDL_DestroyWindow(window);
1334 SDL_SetWindowTitle(window, window_title);
1336 SDL_SetWindowSize(window, w, h);
1337 SDL_SetWindowPosition(window, screen_left, screen_top);
1339 SDL_SetWindowFullscreen(window, SDL_WINDOW_FULLSCREEN_DESKTOP);
1340 SDL_ShowWindow(window);
2257 /* copy samples for viewing in editor window */
3208 SDL_SetWindowFullscreen(window, is_full_screen ? SDL_WINDOW_FULLSCREEN_DESKTOP : 0);
3282 // If we don't yet have a window, skip all key events, because read_thread might still be initializing...
3445 switch (event.window.event) {
3447 screen_width = cur_stream->width = event.window.data1;
3448 screen_height = cur_stream->height = event.window.data2;
3578 { "noborder", OPT_BOOL, { &borderless }, "borderless window" },
3579 { "alwaysontop", OPT_BOOL, { &alwaysontop }, "window always on top" },
3594 { "window_title", OPT_STRING | HAS_ARG, { &window_title }, "set window title", "window title" },
3595 { "left", OPT_INT | HAS_ARG | OPT_EXPERT, { &screen_left }, "set the x position for the left of the window", "x pos" },
3596 { "top", OPT_INT | HAS_ARG | OPT_EXPERT, { &screen_top }, "set the y position for the top of the window", "y pos" },
3728 window = SDL_CreateWindow(program_name, SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, default_width, default_height, flags);
3730 if (window) {
3731 renderer = SDL_CreateRenderer(window, -1, SDL_RENDERER_ACCELERATED | SDL_RENDERER_PRESENTVSYNC);
3734 renderer = SDL_CreateRenderer(window, -1, 0);
3741 if (!window || !renderer || !renderer_info.num_texture_formats) {
3742 av_log(NULL, AV_LOG_FATAL, "Failed to create window or renderer: %s", SDL_GetError());