Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Side by Side Diff: src/gpu/GrContext.cpp

Issue 1323823003: Remove GrGpuTraceMarker hooks until we rethink the design (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: compiler warning Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « include/gpu/GrContext.h ('k') | src/gpu/GrDrawTarget.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 15 matching lines...) Expand all
26 #include "GrPathRenderer.h" 26 #include "GrPathRenderer.h"
27 #include "GrPathUtils.h" 27 #include "GrPathUtils.h"
28 #include "GrRenderTargetPriv.h" 28 #include "GrRenderTargetPriv.h"
29 #include "GrResourceCache.h" 29 #include "GrResourceCache.h"
30 #include "GrResourceProvider.h" 30 #include "GrResourceProvider.h"
31 #include "GrSoftwarePathRenderer.h" 31 #include "GrSoftwarePathRenderer.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 "GrTraceMarker.h"
37 #include "GrTracing.h" 36 #include "GrTracing.h"
38 #include "GrVertices.h" 37 #include "GrVertices.h"
39 #include "SkDashPathPriv.h" 38 #include "SkDashPathPriv.h"
40 #include "SkConfig8888.h" 39 #include "SkConfig8888.h"
41 #include "SkGr.h" 40 #include "SkGr.h"
42 #include "SkRRect.h" 41 #include "SkRRect.h"
43 #include "SkStrokeRec.h" 42 #include "SkStrokeRec.h"
44 #include "SkSurfacePriv.h" 43 #include "SkSurfacePriv.h"
45 #include "SkTLazy.h" 44 #include "SkTLazy.h"
46 #include "SkTLS.h" 45 #include "SkTLS.h"
(...skipping 697 matching lines...) Expand 10 before | Expand all | Expand 10 after
744 } 743 }
745 if (maxTextureBytes) { 744 if (maxTextureBytes) {
746 *maxTextureBytes = fResourceCache->getMaxResourceBytes(); 745 *maxTextureBytes = fResourceCache->getMaxResourceBytes();
747 } 746 }
748 } 747 }
749 748
750 void GrContext::setResourceCacheLimits(int maxTextures, size_t maxTextureBytes) { 749 void GrContext::setResourceCacheLimits(int maxTextures, size_t maxTextureBytes) {
751 fResourceCache->setLimits(maxTextures, maxTextureBytes); 750 fResourceCache->setLimits(maxTextures, maxTextureBytes);
752 } 751 }
753 752
754 //////////////////////////////////////////////////////////////////////////////
755
756 void GrContext::addGpuTraceMarker(const GrGpuTraceMarker* marker) {
757 fGpu->addGpuTraceMarker(marker);
758 }
759
760 void GrContext::removeGpuTraceMarker(const GrGpuTraceMarker* marker) {
761 fGpu->removeGpuTraceMarker(marker);
762 }
763
OLDNEW
« no previous file with comments | « include/gpu/GrContext.h ('k') | src/gpu/GrDrawTarget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698