[prev in list] [next in list] [prev in thread] [next in thread]
List: cairo
Subject: Re: [cairo] Alpha problems at some resolutions
From: Behdad Esfahbod <behdad () behdad ! org>
Date: 2008-06-21 17:03:20
Message-ID: 1214067800.1272.76.camel () behdad ! behdad ! org
[Download RAW message or body]
On Sat, 2008-06-21 at 16:25 +0300, M Joonas Pihlaja wrote:
> Hi John,
>
> On Fri, 20 Jun 2008, John Perkins wrote:
>
> > I found that clearing the image prior to drawing seems to fix the problem.
> >
> > What I don't understand is how I have never seen random garbage, it is always \
> > this transparent yellow.
>
> Looking at the attached image in gimp shows the ARGB value of the
> transparent yellow to be $BAADF00D. That looks like something
> malloc() might initialise memory to in debug builds.
Indeed. From http://en.wikipedia.org/wiki/0xDEADBEEF#Magic_debug_values
0xBAADF00D : Used by Microsoft's LocalAlloc(LMEM_FIXED) to mark
uninitialised allocated heap memory
> Cheers,
>
> Joonas
--
behdad
http://behdad.org/
"Those who would give up Essential Liberty to purchase a little
Temporary Safety, deserve neither Liberty nor Safety."
-- Benjamin Franklin, 1759
_______________________________________________
cairo mailing list
cairo@cairographics.org
http://lists.cairographics.org/mailman/listinfo/cairo
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic