Commit Graph

4340 Commits

Author SHA1 Message Date
Jonathan Kew
f44b19b446 Bug 686225 - Work around buggy AAT fonts for Bengali and Kannada scripts. r=jdaggett 2015-03-25 08:25:49 +00:00
Seth Fowler
5464037382 Bug 1124088 - Rename decode-on-draw to decode-only-on-draw. r=tn 2015-03-24 15:39:00 -07:00
David Anderson
1e86cc0566 Add APZ info to about:support. (bug 1146727, r=jrmuizel) 2015-03-24 15:04:44 -07:00
David Anderson
7bc98f302c Allow synthetic input events to be dispatched asynchronously. (bug 1146243, r=kats) 2015-03-24 15:00:52 -07:00
Jonathan Kew
6d27046ad8 Bug 1145934 - Update obsolete glyph-run assertion. r=jdaggett 2015-03-23 11:43:38 +00:00
David Anderson
049e818efb Add APZ support for test.mousescroll callbacks. (bug 1142866 part 3, r=kats) 2015-03-22 00:42:26 -07:00
David Anderson
e82a9bed2b End APZ wheel transactions when the mouse moves out of frame. (bug 1142866 part 2, r=kats,botond) 2015-03-22 00:42:25 -07:00
David Anderson
2788fe89b0 Add wheel transaction support to APZ. (bug 1142866 part 1, r=kats) 2015-03-22 00:36:13 -07:00
Phil Ringnalda
b39967c514 Merge m-c to m-i 2015-03-21 12:50:09 -07:00
Phil Ringnalda
c8fa74db96 Merge f-t to m-c, a=merge 2015-03-21 12:47:01 -07:00
Ehsan Akhgari
33bb32f549 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Jannis Pinter
ef4c469888 Bug 1142260 - Re-sorted the prefs in gfxPrefs.h and added a big scary warning at the bottom of the list. r=kats 2015-03-21 10:33:25 -04:00
Ryan VanderMeulen
c771723bbf Backed out changeset c5af69669855 (bug 1124084) for various regressions.
CLOSED TREE
2015-03-20 13:01:35 -04:00
Mason Chang
22e5496be8 Bug 1133527. Fallback to software vsync on android. r=kats 2015-03-20 08:12:53 -07:00
Dave Townsend
78a61f6477 Bug 1144900: Fix windows gfx out of memory assertion. r=Bas 2015-03-19 10:42:27 -07:00
Jonathan Kew
938b6c2be9 Bug 1142952 - Update OTS to latest upstream revision; now at e779d45e7a96d3b97ed3d2b76db7478cb86fdd8b. r=jdaggett 2015-03-19 11:11:30 +00:00
Matt Woodrow
1fd763f827 Bug 1138967 - Part 3: Add D3D11 YCbCr texture clients and upload on the client side. r=nical 2015-03-19 10:17:13 +13:00
Mason Chang
b9ddf8d962 Bug 1144638. Retry getting an active display link. r=mstange 2015-03-18 16:17:26 -07:00
Nicolas Silva
3c645c2707 Bug 1143653 - Crash in CompositorD3D9 rather than TextureD3D9 if device reset fails, after a few attemps. r=jrmuizel 2015-03-17 15:05:41 +01:00
Seth Fowler
a2f3a8faa0 Bug 1124084 - Flip on downscale-during-decode everywhere. r=tn 2015-03-17 13:56:50 -07:00
Ryan VanderMeulen
e30c62bb4f Backed out changeset bb4b51d4af93 (bug 1143653) for WinXP assertions. 2015-03-17 12:40:47 -04:00
Nicolas Silva
8beb386c1e Bug 1143653 - Crash in CompositorD3D9 rather than TextureD3D9 if device reset fails, after a few attemps. r=jrmuizel 2015-03-17 15:05:41 +01:00
Mason Chang
ad03a5108c Bug 1142957 Fallback to main display CVDisplayLink if active displays aren't available. r=mstange 2015-03-14 21:23:53 -07:00
Mason Chang
94a2cd887a Backout 8545a7f27c8c (bug 1142708) for 10.6 Debug jit test failures. r=me 2015-03-14 20:37:41 -07:00
Mason Chang
8eb7f02cc2 Bug 1142708. Fallback to main display CVDisplayLink if active displays aren't available. r=mstange 2015-03-14 13:55:35 -07:00
Ryan VanderMeulen
fa1aa88d22 Backed out changeset 672cea72c662 (bug 994541) for making various browser-chrome tests more timeout-prone.
CLOSED TREE
2015-03-12 15:54:12 -04:00
Nicolas Silva
86f6836f29 Bug 1123080 - Use cairo's image backend as canvas fallback on windows. r=Bas 2015-03-12 19:40:06 +01:00
Chris Lord
1045018149 Bug 994541 - Enable OMTC on Linux via BasicCompositor. r=Bas 2015-03-12 14:01:23 +01:00
Jonathan Kew
6c8a0ff41b Bug 1136557 - pt 1 - Ignore bogus ascent/descent values in 'vhea' table. r=smontagu 2015-03-12 10:47:32 +00:00
Jonathan Kew
e0e389027e Bug 1139646 - Ensure gfxHarfBuzzShaper only loads the vmtx table once, to avoid leaking it. r=smontagu 2015-03-12 10:03:09 +00:00
Mason Chang
e8a505d7fb Bug 1141361 - Reuse the same thread when we start/stop vsync event for the windows vsync thread. r=jrmuizel 2015-03-11 18:35:50 -07:00
David Anderson
e128ed3153 Fix APZ using incorrect scroll wheel deltas. (bug 1141728, r=kats) 2015-03-11 13:56:56 -07:00
Ryan VanderMeulen
115adcaae3 Backed out changeset 512454694cc4 (bug 1123080) for Windows crashtest failures. 2015-03-11 15:22:04 -04:00
Nicolas Silva
56691116f1 Bug 1123080 - Use Cairo's image backend with canvas fallback on Windows. r=Bas 2015-03-11 17:16:13 +01:00
Jonathan Kew
4e2cda6f5a Bug 1141676 - Fix the sizing of synthetic sub-/superscript glyphs. r=jdaggett 2015-03-11 08:49:24 +00:00
Milan Sreckovic
50350de860 Bug 1140113 - Catch direct (and some indirect) callers of CreateDrawTarget* and deal with failure. r=mstange 2015-03-09 15:48:20 -04:00
Wes Kocher
76b116dfbf Merge b2g-inbound to m-c a=merge CLOSED TREE 2015-03-09 18:56:42 -07:00
Mason Chang
5ce011a2c3 Bug 1139253. Reuse the same thread for the software vsync thread. r=kats 2015-03-09 08:19:07 -07:00
Jonathan Kew
3f92d8c4be Bug 1139888 - Check for missing glyph metrics tables. r=jdaggett 2015-03-09 12:16:22 +00:00
Jonathan Kew
b0f0a419bc Bug 1139824 - Track construction/destruction of the font table wrappers attached to hb_blob objects, to enable leak detection. r=jdaggett 2015-03-09 12:16:22 +00:00
Milan Sreckovic
604c74b2a7 Bug 1135066 - Deal with failed CreateDrawTarget. r=mstange 2015-03-05 16:38:23 -05:00
Martin Stransky
9748ea506e Bug 635134 - Adds X11 run-time check for Gtk3 backend. r=karlt 2015-03-05 03:56:00 +01:00
John Daggett
aab6abc217 Bug 935862 p2 - add various userfont lookup methods. r=heycam 2015-03-06 17:44:18 +09:00
Kearwood (Kip) Gilbert
a1aac15c2a Bug 945584: Part 4 - Add scroll snapping preferences (v3 Patch), r=roc
- Added preferences to allow trackpad and mousewheel flinging between
snap points to be tuned:
- layout.css.scroll-snap.prediction-max-velocity
- layout.css.scroll-snap.prediction-sensitivity
2015-02-19 15:43:14 -08:00
Mason Chang
ff718e1e80 Bug 1139726 - Assert gfxPlatform::Init is called on the main thread. r=kats 2015-03-05 08:43:53 -08:00
Mason Chang
3cccf0671a Bug 1138735 - Fallback to software vsync if CVDisplayLink fails to initialize. r=mstange 2015-03-04 14:37:55 -08:00
Jan Jongboom
b7543e2b73 Bug 1134599 - Fix rpi build target. r=jrmuizel, r=shuang 2015-02-25 03:20:00 -05:00
Mason Chang
b35b505222 Bug 1128690 - Ensure Talos Performance Tests still work with silk enabled. r=mstange 2015-03-03 08:14:22 -08:00
Jonathan Watt
d51834a89d Bug 1136486 - Simplify the SVG text rendering callbacks by getting rid of NotifyBeforeSVGGlyphPainted and NotifyAfterSVGGlyphPainted. r=heycam 2015-02-17 22:01:54 +00:00
Benoit Girard
cd2be197a6 Bug 1134762 - Clean-up UseFastPath logic to avoid OOM error. r=kats 2015-02-18 15:27:40 -05:00
Ms2ger
23beb3bfbf Bug 1135138 - Remove UNICODE from DEFINES in moz.build rather than Makefile.in; r=mshal
This was made possible by bug 928709.
2015-02-23 18:46:55 +01:00
Jacek Caban
e07ff74463 Bug 1133689 - Make D3DVsyncDisplay destructor private. r=jmuizelaar 2015-02-23 12:14:49 +01:00
John Daggett
d2d5381689 Bug 1135308 - add pref for disabling font cache. r=m_kato 2015-02-23 09:32:04 +09:00
Bas Schouten
57b791bfb8 Bug 1135408: Report device resets and their reasons through telemetry. r=vladan 2015-02-22 22:53:32 +00:00
Jonathan Kew
07faf61412 Bug 1134216 - Preserve line-break flags properly when applying text-transform conversions. r=smontagu 2015-02-22 19:39:36 +00:00
zhoubcfan
40d6e6f995 Bug 1129335 - Add private destructor to D3D9 texture usage reporters. r=bgirard 2015-02-16 12:37:43 +01:00
Jeff Gilbert
ea33309bb2 Bug 1124394 - Support Core profiles for GLContext. - r=kamidphish 2015-02-12 19:00:41 -08:00
Mason Chang
b374a58cfe Bug 1127151. Part 3: Create a vsync thread loop with dwmflush. r=jrmuizel 2015-02-13 17:17:26 +08:00
Mason Chang
7281b963d7 Bug 1127151. Part 2: Create a vsync source on windows. r=kats 2015-02-13 17:17:24 +08:00
JerryShih
1476642368 Bug 1129686 - fix friend class declaration. r=jrmuizel 2015-02-12 22:26:00 +01:00
Nicholas Nethercote
74cc61fdfd Bug 1131901 (part 1) - Make PL_DHashTableAdd() infallible by default, and add a fallible alternative. r=froydnj.
I kept all the existing PL_DHashTableAdd() calls fallible, in order to be
conservative, except for the ones in nsAtomTable.cpp which already were
followed immediately by an abort on failure.

