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

tle

  • Hero Member
  • *****
  • Posts: 586
  • 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 SSE 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.
« Last Edit: May 14, 2026, 08:39:00 am by tle »
Faithful Linux enthusiast

My Raptor Blackbird

tle

  • Hero Member
  • *****
  • Posts: 586
  • 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

MPC7500

  • Hero Member
  • *****
  • Posts: 645
  • Karma: +42/-1
    • View Profile
    • Twitter
Re: [DEV] Upstreaming PPC64 optmisation patch for Google SKIA library
« Reply #2 on: May 11, 2026, 09:32:50 am »
I don't think Google has ever accepted a ppc64le patch, sadly.

MauryG5

  • Hero Member
  • *****
  • Posts: 814
  • Karma: +22/-1
    • View Profile
Re: [DEV] Upstreaming PPC64 optmisation patch for Google SKIA library
« Reply #3 on: May 11, 2026, 01:03:54 pm »
Unfortunately, Google doesn't offer any support for ppc64. I don't know if they're still afraid of us, but the fact remains that this is the situation. But as for the implementation, since Tim is following and developing Chormium ppc64, can't he do it himself in the version he regularly updates? Or maybe he already will...