mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
Shrink the surface size to speed up painting
This commit is contained in:
parent
0e90b797ea
commit
cae681557e
@ -1257,9 +1257,7 @@ nsWindow::OnDraw(AndroidGeckoEvent *ae)
|
||||
}
|
||||
|
||||
nsRefPtr<gfxImageSurface> targetSurface =
|
||||
new gfxImageSurface(bits2,
|
||||
gfxIntSize(gAndroidBounds.width, gAndroidBounds.height),
|
||||
gAndroidBounds.width * 2,
|
||||
new gfxImageSurface(bits2, gfxIntSize(32, 32), 32 * 2,
|
||||
gfxASurface::ImageFormatRGB16_565);
|
||||
|
||||
#if 0
|
||||
|
Loading…
Reference in New Issue
Block a user