| 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 // Need to include something before #if SK_SUPPORT_GPU so that the Android | 8 // Need to include something before #if SK_SUPPORT_GPU so that the Android |
| 9 // framework build, which gets its defines from SkTypes rather than a makefile, | 9 // framework build, which gets its defines from SkTypes rather than a makefile, |
| 10 // has the definition before checking it. | 10 // has the definition before checking it. |
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 canvas->flush(); | 197 canvas->flush(); |
| 198 } | 198 } |
| 199 } | 199 } |
| 200 | 200 |
| 201 #if !defined(SK_IGNORE_GPU_LAYER_HOISTING) && SK_SUPPORT_GPU | 201 #if !defined(SK_IGNORE_GPU_LAYER_HOISTING) && SK_SUPPORT_GPU |
| 202 GrLayerHoister::UnlockLayers(context, atlasedNeedRendering); | 202 GrLayerHoister::UnlockLayers(context, atlasedNeedRendering); |
| 203 GrLayerHoister::UnlockLayers(context, atlasedRecycled); | 203 GrLayerHoister::UnlockLayers(context, atlasedRecycled); |
| 204 GrLayerHoister::End(context); | 204 GrLayerHoister::End(context); |
| 205 #endif | 205 #endif |
| 206 } | 206 } |
| 207 | |
| OLD | NEW |