I was wondering if WebGL is considered stable enough to be enabled by default. It makes some PDFs render much faster and it has been off by default for a while now, so we have had quite some time to test it.

If we decide to enable WebGL by default, we should not forget to update https://github.com/mozilla/pdf.js/blob/master/extensions/chromium/preferences_schema.json#L39 as well.

/cc @yurydelendik 
/cc @Snuffleupagus (because IIRC you were testing WebGL too)

this.fillColor = "#000000";
    this.strokeColor = "#000000";
    this.patternFill = false;
    
    this.fillAlpha = 1;
    this.strokeAlpha = 1;
    this.lineWidth = 1;
    this.activeSMask = null;
    this.resumeSMaskCtx = null; 
    this.transferMaps = null;
  }
  clone() {
    return Object.create(this);
  }
  setCurrentPoint(x, y) {
    this.x = x;
    this.y = y;
  }
}
/**
 * @type {any}
 */
const CanvasGraphics = (function CanvasGraphicsClosure() {
  
  
  const EXECUTION_TIME = 15;
  
  const EXECUTION_STEPS = 10;
  function putBinaryImageData(ctx, imgData, transferMaps = null) {