Use swiftshader for WebGL on Windows XP

RESOLVED WONTFIX

Status

()

Core
Canvas: WebGL
--
enhancement
RESOLVED WONTFIX
2 years ago
10 months ago

People

(Reporter: jrmuizel, Unassigned)

Tracking

(Depends on: 2 bugs, Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: gfx-noted)

SwiftShader is now open source: https://swiftshader.googlesource.com/SwiftShader

We should be able to package it up and distribute it in a similar way to OpenH264 and the other CDM plugins so that we don't pay the cost of distributing it to most people.

I don't know how the performance compares to WARP, but having SwiftShader available as an alternative may be very helpful if we run into unsolvable correctness, performance or security issues with WARP.
Sounds like we want to examine the Windows XP success rates for WebGL first.
44% of our WebGL failures are on Windows XP. This percentage will go up when we ship DXGI1.1 WARP which will take care of a lot of our Windows 7 failures.
And for a different perspective, WebGL fails to work for 62% of our XP users.

Here's a break down of the useful CPU features for target audience of nowebgl-xp:
 SSE2   - 99.30%
 SSSE3  - 58.07%
 SSE4_1 - 12.74%
(In reply to Jeff Muizelaar [:jrmuizel] from comment #3)
> And for a different perspective, WebGL fails to work for 62% of our XP users.
> 
> Here's a break down of the useful CPU features for target audience of
> nowebgl-xp:
>  SSE2   - 99.30%
>  SSSE3  - 58.07%
>  SSE4_1 - 12.74%

And, we can count on 100% of SSE2 as we're dropping support for the others.
Core count: [(1, '35.41%'), (2, '63.09%'), (3, '0.20%'), (4, '1.30%')]
CPU count:  [(1, '22.47%'), (2, '75.43%'), (3, '0.20%'), (4, '1.91%')]
Severity: normal → enhancement
Whiteboard: gfx-noted

Updated

2 years ago
Depends on: 1290539
Windows XP is deprecated. Feel free to re-open if this issue itself is still relevant.
Status: NEW → RESOLVED
Last Resolved: 10 months ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.