2007/2/5, Mitchell Mebane &lt;<a href="mailto:mitchell.mebane@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">mitchell.mebane@gmail.com</a>&gt;:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">




  

<div bgcolor="#ffffff" text="#000000">
Stefan Dösinger wrote:
<blockquote cite="http://mid200702021645.23102.stefandoesinger@gmx.at" type="cite"><div><span>
  <pre>Am Freitag 02 Februar 2007 08:34 schrieb Joonas Koivunen:<br>  </pre>
  <blockquote type="cite">
    <pre>Profiling with oprofile (GDI session) shows that most of the time is used<br>in the game (I suppose it&#39;s the &quot;anon&quot; from wine-preload), next most time<br>consuming is winex11 drivers X11DRV_DIB_SetImageBits which seems to be
<br><br>doing the conversion.<br>    </pre>
  </blockquote>
  <pre>It seems that you have a game that has problems with the gdi engine(or lack <br>thereof): <a href="http://wiki.winehq.org/DIBEngine" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://wiki.winehq.org/DIBEngine
<br></a>

<a href="http://bugs.winehq.org/show_bug.cgi?id=421" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://bugs.winehq.org/show_bug.cgi?id=421</a>
  </pre></span></div>
</blockquote>
<font size="-1">How much work would this be? I know nothing about
Windows or X11 programming, but is it something that I might be able to
study up on and propose for a Summer of Code project?<br>
<br>
--mmebane<br>
</font>
</div>

</blockquote></div><br>For the past days, after Stefan pointed me to that bug and article, I&#39;ve been trying to figure out what would be needed in order to fasten at least Fallout 2 up.<br><br>I haven&#39;t been able to pinpoint any call made by the game requesting an image from X, and it always blits the whole screen at a time. Doing 640x480 8bpp -&gt; 32bpp seems to be the problem and the fact that it does as many as possible blits. Nor have I been able to find a call asking it to blend two 
surfaces.. Could someone give me any hints on this?<br><br>The 8bpp -&gt; 32bpp conversion could possibly be optimized.. But I haven&#39;t yet looked at it.<br><br>A bit out of topic; playing fallout2.exe makes X11 grow much larger, and it doesn&#39;t seem to free the memory.
<br><br>A SoC project sounds great!<br clear="all"><br>-- <br>-- Joonas Koivunen