diff options
Diffstat (limited to 'src/record/SkRecordOpts.h')
-rw-r--r-- | src/record/SkRecordOpts.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/record/SkRecordOpts.h b/src/record/SkRecordOpts.h index 6db7abca61..ad8c3bcfc7 100644 --- a/src/record/SkRecordOpts.h +++ b/src/record/SkRecordOpts.h @@ -17,6 +17,10 @@ void SkRecordOptimize(SkRecord*); // Turns logical no-op Save-[non-drawing command]*-Restore patterns into actual no-ops. void SkRecordNoopSaveRestores(SkRecord*); +// For some SaveLayer-[drawing command]-Restore patterns, merge the SaveLayer's alpha into the +// draw, and no-op the SaveLayer and Restore. +void SkRecordNoopSaveLayerDrawRestores(SkRecord*); + // Annotates PushCull commands with the relative offset of their paired PopCull. void SkRecordAnnotateCullingPairs(SkRecord*); |