pdf.js/src/display
Brendan Dahl da1af02ac8 Improve performance of reused patterns.
Bug 1721218 has a shading pattern that was used thousands of times.
To improve performance of this PDF:
 - add a cache for patterns in the evaluator and only send the IR form once
   to the main thread (this also makes caching in canvas easier)
 - cache the created canvas radial/axial patterns
 - for shading fill radial/axial use the pattern directly instead of creating temporary
   canvas
2021-07-22 16:47:40 -07:00
..
annotation_layer.js Enable the ESLint operator-assignment rule 2021-07-04 12:57:45 +02:00
annotation_storage.js Remove the deprecated AnnotationStorage.getOrCreateValue-method (PR 12759 follow-up) 2021-04-06 13:22:06 +02:00
api.js Improve performance of reused patterns. 2021-07-22 16:47:40 -07:00
base_factory.js Re-factor the DOMSVGFactory to extend an abstract base class 2021-06-11 17:15:49 +02:00
canvas.js Improve performance of reused patterns. 2021-07-22 16:47:40 -07:00
content_disposition.js Use the stringToBytes helper function in more places 2021-05-22 12:23:09 +02:00
display_utils.js [api-minor] Add a new getXfaPageViewport helper function to support printing 2021-06-23 08:17:58 +02:00
fetch_stream.js Account for formatting changes in Prettier version 2.3.0 2021-05-16 11:44:05 +02:00
font_loader.js XFA - Add support for reftests 2021-06-08 10:37:26 +02:00
metadata.js Replace the objectFromEntries helper function with an objectFromMap one instead 2021-03-11 16:37:34 +01:00
network_utils.js [api-minor] Support the Content-Disposition filename in the Firefox PDF Viewer (bug 1694556, PR 9379 follow-up) 2021-02-26 10:50:29 +01:00
network.js Account for formatting changes in Prettier version 2.3.0 2021-05-16 11:44:05 +02:00
node_stream.js Account for formatting changes in Prettier version 2.3.0 2021-05-16 11:44:05 +02:00
node_utils.js Move most functionality in the create methods into the BaseCanvasFactory 2021-06-11 17:15:47 +02:00
optional_content_config.js Implement visibility expressions for optional content 2021-04-14 17:39:41 +03:00
pattern_helper.js Improve performance of reused patterns. 2021-07-22 16:47:40 -07:00
svg.js Normalize the coordinates used in SVGGraphics._makeTilingPattern (issue 12996) 2021-06-05 09:15:23 +02:00
text_layer.js Account for formatting changes in Prettier version 2.3.0 2021-05-16 11:44:05 +02:00
transport_stream.js Clear some Arrays, rather than re-initialize them, in src/display/-code 2021-04-24 13:00:53 +02:00
worker_options.js Use typedef to define the type of GlobalWorkerOptions. 2020-08-03 19:06:28 +09:00
xfa_layer.js XFA - Checkboxes must be printed (bug 1720182) 2021-07-16 11:32:03 +02:00