[Freeciv-Dev] Re: (PR#12582) gui-win32 disable alpha blending by default
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12582 >
James Canete wrote:
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=12582 >
>
> When trying a recent CVS build of gui-win32 on Win98, I found that the
> AlphaBlend function didn't work, despite it being available.
>
> This patch disables it by default, enabling the fallback ordered dither
> path, and adds a local client option to reactivate it. It also has a
> couple fixes for caching mask bitmaps and only using alpha blending when
> necessary.
I think that's not the best way to do it, since the fallback will give
very poor results in some cases. Surely it's possible (though no doubt
painful) to do a run-time check on startup to see if it does the right
thing.
Speaking of which, you could probably do alpha blending in software if
the alphablend function isn't there. Slow but better than dithering.
Speaking of which, there's probably a library for all of this. Of if
not there should be.
-jason
- [Freeciv-Dev] Re: (PR#12582) gui-win32 disable alpha blending by default,
Jason Short <=
|
|