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

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

Issue 894013002: patch from issue 886233004 at patchset 40001 (http://crrev.com/886233004#ps40001) (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 5 years, 10 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/GrGpu.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 1560 matching lines...) Expand 10 before | Expand all | Expand 10 after
1571 } 1571 }
1572 } 1572 }
1573 1573
1574 void GrContext::removeGpuTraceMarker(const GrGpuTraceMarker* marker) { 1574 void GrContext::removeGpuTraceMarker(const GrGpuTraceMarker* marker) {
1575 fGpu->removeGpuTraceMarker(marker); 1575 fGpu->removeGpuTraceMarker(marker);
1576 if (fDrawBuffer) { 1576 if (fDrawBuffer) {
1577 fDrawBuffer->removeGpuTraceMarker(marker); 1577 fDrawBuffer->removeGpuTraceMarker(marker);
1578 } 1578 }
1579 } 1579 }
1580 1580
1581 ///////////////////////////////////////////////////////////////////////////////
1582 #if GR_CACHE_STATS
1583 void GrContext::printCacheStats() const {
1584 fResourceCache2->printStats();
1585 }
1586 #endif
1587
1588 #if GR_GPU_STATS
1589 const GrContext::GPUStats* GrContext::gpuStats() const {
1590 return fGpu->gpuStats();
1591 }
1592 #endif
1593
OLDNEW
« no previous file with comments | « include/gpu/GrContext.h ('k') | src/gpu/GrGpu.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698