| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2013 Google Inc. | 2 * Copyright 2013 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 "GrBitmapTextGeoProc.h" | 8 #include "GrBitmapTextGeoProc.h" |
| 9 #include "GrFontAtlasSizes.h" | 9 #include "GrFontAtlasSizes.h" |
| 10 #include "GrInvariantOutput.h" | 10 #include "GrInvariantOutput.h" |
| (...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 case 1: | 225 case 1: |
| 226 format = kA565_GrMaskFormat; | 226 format = kA565_GrMaskFormat; |
| 227 break; | 227 break; |
| 228 case 2: | 228 case 2: |
| 229 format = kARGB_GrMaskFormat; | 229 format = kARGB_GrMaskFormat; |
| 230 break; | 230 break; |
| 231 } | 231 } |
| 232 | 232 |
| 233 return GrBitmapTextGeoProc::Create(GrRandomColor(random), textures[texIdx],
params, | 233 return GrBitmapTextGeoProc::Create(GrRandomColor(random), textures[texIdx],
params, |
| 234 format, random->nextBool(), | 234 format, random->nextBool(), |
| 235 GrProcessorUnitTest::TestMatrix(random)); | 235 GrTest::TestMatrix(random)); |
| 236 } | 236 } |
| OLD | NEW |