about:support in pdf format from bug 1744334 is terribly slow to load and scroll
Categories
(Core :: Graphics: Canvas2D, defect)
Tracking
()
People
(Reporter: mayankleoboy1, Assigned: lsalzman)
References
(Blocks 1 open bug, )
Details
Attachments
(6 files)
Enable accelerated canvas
Open this link from bug 1744334 : https://bugzilla.mozilla.org/attachment.cgi?id=9254826
(I think that the Nightly inbuilt pdf reader needs to be used)
ER: Pdf loads, and after loading you can scroll down the pdf
AR: Pdf takes a long time to load. After loading ends, it is very slow to scroll down
Reporter | ||
Comment 1•3 years ago
|
||
Comment 2•3 years ago
|
||
The severity field is not set for this bug.
:lsalzman, could you have a look please?
For more information, please visit auto_nag documentation.
Assignee | ||
Comment 3•3 years ago
|
||
This just tries to add in support for drawing certain stroked rects by reusing
existing shaders and geometry. This solves some low-hanging fruit with certain
test-cases while more general stroked geometry can be added at a later time.
Updated•3 years ago
|
Assignee | ||
Comment 4•3 years ago
|
||
Reading back from the WebGL context to the Skia context if we need to fall back
software rasterization can be extremely expensive. In general, it is better to
try to avoid this by rasterizing primitives in software and then uploading them
to a texture.
This generalizes that idea so that when using the default source-over blend
mode, the Skia context can function as a layer that accumulates recently
drawn primitives and blends them via source-over to the WebGL context when
a flush is necessary.
Assignee | ||
Comment 5•3 years ago
|
||
This generalizes the CacheEntry infrastructure to implement path caching.
This allows us to cache recently drawn paths to a texture which can be then
drawn without falling back to Skia.
Paths using simple solid color patterns will be drawn as alpha masks that
can then have the color applied in the shader. For now, other pattern types
have the pattern baked into the texture to avoid having to complicate the
shader setup for now. In the future, other pattern types could be supported
with new shaders to allow those to be cached as alpha masks as well.
In the service of this, comparison and cloning operators were added to the
Pattern classes to make remembering and matching against them easier for
cache entries.
Assignee | ||
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Comment 6•3 years ago
|
||
Depends on D135261
Comment 8•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/8a66c1a42bfb
https://hg.mozilla.org/mozilla-central/rev/c17c8ec1f577
https://hg.mozilla.org/mozilla-central/rev/ae505acc7a28
https://hg.mozilla.org/mozilla-central/rev/3b192b0c6080
Reporter | ||
Comment 9•3 years ago
|
||
Profile on latest nightly : https://share.firefox.dev/3Gya8sP
Loading and scrolling is much better now.
Updated•3 years ago
|
Description
•