OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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 CCOverdrawMetrics_h | 5 #ifndef CC_OVERDRAW_METRICS_H_ |
6 #define CCOverdrawMetrics_h | 6 #define CC_OVERDRAW_METRICS_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 | 9 |
10 namespace gfx { | 10 namespace gfx { |
11 class Rect; | 11 class Rect; |
12 } | 12 } |
13 | 13 |
14 namespace WebKit { | 14 namespace WebKit { |
15 class WebTransformationMatrix; | 15 class WebTransformationMatrix; |
16 } | 16 } |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 // Count of pixels that are opaque (and thus occlude). Ideally this is no mo
re than wiewport width x height. | 90 // Count of pixels that are opaque (and thus occlude). Ideally this is no mo
re than wiewport width x height. |
91 float m_pixelsDrawnOpaque; | 91 float m_pixelsDrawnOpaque; |
92 // Count of pixels that are possibly translucent, and cannot occlude. | 92 // Count of pixels that are possibly translucent, and cannot occlude. |
93 float m_pixelsDrawnTranslucent; | 93 float m_pixelsDrawnTranslucent; |
94 // Count of pixels not drawn as they are occluded by somthing opaque. | 94 // Count of pixels not drawn as they are occluded by somthing opaque. |
95 float m_pixelsCulledForDrawing; | 95 float m_pixelsCulledForDrawing; |
96 }; | 96 }; |
97 | 97 |
98 } // namespace cc | 98 } // namespace cc |
99 | 99 |
100 #endif | 100 #endif // CC_OVERDRAW_METRICS_H_ |
OLD | NEW |