diff options
author | 2015-12-10 07:44:50 -0800 | |
---|---|---|
committer | 2015-12-10 07:44:50 -0800 | |
commit | fd5f6c1b0d352b44ba08a677499c8c27b5aea7c7 (patch) | |
tree | 976b7a4255716458699cfc528ade7f708e425684 /src/gpu/GrAtlasTextBlob.h | |
parent | 067e90e72fdeba83eff7aeb917b2b25f74759282 (diff) |
Move 'mustRegenerate' function into GrAtlasTextBlob
BUG=skia:
Review URL: https://codereview.chromium.org/1515543003
Diffstat (limited to 'src/gpu/GrAtlasTextBlob.h')
-rw-r--r-- | src/gpu/GrAtlasTextBlob.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gpu/GrAtlasTextBlob.h b/src/gpu/GrAtlasTextBlob.h index a400782977..3ec3c44999 100644 --- a/src/gpu/GrAtlasTextBlob.h +++ b/src/gpu/GrAtlasTextBlob.h @@ -300,6 +300,10 @@ struct GrAtlasTextBlob : public SkNVRefCnt<GrAtlasTextBlob> { } } + bool mustRegenerate(SkScalar* outTransX, SkScalar* outTransY, const SkPaint& paint, + GrColor color, const SkMaskFilter::BlurRec& blurRec, + const SkMatrix& viewMatrix, SkScalar x, SkScalar y); + // position + local coord static const size_t kColorTextVASize = sizeof(SkPoint) + sizeof(SkIPoint16); static const size_t kGrayTextVASize = sizeof(SkPoint) + sizeof(GrColor) + sizeof(SkIPoint16); |