зеркало из https://github.com/mozilla/pjs.git
Bug 629475 - Regression: displayport takes longer to refresh [r=cjones a=blocking-fennec]
This commit is contained in:
Родитель
46148c1dd1
Коммит
a5046cf4ba
|
@ -385,13 +385,50 @@ GetBackgroundImage()
|
|||
#define GROW16 GLINE8, WLINE8
|
||||
static const unsigned short kCheckerboard[] = {
|
||||
WROW16,WROW16,WROW16,WROW16,WROW16,WROW16,WROW16,WROW16,
|
||||
WROW16,WROW16,WROW16,WROW16,WROW16,WROW16,WROW16,WROW16,
|
||||
WROW16,WROW16,WROW16,WROW16,WROW16,WROW16,WROW16,WROW16,
|
||||
WROW16,WROW16,WROW16,WROW16,WROW16,WROW16,WROW16,WROW16,
|
||||
|
||||
GROW16,GROW16,GROW16,GROW16,GROW16,GROW16,GROW16,GROW16,
|
||||
GROW16,GROW16,GROW16,GROW16,GROW16,GROW16,GROW16,GROW16,
|
||||
GROW16,GROW16,GROW16,GROW16,GROW16,GROW16,GROW16,GROW16,
|
||||
GROW16,GROW16,GROW16,GROW16,GROW16,GROW16,GROW16,GROW16,
|
||||
|
||||
WROW16,WROW16,WROW16,WROW16,WROW16,WROW16,WROW16,WROW16,
|
||||
WROW16,WROW16,WROW16,WROW16,WROW16,WROW16,WROW16,WROW16,
|
||||
WROW16,WROW16,WROW16,WROW16,WROW16,WROW16,WROW16,WROW16,
|
||||
WROW16,WROW16,WROW16,WROW16,WROW16,WROW16,WROW16,WROW16,
|
||||
|
||||
GROW16,GROW16,GROW16,GROW16,GROW16,GROW16,GROW16,GROW16,
|
||||
GROW16,GROW16,GROW16,GROW16,GROW16,GROW16,GROW16,GROW16,
|
||||
GROW16,GROW16,GROW16,GROW16,GROW16,GROW16,GROW16,GROW16,
|
||||
GROW16,GROW16,GROW16,GROW16,GROW16,GROW16,GROW16,GROW16,
|
||||
|
||||
WROW16,WROW16,WROW16,WROW16,WROW16,WROW16,WROW16,WROW16,
|
||||
WROW16,WROW16,WROW16,WROW16,WROW16,WROW16,WROW16,WROW16,
|
||||
WROW16,WROW16,WROW16,WROW16,WROW16,WROW16,WROW16,WROW16,
|
||||
WROW16,WROW16,WROW16,WROW16,WROW16,WROW16,WROW16,WROW16,
|
||||
|
||||
GROW16,GROW16,GROW16,GROW16,GROW16,GROW16,GROW16,GROW16,
|
||||
GROW16,GROW16,GROW16,GROW16,GROW16,GROW16,GROW16,GROW16,
|
||||
GROW16,GROW16,GROW16,GROW16,GROW16,GROW16,GROW16,GROW16,
|
||||
GROW16,GROW16,GROW16,GROW16,GROW16,GROW16,GROW16,GROW16,
|
||||
|
||||
WROW16,WROW16,WROW16,WROW16,WROW16,WROW16,WROW16,WROW16,
|
||||
WROW16,WROW16,WROW16,WROW16,WROW16,WROW16,WROW16,WROW16,
|
||||
WROW16,WROW16,WROW16,WROW16,WROW16,WROW16,WROW16,WROW16,
|
||||
WROW16,WROW16,WROW16,WROW16,WROW16,WROW16,WROW16,WROW16,
|
||||
|
||||
GROW16,GROW16,GROW16,GROW16,GROW16,GROW16,GROW16,GROW16,
|
||||
GROW16,GROW16,GROW16,GROW16,GROW16,GROW16,GROW16,GROW16,
|
||||
GROW16,GROW16,GROW16,GROW16,GROW16,GROW16,GROW16,GROW16,
|
||||
GROW16,GROW16,GROW16,GROW16,GROW16,GROW16,GROW16,GROW16
|
||||
};
|
||||
|
||||
nsRefPtr<gfxASurface> s =
|
||||
new gfxImageSurface((unsigned char*)kCheckerboard,
|
||||
gfxIntSize(16, 16),
|
||||
16 * 2,
|
||||
gfxIntSize(64, 64),
|
||||
64 * 2,
|
||||
gfxASurface::ImageFormatRGB16_565);
|
||||
return s.forget();
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче