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

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

Issue 233703003: Rename GrAtlasedLayer to GrCachedLayer (since not all cached layers are atlased) (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 6 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « src/gpu/GrLayerCache.cpp ('k') | no next file » | 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 2011 Google Inc. 2 * Copyright 2011 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 #include "SkGpuDevice.h" 8 #include "SkGpuDevice.h"
9 9
10 #include "effects/GrBicubicEffect.h" 10 #include "effects/GrBicubicEffect.h"
(...skipping 1970 matching lines...) Expand 10 before | Expand all | Expand 10 after
1981 if (ops.offset(i) > info.fSaveLayerOpID && ops.offset(i) < info.fRes toreOpID) { 1981 if (ops.offset(i) > info.fSaveLayerOpID && ops.offset(i) < info.fRes toreOpID) {
1982 pullForward[j] = true; 1982 pullForward[j] = true;
1983 } 1983 }
1984 } 1984 }
1985 } 1985 }
1986 1986
1987 #ifdef SK_PRINT_PULL_FORWARD_INFO 1987 #ifdef SK_PRINT_PULL_FORWARD_INFO
1988 SkDebugf("Need SaveLayers: "); 1988 SkDebugf("Need SaveLayers: ");
1989 for (int i = 0; i < gpuData->numSaveLayers(); ++i) { 1989 for (int i = 0; i < gpuData->numSaveLayers(); ++i) {
1990 if (pullForward[i]) { 1990 if (pullForward[i]) {
1991 const GrAtlasedLayer* layer = fContext->getLayerCache()->findLayerOr Create(picture, i); 1991 const GrCachedLayer* layer = fContext->getLayerCache()->findLayerOrC reate(picture, i);
1992 1992
1993 SkDebugf("%d (%d), ", i, layer->layerID()); 1993 SkDebugf("%d (%d), ", i, layer->layerID());
1994 } 1994 }
1995 } 1995 }
1996 SkDebugf("\n"); 1996 SkDebugf("\n");
1997 #endif 1997 #endif
1998 1998
1999 return false; 1999 return false;
2000 } 2000 }
OLDNEW
« no previous file with comments | « src/gpu/GrLayerCache.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698