Title: [90283] trunk/Source/WebCore
- Revision
- 90283
- Author
- [email protected]
- Date
- 2011-07-01 15:04:27 -0700 (Fri, 01 Jul 2011)
Log Message
2011-07-01 Adrienne Walker <[email protected]>
[chromium] Upload root layer textures first so that it is less likely to be skipped
https://bugs.webkit.org/show_bug.cgi?id=63850
Reviewed by James Robinson.
This is a tiny follow-on patch to bug 63760. If the root layer is not
uploaded first, then it may not have enough space to fit into texture
memory and might be skipped, leaving a blue background.
* platform/graphics/chromium/LayerRendererChromium.cpp:
(WebCore::LayerRendererChromium::updateLayers):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (90282 => 90283)
--- trunk/Source/WebCore/ChangeLog 2011-07-01 22:02:54 UTC (rev 90282)
+++ trunk/Source/WebCore/ChangeLog 2011-07-01 22:04:27 UTC (rev 90283)
@@ -1,3 +1,17 @@
+2011-07-01 Adrienne Walker <[email protected]>
+
+ [chromium] Upload root layer textures first so that it is less likely to be skipped
+ https://bugs.webkit.org/show_bug.cgi?id=63850
+
+ Reviewed by James Robinson.
+
+ This is a tiny follow-on patch to bug 63760. If the root layer is not
+ uploaded first, then it may not have enough space to fit into texture
+ memory and might be skipped, leaving a blue background.
+
+ * platform/graphics/chromium/LayerRendererChromium.cpp:
+ (WebCore::LayerRendererChromium::updateLayers):
+
2011-07-01 Mihai Parparita <[email protected]>
Reviewed by Darin Fisher.
Modified: trunk/Source/WebCore/platform/graphics/chromium/LayerRendererChromium.cpp (90282 => 90283)
--- trunk/Source/WebCore/platform/graphics/chromium/LayerRendererChromium.cpp 2011-07-01 22:02:54 UTC (rev 90282)
+++ trunk/Source/WebCore/platform/graphics/chromium/LayerRendererChromium.cpp 2011-07-01 22:04:27 UTC (rev 90283)
@@ -349,13 +349,13 @@
#ifndef NDEBUG
s_inPaintLayerContents = false;
#endif
-
- updateCompositorResources(renderSurfaceLayerList);
// Update compositor resources for root layer.
{
TRACE_EVENT("LayerRendererChromium::updateLayer::updateRoot", this, 0);
m_rootLayerContentTiler->updateRect(m_rootLayerTextureUpdater.get());
}
+
+ updateCompositorResources(renderSurfaceLayerList);
}
void LayerRendererChromium::paintLayerContents(const LayerList& renderSurfaceLayerList)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes