I've caught mozilla painting the black image
Breakpoint 4, gfxPlatform::OptimizeImage (this=0x8106644, aSurface=0x8d90eb0, format=gfxASurface::ImageFormatRGB24) at /usr/local/src/moz/cvs/mozilla/gfx/thebes/src/gfxPlatform.cpp:248 248 tmpCtx.Paint(); $298 = {<gfxASurface> = {_vptr.gfxASurface = 0xb7f51488, mSurface = 0x8754000, mFloatingRefs = 0, mSurfaceValid = 1 '\001'}, mSize = {width = 320, height = 320}, mOwnsData = 1, mData = 0xd47b000 'ÿ' <repeats 200 times>..., mFormat = ImageFormatRGB24, mStride = 1280} 0xd47b000: 0xffffffff 0xffffffff 0xffffffff 0xffffffff 0xd47b010: 0xffffffff 0xffffffff 0xffffffff 0xffffffff
I've caught mozilla painting the black image
Breakpoint 4, gfxPlatform: :OptimizeImage (this=0x8106644, aSurface=0x8d90eb0, gfxASurface: :ImageFormatRGB 24) at /usr/local/ src/moz/ cvs/mozilla/ gfx/thebes/ src/gfxPlatform .cpp:248
format=
248 tmpCtx.Paint();
$298 = {<gfxASurface> = {_vptr.gfxASurface = 0xb7f51488, mSurface = 0x8754000, mFloatingRefs = 0,
mSurfaceValid = 1 '\001'}, mSize = {width = 320, height = 320}, mOwnsData = 1,
mData = 0xd47b000 'ÿ' <repeats 200 times>..., mFormat = ImageFormatRGB24, mStride = 1280}
0xd47b000: 0xffffffff 0xffffffff 0xffffffff 0xffffffff
0xd47b010: 0xffffffff 0xffffffff 0xffffffff 0xffffffff