OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 PPAPI_CPP_PAINT_AGGREGATOR_H_ | 5 #ifndef PPAPI_UTILITY_GRAPHICS_PAINT_AGGREGATOR_H_ |
6 #define PPAPI_CPP_PAINT_AGGREGATOR_H_ | 6 #define PPAPI_UTILITY_GRAPHICS_PAINT_AGGREGATOR_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "ppapi/cpp/point.h" | 11 #include "ppapi/cpp/point.h" |
12 #include "ppapi/cpp/rect.h" | 12 #include "ppapi/cpp/rect.h" |
13 | 13 |
14 /// @file | 14 /// @file |
15 /// This file defines the API to aggregate multiple invalidation and scroll | 15 /// This file defines the API to aggregate multiple invalidation and scroll |
16 /// commands to produce a scroll and repaint sequence. | 16 /// commands to produce a scroll and repaint sequence. |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 // start combining paint rects (see CombinePaintRects). This limiting can be | 164 // start combining paint rects (see CombinePaintRects). This limiting can be |
165 // important since there is typically some overhead in deciding what to | 165 // important since there is typically some overhead in deciding what to |
166 // paint. If your plugin is fast at doing these computations, raise this | 166 // paint. If your plugin is fast at doing these computations, raise this |
167 // threshold, if your plugin is slow, lower it (probably requires some | 167 // threshold, if your plugin is slow, lower it (probably requires some |
168 // tuning to find the right value). | 168 // tuning to find the right value). |
169 size_t max_paint_rects_; | 169 size_t max_paint_rects_; |
170 }; | 170 }; |
171 | 171 |
172 } // namespace pp | 172 } // namespace pp |
173 | 173 |
174 #endif // PPAPI_CPP_PAINT_AGGREGATOR_H_ | 174 #endif // PPAPI_UTILITY_PAINT_AGGREGATOR_H_ |
OLD | NEW |