diff options
author | Chris Craik <ccraik@google.com> | 2012-04-03 16:12:40 -0700 |
---|---|---|
committer | Chris Craik <ccraik@google.com> | 2012-04-04 13:11:49 -0700 |
commit | 594c6b805969c2673c84d1d1d1a3556ce376ac7a (patch) | |
tree | c79b67f77a4327de8c68a89c569a1dd0a4824da5 /Source/WebCore/platform/graphics/android/TilesProfiler.cpp | |
parent | 4b0fde0e790db3b3f5a7a84fc77dc994f0a123c2 (diff) | |
download | external_webkit-594c6b805969c2673c84d1d1d1a3556ce376ac7a.zip external_webkit-594c6b805969c2673c84d1d1d1a3556ce376ac7a.tar.gz external_webkit-594c6b805969c2673c84d1d1d1a3556ce376ac7a.tar.bz2 |
Rename several classes
BaseTile,BaseTileTexture -> Tile,TileTexture
Used in layers other than the base
LayerGroup -> Surface
Renamed to convey that it is a member of the SurfaceCollection, and that the
layers grouped inside are painted together (if at all)
DualTiledTexture -> SurfaceBacking
Better conveys that this is the raster backing for a surface that can
paint. It may be implemented with two tiled textures for now, but that isn't
as important as its relationship to the surface.
TiledTexture -> TileGrid
Renamed to make it more clear that it was a container of tiles, and to be
less similar to TileTexture
Change-Id: I843f8603a2080cfe5a7313ba1c2eff10620f8aa2
Diffstat (limited to 'Source/WebCore/platform/graphics/android/TilesProfiler.cpp')
-rw-r--r-- | Source/WebCore/platform/graphics/android/TilesProfiler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/WebCore/platform/graphics/android/TilesProfiler.cpp b/Source/WebCore/platform/graphics/android/TilesProfiler.cpp index 2cc6873..4f0c6b5 100644 --- a/Source/WebCore/platform/graphics/android/TilesProfiler.cpp +++ b/Source/WebCore/platform/graphics/android/TilesProfiler.cpp @@ -32,6 +32,7 @@ #if USE(ACCELERATED_COMPOSITING) #include "AndroidLog.h" +#include "Tile.h" #include "TilesManager.h" #include <wtf/CurrentTime.h> @@ -92,7 +93,7 @@ void TilesProfiler::nextFrame(int left, int top, int right, int bottom, float sc scale, true, (int)(timeDelta * 1000))); } -void TilesProfiler::nextTile(BaseTile* tile, float scale, bool inView) +void TilesProfiler::nextTile(Tile* tile, float scale, bool inView) { if (!m_enabled || (m_records.size() > MAX_PROF_FRAMES) || (m_records.size() == 0)) return; |