diff options
author | Chris Craik <ccraik@google.com> | 2012-04-11 14:54:28 -0700 |
---|---|---|
committer | Chris Craik <ccraik@google.com> | 2012-04-11 14:54:28 -0700 |
commit | 72ae6b87e6a35b6bea03035afa3fe21284033444 (patch) | |
tree | 00e4679991719b8335cef5af759b4e5560e32baf /Source/WebCore | |
parent | 5d119b85382480f33eefb397ef6b34a4331671b9 (diff) | |
download | external_webkit-72ae6b87e6a35b6bea03035afa3fe21284033444.zip external_webkit-72ae6b87e6a35b6bea03035afa3fe21284033444.tar.gz external_webkit-72ae6b87e6a35b6bea03035afa3fe21284033444.tar.bz2 |
Log tiles correctly for the base surface
bug:6324663
Change-Id: I8dae021b98a1f721d2282bdb7490668a12eb0cf3
Diffstat (limited to 'Source/WebCore')
-rw-r--r-- | Source/WebCore/platform/graphics/android/rendering/TileGrid.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/WebCore/platform/graphics/android/rendering/TileGrid.cpp b/Source/WebCore/platform/graphics/android/rendering/TileGrid.cpp index 2510d52..a58a1d2 100644 --- a/Source/WebCore/platform/graphics/android/rendering/TileGrid.cpp +++ b/Source/WebCore/platform/graphics/android/rendering/TileGrid.cpp @@ -274,8 +274,8 @@ int TileGrid::nbTextures(IntRect& area, float scale) } void TileGrid::drawGL(const IntRect& visibleArea, float opacity, - const TransformationMatrix* transform, - const Color* background) + const TransformationMatrix* transform, + const Color* background) { m_area = computeTilesArea(visibleArea, m_scale); if (m_area.width() == 0 || m_area.height() == 0) @@ -322,7 +322,8 @@ void TileGrid::drawGL(const IntRect& visibleArea, float opacity, drawn++; } - if (semiOpaqueBaseSurface) + // log tile information for base, high res tiles + if (m_isBaseSurface && background) TilesManager::instance()->getProfiler()->nextTile(tile, invScale, tileInView); } |