RFC XRender add support for dibsections in more color depths

Anders Jonsson anders.jonsson at norsjonet.se
Fri Jul 24 05:41:59 CDT 2009


Roderick Colenbrander wrote:
> I guess some of the font or dib rendering code is making some depth
> assumptions somewhere. Is there an english version or demo version of
> the app? I could take a look at it then.
>
> Roderick
>
> On Fri, Jul 24, 2009 at 11:06 AM, Anders
> Jonsson<anders.jonsson at norsjonet.se> wrote:
>   
>> Roderick Colenbrander wrote:
>>     
>>> Hi,
>>>
>>> For some weeks I have been working on moving more 2D rendering to
>>> XRender. XRender has three advantages for Wine. First of all it allows
>>> us to perform more rendering operations using X which we previously
>>> did using a combination of software rendering and back-forth copying
>>> between the Xserver. Second XRender offers depth conversion (this
>>> gives us proper alpha support in Wine and allows us to bypass DIB
>>> color conversion in some cases!). Third XRender brings us more
>>> hardware acceleration and that way more performance.
>>>
>>> The patch attached to this thread adds support for dibsections in
>>> additional color depths. On Xservers running at 24-bit this patch
>>> offers us dibsections in 1-bit/15-bit/16-bit/24-bit/32-bit. (32-bit is
>>> for proper alpha support) Big parts of the Wine X11 Driver make
>>> assumptions about having only two color depths around (1-bit and
>>> screen_depth e.g. 24-bit). I would like to request that people apply
>>> the current patch to latest git (in combination with the Office2007
>>> patch which I posted to wine-patches). Please report any 2D rendering
>>> issues you see and also mention possible Wine crashes due to X errors
>>> like BadMatch. Try as much programs as possible.
>>>
>>> Thanks in advance,
>>> Roderick Colenbrander
>>>
>>> ------------------------------------------------------------------------
>>>       
>> Hi,
>>
>> tested the patch, and it makes some improvement on bug 10408:
>> http://bugs.winehq.org/show_bug.cgi?id=10408#c24
>>
>> The drawback is that some text that is supposed to be white now is
>> colored. See comparison:
>> http://bugs2.winehq.org/attachment.cgi?id=22572
>>
>>     
Free demo:  http://www16.big.or.jp/~zun/data/soft/youmu_tr011.lzh
<http://www16.big.or.jp/%7Ezun/data/soft/youmu_tr011.lzh>
Run th07.exe to start the game.
Controls:  z (select) ,x (cancel) and arrow keys.

Choose "music room" from main menu to see the screen from the comparison
screenshot. No English version exists.




More information about the wine-devel mailing list