Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kaiwk opened this issue Feb 8, 2021 · 2 comments
Open

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

kaiwk opened this issue Feb 8, 2021 · 2 comments

Comments

@kaiwk
Copy link

kaiwk commented Feb 8, 2021

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.

@kaiwk kaiwk changed the title Any thoughts about use SwiftShader as the software renderer? Any thoughts about using SwiftShader as the software renderer? Feb 8, 2021
@kvark
Copy link
Member

kvark commented Feb 8, 2021

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
Copy link
Contributor

nical commented Feb 8, 2021

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
Projects
None yet
Development

No branches or pull requests

3 participants