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_UTILITY_GRAPHICS_PAINT_AGGREGATOR_H_ | 5 #ifndef PPAPI_UTILITY_GRAPHICS_PAINT_AGGREGATOR_H_ |
6 #define PPAPI_UTILITY_GRAPHICS_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 |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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_UTILITY_PAINT_AGGREGATOR_H_ | 174 #endif // PPAPI_UTILITY_PAINT_AGGREGATOR_H_ |
OLD | NEW |