RFC XRender add support for dibsections in more color depths

Roderick Colenbrander thunderbird2k at gmail.com
Sun Jul 26 15:38:18 CDT 2009


Hi all,

This is an updated version of my patch. It should fix the XChangeGC
crash but the text color issue in that japanese game is still around.
I hope to receive some more feed back.

Roderick

On Sat, Jul 25, 2009 at 11:20 PM, Jesse Allen<the3dfxdude at gmail.com> wrote:
> On Thu, Jul 23, 2009 at 2:51 PM, Roderick
> Colenbrander<thunderbird2k at gmail.com> 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
>>
>>
>>
>>
>
>
>
> Very nice Roderick,  it seems to be working on my system with
> StarEdit.exe where it is faster.  It seems like it could be a good
> solution.
>
> Jesse
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-support-for-dibsections-in-more-formats-when-XRe.patch
Type: text/x-diff
Size: 13154 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20090726/3bf1c311/attachment-0001.patch>


More information about the wine-devel mailing list