зеркало из https://github.com/mozilla/gecko-dev.git
Bug 629475 - Regression: displayport takes longer to refresh [r=cjones a=blocking-fennec]
This commit is contained in:
Родитель
6d3c71765d
Коммит
85b03f11ed
|
@ -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();
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче