OLD | NEW |
1 | |
2 /* | 1 /* |
3 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
4 * | 3 * |
5 * 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 |
6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
7 */ | 6 */ |
8 | 7 |
9 #include "GrContext.h" | 8 #include "GrContext.h" |
10 #include "GrContextOptions.h" | 9 #include "GrContextOptions.h" |
11 #include "GrDrawingManager.h" | 10 #include "GrDrawingManager.h" |
(...skipping 646 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
658 ASSERT_SINGLE_OWNER | 657 ASSERT_SINGLE_OWNER |
659 fResourceCache->setLimits(maxTextures, maxTextureBytes); | 658 fResourceCache->setLimits(maxTextures, maxTextureBytes); |
660 } | 659 } |
661 | 660 |
662 ////////////////////////////////////////////////////////////////////////////// | 661 ////////////////////////////////////////////////////////////////////////////// |
663 | 662 |
664 void GrContext::dumpMemoryStatistics(SkTraceMemoryDump* traceMemoryDump) const { | 663 void GrContext::dumpMemoryStatistics(SkTraceMemoryDump* traceMemoryDump) const { |
665 ASSERT_SINGLE_OWNER | 664 ASSERT_SINGLE_OWNER |
666 fResourceCache->dumpMemoryStatistics(traceMemoryDump); | 665 fResourceCache->dumpMemoryStatistics(traceMemoryDump); |
667 } | 666 } |
OLD | NEW |