[Scummvm-devel] blendPixelPtr()
Willem Jan Palenstijn
wjp at usecode.org
Fri Jan 10 16:06:44 CET 2014
On Fri, Jan 10, 2014 at 03:02:52PM +0000, D G Turner wrote:
> Marcus,
> I have no POV about whether this is correct or not, but the
> discussion on #scummvm around the commit date provides some
> context of the associated commits to IOS backend code and AA rect in
> the GUI:
> http://logs.scummvm.org/log.php?log=scummvm.log.20Feb2012&format=html
Specifically, the commit you mentioned was intended to fix this bug:
http://i.imgur.com/AUxjJ.jpg
Not many backends use an overlay format with alpha, and even some that do copy
the full game screen to the overlay so that it is not transparent. For a
transparent overlay, we should see about fixing that black-corners blending bug
some other way than the somewhat heavy-handed 264ba4a9.
-Willem Jan
> On 10/01/14 14:14, Marcus Comstedt wrote:
> >
> > Willem Jan Palenstijn <wjp at usecode.org> writes:
> >
> >> This should never happen. The screen should always be initialized to A=1.0.
> >>
> >> Is this not the case for you?
> >
> > We're not talking about the "screen" as in the game area, this is the
> > overlay. The overlay should be (and is) initialized to A=0.0, so that
> > you can see the game area behind it. If it were initialized to A=1.0,
> > then the GUI would appear on top of black, rather on top of the game
> > graphics.
> >
> >
> > // Marcus
>
>
> ------------------------------------------------------------------------------
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today.
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> _______________________________________________
> Scummvm-devel mailing list
> Scummvm-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/scummvm-devel
More information about the Scummvm-devel
mailing list