diff options
author | Chris Blume <cblume@google.com> | 2018-11-06 11:47:03 -0800 |
---|---|---|
committer | Chris Blume <cblume@google.com> | 2018-11-06 11:47:03 -0800 |
commit | d699343f42eb0c588a68a88bbc3ab6df429d8031 (patch) | |
tree | a6abbd419d700e0d64abd1a1cb1ff53dc32c69e5 /libs/hwui/pipeline/skia/VkInteropFunctorDrawable.cpp | |
parent | 5f1ac2b2176310def846972a6cbbec62646af4a0 (diff) |
Fix VkInteropFunctorDrawable log messages
I previously renamed VkFunctorDrawable->VkInteropFunctorDrawable but I
didn't update the log messages which include that class name.
This patch fixes those log messages.
Test: This only changes string values and doesn't effect any testing.
BUG=115613038
Change-Id: If18fbd3689db328c144495383b0f92675b48f8e9
Diffstat (limited to 'libs/hwui/pipeline/skia/VkInteropFunctorDrawable.cpp')
-rw-r--r-- | libs/hwui/pipeline/skia/VkInteropFunctorDrawable.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libs/hwui/pipeline/skia/VkInteropFunctorDrawable.cpp b/libs/hwui/pipeline/skia/VkInteropFunctorDrawable.cpp index 2a6a9f5b4771..a594206a2dd9 100644 --- a/libs/hwui/pipeline/skia/VkInteropFunctorDrawable.cpp +++ b/libs/hwui/pipeline/skia/VkInteropFunctorDrawable.cpp @@ -82,7 +82,7 @@ void VkInteropFunctorDrawable::onDraw(SkCanvas* canvas) { ATRACE_CALL(); if (canvas->getGrContext() == nullptr) { - SkDEBUGF(("Attempting to draw VkFunctor into an unsupported surface")); + SkDEBUGF(("Attempting to draw VkInteropFunctor into an unsupported surface")); return; } @@ -99,10 +99,11 @@ void VkInteropFunctorDrawable::onDraw(SkCanvas* canvas) { ColorTypeToPixelFormat(surfaceInfo.colorType()), GraphicBuffer::USAGE_HW_TEXTURE | GraphicBuffer::USAGE_SW_WRITE_NEVER | GraphicBuffer::USAGE_SW_READ_NEVER | GraphicBuffer::USAGE_HW_RENDER, - std::string("VkFunctorDrawable::onDraw pid [") + std::to_string(getpid()) + "]"); + std::string("VkInteropFunctorDrawable::onDraw pid [") + std::to_string(getpid()) + + "]"); status_t error = mFrameBuffer->initCheck(); if (error < 0) { - ALOGW("VkFunctorDrawable::onDraw() failed in GraphicBuffer.create()"); + ALOGW("VkInteropFunctorDrawable::onDraw() failed in GraphicBuffer.create()"); return; } |