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

Unified Diff: include/gpu/GrSurface.h

Issue 1217573002: remove SkInstCnt (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/gpu/GrRenderTarget.h ('k') | include/gpu/GrTextureAccess.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrSurface.h
diff --git a/include/gpu/GrSurface.h b/include/gpu/GrSurface.h
index 123ab1b3c7811c320eee0b45fd6b97194d997600..543ccd134f09edc5e744c8ec8f4f493b2f44b155 100644
--- a/include/gpu/GrSurface.h
+++ b/include/gpu/GrSurface.h
@@ -20,8 +20,6 @@ class GrTexture;
class GrSurface : public GrGpuResource {
public:
- SK_DECLARE_INST_COUNT(GrSurface);
-
/**
* Retrieves the width of the surface.
*/
@@ -122,14 +120,14 @@ public:
* if the surface has MSAA it will be resolved.
*/
void prepareForExternalRead();
-
+
/** Access methods that are only to be used within Skia code. */
inline GrSurfacePriv surfacePriv();
inline const GrSurfacePriv surfacePriv() const;
typedef void* ReleaseCtx;
typedef void (*ReleaseProc)(ReleaseCtx);
-
+
void setRelease(ReleaseProc proc, ReleaseCtx ctx) {
fReleaseProc = proc;
fReleaseCtx = ctx;
@@ -170,7 +168,7 @@ private:
fReleaseProc = NULL;
}
}
-
+
ReleaseProc fReleaseProc;
ReleaseCtx fReleaseCtx;
« no previous file with comments | « include/gpu/GrRenderTarget.h ('k') | include/gpu/GrTextureAccess.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698