--HG--
extra : rebase_source : 526d96ab65e4d7d71197b90d086d19fbdd79b7b5
2015-02-02 14:48:58 -08:00
Nicholas Nethercote
44179aabe3 Back out changesets 2fcef6b54be7, 2be07829fefc, 66dfe37b8532, df3fcd2be8fd, 0a436bce77a6 (bug 1050035) for causing intermittent crashes and assertion failures.
--HG--
extra : rebase_source : eb30be83c3143c6c203585a80a18f180025efaba
2015-02-10 14:39:49 -08:00
Martin Stransky
6727c7a42d Bug 1097897 - Add HiDPI support (scale) for Gtk2 and update and fix calculation of scaled screen borders. r=karlt 2015-02-10 02:14:00 -05:00
JerryShih
af362f98b4 Bug 1129686 - Update cms profile in SRGBOverrideObserver callback. r=jmuizelaar
--HG--
extra : rebase_source : 9fc25be48d86379004ed4fda37c8a9eaf81409ed
2015-02-06 00:18:00 +01:00
Jonathan Kew
ee276d8a7b Bug 1127935 - Check for null when trying to load 'head' table, to avoid crashing on non-sfnt fonts. r=jdaggett 2015-02-10 09:18:23 +00:00
Nicholas Nethercote
6ee3666899 Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Milan Sreckovic
c9f0182745 Bug 1120611 - Avoid a data race for the rendering intent. r=jrmuizelaar
--HG--
extra : rebase_source : 54549a96e59772af1223d69e854d34d28e6d369c
2015-01-13 17:02:34 -05:00
Jonathan Kew
a14c62c058 Bug 1130429 - Try to avoid font changes within a cluster. r=roc 2015-02-07 20:45:06 +00:00
Andrew McCreight
8413cc973c Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
George Wright
d04ffeb031 Bug 1036682 - Account for OPEN_MAX when calling setrlimit on OS X r=snorp 2015-02-06 18:00:57 -05:00
Jeff Gilbert
8bb794cb82 Backout 80a88a3badba for causing bug 1130086. 2015-02-06 11:37:04 -08:00
Peter Chang
2769803f35 Bug 1129763 - Add pref for the threshold of frame visual warning, r=benwa 2015-02-06 14:38:16 +08:00
Nicholas Nethercote
3629781b69 Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
Matt Woodrow
b1240bf652 Bug 1128765 - Add more more reporters to break down D3D9 texture usage. r=jrmuizel 2015-02-05 16:20:14 +13:00
Jeff Gilbert
67d833acf8 Bug 1124394 - Support WebGL 2 with Core Profiles on Mac. - r=kamidphish 2015-02-04 16:34:55 -08:00
Nicholas Nethercote
c326200932 Bug 1050035 (part 4) - Make PL_DHashTableAdd() infallible by default, and add a fallible alternative. r=froydnj.
I kept all the existing PL_DHashTableAdd() calls fallible, in order to be
conservative, except for the ones in nsAtomTable.cpp which already were
followed immediately by an abort on failure.

--HG--
extra : rebase_source : eeba14d732077ef2e412f4caca852de6b6b85f55
2015-02-02 14:48:58 -08:00
David Anderson
c7d9088574 Remove apz.subframe.enabled and assume it is always true. (bug 1128761, r=kats) 2015-02-03 15:02:04 -08:00
David Anderson
d4b93595b2 Make debugging whole-layer invalidation slightly easier. (bug 1128752, r=mattwoodrow) 2015-02-03 14:18:44 -08:00
Jacek Caban
fb3f37659f Bug 1127772 - Add private destructor to D3D11TextureReporter. r=benwa 2015-01-30 02:55:00 +01:00
Jeff Muizelaar
bbc7e35cad Bug 1128765 - Add memory reporter for D3D9 shared texture usage. r=mattwoodrow
--HG--
extra : rebase_source : 41a1bf52382ea1a8aff3360b35158c6836f2d129
2015-02-03 21:34:33 +13:00
George Wright
dc336ea428 Bug 1036682 - Bump RLIMIT_NOFILE to the hard ceiling on OS X, up to a new cap of 16384 r=jrmuizel 2015-02-02 18:40:04 -05:00
Jonathan Kew
3e891b661e Bug 1128190 - Always use a mask to render shadows for color glyphs, regardless of blur radius. r=roc 2015-02-02 09:19:28 +00:00
Mike Hommey
824818ee98 Bug 1126593 - Add a global fallible instance, so that using fallible works directly, everywhere. r=njn
--HG--
rename : memory/mozalloc/fallible.h => memory/fallible/fallible.h
2015-02-02 09:56:13 +09:00
Wes Kocher
4bb251d0cc Backed out changeset 176166c0bae9 (bug 1124394) for b2g device bustage on a CLOSED TREE 2015-01-29 14:23:37 -08:00
Jeff Gilbert
54ef36bf57 Bug 1124394 - Support WebGL on Core Profiles on Mac. - r=kamidphish 2015-01-29 00:44:19 -08:00
John Daggett
a7b01d924a Bug 1127209 - cleanup downloadable font logging. r=m_kato 2015-01-29 16:44:59 +09:00
Matt Woodrow
7e5748ec52 Bug 1120128 - Implement blacklist for DXVA and blacklist AMD Radeon HD 5800. r=Bas 2015-01-26 13:34:28 +13:00
Jeff Muizelaar
b824cd02f7 Bug 1124847. Track D3D11 shared texture usage in about:memory. r=bas
This will hopefully help us track down large amounts of write-combined
mappings that we see.

