tech-x11 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Xorg for amiga, need help



phx@ wrote:

> Now I don't understand what to do with cfb16ScreenPrivateIndex and
> cfb32ScreenPrivateIndex under Xorg. It is obviously a similar index into
> devPrivates[] like those I already removed, but I don't know where they are
> defined. Do they still exist under Xorg? How do I write replacement code
> for:
>   pScreen->devPrivates[cfb32ScreenPrivateIndex].ptr = pScreen->devPrivate;

In X68k server the similar code was already #if 0'ed out even in xfree tree:

 https://gist.github.com/tsutsui/f2661d3550c6323a13f1#file-xfree-xorg-diff-L193

-#if 0				/* XXX FORCE_SEPARATE_PRIVATE */
-    pScreen->CreateScreenResources = cfb16CreateScreenResources;
-    pScreen->devPrivates[cfb16ScreenPrivateIndex].ptr =
-        pScreen->devPrivate;
-    pScreen->devPrivate = oldDevPrivate;
-#endif

Though I don't know what "FORCE_SEPARATE_PRIVATE" meant in XFree.

---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index