From 9414c96781d7f95a066b95261f333f0c0b46b39f Mon Sep 17 00:00:00 2001 From: Chris Dalton Date: Thu, 14 Jun 2018 10:14:50 -0600 Subject: 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 Reviewed-by: Robert Phillips --- include/private/GrCCClipPath.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include/private') 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; -- cgit v1.2.3