/external/libvncserver/x11vnc/ |
D | xinerama.c | 80 if (! parse_geom(p, &w, &h, &x, &y, dpy_x, dpy_y)) { in initialize_blackouts() 90 y = nfix(y, dpy_y); in initialize_blackouts() 94 Y = nfix(Y, dpy_y+1); in initialize_blackouts() 101 if (x < 0 || x > dpy_x || y < 0 || y > dpy_y || in initialize_blackouts() 102 X < 0 || X > dpy_x || Y < 0 || Y > dpy_y || in initialize_blackouts() 166 if (y2 > dpy_y) { in blackout_tiles() 167 y2 = dpy_y; in blackout_tiles() 392 black_region = sraRgnCreateRect(0, 0, dpy_x, dpy_y); in initialize_xinerama() 496 int Lx = dpy_x, Ly = dpy_y; in push_black_screen() 502 Ly = dpy_y * (1+ncache); in push_black_screen() [all …]
|
D | 8to24.c | 223 y1 = nfix(y1, dpy_y); in check_pointer_in_depth24() 225 y2 = nfix(y2, dpy_y+1); in check_pointer_in_depth24() 275 if (! *fb || *w != dpy_x || *h != dpy_y) { in pfb() 279 *fb = (char *) calloc(fac * dpy_x * dpy_y, 1); in pfb() 281 *h = dpy_y; in pfb() 580 if (0 && area < dpy_x * dpy_y / 2 && diff && multivis_count) { in check_for_multivis() 977 my1 = nfix(y1 - ns, dpy_y); in poll_line() 978 my2 = nfix(y1 + ns, dpy_y+1); in poll_line() 995 my1 = nfix(y1 - ns, dpy_y); in poll_line() 996 my2 = nfix(y1 + ns, dpy_y+1); in poll_line() [all …]
|
D | userinput.c | 810 int max = dpy_x > dpy_y ? dpy_x : dpy_y; in draw_box() 906 if (yu < 0 || yu >= dpy_y) { in draw_box() 1007 if (yu < 0 || yu >= dpy_y) { in draw_box() 1079 y1 = nfix(y1, dpy_y); in direct_fb_copy() 1081 y2 = nfix(y2, dpy_y+1); in direct_fb_copy() 1221 whole = sraRgnCreateRect(0, 0, dpy_x, dpy_y); in do_bdpush() 1413 y1 = nfix(y1 - s, dpy_y); in scale_mark() 1415 y2 = nfix(y2 + s, dpy_y+1); in scale_mark() 1466 whole = sraRgnCreateRect(0, 0, dpy_x, dpy_y); in push_scr_ev() 1565 tmpregion = sraRgnCreateRect(0, 0, dpy_x, dpy_y); in push_scr_ev() [all …]
|
D | xdamage.c | 248 tmpregion = sraRgnCreateRect(0, 0, dpy_x, dpy_y); in clear_xdamage_mark_region() 332 y = nfix(y, dpy_y); in collect_non_X_xdamage() 333 y2 = nfix(y2, dpy_y+1); in collect_non_X_xdamage() 468 tmpregion = sraRgnCreateRect(0, 0, dpy_x, dpy_y); in collect_xdamage() 544 y = nfix(y, dpy_y); in collect_xdamage() 545 y2 = nfix(y2, dpy_y+1); in collect_xdamage() 831 mark_for_xdamage(0, 0, dpy_x, dpy_y); in check_xdamage_state()
|
D | scan.c | 134 ntiles_y = (dpy_y - 1)/tile_y + 1; in initialize_tiles() 211 int f, fac = 1, n = dpy_y; in set_fs_factor() 214 if ((bpp/8) * dpy_x * dpy_y <= max) { in set_fs_factor() 222 if ( (bpp/8) * dpy_x * (dpy_y/fac) <= max ) { in set_fs_factor() 466 dpy_y/fs_factor, "fullscreen")) { in initialize_polling_images() 475 dpy_y/fs_factor, "snaprect")) { in initialize_polling_images() 529 int h = dpy_y - y; in create_tile_hint() 546 int h = dpy_y - y; in extend_tile_hint() 1340 src_fb, fac * main_bytes_per_line, dst_fb, dst_bpl, dpy_x, dpy_y, in scale_and_mark_rect() 1356 Dy = dpy_y; in rotate_coords() [all …]
|
D | screen.c | 776 fb = XGetImage_wr(dpy, window, 0, 0, dpy_x, dpy_y, AllPlanes, ZPixmap); in nofb_hook() 779 fb->data = (char *) calloc(dpy_x*dpy_y*bpp/8, 1); in nofb_hook() 961 if (db < Bpp * dpy_x * dpy_y) { in settle_clients() 965 if (db < 0.5 * Bpp * dpy_x * dpy_y) { in settle_clients() 1154 snap = XGetImage_wr(dpy, window, 0, 0, dpy_x, dpy_y, AllPlanes, in initialize_snap_fb() 2074 dpy_y = wdpy_y = h; in initialize_raw_fb() 2275 raw_fb = (char *) malloc(dpy_y * dpy_x * b/8); in initialize_raw_fb() 2279 raw_fb_image->height = dpy_y; in initialize_raw_fb() 2301 snap_fb = (char *) malloc(dpy_y * dpy_x * b_use/8); in initialize_raw_fb() 2306 snap->height = dpy_y; in initialize_raw_fb() [all …]
|
D | unixpw.c | 406 mark_rect_as_modified(0, 0, dpy_x, dpy_y, 0); in unixpw_mark() 441 zero_fb(0, 0, dpy_x, dpy_y); in unixpw_screen() 443 mark_rect_as_modified(0, 0, dpy_x, dpy_y, 0); in unixpw_screen() 446 y = (int) (dpy_y / 3.5); in unixpw_screen() 448 y = (int) (dpy_y / 3); in unixpw_screen() 1859 y2 = nfix(y2, dpy_y); 2212 mark_rect_as_modified(0, 0, dpy_x, dpy_y, 0);
|
D | x11vnc_defs.c | 62 int dpy_x = 0, dpy_y = 0; /* size of display */ variable
|
D | connections.c | 1225 if (Y < -dpy_y) { in ugly_window() 1226 y = (dpy_y - h)/2; in ugly_window() 1229 y = dpy_y + Y - h; in ugly_window() 3346 pmove(shift, dpy_y-1); /* go to bottom edge */ in bcx_xattach() 3348 pmove(shift+1, dpy_y-1); /* move 1 for MotionNotify */ in bcx_xattach() 3369 pmove(shift+1, dpy_y-2); /* go to height-2 for extra pixel (slave y now == 0?) */ in bcx_xattach() 3371 pmove(shift, dpy_y-2); /* move 1 for MotionNotify */ in bcx_xattach() 3377 pmove(shift, dpy_y-3); /* Approach bottom edge in 3 moves. 1st move */ in bcx_xattach() 3379 pmove(shift, dpy_y-2); /* 2nd move */ in bcx_xattach() 3381 pmove(shift, dpy_y-1); /* 3rd move */ in bcx_xattach() [all …]
|
D | cursor.c | 734 h_in = dpy_y; in setup_cursors() 1845 y = ((double) y / dpy_y) * scaled_y; in cursor_position() 1853 if (y >= dpy_y) y = dpy_y-1; in cursor_position() 2008 if (x < 0 || y < 0 || x >= dpy_x || y >= dpy_y) { in check_x11_pointer()
|
D | macosxCG.c | 228 extern int dpy_x, dpy_y, bpp, wdpy_x, wdpy_y; 422 if (!dpy_x || !dpy_y || !wdpy_x || !wdpy_y) { in current_cursor_pos() 482 if (!dpy_x || !dpy_y || !wdpy_x || !wdpy_y) { in macosxCG_get_cursor()
|
D | macosxCGS.c | 125 extern int dpy_x, dpy_y; 327 if (rect.size.height == dpy_y) { in macosxCGS_get_all_windows()
|
D | x11vnc.h | 480 extern int dpy_x, dpy_y; /* size of display */
|
D | macosx.c | 694 r0 = sraRgnCreateRect(0, 0, dpy_x, dpy_y); in macosx_check_offscreen() 723 r0 = sraRgnCreateRect(0, 0, dpy_x, dpy_y); in macosx_check_clipped()
|
D | pointer.c | 714 y = ((double) y / scaled_y) * dpy_y; in pointer_event() 715 y = nfix(y, dpy_y); in pointer_event()
|
D | uinput.c | 454 gw = dpy_x; gh = dpy_y; in initialize_uinput() 1048 ty = fudge_y * (dpy_y - last_y); in uinput_pointer_command() 1116 ptr_rel(x - dpy_x, y - dpy_y); in uinput_pointer_command()
|
D | xevents.c | 1277 xrf = XCreateWindow(dpy, window, coff_x, coff_y, dpy_x, dpy_y, 0, CopyFromParent, in check_xevents() 1280 …if (0) fprintf(stderr, "XCreateWindow(%d, %d, %d, %d) 0x%lx\n", coff_x, coff_y, dpy_x, dpy_y, xrf); in check_xevents()
|
D | remote.c | 4632 pointer_event(0, dpy_x/2 + try, dpy_y/2 + try, NULL); in process_remote_cmd() 6232 snprintf(buf, bufn, "aro=%s:%d", p, dpy_y); in process_remote_cmd()
|
D | user.c | 1446 dpy_y = wdpy_y = h; in setup_fake_fb()
|
D | keyboard.c | 3197 set_xdamage_mark(0, 0, dpy_x, dpy_y); in keyboard()
|
D | x11vnc.c | 5843 dt, dpy_x * dpy_y * bpp / (1e+6 * 8 * dt));
|
D | README | 18094 pointer_mask bpp depth indexed_color dpy_x dpy_y wdpy_x
|