Searched refs:wh (Results 1 – 8 of 8) sorted by relevance
/qemu/ui/ |
H A D | console-gl.c | 143 int ww, int wh) in surface_gl_setup_viewport() argument 154 sh = (float)wh/gh; in surface_gl_setup_viewport() 156 stripe = wh - wh*sw/sh; in surface_gl_setup_viewport() 157 glViewport(0, stripe / 2, ww, wh - stripe); in surface_gl_setup_viewport() 160 glViewport(stripe / 2, 0, ww - stripe, wh); in surface_gl_setup_viewport()
|
H A D | sdl2-gl.c | 51 int ww, wh; in sdl2_gl_render_surface() local 56 SDL_GetWindowSize(scon->real_window, &ww, &wh); in sdl2_gl_render_surface() 57 surface_gl_setup_viewport(scon->gls, scon->surface, ww, wh); in sdl2_gl_render_surface() 231 int ww, wh; in sdl2_gl_scanout_flush() local 243 SDL_GetWindowSize(scon->real_window, &ww, &wh); in sdl2_gl_scanout_flush() 244 egl_fb_setup_default(&scon->win_fb, ww, wh); in sdl2_gl_scanout_flush()
|
H A D | gtk-egl.c | 73 int ww, wh, ws; in gd_egl_draw() local 82 wh = gdk_window_get_height(window) * ws; in gd_egl_draw() 97 vc->gfx.scale_y = (double)wh / surface_height(vc->gfx.ds); in gd_egl_draw() 118 surface_gl_setup_viewport(vc->gfx.gls, vc->gfx.ds, ww, wh); in gd_egl_draw() 124 vc->gfx.scale_y = (double)wh / surface_height(vc->gfx.ds); in gd_egl_draw() 339 int ww, wh, ws; in gd_egl_scanout_flush() local 354 wh = gdk_window_get_height(window) * ws; in gd_egl_scanout_flush() 355 egl_fb_setup_default(&vc->gfx.win_fb, ww, wh); in gd_egl_scanout_flush()
|
H A D | gtk-gl-area.c | 45 int ww, wh, ws, y1, y2; in gd_gl_area_draw() local 54 wh = gtk_widget_get_allocated_height(vc->gfx.drawing_area) * ws; in gd_gl_area_draw() 74 glViewport(0, 0, ww, wh); in gd_gl_area_draw() 78 0, 0, ww, wh, in gd_gl_area_draw() 104 surface_gl_setup_viewport(vc->gfx.gls, vc->gfx.ds, ww, wh); in gd_gl_area_draw()
|
H A D | gtk.c | 344 int ww, wh; in gd_update_full_redraw() local 396 int ww, wh; in gd_update() local 430 if (wh > fbh) { in gd_update() 431 my = (wh - fbh) / 2; in gd_update() 807 int ww, wh; in gd_draw_event() local 851 sy = (double)wh / fbh; in gd_draw_event() 863 if (wh > fbh) { in gd_draw_event() 864 my = (wh - fbh) / 2; in gd_draw_event() 894 int ww, wh; in gd_motion_event() local 915 if (wh > fbh) { in gd_motion_event() [all …]
|
H A D | trace-events | 31 gd_motion_event(int ww, int wh, int ws, int x, int y) "ww=%d, wh=%d, ws=%d, x=%d, y=%d"
|
/qemu/include/ui/ |
H A D | console.h | 437 int ww, int wh);
|
/qemu/linux-user/ |
H A D | syscall.c | 322 loff_t *, res, unsigned int, wh);
|