Searched refs:last_x (Results 1 – 3 of 3) sorted by relevance
/external/qemu/distrib/sdl-1.2.12/src/video/riscos/ |
D | SDL_riscosevents.c | 251 static Sint16 last_x = -1, last_y = -1; variable 272 if (new_x != last_x || new_y != last_y || last_buttons != regs.r[2]) in RISCOS_PollMouseHelper() 303 if (last_x != new_x || last_y != new_y) in RISCOS_PollMouseHelper() 313 last_x = topLeftX + (centre_x << this->hidden->xeig); in RISCOS_PollMouseHelper() 324 block[1] = last_x & 0xFF; in RISCOS_PollMouseHelper() 325 block[2] = (last_x >> 8) & 0xFF; in RISCOS_PollMouseHelper() 336 last_x = new_x; in RISCOS_PollMouseHelper()
|
/external/qemu/distrib/sdl-1.2.12/src/video/fbcon/ |
D | SDL_fbelo.c | 83 static int last_x = 0; in eloParsePacket() local 95 if((SDL_abs(x - last_x) > ELO_SNAP_SIZE) || (SDL_abs(y - last_y) > ELO_SNAP_SIZE)) { in eloParsePacket() 100 *dx = last_x; in eloParsePacket() 104 last_x = *dx; in eloParsePacket()
|
/external/qemu/ |
D | vnc.c | 136 int last_x; member 532 static int find_dirty_height(VncState *vs, int y, int last_x, int x) in find_dirty_height() argument 538 if (!vnc_get_bit(vs->dirty_row[y + h], last_x)) in find_dirty_height() 540 for (tmp_x = last_x; tmp_x < x; tmp_x++) in find_dirty_height() 609 int last_x = -1; in vnc_update_client() local 612 if (last_x == -1) { in vnc_update_client() 613 last_x = x; in vnc_update_client() 617 if (last_x != -1) { in vnc_update_client() 618 int h = find_dirty_height(vs, y, last_x, x); in vnc_update_client() 619 send_framebuffer_update(vs, last_x * 16, y, (x - last_x) * 16, h); in vnc_update_client() [all …]
|