summaryrefslogtreecommitdiff
path: root/src/mga_merge.h
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-14 16:48:55 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-14 16:48:55 +0000
commit1e444800e5935c1c5678aaa9fa3751c4519f42e4 (patch)
treec52149949dfe70e8096392a9a1bd93ef99423c73 /src/mga_merge.h
Initial revisionXORG-STABLE
Diffstat (limited to 'src/mga_merge.h')
-rw-r--r--src/mga_merge.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/mga_merge.h b/src/mga_merge.h
new file mode 100644
index 0000000..f823b23
--- /dev/null
+++ b/src/mga_merge.h
@@ -0,0 +1,19 @@
+/* Merged mode stuff */
+/* include file for mga_driver.c DO NOT try to generate a .o with this file.*/
+
+void MGADisplayPowerManagementSetMerged(ScrnInfoPtr pScrn,
+ int PowerManagementMode,
+ int flags);
+void MGAMergePointerMoved(int scrnIndex, int x, int y);
+void MGAAdjustMergeFrames(int scrnIndex, int x, int y, int flags);
+Bool MGAPreInitMergedFB(ScrnInfoPtr pScrn1, int flags);
+Bool MGACloseScreenMerged(int scrnIndex, ScreenPtr pScreen);
+Bool MGASaveScreenMerged(ScreenPtr pScreen, int mode);
+
+typedef struct _MergedDisplayModeRec {
+ DisplayModePtr Monitor1;
+ DisplayModePtr Monitor2;
+ MgaScrn2Rel Monitor2Pos;
+} MergedDisplayModeRec, *MergedDisplayModePtr;
+
+#define MDMPTR(x) ((MergedDisplayModePtr)(x->currentMode->Private))