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

Unified Diff: src/gpu/GrPictureUtils.h

Issue 482773002: Rename GPUAccelData to GrAccelData (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: update to ToT Created 6 years, 4 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 | « no previous file | src/gpu/GrPictureUtils.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrPictureUtils.h
diff --git a/src/gpu/GrPictureUtils.h b/src/gpu/GrPictureUtils.h
index a730697d62d580fa736c1d453378afa0062d641e..46af12d2f1a43b053aef59efc50c75ef05f22560 100644
--- a/src/gpu/GrPictureUtils.h
+++ b/src/gpu/GrPictureUtils.h
@@ -13,7 +13,7 @@
// This class encapsulates the GPU-backend-specific acceleration data
// for a single SkPicture
-class GPUAccelData : public SkPicture::AccelData {
+class GrAccelData : public SkPicture::AccelData {
public:
// Information about a given saveLayer in an SkPicture
struct SaveLayerInfo {
@@ -43,9 +43,9 @@ public:
bool fIsNested;
};
- GPUAccelData(Key key) : INHERITED(key) { }
+ GrAccelData(Key key) : INHERITED(key) { }
- virtual ~GPUAccelData() {
+ virtual ~GrAccelData() {
for (int i = 0; i < fSaveLayerInfo.count(); ++i) {
SkDELETE(fSaveLayerInfo[i].fPaint);
}
@@ -74,6 +74,6 @@ private:
typedef SkPicture::AccelData INHERITED;
};
-void GatherGPUInfo(const SkPicture* pict, GPUAccelData* accelData);
+void GatherGPUInfo(const SkPicture* pict, GrAccelData* accelData);
#endif // GrPictureUtils_DEFINED
« no previous file with comments | « no previous file | src/gpu/GrPictureUtils.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698