Home
last modified time | relevance | path

Searched refs:hds (Results 1 – 9 of 9) sorted by relevance

/haiku/src/add-ons/accelerants/matrox/
H A DCursor.c53 uint16 hds = si->dm.h_display_start; /* the current horizontal starting pixel */ in MOVE_CURSOR() local
105 if (x >= ((si->dm.timing.h_display * 2) + hds)) in MOVE_CURSOR()
107 hds = ((x - (si->dm.timing.h_display * 2)) + 1 + h_adjust) & ~h_adjust; in MOVE_CURSOR()
109 if ((hds + (si->dm.timing.h_display * 2)) > si->dm.virtual_width) in MOVE_CURSOR()
110 hds -= (h_adjust + 1); in MOVE_CURSOR()
112 else if (x < hds) in MOVE_CURSOR()
113 hds = x & ~h_adjust; in MOVE_CURSOR()
116 if (x >= (si->dm.timing.h_display + hds)) in MOVE_CURSOR()
118 hds = ((x - si->dm.timing.h_display) + 1 + h_adjust) & ~h_adjust; in MOVE_CURSOR()
120 if ((hds + si->dm.timing.h_display) > si->dm.virtual_width) in MOVE_CURSOR()
[all …]
/haiku/src/add-ons/accelerants/nvidia/
H A DCursor.c46 uint16 hds = si->dm.h_display_start; /* the current horizontal starting pixel */ in MOVE_CURSOR() local
67 if (x >= ((si->dm.timing.h_display * 2) + hds)) in MOVE_CURSOR()
69 hds = ((x - (si->dm.timing.h_display * 2)) + 1 + h_adjust) & ~h_adjust; in MOVE_CURSOR()
71 if ((hds + (si->dm.timing.h_display * 2)) > si->dm.virtual_width) in MOVE_CURSOR()
72 hds -= (h_adjust + 1); in MOVE_CURSOR()
74 else if (x < hds) in MOVE_CURSOR()
75 hds = x & ~h_adjust; in MOVE_CURSOR()
78 if (x >= (si->dm.timing.h_display + hds)) in MOVE_CURSOR()
80 hds = ((x - si->dm.timing.h_display) + 1 + h_adjust) & ~h_adjust; in MOVE_CURSOR()
82 if ((hds + si->dm.timing.h_display) > si->dm.virtual_width) in MOVE_CURSOR()
[all …]
/haiku/src/add-ons/accelerants/skeleton/
H A DCursor.c46 uint16 hds = si->dm.h_display_start; /* the current horizontal starting pixel */ in MOVE_CURSOR() local
67 if (x >= ((si->dm.timing.h_display * 2) + hds)) in MOVE_CURSOR()
69 hds = ((x - (si->dm.timing.h_display * 2)) + 1 + h_adjust) & ~h_adjust; in MOVE_CURSOR()
71 if ((hds + (si->dm.timing.h_display * 2)) > si->dm.virtual_width) in MOVE_CURSOR()
72 hds -= (h_adjust + 1); in MOVE_CURSOR()
74 else if (x < hds) in MOVE_CURSOR()
75 hds = x & ~h_adjust; in MOVE_CURSOR()
78 if (x >= (si->dm.timing.h_display + hds)) in MOVE_CURSOR()
80 hds = ((x - si->dm.timing.h_display) + 1 + h_adjust) & ~h_adjust; in MOVE_CURSOR()
82 if ((hds + si->dm.timing.h_display) > si->dm.virtual_width) in MOVE_CURSOR()
[all …]
/haiku/src/add-ons/accelerants/via/
H A DCursor.c46 uint16 hds = si->dm.h_display_start; /* the current horizontal starting pixel */ in MOVE_CURSOR() local
99 if (x >= ((si->dm.timing.h_display * 2) + hds)) in MOVE_CURSOR()
101 hds = ((x - (si->dm.timing.h_display * 2)) + 1 + h_adjust) & ~h_adjust; in MOVE_CURSOR()
103 if ((hds + (si->dm.timing.h_display * 2)) > si->dm.virtual_width) in MOVE_CURSOR()
104 hds -= (h_adjust + 1); in MOVE_CURSOR()
106 else if (x < hds) in MOVE_CURSOR()
107 hds = x & ~h_adjust; in MOVE_CURSOR()
110 if (x >= (si->dm.timing.h_display + hds)) in MOVE_CURSOR()
112 hds = ((x - si->dm.timing.h_display) + 1 + h_adjust) & ~h_adjust; in MOVE_CURSOR()
114 if ((hds + si->dm.timing.h_display) > si->dm.virtual_width) in MOVE_CURSOR()
[all …]
/haiku/src/add-ons/accelerants/neomagic/
H A DCursor.c43 uint16 hds = si->dm.h_display_start; /* the current horizontal starting pixel */ in MOVE_CURSOR() local
69 if (x >= (h_display + hds)) in MOVE_CURSOR()
71 hds = ((x - h_display) + 1 + h_adjust) & ~h_adjust; in MOVE_CURSOR()
73 if ((hds + h_display) > si->dm.virtual_width) in MOVE_CURSOR()
74 hds -= (h_adjust + 1); in MOVE_CURSOR()
76 else if (x < hds) in MOVE_CURSOR()
77 hds = x & ~h_adjust; in MOVE_CURSOR()
85 if ((hds!=si->dm.h_display_start) || (vds!=si->dm.v_display_start)) in MOVE_CURSOR()
87 MOVE_DISPLAY(hds,vds); in MOVE_CURSOR()
92 if (x > (hds + si->cursor.hot_x)) x -= hds + si->cursor.hot_x; in MOVE_CURSOR()
/haiku/src/add-ons/accelerants/3dfx/
H A Dcursor.cpp50 uint16 hds = dm.h_display_start; // current horizontal starting pixel in MoveCursor() local
60 if (x >= (dm.timing.h_display + hds)) in MoveCursor()
61 hds = x - dm.timing.h_display + 1; in MoveCursor()
62 else if (x < hds) in MoveCursor()
63 hds = x; in MoveCursor()
71 if (hds != dm.h_display_start || vds != dm.v_display_start) in MoveCursor()
72 MoveDisplay(hds, vds); in MoveCursor()
75 x -= (hds + si.cursorHotX); in MoveCursor()
/haiku/src/add-ons/accelerants/s3/
H A Dcursor.cpp50 uint16 hds = dm.h_display_start; // current horizontal starting pixel in MoveCursor() local
60 if (x >= (dm.timing.h_display + hds)) in MoveCursor()
61 hds = x - dm.timing.h_display + 1; in MoveCursor()
62 else if (x < hds) in MoveCursor()
63 hds = x; in MoveCursor()
71 if (hds != dm.h_display_start || vds != dm.v_display_start) in MoveCursor()
72 MoveDisplay(hds, vds); in MoveCursor()
75 x -= (hds + si.cursorHotX); in MoveCursor()
/haiku/src/add-ons/accelerants/ati/
H A Dcursor.cpp50 uint16 hds = dm.h_display_start; // current horizontal starting pixel in MoveCursor() local
60 if (x >= (dm.timing.h_display + hds)) in MoveCursor()
61 hds = x - dm.timing.h_display + 1; in MoveCursor()
62 else if (x < hds) in MoveCursor()
63 hds = x; in MoveCursor()
71 if (hds != dm.h_display_start || vds != dm.v_display_start) in MoveCursor()
72 MoveDisplay(hds, vds); in MoveCursor()
75 x -= (hds + si.cursorHotX); in MoveCursor()
/haiku/src/add-ons/accelerants/radeon/
H A DCursor.c74 uint16 hds, vds; in MOVE_CURSOR() local
81 hds = vc->mode.h_display_start; in MOVE_CURSOR()
93 if( x >= (vc->mode.timing.h_display + hds) ) { in MOVE_CURSOR()
94 hds = ((x - vc->mode.timing.h_display) + 1 + h_adjust) & ~h_adjust; in MOVE_CURSOR()
96 } else if( x < hds ) { in MOVE_CURSOR()
97 hds = x & ~h_adjust; in MOVE_CURSOR()
109 Radeon_MoveDisplay( ai, hds, vds ); in MOVE_CURSOR()
113 x -= hds; in MOVE_CURSOR()