| 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 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 #include "GrSoftwarePathRenderer.h" | 30 #include "GrSoftwarePathRenderer.h" |
| 31 #include "GrStencilAndCoverTextContext.h" | 31 #include "GrStencilAndCoverTextContext.h" |
| 32 #include "GrStrokeInfo.h" | 32 #include "GrStrokeInfo.h" |
| 33 #include "GrSurfacePriv.h" | 33 #include "GrSurfacePriv.h" |
| 34 #include "GrTextBlobCache.h" | 34 #include "GrTextBlobCache.h" |
| 35 #include "GrTexturePriv.h" | 35 #include "GrTexturePriv.h" |
| 36 #include "GrTracing.h" | 36 #include "GrTracing.h" |
| 37 #include "GrVertices.h" | 37 #include "GrVertices.h" |
| 38 #include "SkDashPathPriv.h" | 38 #include "SkDashPathPriv.h" |
| 39 #include "SkConfig8888.h" | 39 #include "SkConfig8888.h" |
| 40 #include "SkGr.h" | 40 #include "SkGrPriv.h" |
| 41 #include "SkRRect.h" | 41 #include "SkRRect.h" |
| 42 #include "SkStrokeRec.h" | 42 #include "SkStrokeRec.h" |
| 43 #include "SkSurfacePriv.h" | 43 #include "SkSurfacePriv.h" |
| 44 #include "SkTLazy.h" | 44 #include "SkTLazy.h" |
| 45 #include "SkTLS.h" | 45 #include "SkTLS.h" |
| 46 #include "SkTraceEvent.h" | 46 #include "SkTraceEvent.h" |
| 47 | 47 |
| 48 | 48 |
| 49 #include "batches/GrBatch.h" | 49 #include "batches/GrBatch.h" |
| 50 | 50 |
| (...skipping 708 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 759 | 759 |
| 760 void GrContext::setResourceCacheLimits(int maxTextures, size_t maxTextureBytes)
{ | 760 void GrContext::setResourceCacheLimits(int maxTextures, size_t maxTextureBytes)
{ |
| 761 fResourceCache->setLimits(maxTextures, maxTextureBytes); | 761 fResourceCache->setLimits(maxTextures, maxTextureBytes); |
| 762 } | 762 } |
| 763 | 763 |
| 764 ////////////////////////////////////////////////////////////////////////////// | 764 ////////////////////////////////////////////////////////////////////////////// |
| 765 | 765 |
| 766 void GrContext::dumpMemoryStatistics(SkTraceMemoryDump* traceMemoryDump) const { | 766 void GrContext::dumpMemoryStatistics(SkTraceMemoryDump* traceMemoryDump) const { |
| 767 fResourceCache->dumpMemoryStatistics(traceMemoryDump); | 767 fResourceCache->dumpMemoryStatistics(traceMemoryDump); |
| 768 } | 768 } |
| OLD | NEW |