[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    a hardware cursor problem
From:       truename <harry_hao () yeah ! net>
Date:       2010-03-22 6:25:20
Message-ID: ae52b38.eec5.127848c022f.Coremail.harry_hao () yeah ! net
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


I wrote the driver of my video card in XFree86 4.2.0. The hardware cursor works well. \
Then I upgrade my driver in order to run in Xorg 1.3. I found that the hardware \
cursor didn't work in Xorg 1.3. I tracked the source code of Xorg. In function \
xf86SetCursor in "\hw\xfree86\ramdac\xf86HWCurs.c", the following codes are executed. \
  if (pCurs == NullCursor) {
 (*infoPtr->HideCursor)(infoPtr->pScrn);
 return;
    }
 
I think normally the above codes should not be executed.
 
Any comments on this problem will be appreciated!
 
Harry


[Attachment #5 (text/html)]

<DIV>I wrote the driver of my video card in XFree86 4.2.0. The hardware cursor works \
well. Then I upgrade my driver in order to run in Xorg 1.3. I found that the hardware \
cursor didn't work in Xorg 1.3. I tracked the source code of Xorg. In function \
xf86SetCursor in "\hw\xfree86\ramdac\xf86HWCurs.c", the following codes are \
executed.</DIV> <DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (pCurs == NullCursor) \
{<BR>&nbsp;(*infoPtr-&gt;HideCursor)(infoPtr-&gt;pScrn);<BR>&nbsp;return;<BR>&nbsp;&nbsp;&nbsp; \
}</DIV> <DIV>&nbsp;</DIV>
<DIV>I think normally the above codes should not be executed.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Any comments on this problem will be appreciated!</DIV>
<DIV>&nbsp;</DIV>
<DIV>Harry</DIV>



_______________________________________________
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic