Sandor Molnar
bb9a848857
Backed out changeset d0f659f7ea9b (bug 1696045) for causing gtest failures in image/decoders/nsAVIFDecoder. CLOSED TREE
2021-08-24 21:27:20 +03:00
Jon Bauman
fc5f21743a
Bug 1696045 - Add AVIF telemetry for unimplemented features and performance. r=aosmond
...
Differential Revision: https://phabricator.services.mozilla.com/D123378
2021-08-24 17:20:02 +00:00
Ting-Yu Lin
8035e9dde5
Bug 1726620 Part 1 - Generalize IntCoordTyped template to take a parameter as the underlying type. r=botond
...
This shouldn't change the behavior, but it allows us to define 64-bit
`IntCoordTyped` in Part 2.
Differential Revision: https://phabricator.services.mozilla.com/D123265
2021-08-24 17:19:21 +00:00
Jon Bauman
bacfba2091
Bug 1725056 - qcms: avoid undefined behavior when handling CICP values. r=jrmuizel,tsmith
...
Differential Revision: https://phabricator.services.mozilla.com/D122318
2021-08-16 23:13:36 +00:00
Markus Stange
193a8de121
Bug 1724433 - Remove special CG text drawing code from DrawTargetSkia. r=lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D122399
2021-08-13 23:08:02 +00:00
Matt Woodrow
ec9b5dd838
Bug 1720152 - Recurse into replay for dependencies, rather than using a temp surface. r=jrmuizel,bobowen,emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D120050
2021-08-09 22:07:36 +00:00
Bob Owen
b18cd4ec5a
Bug 1698946 p3: Change existing code to use DWriteSettings. r=jfkthame
...
Differential Revision: https://phabricator.services.mozilla.com/D120598
2021-08-05 09:13:11 +00:00
Bob Owen
700da072c4
Bug 1698946 p2: Add DWriteSettings to be used to retrieve font settings. r=jfkthame
...
This provides settings, which are populated from gfxVars retrieved in the
parent, so that they can be used in all processes.
IDWriteRenderingParams are created lazily, so that we don't try and create them
in processes that have win32k locked down where the API calls will fail.
Differential Revision: https://phabricator.services.mozilla.com/D120597
2021-08-05 09:13:10 +00:00
Jonathan Kew
9c97d0c7bc
Bug 1722300 - patch 4 - Implement internal destinations when generating PDF output through cairo. r=mattwoodrow
...
Differential Revision: https://phabricator.services.mozilla.com/D120960
2021-08-04 12:52:38 +00:00
Mike Hommey
03223f9ea4
Bug 1722653 - Remove MOZ_CAIRO_CFLAGS. r=firefox-build-system-reviewers,jgilbert,andi
...
Differential Revision: https://phabricator.services.mozilla.com/D121066
2021-07-29 23:38:31 +00:00
Mike Hommey
25c71f548b
Bug 1722653 - Remove --enable-system-cairo. r=firefox-build-system-reviewers,jrmuizel,andi
...
It hasn't been supported since bug 1432751, > 3 years ago.
Differential Revision: https://phabricator.services.mozilla.com/D121063
2021-07-29 23:38:30 +00:00
Mike Hommey
3282e2080d
Bug 1722454 - Remove USE_SKIA. r=gfx-reviewers,jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D120935
2021-07-29 23:29:44 +00:00
Mike Hommey
daab1d49e3
Bug 1722454 - Remove --disable-skia. r=firefox-build-system-reviewers,gfx-reviewers,nical,andi
...
It has been unsupported since bug 1323303, > 4 years ago.
This removes MOZ_ENABLE_SKIA but keeps USE_SKIA for moz2d for now
Differential Revision: https://phabricator.services.mozilla.com/D120933
2021-07-29 23:29:43 +00:00
Bob Owen
f1dd3496a2
Bug 1722204: Fix clean up of some RecordedEvents on failure. r=lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D120996
2021-07-29 14:52:26 +00:00
Dorel Luca
d51c69b246
Backed out changeset de2e92cbb94d (bug 1720152) for WPT failures in html/browsers/windows/iframe-cross-origin-print.sub.html. CLOSED TREE
2021-07-29 05:52:23 +03:00
Matt Woodrow
63077e7c59
Bug 1720152 - Recurse into replay for dependencies, rather than using a temp surface. r=jrmuizel,bobowen
...
Differential Revision: https://phabricator.services.mozilla.com/D120050
2021-07-29 01:34:04 +00:00
Matt Woodrow
0abc2b6d04
Bug 1720429
- Support SourceSurfaceOffset correctly in all DrawSurface implementations. r=jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D120136
2021-07-19 22:01:32 +00:00
Matt Woodrow
81dcdf515d
Bug 1720429
- CreateClippedDrawTarget takes a rect in user space. r=jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D120135
2021-07-19 22:01:31 +00:00
Botond Ballo
da4b66c796
Bug 1720176 - Get Matrix4x4Typed::Decompose() to compile for non-Unknown matrix types. r=jrmuizel
...
Depends on D119696
Differential Revision: https://phabricator.services.mozilla.com/D119697
2021-07-19 18:37:37 +00:00
Botond Ballo
73eb67ee9d
Bug 1720176 - Get To/FromUnknownMatrix() to respect the matrix's representation type. r=jrmuizel
...
Prior to this patch, ToUnknownMatrix() on a Matrix4x4Typed<A, B, double>
would return a Matrix4x4Typed<Unknown, Unknown, float>.
After this patch, it returns a Matrix4x4Typed<Unknown, Unknown, double>.
Differential Revision: https://phabricator.services.mozilla.com/D119696
2021-07-19 18:37:36 +00:00
Jeff Gilbert
afdbf9538b
Bug 1459526 - Handle full-range video in Webrender. r=gw,lsalzman
...
+ Begin to add video tests to ensure we ratchet towards correctness.
+ Test rec709 x (yuv420p, yuv420p10, gbrp) x (tv, pc) x codecs.
+ Just mark fuzziness for now. Better would be e.g. 16_127_233 'bad
references'.
Differential Revision: https://phabricator.services.mozilla.com/D115298
2021-06-25 19:16:22 +00:00
Iulian Moraru
1a8cb02555
Backed out changeset 10a229d128c0 (bug 1459526) for causing reftest failures on short.mp4.lastframe.html. CLOSED TREE
2021-06-25 06:34:36 +03:00
Jeff Gilbert
5c14187731
Bug 1459526 - Handle full-range video in Webrender. r=gw,lsalzman
...
+ Begin to add video tests to ensure we ratchet towards correctness.
+ Test rec709 x (yuv420p, yuv420p10, gbrp) x (tv, pc) x codecs.
+ Just mark fuzziness for now. Better would be e.g. 16_127_233 'bad
references'.
Differential Revision: https://phabricator.services.mozilla.com/D115298
2021-06-24 23:43:31 +00:00
Alexandru Michis
3477ca89c8
Backed out changeset f7016db57a2e (bug 1459526) for causing reftest failures.
...
CLOSED TREE
2021-06-18 07:49:06 +03:00
Jeff Gilbert
920429087b
Bug 1459526 - Handle full-range video in Webrender. r=gw,lsalzman
...
+ Begin to add video tests to ensure we ratchet towards correctness.
+ Test rec709 x (yuv420p, yuv420p10, gbrp) x (tv, pc) x codecs.
+ Just mark fuzziness for now. Better would be e.g. 16_127_233 'bad
references'.
Differential Revision: https://phabricator.services.mozilla.com/D115298
2021-06-17 23:43:34 +00:00
Richal Verma
560f3f056d
Bug 1713520 - Remove "else" after "return" in FindInflectionPoints r=nical
...
Differential Revision: https://phabricator.services.mozilla.com/D116436
2021-06-17 12:39:16 +00:00
Butkovits Atila
367d829107
Backed out changeset 318f32313091 (bug 1459526) for causing wrench bustages. CLOSED TREE
2021-06-17 04:45:11 +03:00
Jeff Gilbert
72024fcc23
Bug 1459526 - Handle full-range video in Webrender. r=gw,lsalzman
...
+ Begin to add video tests to ensure we ratchet towards correctness.
+ Test rec709 x (yuv420p, yuv420p10, gbrp) x (tv, pc) x codecs.
+ Just mark fuzziness for now. Better would be e.g. 16_127_233 'bad
references'.
Differential Revision: https://phabricator.services.mozilla.com/D115298
2021-06-17 01:12:18 +00:00
Andrew Osmond
d7e8883fcb
Bug 1715524 - Make FilterNodeComponentTransferSoftware::GenerateLookupTable identify table dynamic. r=jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D117542
2021-06-15 14:59:56 +00:00
Matt Woodrow
14a6394257
Bug 1714596 - Don't try to create a temporary DrawTarget for zero-sized blend modes. r=jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D117592
2021-06-14 23:46:59 +00:00
Lee Salzman
79c2eb99d9
Bug 1712047 - keep Skia temporary data surface alive. r=jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D117037
2021-06-07 18:51:33 +00:00
Noemi Erli
50fcce3ed0
Backed out changeset 9e76c07577b1 (bug 1712047) for causing bustages in DrawTargetSkia.cpp CLOSED TREE
2021-06-07 19:50:30 +03:00
Lee Salzman
49f38d60fa
Bug 1712047 - keep Skia temporary data surface alive. r=jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D117037
2021-06-07 16:36:55 +00:00
Jeff Muizelaar
6648dc280c
Bug 1714081 - Add SafeIntersect. r=nical
...
SafeIntersect handles overflow better.
Differential Revision: https://phabricator.services.mozilla.com/D116605
2021-06-02 16:02:53 +00:00
Mike Hommey
2072d3a612
Bug 1711834 - Let the compiler generate the Matrix4x4Typed copy assignment operator. r=mattwoodrow
...
This avoids GCC complaining about the case where doing `m = m` would
memcpy from an address onto itself.
Differential Revision: https://phabricator.services.mozilla.com/D115460
2021-05-24 20:58:11 +00:00
Andi-Bogdan Postelnicu
1cf28e7475
Bug 1519636 - Reformat recent changes to the Google coding style. r=emilio
...
Updated with clang-format version 12.0.0 (taskcluster-KEgO7qdgQ8uaewA6NkRnRA)
Differential Revision: https://phabricator.services.mozilla.com/D115804
2021-05-24 15:08:47 +00:00
Andrew Osmond
35eed7acf6
Bug 1711948 - Add surfaces from image containers to the memory report. r=tnikkel
...
An image container can keep a surface alive longer than it can remain in
the cache, if it is indeed kept in the cache. We should cross reference
our memory report generated from the SurfaceCache against any surfaces
stored in our ImageContainer objects to ensure they are all reported.
This is of particular importance for blob recordings which are not put
into SurfaceCache. While the recordings themselves have their own memory
reporting inside of WebRender, it would be good to know what recordings
we are keeping alive from the content side to help break it down.
Differential Revision: https://phabricator.services.mozilla.com/D115517
2021-05-20 12:31:27 +00:00
Matt Woodrow
7487e05b57
Bug 1540737 - Implement PushLayerWithBlend for DrawTargetCairo. r=jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D114671
2021-05-19 01:11:30 +00:00
Csoregi Natalia
1f3f5df2ce
Backed out 8 changesets (bug 1540737) for causing graphics crashes in Bug 1711718. a=backout
...
Backed out changeset 37628894ffd5 (bug 1540737)
Backed out changeset 4b5f53d5127b (bug 1540737)
Backed out changeset a73e041f1f1d (bug 1540737)
Backed out changeset 81f1a9d1a5e1 (bug 1540737)
Backed out changeset b3d0cc460b24 (bug 1540737)
Backed out changeset f929de495b87 (bug 1540737)
Backed out changeset 2f5b8369d061 (bug 1540737)
Backed out changeset b4c93d182ef4 (bug 1540737)
2021-05-18 19:06:20 +03:00
Matt Woodrow
2e89e242f6
Bug 1540737 - Implement PushLayerWithBlend for DrawTargetCairo. r=jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D114671
2021-05-17 23:53:43 +00:00
Andrew Osmond
90e8b6554c
Bug 1704792 - Part 1. Add SourceSurfaceBlobImage to manage the blob recording for SVG images. r=jrmuizel,nical
...
Differential Revision: https://phabricator.services.mozilla.com/D111835
2021-05-13 16:24:06 +00:00
Jonathan Kew
354ac1c958
Bug 454059 - Support Link in DrawTargetRecording and playback. r=jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D114205
2021-05-11 17:00:29 +00:00
Jonathan Kew
2d634bc1ca
Bug 454059 - Add a Link() method to DrawTarget, and implement it in DrawTargetCairo. r=jrmuizel
...
This provides a basic Link() API on DrawTarget, intended to generate a link
for a single rectangular area (which will be the rect of a frame corresponding
to a link element).
Differential Revision: https://phabricator.services.mozilla.com/D113774
2021-05-11 17:00:28 +00:00
Jeff Muizelaar
43d9a94d83
Bug 1710655 - Avoid some implicit conversions to double. r=aosmond
...
Clang knows that float + 0.5 is the same as float + 0.5f
so that part shouldn't have any difference except to the reader.
Hopefully ceilf(float) is always identical to ceil(float) too.
Differential Revision: https://phabricator.services.mozilla.com/D114860
2021-05-11 15:02:31 +00:00
Emilio Cobos Álvarez
7459740759
Bug 1709746 - Factor out some sRGBColor interpolation code. r=aosmond
...
I didn't end up needing this for bug 1709719, but I wrote it and might
be worth landing.
Differential Revision: https://phabricator.services.mozilla.com/D114429
2021-05-11 13:24:24 +00:00
Bob Owen
5de1cf3b61
Bug 1709644: Add null checks for GetReferenceDrawTarget when called on CanvasTranslator. r=jrmuizel
...
Also, return false from CreateReferenceTexture when mBaseDT is null.
Differential Revision: https://phabricator.services.mozilla.com/D114386
2021-05-10 15:43:58 +00:00
Jonathan Kew
3f563bce7e
Bug 739096 - Remove support for CGLayer-backed cairo quartz surface. r=jrmuizel
...
This was a performance optimization that we no longer care about.
Removing it will avoid the need to merge the additions into the new
cairo-quartz-surface code from upstream.
Differential Revision: https://phabricator.services.mozilla.com/D112556
2021-04-29 14:33:29 +00:00
Brindusan Cristian
a15a62d8e3
Backed out 15 changesets (bug 739096) for causing valgrind bustages. CLOSED TREE
...
Backed out changeset 75e6eca97890 (bug 739096)
Backed out changeset fb2b5f607015 (bug 739096)
Backed out changeset d4ffa7c2db22 (bug 739096)
Backed out changeset 46598f67b43a (bug 739096)
Backed out changeset 08c8584cadbb (bug 739096)
Backed out changeset 6c67d3e98e1e (bug 739096)
Backed out changeset 566742bad252 (bug 739096)
Backed out changeset 67d7ab4394ab (bug 739096)
Backed out changeset 1675a980f8f3 (bug 739096)
Backed out changeset df4fd9df9d67 (bug 739096)
Backed out changeset 1dfadbc743b9 (bug 739096)
Backed out changeset 2623ebd24944 (bug 739096)
Backed out changeset e80fbceb9023 (bug 739096)
Backed out changeset d058e7c043e6 (bug 739096)
Backed out changeset dbb07ebff6b6 (bug 739096)
2021-04-29 00:25:44 +03:00
Jonathan Kew
902db97567
Bug 739096 - Remove support for CGLayer-backed cairo quartz surface. r=jrmuizel
...
This was a performance optimization that we no longer care about.
Removing it will avoid the need to merge the additions into the new
cairo-quartz-surface code from upstream.
Differential Revision: https://phabricator.services.mozilla.com/D112556
2021-04-28 18:06:37 +00:00
Andrew Osmond
0cb114df85
Bug 1705173 - Fix memory leaks with gfx::MemStream. r=lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D112071
2021-04-14 19:30:53 +00:00