summaryrefslogtreecommitdiff
path: root/libs/hwui/Layer.cpp
diff options
context:
space:
mode:
author Sally Qi <sallyqi@google.com> 2021-07-15 00:00:54 +0000
committer Sally Qi <sallyqi@google.com> 2021-07-16 19:07:52 +0000
commit7e3f93bc673d2d5fe21df04dfbaffff13660ca97 (patch)
tree967aaf0af1252ecae3020d0ee8f6e434a25f56cc /libs/hwui/Layer.cpp
parent97a9cc212e1ec8cd2dc4202a8981d3b59d65bdb9 (diff)
Migrate HWUI logs from SkDebugf to ALOGD
Bug: 192062380 Test: Compile pass Change-Id: I64a0cb0016cf6a4e8a9da85dbce5ba8934109763
Diffstat (limited to 'libs/hwui/Layer.cpp')
-rw-r--r--libs/hwui/Layer.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/hwui/Layer.cpp b/libs/hwui/Layer.cpp
index b14ade97ca5f..47c47e0427a4 100644
--- a/libs/hwui/Layer.cpp
+++ b/libs/hwui/Layer.cpp
@@ -20,6 +20,8 @@
#include "utils/Color.h"
#include "utils/MathUtils.h"
+#include <log/log.h>
+
namespace android {
namespace uirenderer {
@@ -90,7 +92,7 @@ static bool shouldFilterRect(const SkMatrix& matrix, const SkRect& srcRect, cons
void Layer::draw(SkCanvas* canvas) {
GrRecordingContext* context = canvas->recordingContext();
if (context == nullptr) {
- SkDEBUGF(("Attempting to draw LayerDrawable into an unsupported surface"));
+ ALOGD("Attempting to draw LayerDrawable into an unsupported surface");
return;
}
SkMatrix layerTransform = getTransform();