aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrAtlasTextContext.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/GrAtlasTextContext.cpp
parentb72f920ef581e9cf50a6c1afc80ed04bb086488e (diff)
GLProgramsTest 3.0
Diffstat (limited to 'src/gpu/GrAtlasTextContext.cpp')
-rw-r--r--src/gpu/GrAtlasTextContext.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/GrAtlasTextContext.cpp b/src/gpu/GrAtlasTextContext.cpp
index 81769db6ec..950d93b961 100644
--- a/src/gpu/GrAtlasTextContext.cpp
+++ b/src/gpu/GrAtlasTextContext.cpp
@@ -2217,7 +2217,7 @@ void GrAtlasTextContext::flush(GrDrawTarget* target,
#ifdef GR_TEST_UTILS
-BATCH_TEST_DEFINE(TextBlob) {
+BATCH_TEST_DEFINE(TextBlobBatch) {
static uint32_t gContextID = SK_InvalidGenID;
static GrAtlasTextContext* gTextContext = NULL;
static SkDeviceProperties gDeviceProperties(SkDeviceProperties::kLegacyLCD_InitType);
@@ -2245,7 +2245,7 @@ BATCH_TEST_DEFINE(TextBlob) {
// Setup dummy SkPaint / GrPaint
GrColor color = GrRandomColor(random);
- SkMatrix viewMatrix = GrTest::TestMatrix(random);
+ SkMatrix viewMatrix = GrTest::TestMatrixInvertible(random);
SkPaint skPaint;
skPaint.setDistanceFieldTextTEMP(random->nextBool());
skPaint.setColor(color);