Bug 629475 - Regression: displayport takes longer to refresh [r=cjones a=blocking-fennec]
authorMark Finkle <mfinkle@mozilla.com>
Mon, 14 Feb 2011 17:49:34 -0500
changeset 62534 525db94bf558ca556573ee82004d1ba69be3365e
parent 62533 4c2962ad0a9d688daa00ba3e2cbe2be264182c39
child 62535 860a9914464931418991255d3518240e2185db11
push id1
push userroot
push dateTue, 10 Dec 2013 15:46:25 +0000
reviewerscjones, blocking-fennec
bugs629475
milestone2.0b12pre
Bug 629475 - Regression: displayport takes longer to refresh [r=cjones a=blocking-fennec]
layout/ipc/RenderFrameParent.cpp
--- a/layout/ipc/RenderFrameParent.cpp
+++ b/layout/ipc/RenderFrameParent.cpp
@@ -380,23 +380,60 @@ GetBackgroundImage()
 #define WHT 0xffff
 #define GRY 0xD69A
 #define WLINE8 WHT,WHT,WHT,WHT,WHT,WHT,WHT,WHT
 #define GLINE8 GRY,GRY,GRY,GRY,GRY,GRY,GRY,GRY
 #define WROW16 WLINE8, GLINE8
 #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();
 }
 
 static void
 BuildBackgroundPatternFor(ContainerLayer* aContainer,
                           ContainerLayer* aShadowRoot,
                           const FrameMetrics& aMetrics,