randr: add some notes about the stuff that changed in driver ABI 2

This commit is contained in:
Maarten Maathuis 2008-12-18 16:26:38 +01:00
parent 1b244feb4c
commit 3d3c234b43

View File

@ -216,6 +216,7 @@ typedef struct _xf86CrtcFuncs {
/** /**
* Callback for panning. Doesn't change the mode. * Callback for panning. Doesn't change the mode.
* Added in ABI version 2
*/ */
void void
(*set_origin)(xf86CrtcPtr crtc, int x, int y); (*set_origin)(xf86CrtcPtr crtc, int x, int y);
@ -312,18 +313,19 @@ struct _xf86Crtc {
* Current transformation matrix * Current transformation matrix
*/ */
PictTransform crtc_to_framebuffer; PictTransform crtc_to_framebuffer;
struct pict_f_transform f_crtc_to_framebuffer; /* framebuffer_to_crtc was removed in ABI 2 */
struct pict_f_transform f_framebuffer_to_crtc; struct pict_f_transform f_crtc_to_framebuffer; /* ABI 2 */
PictFilterPtr filter; struct pict_f_transform f_framebuffer_to_crtc; /* ABI 2 */
xFixed *params; PictFilterPtr filter; /* ABI 2 */
int nparams; xFixed *params; /* ABI 2 */
int filter_width; int nparams; /* ABI 2 */
int filter_height; int filter_width; /* ABI 2 */
int filter_height; /* ABI 2 */
Bool transform_in_use; Bool transform_in_use;
RRTransformRec transform; RRTransformRec transform; /* ABI 2 */
Bool transformPresent; Bool transformPresent; /* ABI 2 */
RRTransformRec desiredTransform; RRTransformRec desiredTransform; /* ABI 2 */
Bool desiredTransformPresent; Bool desiredTransformPresent; /* ABI 2 */
/** /**
* Bounding box in screen space * Bounding box in screen space
*/ */
@ -333,6 +335,7 @@ struct _xf86Crtc {
* TotalArea: total panning area, larger than CRTC's size * TotalArea: total panning area, larger than CRTC's size
* TrackingArea: Area of the pointer for which the CRTC is panned * TrackingArea: Area of the pointer for which the CRTC is panned
* border: Borders of the displayed CRTC area which induces panning if the pointer reaches them * border: Borders of the displayed CRTC area which induces panning if the pointer reaches them
* Added in ABI version 2
*/ */
BoxRec panningTotalArea; BoxRec panningTotalArea;
BoxRec panningTrackingArea; BoxRec panningTrackingArea;
@ -591,7 +594,10 @@ struct _xf86Output {
#else #else
void *randr_output; void *randr_output;
#endif #endif
/** Desired initial panning */ /**
* Desired initial panning
* Added in ABI version 2
*/
BoxRec initialTotalArea; BoxRec initialTotalArea;
BoxRec initialTrackingArea; BoxRec initialTrackingArea;
INT16 initialBorder[4]; INT16 initialBorder[4];