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

Commit c5c5b74d authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix VkInteropFunctorDrawable log messages"

parents 905da27b d699343f
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;
        }