summaryrefslogtreecommitdiff
path: root/src/g80_display.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/g80_display.h')
-rw-r--r--src/g80_display.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/g80_display.h b/src/g80_display.h
index 4ab1d55..8bd3bfb 100644
--- a/src/g80_display.h
+++ b/src/g80_display.h
@@ -1,3 +1,9 @@
+enum G80ScaleMode {
+ G80_SCALE_ASPECT,
+ G80_SCALE_FILL,
+ G80_SCALE_CENTER,
+};
+
Bool G80DispPreInit(ScrnInfoPtr);
Bool G80DispInit(ScrnInfoPtr);
void G80DispShutdown(ScrnInfoPtr);
@@ -13,5 +19,6 @@ void G80CrtcDisableCursor(xf86CrtcPtr, Bool update);
void G80CrtcSetCursorPosition(xf86CrtcPtr, int x, int y);
void G80CrtcSkipModeFixup(xf86CrtcPtr);
void G80CrtcSetDither(xf86CrtcPtr, Bool dither, Bool update);
+void G80CrtcSetScale(xf86CrtcPtr, DisplayModePtr, enum G80ScaleMode, Bool update);
void G80DispCreateCrtcs(ScrnInfoPtr pScrn);