Commit graph

359 commits

Author SHA1 Message Date
wolfbeast
c0ae9a7b5b Skia: Be consistent about int for incReserve.
Upstream port.
2019-02-21 14:55:02 +08:00
wolfbeast
c50284d997 Revert "Port several Skia upstream fixes."
This reverts commit 260b06c1c96285459947231a93f08e413be89dd0.

This fixes #976
2019-02-17 22:17:28 +08:00
wolfbeast
80610e5548 Port several Skia upstream fixes. 2019-02-16 00:28:31 +08:00
adeshkp
aea50f182f Telemetry: Remove stubs and related code 2019-02-16 00:24:04 +08:00
wolfbeast
f3de54e835 Clear weak pointers in FT2 font list shutdown observers. 2019-02-16 00:21:22 +08:00
wolfbeast
9b1124ccbd Remove VR hardware support.
This resolves #881
2019-02-16 00:20:27 +08:00
wolfbeast
031102b1ca Backport some upstream Skia patches.
Backport of:
https://skia.googlesource.com/skia/+/1e259cda4fb7f12e98dd611bd651f40ebef2d14a
https://skia.googlesource.com/skia/+/73be50da2a1fe8944f2623a511fda1957eed708a
2019-02-16 00:18:46 +08:00
wolfbeast
b52b4b9f63 Backport some upstream Skia patches.
Backport of:
https://skia.googlesource.com/skia/+/c3d8a48f1b27370049aa512019cd726c59354743
https://skia.googlesource.com/skia/+/8051d38358293df1e5b8a1a513f8114147ec9fa3
2019-02-16 00:18:42 +08:00
wolfbeast
57251fc4e7 Clean up a number of unused variables.
Tag #21.
2019-02-16 00:14:50 +08:00
Leorize
f67b2f0342 gfx: add pref for enabling APZ without e10s 2019-02-16 00:14:21 +08:00
wolfbeast
ad782894c8 Remove all C++ telemetry autotimers 2019-02-16 00:12:34 +08:00
wolfbeast
8c8145e620 Remove all C++ Telemetry Accumulation calls.
This creates a number of stubs and leaves some surrounding code that may be irrelevant (eg. recorded time stamps, status variables).
Stub resolution/removal should be a follow-up to this.
2019-02-16 00:12:32 +08:00
wolfbeast
1524999194 Revert "Bug 1388020. r=nical, a=RyanVM"
This reverts commit e7189e33f533f9b974b22c2110b522a13bc4c7f6.
2019-02-16 00:12:19 +08:00
trav90
3211cce891 Remove unused variable 2019-02-16 00:11:45 +08:00
janekptacijarabaci
43c36e207f Bug 1335296 - Expand about:support WebGL information 2019-02-16 00:10:19 +08:00
wolfbeast
a7f344c724 ANGLE: Initialize uniform blocks before detaching shaders
This resolves #668
2019-02-16 00:09:43 +08:00
wolfbeast
ca5c2ba100 Add pref to control CanOptimizeToImageLayer for large downscale factors.
This resolves #626
2019-02-16 00:08:44 +08:00
wolfbeast
d203062c4e Switch to Lanczos scaling from Hamming to get acceptable fast downscaling.
In visual tests we see that Hamming-1 is not as good as
Lanczos-2, however it is about 40% faster, and Lanczos-2 itself is
about 30% faster than Lanczos-3. The use of Hamming-1 has been deemed
an unacceptable trade-off between quality and speed due to the limited
pixel space it operates in, so we pick Lanczos-2 here.
On modern hardware, Lanczos-2 doesn't have any noticeable impact
in normal use.
2019-02-16 00:08:42 +08:00
wolfbeast
801ed9ce01 Ad workaround for broken B5G6R5 format in Intel driver. 2019-02-16 00:08:26 +08:00
wolfbeast
5f9a490703 Re-apply genericDraw* fixes 2019-02-16 00:08:20 +08:00
wolfbeast
581db453db Roll back to ANGLE/2845 2019-02-16 00:08:18 +08:00
janekptacijarabaci
98546534b0 Bug 604026 - Sync event loops in workers should be created only if compatible with the worker shutdown status 2019-02-16 00:07:43 +08:00
wolfbeast
da75ad73e0 Rework gfxFontUtils::MapCharToGlyphFormat4 to be more robust. DiD 2019-02-16 00:07:10 +08:00
Nicolas Silva
1974d5079a Bug 1464039 - Only reject qcms transform with invalid grid size if the transform function uses the grid size. r=Bas a=jcristau 2019-02-16 00:07:04 +08:00
Nicolas Silva
4cc70839b2 Bug 1464039 - Reject some invalid transforms in qcms. r=mwoodrow, a=RyanVM 2019-02-16 00:06:59 +08:00
wolfbeast
a1fee5622b Improve the SSSE3 scaler. 2019-02-16 00:01:57 +08:00
wolfbeast
14c6f518ce Account for offsets when creating buffers for image textures. 2019-02-16 00:01:27 +08:00
Lee Salzman
36c694e627 Bug 1462682 - Skia path bounds rounding fix. r=rhunt, a=RyanVM 2019-02-16 00:01:26 +08:00
wolfbeast
1a823f5ad6 Remove SPS profiler.
- Conditionals and code blocks. (MOZ_ENABLE_PROFILER_SPS)
- Stub out several profiler-only functions.
2019-02-15 23:58:37 +08:00
wolfbeast
4f9e1b3147 Remove IPC CrashReporterClient/Host
Tag #20.
2019-02-15 23:58:29 +08:00
wolfbeast
121456f05a Remove gfxCrashReporterUtils.
Tag #20.
2019-02-15 23:58:22 +08:00
wolfbeast
2a5df33520 Fix missing include in Skia SafeMath 2019-02-15 23:58:18 +08:00
wolfbeast
4070f2c744 Add omitted Skia "Safe Math" includes. 2019-02-15 23:57:38 +08:00
wolfbeast
74df182488 Remove other gonk widget conditionals and unused files.
Tag #288.
2019-02-15 23:57:15 +08:00
wolfbeast
719ac1bc38 Remove MOZ_B2G leftovers and some dead B2G-only components. 2019-02-15 23:57:05 +08:00
Lee Salzman
31eaa575a5 Bug 1454692 - Backport some upstream Skia fixes to ESR52. r=rhunt, a=abillings
--HG--
extra : histedit_source : 0fcd64cabe6f54a2286083d6518e4e6451183a19%2C37f5e7f9dbbfc01102631c33b23329d2af5aa71b
2019-02-15 23:56:55 +08:00
wolfbeast
1aa30f609c Font fallback should detect emoji range for color emoji font. 2019-02-15 23:56:49 +08:00
wolfbeast
826e420144 Fix build bustage
Fix nsAtom->nsIAtom and FindAndAddFamilies()
2019-02-15 23:56:47 +08:00
wolfbeast
0022f326a5 Use font.name-list.emoji preference for emoji presenration. 2019-02-15 23:56:44 +08:00
wolfbeast
cbc1d586e1 Issue #325 Part 3: Remove support for using legacy Gecko normalization in gfxHarfBuzzShaper. 2019-02-15 23:55:59 +08:00
janekptacijarabaci
ea3430429d Implement auxclick
Bug(s):
https://bugzilla.mozilla.org/show_bug.cgi?id=1304044
(native in moebius)
2019-02-15 23:53:46 +08:00
Miko Mynttinen
f350fa8432 Bug 1393367 - Change MOZ_ASSERT to MOZ_RELEASE_ASSERT. r=mstange, r=fbraun, a=RyanVM
--HG--
extra : source : 1908cd8ed88dd4f77a99dff39c193d7d3f435195
extra : intermediate-source : 9718d92fab4d9a39acdc2afb0302b6fcd7997f6c
2019-02-15 23:47:25 +08:00
Andrew Osmond
e3e79721f6 Bug 1388020. r=nical, a=RyanVM 2019-02-15 23:47:17 +08:00
Lee Salzman
5ec40a0c76 Bug 1441941 - Limit allocations in SkTDArray. r=jrmuizel, a=RyanVM 2019-02-15 23:47:07 +08:00
Nicolas Silva
1b5b871bcd Bug 1440717 - Use RefPtr for CompositingRenderTargetOGL::mGL. r=Bas, a=ritu
--HG--
extra : source : b6d2d55223d2aa5cb85bbdf33075d1d38f2a9a30
extra : intermediate-source : 0ec90964e0bc479412a4da8a61d48b665211736e
2019-02-15 23:46:58 +08:00
trav90
354ae7ebff Fix Twemoji GTK build bustage
Followup to b4e843a.
2019-02-15 23:40:35 +08:00
wolfbeast
2775c84cbf Change embedded emoji font from EmojiOne to Twemoji. 2019-02-15 23:40:02 +08:00
wolfbeast
434f3590e3 Remove base conditional code for crash reporter and injector. 2019-02-15 23:39:53 +08:00
wolfbeast
2653da27b3 Fix line heights to properly scale to requested size for color-bitmapped SFNTs. 2019-02-15 23:39:45 +08:00
wolfbeast
4a9865465f Allow bitmap fonts to force scaling and bypass tolerance check in gfxFcPlatformFontList. 2019-02-15 23:39:43 +08:00