Index: src/core/SkPictureRecord.cpp |
diff --git a/src/core/SkPictureRecord.cpp b/src/core/SkPictureRecord.cpp |
index b79b185b2d04a04d9d37a49e479e0591eb8abe7e..dd8040071f999f0eb1882b9b729d6cd43ee9cb0f 100644 |
--- a/src/core/SkPictureRecord.cpp |
+++ b/src/core/SkPictureRecord.cpp |
@@ -457,7 +457,12 @@ static bool remove_save_layer2(SkWriter32* writer, int32_t offset, |
} |
static bool is_drawing_op(DrawType op) { |
- return (op > CONCAT && op < ROTATE) || DRAW_DRRECT == op; |
+ |
+ // FIXME: yuck. convert to a lookup table? |
+ return (op > CONCAT && op < ROTATE) |
+ || DRAW_DRRECT == op |
+ || DRAW_PATCH == op |
+ || DRAW_PICTURE_MATRIX_PAINT == op; |
} |
/* |