Searched refs:dm (Results 1 - 25 of 85) sorted by relevance

1234

/haiku/src/add-ons/accelerants/3dfx/
H A Dcursor.cpp48 DisplayModeEx& dm = si.displayMode; local
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
[all...]
/haiku/src/add-ons/accelerants/ati/
H A Dcursor.cpp48 DisplayModeEx& dm = si.displayMode; local
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
[all...]
/haiku/src/add-ons/accelerants/s3/
H A Dcursor.cpp48 DisplayModeEx& dm = si.displayMode; local
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
[all...]
/haiku/src/add-ons/accelerants/via/
H A DCursor.c30 if ((si->dm.flags & DUALHEAD_BITS) != DUALHEAD_OFF)
46 uint16 hds = si->dm.h_display_start; /* the current horizontal starting pixel */
47 uint16 vds = si->dm.v_display_start; /* the current vertical starting line */
51 if (x >= si->dm.virtual_width) x = si->dm.virtual_width - 1;
52 if (y >= si->dm.virtual_height) y = si->dm.virtual_height - 1;
59 if (si->dm.flags & DUALHEAD_BITS)
62 switch(si->dm.space)
77 switch(si->dm
[all...]
H A DGetModeInfo.c23 *current_mode = si->dm;
41 status_t GET_PIXEL_CLOCK_LIMITS(display_mode *dm, uint32 *low, uint32 *high) argument
47 if ((dm == NULL) || (low == NULL) || (high == NULL)) return B_ERROR;
50 if (dm->flags & DUALHEAD_BITS)
62 switch (dm->space)
99 switch (dm->space)
122 switch (dm->space)
150 min_pclk = ((uint32)dm->timing.h_total * (uint32)dm->timing.v_total * 48) / 1000;
H A DSetDisplayMode.c305 si->dm = target;
347 if (si->dm.flags & DUALHEAD_BITS)
350 switch(si->dm.space)
361 LOG(8,("SET:Invalid DH colour depth 0x%08x, should never happen\n", si->dm.space));
367 switch(si->dm.space)
387 switch (si->dm.flags & DUALHEAD_BITS)
391 if (((si->dm.timing.h_display * 2) + h_display_start) > si->dm.virtual_width)
395 if ((si->dm.timing.h_display + h_display_start) > si->dm
[all...]
/haiku/src/add-ons/accelerants/nvidia/
H A DCursor.c30 if ((si->dm.flags & DUALHEAD_BITS) != DUALHEAD_OFF)
46 uint16 hds = si->dm.h_display_start; /* the current horizontal starting pixel */
47 uint16 vds = si->dm.v_display_start; /* the current vertical starting line */
51 if (x >= si->dm.virtual_width) x = si->dm.virtual_width - 1;
52 if (y >= si->dm.virtual_height) y = si->dm.virtual_height - 1;
63 switch (si->dm.flags & DUALHEAD_BITS)
67 if (x >= ((si->dm.timing.h_display * 2) + hds))
69 hds = ((x - (si->dm
[all...]
H A DGetModeInfo.c23 *current_mode = si->dm;
41 status_t GET_PIXEL_CLOCK_LIMITS(display_mode *dm, uint32 *low, uint32 *high) argument
47 if ((dm == NULL) || (low == NULL) || (high == NULL)) return B_ERROR;
50 if (dm->flags & DUALHEAD_BITS)
62 switch (dm->space)
99 switch (dm->space)
122 switch (dm->space)
150 min_pclk = ((uint32)dm->timing.h_total * (uint32)dm->timing.v_total * 48) / 1000;
H A DSetDisplayMode.c285 si->dm = target;
307 si->engine.threeD.mem_low = si->fbc.bytes_per_row * si->dm.virtual_height;
360 switch(si->dm.space)
380 switch (si->dm.flags & DUALHEAD_BITS)
384 if (((si->dm.timing.h_display * 2) + h_display_start) > si->dm.virtual_width)
388 if ((si->dm.timing.h_display + h_display_start) > si->dm.virtual_width)
392 if ((si->dm.timing.v_display + v_display_start) > si->dm
[all...]
/haiku/src/add-ons/accelerants/skeleton/
H A DCursor.c30 if ((si->dm.flags & DUALHEAD_BITS) != DUALHEAD_OFF)
46 uint16 hds = si->dm.h_display_start; /* the current horizontal starting pixel */
47 uint16 vds = si->dm.v_display_start; /* the current vertical starting line */
51 if (x >= si->dm.virtual_width) x = si->dm.virtual_width - 1;
52 if (y >= si->dm.virtual_height) y = si->dm.virtual_height - 1;
63 switch (si->dm.flags & DUALHEAD_BITS)
67 if (x >= ((si->dm.timing.h_display * 2) + hds))
69 hds = ((x - (si->dm
[all...]
H A DGetModeInfo.c23 *current_mode = si->dm;
41 status_t GET_PIXEL_CLOCK_LIMITS(display_mode *dm, uint32 *low, uint32 *high) argument
47 if ((dm == NULL) || (low == NULL) || (high == NULL)) return B_ERROR;
50 if (dm->flags & DUALHEAD_BITS)
62 switch (dm->space)
99 switch (dm->space)
122 switch (dm->space)
150 min_pclk = ((uint32)dm->timing.h_total * (uint32)dm->timing.v_total * 48) / 1000;
H A DSetDisplayMode.c306 si->dm = target;
347 switch(si->dm.space)
367 switch (si->dm.flags & DUALHEAD_BITS)
371 if (((si->dm.timing.h_display * 2) + h_display_start) > si->dm.virtual_width)
375 if ((si->dm.timing.h_display + h_display_start) > si->dm.virtual_width)
379 if ((si->dm.timing.v_display + v_display_start) > si->dm.virtual_height)
383 si->dm
[all...]
/haiku/src/add-ons/accelerants/matrox/
H A DCursor.c53 uint16 hds = si->dm.h_display_start; /* the current horizontal starting pixel */
54 uint16 vds = si->dm.v_display_start; /* the current vertical starting line */
58 if (x >= si->dm.virtual_width) x = si->dm.virtual_width - 1;
59 if (y >= si->dm.virtual_height) y = si->dm.virtual_height - 1;
66 if (si->dm.flags & DUALHEAD_BITS)
68 switch(si->dm.space)
83 switch(si->dm.space)
101 switch (si->dm
[all...]
H A DGetModeInfo.c25 *current_mode = si->dm;
44 status_t GET_PIXEL_CLOCK_LIMITS(display_mode *dm, uint32 *low, uint32 *high) argument
50 if ((dm == NULL) || (low == NULL) || (high == NULL)) return B_ERROR;
53 if (dm->flags & DUALHEAD_BITS)
68 switch (dm->space)
107 switch (dm->space)
134 min_pclk = ((uint32)dm->timing.h_total * (uint32)dm->timing.v_total * 48) / 1000;
H A DSetDisplayMode.c405 si->dm = target;
451 if (si->dm.flags & DUALHEAD_BITS)
453 switch(si->dm.space)
464 LOG(8,("SET:Invalid DH colour depth 0x%08x, should never happen\n", si->dm.space));
470 switch(si->dm.space)
490 switch (si->dm.flags & DUALHEAD_BITS)
494 if (((si->dm.timing.h_display * 2) + h_display_start) > si->dm.virtual_width)
498 if ((si->dm.timing.h_display + h_display_start) > si->dm
[all...]
H A Dbe_driver_proto.h21 status_t GET_MODE_LIST(display_mode *dm);
26 status_t GET_PIXEL_CLOCK_LIMITS(display_mode *dm, uint32 *low, uint32 *high);
47 uint32 OVERLAY_COUNT(const display_mode *dm);
48 const uint32 *OVERLAY_SUPPORTED_SPACES(const display_mode *dm);
52 status_t GET_OVERLAY_CONSTRAINTS(const display_mode *dm, const overlay_buffer *ob, overlay_constraints *oc);
/haiku/src/add-ons/accelerants/et6x00/
H A DGetModeInfo.c17 *current_mode = si->dm;
37 status_t GET_PIXEL_CLOCK_LIMITS(display_mode *dm, uint32 *low, uint32 *high) { argument
39 uint32 totalPix = (uint32)dm->timing.h_total * (uint32)dm->timing.v_total;
42 switch (dm->space & ~0x3000) {
H A DSetDisplayMode.c15 static status_t doSetDisplayMode(display_mode *dm) { argument
19 mode.mode = *dm;
57 si->dm = target;
/haiku/src/add-ons/accelerants/neomagic/
H A DCursor.c43 uint16 hds = si->dm.h_display_start; /* the current horizontal starting pixel */
44 uint16 vds = si->dm.v_display_start; /* the current vertical starting line */
46 uint16 h_display = si->dm.timing.h_display; /* local copy needed for flatpanel */
47 uint16 v_display = si->dm.timing.v_display; /* local copy needed for flatpanel */
50 if (x >= si->dm.virtual_width) x = si->dm.virtual_width - 1;
51 if (y >= si->dm.virtual_height) y = si->dm.virtual_height - 1;
73 if ((hds + h_display) > si->dm.virtual_width)
85 if ((hds!=si->dm
[all...]
H A DGetModeInfo.c22 *current_mode = si->dm;
37 status_t GET_PIXEL_CLOCK_LIMITS(display_mode *dm, uint32 *low, uint32 *high) argument
43 if ((dm == NULL) || (low == NULL) || (high == NULL)) return B_ERROR;
56 switch (dm->space)
80 min_pclk = ((uint32)dm->timing.h_total * (uint32)dm->timing.v_total * 48) / 1000;
H A DSetDisplayMode.c139 si->dm = target;
171 uint16 h_display = si->dm.timing.h_display; /* local copy needed for flatpanel */
172 uint16 v_display = si->dm.timing.v_display; /* local copy needed for flatpanel */
180 switch(si->dm.space)
204 if ((h_display + h_display_start) > si->dm.virtual_width)
206 if ((v_display + v_display_start) > si->dm.virtual_height)
210 si->dm.h_display_start = h_display_start;
211 si->dm.v_display_start = v_display_start;
232 if (si->dm.space != B_CMAP8) return;
/haiku/src/add-ons/accelerants/framebuffer/
H A Daccelerant_protos.h29 status_t framebuffer_get_mode_list(display_mode *dm);
34 status_t framebuffer_get_pixel_clock_limits(display_mode *dm, uint32 *low,
/haiku/src/add-ons/accelerants/virtio/
H A Daccelerant_protos.h29 status_t virtio_gpu_get_mode_list(display_mode *dm);
35 status_t virtio_gpu_get_pixel_clock_limits(display_mode *dm, uint32 *low,
/haiku/src/add-ons/accelerants/vesa/
H A Daccelerant_protos.h28 status_t vesa_get_mode_list(display_mode *dm);
35 status_t vesa_get_pixel_clock_limits(display_mode *dm, uint32 *low,
66 uint32 vesa_overlay_count(const display_mode *dm);
67 const uint32 *vesa_overlay_supported_spaces(const display_mode *dm);
72 status_t vesa_get_overlay_constraints(const display_mode *dm,
/haiku/headers/private/graphics/
H A Dvideo_overlay.h108 typedef uint32 (*overlay_count)(const display_mode *dm);
109 typedef const uint32 *(*overlay_supported_spaces)(const display_mode *dm);
113 typedef status_t (*get_overlay_constraints)(const display_mode *dm, const overlay_buffer *ob, overlay_constraints *oc);

Completed in 330 milliseconds

1234