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

Side by Side Diff: cc/CCDamageTracker.h

Issue 10914268: Change cc files from namespace WebCore to cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased 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/CCCompletionEvent.h ('k') | cc/CCDamageTracker.cpp » ('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 #ifndef CCDamageTracker_h 5 #ifndef CCDamageTracker_h
6 #define CCDamageTracker_h 6 #define CCDamageTracker_h
7 7
8 #include "FloatRect.h" 8 #include "FloatRect.h"
9 #include <wtf/HashMap.h> 9 #include <wtf/HashMap.h>
10 #include <wtf/PassOwnPtr.h> 10 #include <wtf/PassOwnPtr.h>
11 #include <wtf/Vector.h> 11 #include <wtf/Vector.h>
12 12
13 namespace WebKit { 13 namespace WebKit {
14 class WebFilterOperations; 14 class WebFilterOperations;
15 } 15 }
16 16
17 namespace WebCore { 17 namespace cc {
18 18
19 class CCLayerImpl; 19 class CCLayerImpl;
20 class CCRenderSurface; 20 class CCRenderSurface;
21 21
22 // Computes the region where pixels have actually changed on a RenderSurface. Th is region is used 22 // Computes the region where pixels have actually changed on a RenderSurface. Th is region is used
23 // to scissor what is actually drawn to the screen to save GPU computation and b andwidth. 23 // to scissor what is actually drawn to the screen to save GPU computation and b andwidth.
24 class CCDamageTracker { 24 class CCDamageTracker {
25 public: 25 public:
26 static PassOwnPtr<CCDamageTracker> create(); 26 static PassOwnPtr<CCDamageTracker> create();
27 ~CCDamageTracker(); 27 ~CCDamageTracker();
(...skipping 22 matching lines...) Expand all
50 // The "current" map is used to compute exposed regions of the current frame , while 50 // The "current" map is used to compute exposed regions of the current frame , while
51 // the "next" map is used to collect layer rects that are used in the next f rame. 51 // the "next" map is used to collect layer rects that are used in the next f rame.
52 typedef HashMap<int, FloatRect> RectMap; 52 typedef HashMap<int, FloatRect> RectMap;
53 OwnPtr<RectMap> m_currentRectHistory; 53 OwnPtr<RectMap> m_currentRectHistory;
54 OwnPtr<RectMap> m_nextRectHistory; 54 OwnPtr<RectMap> m_nextRectHistory;
55 55
56 FloatRect m_currentDamageRect; 56 FloatRect m_currentDamageRect;
57 bool m_forceFullDamageNextUpdate; 57 bool m_forceFullDamageNextUpdate;
58 }; 58 };
59 59
60 } // namespace WebCore 60 } // namespace cc
61 61
62 #endif // CCDamageTracker_h 62 #endif // CCDamageTracker_h
OLDNEW
« no previous file with comments | « cc/CCCompletionEvent.h ('k') | cc/CCDamageTracker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698