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

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

Issue 2086293006: Move GrPipelineBuilder out of gms & reduce use of GrPipelineBuilder.h (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: update to ToT Created 4 years, 6 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 | « src/gpu/GrPipeline.h ('k') | src/gpu/GrSWMaskHelper.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 * Copyright 2014 Google Inc. 2 * Copyright 2014 Google Inc.
3 * 3 *
4 * 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
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 8
9 #include "GrResourceCache.h" 9 #include "GrResourceCache.h"
10
11 #include "GrCaps.h"
10 #include "GrGpuResourceCacheAccess.h" 12 #include "GrGpuResourceCacheAccess.h"
11 #include "GrTracing.h" 13 #include "GrTracing.h"
12 #include "SkChecksum.h" 14 #include "SkChecksum.h"
13 #include "SkGr.h" 15 #include "SkGr.h"
14 #include "SkMessageBus.h" 16 #include "SkMessageBus.h"
15 #include "SkTSort.h" 17 #include "SkTSort.h"
16 18
17 DECLARE_SKMESSAGEBUS_MESSAGE(GrUniqueKeyInvalidatedMessage); 19 DECLARE_SKMESSAGEBUS_MESSAGE(GrUniqueKeyInvalidatedMessage);
18 20
19 ////////////////////////////////////////////////////////////////////////////// 21 //////////////////////////////////////////////////////////////////////////////
(...skipping 749 matching lines...) Expand 10 before | Expand all | Expand 10 after
769 return true; 771 return true;
770 } 772 }
771 if (index < fNonpurgeableResources.count() && fNonpurgeableResources[index] == resource) { 773 if (index < fNonpurgeableResources.count() && fNonpurgeableResources[index] == resource) {
772 return true; 774 return true;
773 } 775 }
774 SkDEBUGFAIL("Resource index should be -1 or the resource should be in the ca che."); 776 SkDEBUGFAIL("Resource index should be -1 or the resource should be in the ca che.");
775 return false; 777 return false;
776 } 778 }
777 779
778 #endif 780 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrPipeline.h ('k') | src/gpu/GrSWMaskHelper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698