aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrAADistanceFieldPathRenderer.cpp
diff options
context:
space:
mode:
authorGravatar joshualitt <joshualitt@chromium.org>2015-05-13 08:51:49 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-05-13 08:51:50 -0700
commit6c891107ce0a8431f2327cb8b2f1bfd363cabbbe (patch)
tree7848ebfeabf110c326a442c25a3353ff824c98db /src/gpu/GrAADistanceFieldPathRenderer.cpp
parentb72f920ef581e9cf50a6c1afc80ed04bb086488e (diff)
GLProgramsTest 3.0
Diffstat (limited to 'src/gpu/GrAADistanceFieldPathRenderer.cpp')
-rwxr-xr-xsrc/gpu/GrAADistanceFieldPathRenderer.cpp3
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) {