summaryrefslogtreecommitdiff
path: root/src/riva_proto.h
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-17 19:03:45 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-17 19:03:45 +0000
commit6962e55a393c6b1cddf6b23f9c39842234b4ef7d (patch)
tree0801ca9d58e7c2950cad719ab400d852f10f4212 /src/riva_proto.h
parent2f223903fba2bdee1623f3442d7580c809b428cc (diff)
merge XFree86 4.3.0.1 to -CURRENT
Diffstat (limited to 'src/riva_proto.h')
-rw-r--r--src/riva_proto.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/src/riva_proto.h b/src/riva_proto.h
new file mode 100644
index 0000000..75f5d01
--- /dev/null
+++ b/src/riva_proto.h
@@ -0,0 +1,41 @@
+/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/nv/riva_proto.h,v 1.1 2003/07/31 20:24:31 mvojkovi Exp $ */
+
+#ifndef __RIVA_PROTO_H__
+#define __RIVA_PROTO_H__
+
+/* in riva_driver.c */
+Bool RivaSwitchMode(int scrnIndex, DisplayModePtr mode, int flags);
+void RivaAdjustFrame(int scrnIndex, int x, int y, int flags);
+Bool RivaI2CInit(ScrnInfoPtr pScrn);
+const OptionInfoRec * RivaAvailableOptions(int chipid, int busid);
+Bool RivaGetScrnInfoRec(PciChipsets *chips, int chip);
+
+/* in riva_dac.c */
+Bool RivaDACInit(ScrnInfoPtr pScrn, DisplayModePtr mode);
+void RivaDACSave(ScrnInfoPtr pScrn, vgaRegPtr vgaReg,
+ RivaRegPtr rivaReg, Bool saveFonts);
+void RivaDACRestore(ScrnInfoPtr pScrn, vgaRegPtr vgaReg,
+ RivaRegPtr rivaReg, Bool restoreFonts);
+void RivaDACLoadPalette(ScrnInfoPtr pScrn, int numColors, int *indices,
+ LOCO *colors, VisualPtr pVisual );
+Bool RivaDACi2cInit(ScrnInfoPtr pScrn);
+
+
+/* in riva_setup.c */
+void RivaEnterLeave(ScrnInfoPtr pScrn, Bool enter);
+void Riva3Setup(ScrnInfoPtr pScrn);
+
+/* in riva_cursor.c */
+Bool RivaCursorInit(ScreenPtr pScreen);
+
+/* in riva_xaa.c */
+Bool RivaAccelInit(ScreenPtr pScreen);
+void RivaSync(ScrnInfoPtr pScrn);
+void RivaResetGraphics(ScrnInfoPtr pScrn);
+
+/* in riva_dga.c */
+Bool RivaDGAInit(ScreenPtr pScreen);
+
+
+#endif /* __RIVA_PROTO_H__ */
+