mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:47:35 +00:00
LibPDF: Use MatrixMatrixConversion when possible
Reduces time spent rendering page 3 of 0000849.pdf from 1.32s to 1.13s on my machine. Also reduces the time to run Meta/test_pdf.py on 0000.zip (without 0000849.pdf) from 56s to 54s.
This commit is contained in:
parent
c161b2d2f9
commit
cfd05b1a55
2 changed files with 11 additions and 2 deletions
|
@ -195,6 +195,7 @@ private:
|
|||
|
||||
static RefPtr<Gfx::ICC::Profile> s_srgb_profile;
|
||||
NonnullRefPtr<Gfx::ICC::Profile> m_profile;
|
||||
Optional<Gfx::ICC::MatrixMatrixConversion> m_map;
|
||||
};
|
||||
|
||||
class LabColorSpace final : public ColorSpace {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue