OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2011 Google Inc. | 3 * Copyright 2011 Google Inc. |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 | 8 |
9 #include "GrContext.h" | 9 #include "GrContext.h" |
10 | 10 |
11 #include "GrAARectRenderer.h" | 11 #include "GrAARectRenderer.h" |
| 12 #include "GrAtlasTextContext.h" |
12 #include "GrBatch.h" | 13 #include "GrBatch.h" |
13 #include "GrBatchFontCache.h" | 14 #include "GrBatchFontCache.h" |
14 #include "GrBatchTarget.h" | 15 #include "GrBatchTarget.h" |
15 #include "GrBitmapTextContext.h" | |
16 #include "GrBufferAllocPool.h" | 16 #include "GrBufferAllocPool.h" |
17 #include "GrDefaultGeoProcFactory.h" | 17 #include "GrDefaultGeoProcFactory.h" |
18 #include "GrFontCache.h" | 18 #include "GrFontCache.h" |
19 #include "GrGpuResource.h" | 19 #include "GrGpuResource.h" |
20 #include "GrGpuResourcePriv.h" | 20 #include "GrGpuResourcePriv.h" |
21 #include "GrDistanceFieldTextContext.h" | 21 #include "GrDistanceFieldTextContext.h" |
22 #include "GrDrawTargetCaps.h" | 22 #include "GrDrawTargetCaps.h" |
23 #include "GrGpu.h" | 23 #include "GrGpu.h" |
24 #include "GrIndexBuffer.h" | 24 #include "GrIndexBuffer.h" |
25 #include "GrInOrderDrawBuffer.h" | 25 #include "GrInOrderDrawBuffer.h" |
(...skipping 1987 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2013 } | 2013 } |
2014 } | 2014 } |
2015 | 2015 |
2016 void GrContext::removeGpuTraceMarker(const GrGpuTraceMarker* marker) { | 2016 void GrContext::removeGpuTraceMarker(const GrGpuTraceMarker* marker) { |
2017 fGpu->removeGpuTraceMarker(marker); | 2017 fGpu->removeGpuTraceMarker(marker); |
2018 if (fDrawBuffer) { | 2018 if (fDrawBuffer) { |
2019 fDrawBuffer->removeGpuTraceMarker(marker); | 2019 fDrawBuffer->removeGpuTraceMarker(marker); |
2020 } | 2020 } |
2021 } | 2021 } |
2022 | 2022 |
OLD | NEW |