diff options
author | joshualitt <joshualitt@chromium.org> | 2015-05-13 08:51:49 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-05-13 08:51:50 -0700 |
commit | 6c891107ce0a8431f2327cb8b2f1bfd363cabbbe (patch) | |
tree | 7848ebfeabf110c326a442c25a3353ff824c98db /src/gpu/GrAADistanceFieldPathRenderer.cpp | |
parent | b72f920ef581e9cf50a6c1afc80ed04bb086488e (diff) |
GLProgramsTest 3.0
BUG=skia:
Review URL: https://codereview.chromium.org/1139743002
Diffstat (limited to 'src/gpu/GrAADistanceFieldPathRenderer.cpp')
-rwxr-xr-x | src/gpu/GrAADistanceFieldPathRenderer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gpu/GrAADistanceFieldPathRenderer.cpp b/src/gpu/GrAADistanceFieldPathRenderer.cpp index 3e054d144a..dce4f89737 100755 --- a/src/gpu/GrAADistanceFieldPathRenderer.cpp +++ b/src/gpu/GrAADistanceFieldPathRenderer.cpp @@ -630,6 +630,7 @@ struct PathTestStruct { SkDELETE(pathData); } SkDELETE(fAtlas); + fPathCache.reset(); } static void HandleEviction(GrBatchAtlas::AtlasID id, void* pr) { @@ -654,7 +655,7 @@ struct PathTestStruct { PathDataList fPathList; }; -BATCH_TEST_DEFINE(AADistanceFieldPathRenderer) { +BATCH_TEST_DEFINE(AADistanceFieldPathBatch) { static PathTestStruct gTestStruct; if (context->uniqueID() != gTestStruct.fContextID) { |