Displaying 1 result from an estimated 1 matches for "nvallocateoverlaymemory".
2007 May 30
0
[PATCH] added comments
...IDEO(pNv, NV_PVIDEO_COLOR_KEY, pPriv->colorKey);
}
-
-
+/**
+ * NVStopOverlay
+ * Tell the hardware to stop the overlay
+ */
static void
NVStopOverlay (ScrnInfoPtr pScrnInfo)
{
@@ -194,6 +215,30 @@ NVStopOverlay (ScrnInfoPtr pScrnInfo)
nvWriteVIDEO(pNv, NV_PVIDEO_STOP, 1);
}
+/**
+ * NVAllocateOverlayMemory
+ * allocates memory
+ *
+ * - why does the funciton have "Overlay" in its name? It does not
+ * have anything "Overlay"-specific in its function body and it is called by
+ * non-"Overlay"-specific functions.
+ * TODO: rename to something like NVAllocateVideoMemory or...