Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Side by Side Diff: cc/TiledLayerChromium.cpp

Issue 10900021: Use std::string instead of WTF::String / TextStream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/TextureCopier.h ('k') | cc/cc.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "config.h" 5 #include "config.h"
6 6
7 #if USE(ACCELERATED_COMPOSITING) 7 #if USE(ACCELERATED_COMPOSITING)
8 8
9 #include "TiledLayerChromium.h" 9 #include "TiledLayerChromium.h"
10 10
11 #include "CCLayerImpl.h" 11 #include "CCLayerImpl.h"
12 #include "CCLayerTreeHost.h" 12 #include "CCLayerTreeHost.h"
13 #include "CCOverdrawMetrics.h" 13 #include "CCOverdrawMetrics.h"
14 #include "CCTextureUpdateQueue.h" 14 #include "CCTextureUpdateQueue.h"
15 #include "CCTiledLayerImpl.h" 15 #include "CCTiledLayerImpl.h"
16 #include "GraphicsContext3D.h" 16 #include "GraphicsContext3D.h"
17 #include "Region.h" 17 #include "Region.h"
18 #include "TextStream.h"
19 #include <wtf/CurrentTime.h> 18 #include <wtf/CurrentTime.h>
20 #include <wtf/MathExtras.h> 19 #include <wtf/MathExtras.h>
21 20
22 using namespace std; 21 using namespace std;
23 using WebKit::WebTransformationMatrix; 22 using WebKit::WebTransformationMatrix;
24 23
25 namespace WebCore { 24 namespace WebCore {
26 25
27 class UpdatableTile : public CCLayerTilingData::Tile { 26 class UpdatableTile : public CCLayerTilingData::Tile {
28 WTF_MAKE_NONCOPYABLE(UpdatableTile); 27 WTF_MAKE_NONCOPYABLE(UpdatableTile);
(...skipping 753 matching lines...) Expand 10 before | Expand all | Expand 10 after
782 prepaintRect.inflateX(m_tiler->tileSize().width()); 781 prepaintRect.inflateX(m_tiler->tileSize().width());
783 prepaintRect.inflateY(m_tiler->tileSize().height() * 2); 782 prepaintRect.inflateY(m_tiler->tileSize().height() * 2);
784 IntRect contentRect(IntPoint::zero(), contentBounds()); 783 IntRect contentRect(IntPoint::zero(), contentBounds());
785 prepaintRect.intersect(contentRect); 784 prepaintRect.intersect(contentRect);
786 785
787 return prepaintRect; 786 return prepaintRect;
788 } 787 }
789 788
790 } 789 }
791 #endif // USE(ACCELERATED_COMPOSITING) 790 #endif // USE(ACCELERATED_COMPOSITING)
OLDNEW
« no previous file with comments | « cc/TextureCopier.h ('k') | cc/cc.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698