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

Side by Side Diff: include/core/SkCachedData.h

Issue 1249543003: Creating functions for uploading a mipmapped texture. (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: Style changes based on CL feedback. Created 5 years, 5 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 | « no previous file | include/core/SkMipMap.h » ('j') | include/gpu/GrTextureProvider.h » ('J')
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 #ifndef SkCachedData_DEFINED 8 #ifndef SkCachedData_DEFINED
9 #define SkCachedData_DEFINED 9 #define SkCachedData_DEFINED
10 10
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 void attachToCacheAndRef() const { this->internalRef(true); } 98 void attachToCacheAndRef() const { this->internalRef(true); }
99 99
100 /* 100 /*
101 * Call when removing this instance from a SkResourceCache::Rec subclass 101 * Call when removing this instance from a SkResourceCache::Rec subclass
102 * (typically in the Rec's destructor). 102 * (typically in the Rec's destructor).
103 */ 103 */
104 void detachFromCacheAndUnref() const { this->internalUnref(true); } 104 void detachFromCacheAndUnref() const { this->internalUnref(true); }
105 }; 105 };
106 106
107 #endif 107 #endif
OLDNEW
« no previous file with comments | « no previous file | include/core/SkMipMap.h » ('j') | include/gpu/GrTextureProvider.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698