Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d699343f authored by Chris Blume's avatar Chris Blume
Browse files

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
parent 5f1ac2b2
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -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;
        }