aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrAtlasTextBlob.h
diff options
context:
space:
mode:
authorGravatar joshualitt <joshualitt@chromium.org>2015-12-10 07:44:50 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-12-10 07:44:50 -0800
commitfd5f6c1b0d352b44ba08a677499c8c27b5aea7c7 (patch)
tree976b7a4255716458699cfc528ade7f708e425684 /src/gpu/GrAtlasTextBlob.h
parent067e90e72fdeba83eff7aeb917b2b25f74759282 (diff)
Move 'mustRegenerate' function into GrAtlasTextBlob
Diffstat (limited to 'src/gpu/GrAtlasTextBlob.h')
-rw-r--r--src/gpu/GrAtlasTextBlob.h4
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);