Make OpacityLayer hit SkRecordNoopSaveLayerDrawRestores (#2604)
Previously we were applying opacity in a different way than Skia expects. Now we use the exact pattern that Skia expects so that we hit more optimizations inside SkRecordOptimize. After this patch, we don't actually get the optimization because we don't yet run SkRecordOptimize over the composited tree. A later patch will actually cause us to run SkRecordOptimize.
Showing
想要评论请 注册 或 登录