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

Commit bf8859d8 authored by Tim Murray's avatar Tim Murray Committed by Android Git Automerger
Browse files

am 9619cddb: am acf7b5d2: am 9dabdaec: Merge "Handle user-defined cache path for RS."

* commit '9619cddb':
  Handle user-defined cache path for RS.
parents a341c97b 9619cddb
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -732,7 +732,9 @@ void FontRenderer::blurImage(uint8_t** image, int32_t width, int32_t height, int

        if (mRs == 0) {
            mRs = new RSC::RS();
            if (!mRs->init(RSC::RS_INIT_LOW_LATENCY | RSC::RS_INIT_SYNCHRONOUS)) {
            // a null path is OK because there are no custom kernels used
            // hence nothing gets cached by RS
            if (!mRs->init("", RSC::RS_INIT_LOW_LATENCY | RSC::RS_INIT_SYNCHRONOUS)) {
                ALOGE("blur RS failed to init");
            }