Lines Matching refs:dm
48 DisplayModeEx& dm = si.displayMode;
50 uint16 hds = dm.h_display_start; // current horizontal starting pixel
51 uint16 vds = dm.v_display_start; // current vertical starting line
54 if (x >= dm.virtual_width)
55 x = dm.virtual_width - 1;
56 if (y >= dm.virtual_height)
57 y = dm.virtual_height - 1;
60 if (x >= (dm.timing.h_display + hds))
61 hds = x - dm.timing.h_display + 1;
65 if (y >= (dm.timing.v_display + vds))
66 vds = y - dm.timing.v_display + 1;
71 if (hds != dm.h_display_start || vds != dm.v_display_start)