So, according to your explaination, the driver PrepareAccess can not
know exactly whether the pixmap is used to read or write. Well, what's
the usage of the index passed to driver PrepareAccess? <br><br><div class="gmail_quote">2010/12/3 fancy fang <span dir="ltr"><<a href="mailto:fancyfly09@gmail.com">fancyfly09@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">So, according to your explaination, the driver PrepareAccess can not
know exactly whether the pixmap is used to read or write. Well, what's
the usage of the index passed to driver PrepareAccess? <br><br></div><div class="gmail_quote">2010/12/3 fancy fang <span dir="ltr"><<a href="mailto:fancyfly09@gmail.com" target="_blank">fancyfly09@gmail.com</a>></span><div>
<div></div><div class="h5"><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
So, according to your explaination, the driver PrepareAccess can not know exactly whether the pixmap is used to read or write. Well, what's the usage of the index passed to driver PrepareAccess? <br><br><div class="gmail_quote">
2010/12/2 Maarten Maathuis <span dir="ltr"><<a href="mailto:madman2003@gmail.com" target="_blank">madman2003@gmail.com</a>></span><div><div></div><div><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div><div>On Thu, Dec 2, 2010 at 10:48 AM, fancy fang <<a href="mailto:fancyfly09@gmail.com" target="_blank">fancyfly09@gmail.com</a>> wrote:<br>
> Dear all,<br>
> In xserver 1.9.0, there is an access array to cache previous<br>
> results to reduce cost. Howver, this optimization would modify the original<br>
> index and give the wrong index to driver PrepareAccess. Also, sometimes<br>
> driver PrepareAccess need to know the pixmap is used to be read or written.<br>
> Now, nobody can confirm that the driver PrepareAccess can get the right<br>
> index now. Can someone exaplain this? Thanks!<br>
><br>
> Best wishes,<br>
><br>
> Fancy<br>
><br>
</div></div>> _______________________________________________<br>
> <a href="mailto:xorg-devel@lists.x.org" target="_blank">xorg-devel@lists.x.org</a>: X.Org development<br>
> Archives: <a href="http://lists.x.org/archives/xorg-devel" target="_blank">http://lists.x.org/archives/xorg-devel</a><br>
> Info: <a href="http://lists.x.org/mailman/listinfo/xorg-devel" target="_blank">http://lists.x.org/mailman/listinfo/xorg-devel</a><br>
><br>
<br>
In principle any index can be used to read and write. Often SRC and<br>
MASK will only be read and DST will be read-write (this also goes for<br>
the AUX indices), but it is possible for a pixmap to get a random<br>
index. Does that answer your question?<br>
<br>
Maarten.<br>
<font color="#888888"><br>
Maarten.<br>
</font></blockquote></div></div></div><br>
</blockquote></div></div></div><br>
</blockquote></div><br>