diff options
author | 2014-11-12 09:32:34 -0800 | |
---|---|---|
committer | 2014-11-12 09:32:34 -0800 | |
commit | 82365915476caedc130d0e36012a1ce0c007c4ae (patch) | |
tree | 09a36cd23f34cdd609b4279ecad52c0b0b3868ac /src/core/SkLayerInfo.cpp | |
parent | ac6a2f964ee9821df6a4a8f3c46796322a4c37b8 (diff) |
Rename GrAccelData to SkLayerInfo and move it to src/core
Review URL: https://codereview.chromium.org/719133002
Diffstat (limited to 'src/core/SkLayerInfo.cpp')
-rw-r--r-- | src/core/SkLayerInfo.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/core/SkLayerInfo.cpp b/src/core/SkLayerInfo.cpp new file mode 100644 index 0000000000..d427fa7c21 --- /dev/null +++ b/src/core/SkLayerInfo.cpp @@ -0,0 +1,15 @@ +/* + * Copyright 2014 Google Inc. + * + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ + +#include "SkLayerInfo.h" + +SkPicture::AccelData::Key SkLayerInfo::ComputeKey() { + static const SkPicture::AccelData::Key gGPUID = SkPicture::AccelData::GenerateDomain(); + + return gGPUID; +} + |