Closed Bug 1300656 Opened 4 years ago Closed 4 years ago
Utils::Convert BGRAto RGBA()
gfxUtils::ConvertBGRAtoRGBA() seems not optimum.
Assignee: nobody → sotaro.ikeda.g
libyuv::ABGRToARGB() is already used similar way in the following. https://dxr.mozilla.org/mozilla-central/source/dom/canvas/ImageBitmap.cpp#236
Before applying attachment 8790189 [details] [diff] [review], thumbnail's color conversion took 0.4ms-1.0ms. By attachment 8790189 [details] [diff] [review], it became 0.3ms.
Attachment #8790189 - Flags: review?(jmuizelaar)
Attachment #8790189 - Flags: review?(jmuizelaar) → review+
Pushed by email@example.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/c75b43f81d5c Optimize gfxUtils::ConvertBGRAtoRGBA() r=jrmuizel
You need to log in before you can comment on or make changes to this bug.