try: -b do -p win32,win64 -u all -t none

--HG--
extra : rebase_source : 612223046a34a0e7ba179fca4fef1d4c79e18ee8
2015-01-27 20:09:34 -05:00
Ryan VanderMeulen
ee1dd2fec5 Backed out changeset a501183528f3 (bug 1124847) for Win7 crashes (again). r=tryserverkthxbye
CLOSED TREE
2015-01-28 10:58:55 -05:00
Jeff Muizelaar
9822c711da Bug 1124847. Track D3D11 shared texture usage in about:memory. r=bas
This will hopefully help us track down large amounts of write-combined
mappings that we see.
2015-01-27 20:09:34 -05:00
Jonathan Kew
c1c55a435c Bug 1108177 - Implement harfbuzz glyph-extents callback, so that fallback mark positioning works in legacy truetype fonts. r=jdaggett 2015-01-28 09:03:28 +00:00
Nicholas Nethercote
cf9236371a Bug 1124973 (part 5) - Use PL_DHashTableSearch() in gfxFT2FontList.cpp. r=froydnj,jkew.
Because PL_DHashTableLookup() never returns null, GetInfoForFile() features not
one but *two* can-never-fail null checks on its result.

Having said that, the code as written works, at least for non-zero-sized files,
because |entry->mFileSize| will always be zero if the lookup fails (thanks to
PLDHashTable always being zeroed at construction, and |mMap| using
PL_DHashClearEntryStub which also zeroes).

