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

Unified Diff: src/core/SkLayerInfo.cpp

Issue 719133002: Rename GrAccelData to SkLayerInfo and move it to src/core (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix up unit test Created 6 years, 1 month 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 | « src/core/SkLayerInfo.h ('k') | src/core/SkPictureRecorder.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkLayerInfo.cpp
diff --git a/src/gpu/GrPictureUtils.cpp b/src/core/SkLayerInfo.cpp
similarity index 54%
rename from src/gpu/GrPictureUtils.cpp
rename to src/core/SkLayerInfo.cpp
index e8e965bb57d51b32855b28601a9895e79de6ed62..d427fa7c2188621b2e3d82b2dba4cbfb82397617 100644
--- a/src/gpu/GrPictureUtils.cpp
+++ b/src/core/SkLayerInfo.cpp
@@ -5,15 +5,9 @@
* found in the LICENSE file.
*/
-#include "GrPictureUtils.h"
+#include "SkLayerInfo.h"
-#include "SkBBoxHierarchy.h"
-#include "SkPaintPriv.h"
-#include "SkPatchUtils.h"
-#include "SkRecord.h"
-#include "SkRecords.h"
-
-SkPicture::AccelData::Key GrAccelData::ComputeAccelDataKey() {
+SkPicture::AccelData::Key SkLayerInfo::ComputeKey() {
static const SkPicture::AccelData::Key gGPUID = SkPicture::AccelData::GenerateDomain();
return gGPUID;
« no previous file with comments | « src/core/SkLayerInfo.h ('k') | src/core/SkPictureRecorder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698