Author Topic: [DEV] Upstreaming PPC64 optmisation patch for Google SKIA library  (Read 1285 times)

tle

  • Hero Member
  • *****
  • Posts: 583
  • Karma: +56/-0
    • View Profile
    • Trung's Personal Website
In the Chromium PPC64 patchset maintaned by Tim Pearson, there is a patch tor 2D graphic lib SKIA that would boost performance by converting SS3 to VSX. It turns out Firefox is also using SKIA library too and I could see a MAJOR improvement in term of FPS in Firefox after adapting the patch. I do NOT believe that Firefox would ever accept a downstream patch for a third party library so my bet is on getting the patch submitted officially. From my own testing, the patched libs work well and have not produced any bug. So just curious why the patch has not been submitted to Google yet.
Faithful Linux enthusiast

My Raptor Blackbird

tle

  • Hero Member
  • *****
  • Posts: 583
  • Karma: +56/-0
    • View Profile
    • Trung's Personal Website
Re: [DEV] Upstreaming PPC64 optmisation patch for Google SKIA library
« Reply #1 on: May 02, 2026, 05:21:13 am »
After digging in a bit, I do not think Google would accept the patch because they have just rejected a similar patch using translation shim for LA64 architecture. Their argument is that shim wrapper is compiler locked and that's not good enough. I hope there are someone in the community who would step up to port SKIA to use native VSX instructions.
Faithful Linux enthusiast

My Raptor Blackbird