Subversion Repositories Kolibri OS

Rev

Rev 4363 | Rev 5068 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4363 Rev 5022
Line 425... Line 425...
425
 
425
 
426
/**
426
/**
427
 * DRM_IOCTL_UPDATE_DRAW ioctl argument type.
427
 * DRM_IOCTL_UPDATE_DRAW ioctl argument type.
428
 */
428
 */
429
typedef enum {
429
typedef enum {
430
	DRM_DRAWABLE_CLIPRECTS
430
	DRM_DRAWABLE_CLIPRECTS,
Line 431... Line 431...
431
} drm_drawable_info_type_t;
431
} drm_drawable_info_type_t;
432
 
432
 
433
struct drm_update_draw {
433
struct drm_update_draw {
Line 457... Line 457...
457
};
457
};
Line 458... Line 458...
458
 
458
 
459
enum drm_vblank_seq_type {
459
enum drm_vblank_seq_type {
460
	_DRM_VBLANK_ABSOLUTE = 0x0,	/**< Wait for specific vblank sequence number */
460
	_DRM_VBLANK_ABSOLUTE = 0x0,	/**< Wait for specific vblank sequence number */
-
 
461
	_DRM_VBLANK_RELATIVE = 0x1,	/**< Wait for given number of vblanks */
-
 
462
	/* bits 1-6 are reserved for high crtcs */
461
	_DRM_VBLANK_RELATIVE = 0x1,	/**< Wait for given number of vblanks */
463
	_DRM_VBLANK_HIGH_CRTC_MASK = 0x0000003e,
462
	_DRM_VBLANK_EVENT = 0x4000000,   /**< Send event instead of blocking */
464
	_DRM_VBLANK_EVENT = 0x4000000,   /**< Send event instead of blocking */
463
	_DRM_VBLANK_FLIP = 0x8000000,   /**< Scheduled buffer swap should flip */
465
	_DRM_VBLANK_FLIP = 0x8000000,   /**< Scheduled buffer swap should flip */
464
	_DRM_VBLANK_NEXTONMISS = 0x10000000,	/**< If missed, wait for next vblank */
466
	_DRM_VBLANK_NEXTONMISS = 0x10000000,	/**< If missed, wait for next vblank */
465
	_DRM_VBLANK_SECONDARY = 0x20000000,	/**< Secondary display controller */
467
	_DRM_VBLANK_SECONDARY = 0x20000000,	/**< Secondary display controller */
466
	_DRM_VBLANK_SIGNAL = 0x40000000	/**< Send signal instead of blocking, unsupported */
468
	_DRM_VBLANK_SIGNAL = 0x40000000	/**< Send signal instead of blocking, unsupported */
-
 
469
};
Line 467... Line 470...
467
};
470
#define _DRM_VBLANK_HIGH_CRTC_SHIFT 1
468
 
471
 
469
#define _DRM_VBLANK_TYPES_MASK (_DRM_VBLANK_ABSOLUTE | _DRM_VBLANK_RELATIVE)
472
#define _DRM_VBLANK_TYPES_MASK (_DRM_VBLANK_ABSOLUTE | _DRM_VBLANK_RELATIVE)