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

[api-minor] Remove the WebGL implementation #13358

Merged
merged 1 commit into from
May 9, 2021

Commits on May 9, 2021

  1. [api-minor] Remove the WebGL implementation

    Reasons for the removal include:
     - This functionality was always somewhat experimental and has never been enabled by default, partly because of worries about rendering bugs caused by e.g. bad/outdated graphics drivers.
    
     - After the initial implementation, in PR 4286 (back in 2014), no additional functionality has been added to the WebGL implementation.
    
     - The vast majority of all documents do not benefit from WebGL rendering, since only a couple of *specific* features are supported (e.g. some Soft Masks and Patterns).
    
     - There is, and has always been, *zero* test-coverage for the WebGL implementation.
    
     - Overall performance, in the PDF.js library, has improved since the experimental WebGL implementation was added.
    
    Rather than shipping unused *and* untested code, it seems reasonable to simply remove the WebGL implementation for now; thanks to version control it's always possible to bring back the code should the need ever arise.
    Snuffleupagus committed May 9, 2021
    Configuration menu
    Copy the full SHA
    2ba4b65 View commit details
    Browse the repository at this point in the history