diff options
author | 2015-11-03 09:45:03 -0800 | |
---|---|---|
committer | 2015-11-03 09:45:03 -0800 | |
commit | 444d91fec1b51b53a77e79a47a63a944f64b32f8 (patch) | |
tree | 16a57d398a83ca0c2de69d895497dc1022a7368f /src/core/SkRemote.h | |
parent | 98cad6219b430eddf5528473311279f21dbd2e10 (diff) |
SkRemote: saveLayer
https://gold.skia.org/search2?issue=1432593002&unt=true&query=source_type%3Dgm&master=false&include=true
BUG=skia:
Review URL: https://codereview.chromium.org/1432593002
Diffstat (limited to 'src/core/SkRemote.h')
-rw-r--r-- | src/core/SkRemote.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/core/SkRemote.h b/src/core/SkRemote.h index 5fb20242fe..b33309449c 100644 --- a/src/core/SkRemote.h +++ b/src/core/SkRemote.h @@ -81,17 +81,18 @@ namespace SkRemote { virtual void undefine(ID) = 0; - virtual void save() = 0; - virtual void restore() = 0; - - virtual void setMatrix(ID matrix) = 0; - // TODO: do these all belong here in CommonIDs? struct CommonIDs { ID misc, patheffect, shader, xfermode, maskfilter, colorfilter, rasterizer, looper, imagefilter, annotation; }; + virtual void save() = 0; + virtual void restore() = 0; + virtual void saveLayer(ID bounds, CommonIDs, SkCanvas::SaveFlags) = 0; + + virtual void setMatrix(ID matrix) = 0; + virtual void clipPath(ID path, SkRegion::Op, bool aa) = 0; virtual void fillPath(ID path, CommonIDs) = 0; virtual void strokePath(ID path, CommonIDs, ID stroke) = 0; |