diff options
author | Chris Dalton <csmartdalton@google.com> | 2018-06-14 10:14:50 -0600 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-06-14 17:21:47 +0000 |
commit | 9414c96781d7f95a066b95261f333f0c0b46b39f (patch) | |
tree | 2f1831cb94e22a1f151dd907536a96e3061381c9 /include/private | |
parent | 653f34da95f3717d048b1961760f09dc28138321 (diff) |
ccpr: Generalize GrCCAtlas to work for cached atlases as well
Converts atlas offsets to SkIVector, adds a GrCCAtlasStack class,
moves the Op that renders the atlases into GrCCPerFlushResources, etc.
Bug: skia:
Change-Id: I5110be8e74da709f3ce84bb6798ead572142d0fa
Reviewed-on: https://skia-review.googlesource.com/134701
Commit-Queue: Chris Dalton <csmartdalton@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'include/private')
-rw-r--r-- | include/private/GrCCClipPath.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/private/GrCCClipPath.h b/include/private/GrCCClipPath.h index d845e3e6df..7c39c45d90 100644 --- a/include/private/GrCCClipPath.h +++ b/include/private/GrCCClipPath.h @@ -69,8 +69,7 @@ private: SkIRect fAccessRect; const GrCCAtlas* fAtlas = nullptr; - int16_t fAtlasOffsetX; - int16_t fAtlasOffsetY; + SkIVector fDevToAtlasOffset; // Translation from device space to location in atlas. SkDEBUGCODE(bool fHasAtlas = false); SkVector fAtlasScale; |