Chromium Code Reviews| Index: cc/output/filter_operations.h |
| diff --git a/cc/output/filter_operations.h b/cc/output/filter_operations.h |
| index 67699692399b4f68b699d31b60e4f2bef90f51d7..49a8042556d5309f285df56ac6bb709386c7ca54 100644 |
| --- a/cc/output/filter_operations.h |
| +++ b/cc/output/filter_operations.h |
| @@ -20,6 +20,10 @@ class TracedValue; |
| class Value; |
| } |
| +namespace gfx { |
| +class Rect; |
| +} |
| + |
| namespace cc { |
| // An ordered list of filter operations. |
| @@ -46,6 +50,10 @@ class CC_EXPORT FilterOperations { |
| bool IsEmpty() const; |
| + // Maps "forward" to determine which pixels in a destination rect are affected |
| + // by pixels in the source rect. |
| + gfx::Rect MapRect(const gfx::Rect& rect) const; |
| + |
| void GetOutsets(int* top, int* right, int* bottom, int* left) const; |
|
Stephen White
2016/04/11 18:05:00
Do we still need this?
jbroman
2016/04/11 20:21:52
Yes. None of the call sites have been rewritten ye
|
| bool HasFilterThatMovesPixels() const; |
| bool HasFilterThatAffectsOpacity() const; |