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

Side by Side Diff: src/image/SkImagePriv.h

Issue 1734043002: Revert of Move Budgeted enum out of SkSurface, use in GrTextureProvider (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 9 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/image/SkImage.cpp ('k') | src/image/SkImage_Gpu.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 2012 Google Inc. 2 * Copyright 2012 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 #ifndef SkImagePriv_DEFINED 8 #ifndef SkImagePriv_DEFINED
9 #define SkImagePriv_DEFINED 9 #define SkImagePriv_DEFINED
10 10
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 // surface. This function is used when the surface makes a new texture for itsel f in order 49 // surface. This function is used when the surface makes a new texture for itsel f in order
50 // for the orphaned image to determine whether the original texture counts again st the 50 // for the orphaned image to determine whether the original texture counts again st the
51 // budget or not. 51 // budget or not.
52 extern void SkTextureImageApplyBudgetedDecision(SkImage* textureImage); 52 extern void SkTextureImageApplyBudgetedDecision(SkImage* textureImage);
53 53
54 // Update the texture wrapped by an image created with NewTexture. This 54 // Update the texture wrapped by an image created with NewTexture. This
55 // is called when a surface and image share the same GrTexture and the 55 // is called when a surface and image share the same GrTexture and the
56 // surface needs to perform a copy-on-write 56 // surface needs to perform a copy-on-write
57 extern void SkTextureImageSetTexture(SkImage* image, GrTexture* texture); 57 extern void SkTextureImageSetTexture(SkImage* image, GrTexture* texture);
58 58
59 GrTexture* GrDeepCopyTexture(GrTexture* src, SkBudgeted); 59 GrTexture* GrDeepCopyTexture(GrTexture* src, bool isBudgeted);
60 60
61 #endif 61 #endif
OLDNEW
« no previous file with comments | « src/image/SkImage.cpp ('k') | src/image/SkImage_Gpu.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698