diff options
author | reveman@google.com <reveman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-25 21:22:55 +0000 |
---|---|---|
committer | reveman@google.com <reveman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-25 21:22:55 +0000 |
commit | b4da2039c0db81b2d0fbc238269ac3807700e495 (patch) | |
tree | 6690a890736c8a37c1a6115cf813cbeec9c30532 /cc/tiled_layer.cc | |
parent | c7031f9b97bb97e460c825aa84a854e6f1f68b0e (diff) | |
download | chromium_src-b4da2039c0db81b2d0fbc238269ac3807700e495.zip chromium_src-b4da2039c0db81b2d0fbc238269ac3807700e495.tar.gz chromium_src-b4da2039c0db81b2d0fbc238269ac3807700e495.tar.bz2 |
cc: Rename TextureUpdate to ResourceUpdate.
sed -e '
s/TextureUpdateQueue/ResourceUpdateQueue/g
s/texture_update_queue/resource_update_queue/g
s/TextureUpdateController/ResourceUpdateController/g
s/texture_update_controller/resource_update_controller/g
'
BUG=
TEST=cc_unittests
Review URL: https://codereview.chromium.org/11270047
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164177 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/tiled_layer.cc')
-rw-r--r-- | cc/tiled_layer.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cc/tiled_layer.cc b/cc/tiled_layer.cc index 9b8d2d1..df4a985 100644 --- a/cc/tiled_layer.cc +++ b/cc/tiled_layer.cc @@ -328,7 +328,7 @@ bool TiledLayer::tileOnlyNeedsPartialUpdate(UpdatableTile* tile) return !tile->dirtyRect.contains(m_tiler->tileRect(tile)) && tile->managedTexture()->haveBackingTexture(); } -bool TiledLayer::updateTiles(int left, int top, int right, int bottom, TextureUpdateQueue& queue, const OcclusionTracker* occlusion, RenderingStats& stats, bool& didPaint) +bool TiledLayer::updateTiles(int left, int top, int right, int bottom, ResourceUpdateQueue& queue, const OcclusionTracker* occlusion, RenderingStats& stats, bool& didPaint) { didPaint = false; createUpdaterIfNeeded(); @@ -446,7 +446,7 @@ IntRect TiledLayer::markTilesForUpdate(int left, int top, int right, int bottom, return paintRect; } -void TiledLayer::updateTileTextures(const IntRect& paintRect, int left, int top, int right, int bottom, TextureUpdateQueue& queue, const OcclusionTracker* occlusion, RenderingStats& stats) +void TiledLayer::updateTileTextures(const IntRect& paintRect, int left, int top, int right, int bottom, ResourceUpdateQueue& queue, const OcclusionTracker* occlusion, RenderingStats& stats) { // The updateRect should be in layer space. So we have to convert the paintRect from content space to layer space. m_updateRect = FloatRect(paintRect); @@ -665,7 +665,7 @@ void TiledLayer::updateScrollPrediction() m_previousVisibleRect = visibleContentRect(); } -void TiledLayer::update(TextureUpdateQueue& queue, const OcclusionTracker* occlusion, RenderingStats& stats) +void TiledLayer::update(ResourceUpdateQueue& queue, const OcclusionTracker* occlusion, RenderingStats& stats) { DCHECK(!m_skipsDraw && !m_failedUpdate); // Did resetUpdateState get skipped? updateBounds(); |