Jean-Yves Avenard
4564226220
Bug 1659015 - P3. Add YUV identity support (rgb) to OpenGL compositor. r=mattwoodrow
...
Depends on D87168
Differential Revision: https://phabricator.services.mozilla.com/D87169
2020-08-16 20:21:23 +00:00
Jean-Yves Avenard
4aac6e0243
Bug 1659015 - P2. Add YUV identity support (rgb) to Advanced Layers. r=bas
...
It's destined to go, but for now it's required.
Depends on D87167
Differential Revision: https://phabricator.services.mozilla.com/D87168
2020-08-17 16:04:50 +00:00
Jean-Yves Avenard
98c585cfb8
Bug 1659015 - P1. Add YUV identity support (rgb) to WR. r=gw
...
Differential Revision: https://phabricator.services.mozilla.com/D87167
2020-08-16 20:04:39 +00:00
Lee Salzman
811a48a03b
Bug 1657440 - avoid letting Skia query style information for Mac fonts. r=jfkthame
...
Differential Revision: https://phabricator.services.mozilla.com/D86492
2020-08-17 06:48:00 +00:00
Glenn Watson
fdca957200
Bug 1658182 - Fix texture cache items not being evicted. r=kvark
...
Differential Revision: https://phabricator.services.mozilla.com/D87208
2020-08-17 20:42:11 +00:00
Glenn Watson
4de0095080
Bug 1623792 - Pt 9 - Refactor how exceeding max cache slices works. r=kvark
...
Although real world content generally has a small number of picture
cache slices (typically < 8), it's possible to create contrived
cases that create large numbers of picture cache slices. In these
cases, we want to ensure that we don't create too many slices, to
avoid allocating too much GPU memory for cached surface tiles.
Previously, at the end of scene building, WR would check if the
slice count exceeded the limit, and then merge all of those into
a single slice if required.
Instead of that, WR now retains the first MAX-1 slices, and just
creates the last slice to be a container for all subsequent prims,
if we hit that limit.
This means we can rely on the slice a prim is assigned never
changing. From this, we will be able to eliminate the shared
compositor clips once during scene building, rather than needing
to check these during every frame build.
Differential Revision: https://phabricator.services.mozilla.com/D87205
2020-08-17 19:02:08 +00:00
Simon Giesecke
51ae308509
Bug 1650741 - Remove unused gfx/2d/u16string.h. r=bas
...
Differential Revision: https://phabricator.services.mozilla.com/D82326
2020-08-17 16:05:44 +00:00
Miko Mynttinen
0b709c0bce
Bug 1627616 - Avoid wrapping SourceSurfaceOffset around uninitialized SourceSurface r=bas
...
Differential Revision: https://phabricator.services.mozilla.com/D86745
2020-08-17 17:39:45 +00:00
Lee Salzman
ccf4fbb975
Bug 1659324 - return transparent black when sampling null SWGL texture. r=jimb
...
Differential Revision: https://phabricator.services.mozilla.com/D87190
2020-08-17 06:06:23 +00:00
Jonathan Kew
e0e0d95a73
Bug 1659453 - Accelerate gfxFontFamily::SearchAllFontsForChar by setting up the family charmap. r=lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D87285
2020-08-17 14:04:50 +00:00
Jonathan Kew
469eb289ea
Bug 1659313 - Use the Mathematics font preference during fallback for characters from Unicode math-symbols blocks. r=fredw
...
Differential Revision: https://phabricator.services.mozilla.com/D87192
2020-08-16 18:25:07 +00:00
Jonathan Kew
85e43fff8a
Bug 1656156 - Don't do font fallback for default-ignorable characters that won't be visibly rendered anyway. r=m_kato
...
Depends on D86944
Differential Revision: https://phabricator.services.mozilla.com/D86945
2020-08-17 01:13:40 +00:00
Jonathan Kew
8e036b0622
Bug 1656156 - Don't do font fallback for unassigned Unicode codepoints; like Private Use characters, only allow these with an explicitly-specified font. r=m_kato
...
Depends on D86943
Differential Revision: https://phabricator.services.mozilla.com/D86944
2020-08-17 01:14:54 +00:00
Jonathan Kew
d03af0bd0e
Bug 1656156 - Skip the font-matching algorithm for cluster-extender codepoints that are default-ignorable, as there's no benefit to potentially switching fonts here. r=m_kato
...
Differential Revision: https://phabricator.services.mozilla.com/D86943
2020-08-17 01:04:43 +00:00
Lee Salzman
2f9eacd9d3
Bug 1659274 - silence build warnings in SWGL linear_composite. r=jimb
...
Differential Revision: https://phabricator.services.mozilla.com/D87181
2020-08-15 21:31:10 +00:00
Lee Salzman
336b9f7a61
Bug 1657498 - report Software WebRender in about:support. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D87122
2020-08-14 22:30:05 +00:00
Matt Woodrow
a250b4d7a3
Bug 1656818 - Move decision to flip WebRender readback closer to the source, and make it correct for SWGL. r=lsalzman,geckoview-reviewers,snorp
...
Differential Revision: https://phabricator.services.mozilla.com/D86892
2020-08-14 18:40:09 +00:00
Matt Woodrow
5e382d20a3
Bug 1658858 - Implement ImageRendering filtering parameter for SwCompositor. r=lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D86890
2020-08-14 00:56:22 +00:00
Mihai Alexandru Michis
50cb089294
Backed out changeset d9626670ddb5 (bug 1657498) for causing multiple reftest failures.
...
CLOSED TREE
2020-08-14 10:54:22 +03:00
Matt Woodrow
390241b9de
Bug 1657498 - Report software WR in about:support. r=lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D86088
2020-08-14 03:34:32 +00:00
Csoregi Natalia
8896454838
Backed out 4 changesets (bug 1656817, bug 1656818, bug 1658858) for bustage on RendererOGL.cpp. CLOSED TREE
...
Backed out changeset 9c8e4ec4e47c (bug 1656818)
Backed out changeset 92252cfd26de (bug 1656818)
Backed out changeset 1bebb79150d6 (bug 1656817)
Backed out changeset e1becb3a2fb5 (bug 1658858)
2020-08-14 00:25:44 +03:00
Matt Woodrow
65e227f6dd
Bug 1656818 - Move decision to flip WebRender readback closer to the source, and make it correct for SWGL. r=lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D86892
2020-08-13 20:43:35 +00:00
Matt Woodrow
9f6c145559
Bug 1658858 - Implement ImageRendering filtering parameter for SwCompositor. r=lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D86890
2020-08-13 20:42:29 +00:00
Jonathan Kew
7ff5ba6276
Bug 1651368 - Using an explicit font whitelist overrides font visibility-level. r=jwatt
...
Differential Revision: https://phabricator.services.mozilla.com/D86530
2020-08-13 11:40:02 +00:00
Lee Salzman
8326780f95
Bug 1652894 - add SWGL RenderTextureHosts. r=mattwoodrow
...
Differential Revision: https://phabricator.services.mozilla.com/D86340
2020-08-12 21:25:17 +00:00
Lee Salzman
fb1a79c9ca
Bug 1652894 - fix SWGL code formatting. r=mattwoodrow
...
Differential Revision: https://phabricator.services.mozilla.com/D86339
2020-08-11 23:11:31 +00:00
Lee Salzman
8c69cf96f0
Bug 1652894 - add SWGL utility bindings for managing textures. r=jimb
...
Differential Revision: https://phabricator.services.mozilla.com/D86338
2020-08-11 23:11:33 +00:00
Lee Salzman
7a6953c9a3
Bug 1652894 - allow SWGL contexts to have multiple strong references. r=jimb
...
Differential Revision: https://phabricator.services.mozilla.com/D86337
2020-08-11 23:11:35 +00:00
Jeff Gilbert
e3e331e9ad
Bug 1658433 - Implement WebGL draft extension EXT_texture_norm16. r=lsalzman,webidl,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D86630
2020-08-12 15:19:17 +00:00
Martin Stransky
68bd878c1e
Bug 1655026 [Linux] Enable WebGL DMABuf backend for X11/EGL, r=jgilbert
...
Differential Revision: https://phabricator.services.mozilla.com/D84901
2020-08-12 07:01:54 +00:00
Glenn Watson
d42d389eeb
Bug 1657791 - Remove GPU cache usage from clip mask instances. r=kvark,jnicol
...
The patch removes use of the GPU cache when rendering
clip mask instances. Instead, each clip mask type now
has a specific vertex format and passes the information
for the clip mask via vertex attributes.
As part of future clip-chain optimization work, the
`ClipNode` type will be removed entirely (instead, clip
chains will be optimized during scene building into
a clip set per primitive). Removing GPU cache usage here
simplifies some of that work, and using GPU cache handles
here provides no major benefit over vertex attributes.
Differential Revision: https://phabricator.services.mozilla.com/D86289
2020-08-11 23:55:52 +00:00
Mihai Alexandru Michis
f44ab317a5
Backed out 4 changesets (bug 1652894) for causing multiple reftest failures.
...
CLOSED TREE
Backed out changeset d6786fcf717b (bug 1652894)
Backed out changeset 97df16d3b738 (bug 1652894)
Backed out changeset 8a1f8b9e2524 (bug 1652894)
Backed out changeset 96bca5729430 (bug 1652894)
2020-08-12 02:08:28 +03:00
Mihai Alexandru Michis
c4a2a9f238
Bug 1658491 - Fix WebRender bustages regarding frame_output. a=bustage-fix
...
CLOSED TREE
2020-08-12 01:01:06 +03:00
Joel Maher
5f474b909b
Bug 1658057 - Adjust reftest expectations for windows reftests on hardware. r=bc
...
Adjust reftest expectations for windows reftests on hardware
Differential Revision: https://phabricator.services.mozilla.com/D86450
2020-08-11 21:25:03 +00:00
Glenn Watson
7c8c4f36e2
Bug 1658491 - Remove unused frame output functionality. r=kvark
...
This is unused by Gecko, and untested / unused in Servo. It was
only added as an initial prototype, and would need a more efficient
implementation if it was ever intended for production use.
Differential Revision: https://phabricator.services.mozilla.com/D86682
2020-08-11 21:06:58 +00:00
Lee Salzman
75d072859c
Bug 1652894 - add SWGL RenderTextureHosts. r=mattwoodrow
...
Differential Revision: https://phabricator.services.mozilla.com/D86340
2020-08-11 15:53:15 +00:00
Lee Salzman
a906db1329
Bug 1652894 - fix SWGL code formatting. r=mattwoodrow
...
Differential Revision: https://phabricator.services.mozilla.com/D86339
2020-08-11 12:53:52 +00:00
Lee Salzman
25a8fdd2c8
Bug 1652894 - add SWGL utility bindings for managing textures. r=jimb
...
Differential Revision: https://phabricator.services.mozilla.com/D86338
2020-08-11 12:53:54 +00:00
Lee Salzman
9875e7ea3f
Bug 1652894 - allow SWGL contexts to have multiple strong references. r=jimb
...
Differential Revision: https://phabricator.services.mozilla.com/D86337
2020-08-11 12:53:43 +00:00
Markus Stange
196229f42d
Bug 1629220 - When partially compositing into native layers with BasicCompositor, allow only one invalid rect per layer, and store the invalid rect on the render target instead of pushing a clip to the DrawTarget. r=mattwoodrow
...
This matches what we do in CompositorOGL.
This avoids having clipping state stored on the render target's DrawTarget.
As a result, we have access to the combined device clip rect in DrawGeometry,
and the video scale fast paths can observe the correct clip even though they
bypass the DrawTarget machinery.
This fixes flickering bugs caused by the video scale fast path in the native
layers configuration, i.e. on macOS only. We probably still have bugs on the
other platforms. It's possible that this bug is less observable on other
platforms due to additional copies of the invalid region, and those copies
ignore the bad content outside the invalid region.
Differential Revision: https://phabricator.services.mozilla.com/D86608
2020-08-11 14:37:56 +00:00
Markus Stange
a66383c120
Bug 1658407 - Set correct transforms on the opaqueness tinting layers. r=mattwoodrow
...
mOpaquenessTintLayer is a sibling layer of mContentCALayer, so the two layers
need the same transform and bounds.
This patch also removes an unnecessary twiddling of the position property.
Differential Revision: https://phabricator.services.mozilla.com/D86610
2020-08-11 14:37:56 +00:00
Miko Mynttinen
3c0a965bd5
Bug 1658113 - Set the surface format based on YCbCrDescriptor color depth r=jya
...
Differential Revision: https://phabricator.services.mozilla.com/D86600
2020-08-11 01:13:30 +00:00
Csoregi Natalia
cc057fb442
Backed out 4 changesets (bug 1652894) for texture related crashes. CLOSED TREE
...
Backed out changeset 714ad1b01cb2 (bug 1652894)
Backed out changeset e3b4753fd09c (bug 1652894)
Backed out changeset 8abaf47071d8 (bug 1652894)
Backed out changeset 175df7659c3f (bug 1652894)
2020-08-11 15:50:07 +03:00
Jonathan Kew
e92e6945b1
Bug 1658207
- Set up and use the mCharacterMap in shared Family records more correctly, to accelerate font fallback searches. r=jwatt
...
Differential Revision: https://phabricator.services.mozilla.com/D86490
2020-08-10 22:45:51 +00:00
Lee Salzman
6b4a081f33
Bug 1652894 - add SWGL RenderTextureHosts. r=mattwoodrow
...
Differential Revision: https://phabricator.services.mozilla.com/D86340
2020-08-11 07:38:10 +00:00
Lee Salzman
af31727ba7
Bug 1652894 - fix SWGL code formatting. r=mattwoodrow
...
Differential Revision: https://phabricator.services.mozilla.com/D86339
2020-08-11 06:02:30 +00:00
Lee Salzman
25da5abf77
Bug 1652894 - add SWGL utility bindings for managing textures. r=jimb
...
Differential Revision: https://phabricator.services.mozilla.com/D86338
2020-08-11 06:02:23 +00:00
Lee Salzman
96653665f3
Bug 1652894 - allow SWGL contexts to have multiple strong references. r=jimb
...
Differential Revision: https://phabricator.services.mozilla.com/D86337
2020-08-11 06:02:25 +00:00
Csoregi Natalia
555c643104
Backed out 4 changesets (bug 1652894) for bustages on RenderThread.cpp. CLOSED TREE
...
Backed out changeset 0e0107226c9e (bug 1652894)
Backed out changeset ff5e4bffb497 (bug 1652894)
Backed out changeset 2e4c7cced692 (bug 1652894)
Backed out changeset a8b850455c90 (bug 1652894)
2020-08-11 08:52:47 +03:00
Lee Salzman
385e5cc6c6
Bug 1652894 - add SWGL RenderTextureHosts. r=mattwoodrow
...
Differential Revision: https://phabricator.services.mozilla.com/D86340
2020-08-11 05:24:04 +00:00