But for zero-sized files the current code will act like they don't exist. Maybe
this can't happen in practice, but it seems dangerous and so I've changed it so
the new code will treat zero-sized files just like non-zero-sized files.

--HG--
extra : rebase_source : c617862c23babb1726480faff771a8dfe586bfa1
2015-01-26 14:25:13 -08:00
Ryan VanderMeulen
6b143430fb Backed out changeset 1c324316ea7a (bug 1124847) for Win7 crashes.
CLOSED TREE
2015-01-27 21:59:52 -05:00
Wes Kocher
50351b0c8d Backed out changeset 774ff21aecb3 (bug 1120128) for build bustage 2015-01-27 17:48:43 -08:00
Seth Fowler
fe165433d0 Bug 1126146 - Disable the single-color optimization in reftests. r=tn 2015-01-27 17:43:21 -08:00
Matt Woodrow
4f89591f0d Bug 1120128 - Implement blacklist for DXVA and blacklist AMD Radeon HD 5800. r=Bas
--HG--
extra : rebase_source : 782dc73a9f284c7a0d98061f2fe2dfb87e3bb149
2015-01-26 13:34:28 +13:00
Jeff Muizelaar
1baaab90c9 Bug 1124847. Track D3D11 shared texture usage in about:memory. r=bas
This will hopefully help us track down large amounts of write-combined
mappings that we see.

--HG--
extra : rebase_source : fbb5356fd81de3fa484639b955c3c4f806ce4f45
2015-01-27 20:09:34 -05:00
Bas Schouten
e7a45f235f Bug 1089454: Prevent usage of incompatible graphics objects after device reset. r=jrmuizel 2015-01-28 00:54:19 +00:00
Ehsan Akhgari
34ebbbebeb Bug 1117034 - Mark some overridden functions in the tree as override
--HG--
extra : rebase_source : a37ba6b69c02db90b8f3c440ac2dbca4d80c8bc5
2015-01-26 21:09:59 -05:00
Wes Kocher
62df818443 Backed out changeset 783d0fe2770b (bug 1124394) for test bustage on a CLOSED TREE 2015-01-26 18:57:36 -08:00