| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2014 Google Inc. | 2 * Copyright 2014 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 "GrStencilAndCoverTextContext.h" | 8 #include "GrStencilAndCoverTextContext.h" |
| 9 #include "GrAtlasTextContext.h" |
| 9 #include "GrBitmapTextContext.h" | 10 #include "GrBitmapTextContext.h" |
| 10 #include "GrDrawTarget.h" | 11 #include "GrDrawTarget.h" |
| 11 #include "GrGpu.h" | 12 #include "GrGpu.h" |
| 12 #include "GrPath.h" | 13 #include "GrPath.h" |
| 13 #include "GrPathRange.h" | 14 #include "GrPathRange.h" |
| 14 #include "SkAutoKern.h" | 15 #include "SkAutoKern.h" |
| 15 #include "SkDraw.h" | 16 #include "SkDraw.h" |
| 16 #include "SkDrawProcs.h" | 17 #include "SkDrawProcs.h" |
| 17 #include "SkGlyphCache.h" | 18 #include "SkGlyphCache.h" |
| 18 #include "SkGpuDevice.h" | 19 #include "SkGpuDevice.h" |
| (...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 478 | 479 |
| 479 SkGlyphCache::AttachCache(fGlyphCache); | 480 SkGlyphCache::AttachCache(fGlyphCache); |
| 480 fGlyphCache = NULL; | 481 fGlyphCache = NULL; |
| 481 | 482 |
| 482 fPipelineBuilder.stencil()->setDisabled(); | 483 fPipelineBuilder.stencil()->setDisabled(); |
| 483 fStateRestore.set(NULL); | 484 fStateRestore.set(NULL); |
| 484 fViewMatrix = fContextInitialMatrix; | 485 fViewMatrix = fContextInitialMatrix; |
| 485 GrTextContext::finish(); | 486 GrTextContext::finish(); |
| 486 } | 487 } |
| 487 | 488 |
| OLD | NEW |