| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 Google Inc. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 */ | 6 */ |
| 7 | 7 |
| 8 #include "sk_tool_utils.h" | 8 #include "sk_tool_utils.h" |
| 9 #include "SkCanvas.h" | 9 #include "SkCanvas.h" |
| 10 #include "SkPaint.h" | 10 #include "SkPaint.h" |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 ctx->abandonContext(); | 149 ctx->abandonContext(); |
| 150 draw(canvas, 1, blobs); | 150 draw(canvas, 1, blobs); |
| 151 } | 151 } |
| 152 | 152 |
| 153 DEF_GPUTEST(TextBlobCache, reporter, factory) { | 153 DEF_GPUTEST(TextBlobCache, reporter, factory) { |
| 154 text_blob_cache_inner(reporter, factory, 4096, 256, 30, true); | 154 text_blob_cache_inner(reporter, factory, 4096, 256, 30, true); |
| 155 } | 155 } |
| 156 | 156 |
| 157 DEF_GPUTEST(TextBlobAbnormal, reporter, factory) { | 157 DEF_GPUTEST(TextBlobAbnormal, reporter, factory) { |
| 158 #ifdef SK_BUILD_FOR_ANDROID | 158 #ifdef SK_BUILD_FOR_ANDROID |
| 159 text_blob_cache_inner(reporter, factory, 32, 32, 1, false); | 159 text_blob_cache_inner(reporter, factory, 256, 256, 30, false); |
| 160 #else | 160 #else |
| 161 text_blob_cache_inner(reporter, factory, 256, 256, 1, false); | 161 text_blob_cache_inner(reporter, factory, 512, 256, 30, false); |
| 162 #endif | 162 #endif |
| 163 } | 163 } |
| 164 #endif | 164 #endif |
| OLD | NEW |