Skip to content

Any thoughts about using SwiftShader as the software renderer? #4252

Open
@kaiwk

Description

@kaiwk

Can we use swiftshader as the software renderer, looks like it has better performance? See #4211 and swiftshader. I'm not sure whether swgl can works well with video playing.

Activity

changed the title [-]Any thoughts about use SwiftShader as the software renderer?[/-] [+]Any thoughts about using SwiftShader as the software renderer?[/+] on Feb 8, 2021
kvark

kvark commented on Feb 8, 2021

@kvark
Member

I'm not directly involved in SWGL, but my understanding is that it's working very well, and it's far along. At this point, we'll rather focus on shipping it everywhere it needs to be, than evaluating swiftshader.

nical

nical commented on Feb 8, 2021

@nical
Contributor

Swift shader (and llvmpipe and the likes) are designed/optimized to do as good a job as they can on typical 3d rendering workloads. swgl on the other hand, works in a very peculiar way which wouldn't do a great job at rendering a 3d game but is optimized for the types of primitives that WebRender produces most, (loads of non-rotated axis-aligned rectangles) with very webrender-specific fast paths for the most common primitives. Video playback is typically the type of things that swgl is better equipped to handle than a general purpose software GL implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @kvark@nical@kaiwk

        Issue actions

          Any thoughts about using SwiftShader as the software renderer? · Issue #4252 · servo/webrender