Commit Graph

4811 Commits

Author SHA1 Message Date
David Major
ebde6b9f4f Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium
--HG--
extra : rebase_source : 0c47c99bb8b92f8361a51fd81b20a2cc8647a986
2015-04-27 19:59:27 -04:00
Milan Sreckovic
1266c84e30 Bug 1158284 - Utility in gfxPlatform to check for safe mode, lazier computation if we should accelerate and random cleanup of prefs usage. r=botond 2015-04-24 12:33:35 -07:00
Jeff Muizelaar
11a6c75829 Bug 1154703. Avoid using WARP if nvdxgiwrapper.dll is around.
It seems to cause trouble and isn't really trustworthy.

--HG--
extra : rebase_source : 2e749651c39f45124b45372f3dcf880ab28e288a
2015-04-24 17:16:46 -04:00
Jonathan Kew
cdd4e7ba24 Bug 1155261 - Fix computation of glyph extents and text-frame visual overflow for vertical text frames. r=smontagu 2015-04-27 09:45:55 +01:00
Xidorn Quan
ff400fb4a5 Bug 1117227 part 5 - Render ellipsis in correct orientation. r=jfkthame
--HG--
extra : source : 4766d98091b93c120d41a5118406d82a38d9ff62
2015-04-24 10:15:32 +12:00
Kartikaya Gupta
cd5b55f8d6 Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong 2015-04-23 15:10:30 -04:00
Nicolas Silva
998752462f Bug 1157629 - Fix uninitialized member warning in BufferAlphaColor. r=jdaggett 2015-04-23 15:14:13 +02:00
Nicolas Silva
c883352e91 Bug 1155252 * -WError fix 2015-04-22 12:37:56 +02:00
Nicolas Silva
38812b5661 Bug 1155252 - Add a pref to control the maximum canvas 2d size and set it to 0x7ff. r=jrmuizel 2015-04-22 12:06:53 +02:00
Andrea Marchesini
ade2831035 Bug 1156632 - Remove unused forward class declarations - patch 6 - the rest of the tree, r=ehsan 2015-04-22 08:29:24 +02:00
Nicolas Silva
e887c595eb Bug 1155621 - Remove no-op gfx2DGlue conversion helpers. r=Bas 2015-04-21 17:22:30 +02:00
Nicolas Silva
cfff5e52c5 Bug 1155621 - Make nsIntRect and nsIntPoint typedefs of mozilla::gfx::IntRect and mozilla::gfx::IntPoint. r=Bas 2015-04-21 17:04:57 +02:00
L. David Baron
026c5518c7 Bug 1144885 - Treat font-size-adjust: none as separate from font-size-adjust: 0. r=jdaggett
Without the patch, the addition to property_database.js leads to
failures related to the "0.0" and "0" values in
layout/style/test/test_value_computation.html .
2015-04-20 23:10:40 -07:00
Mason Chang
30c8ca5402 Bug 1073209 - Eliminate usage of CreateSamplingRestrictedDrawable on OS X. r=jrmuizel 2015-04-20 08:38:43 -07:00
Nicolas Silva
c76f9a219d Bug 1155252 - Don't allocate X11TextureClients bigger than xlib's maximum surface size. r=jrmuizel 2015-04-20 15:53:42 +02:00
Ehsan Akhgari
101e6ccc62 Bug 1155881 follow-up: Make gfxAndroidPlatform::SupportsApzTouchInput const 2015-04-19 17:34:09 -04:00
David Anderson
da020904ab Show APZ wheel support in about:support on Mac OS X. (bug 1155881, r=mstange)
--HG--
extra : rebase_source : 5fdf05418fd70e4a13f17afcf8ca8cc43c5d61d9
2015-04-19 16:12:14 -04:00
Ehsan Akhgari
486776b743 Remove an extra assignment from gfxSparseBitSet::TestRange, no bug 2015-04-18 20:25:36 -04:00
Milan Sreckovic
5a513b1351 Bug 1154003 - More protection for failed surface drawable creation. r=bas 2015-04-15 15:04:38 -04:00
nsilva@mozilla.com
1a180846c2 Bug 1151713 - Initialize the layers prefs earlier. r=jrmuizel 2015-04-16 11:55:36 -04:00
Chris Lord
2b3b00dfd3 Bug 994541 - Enable BasicCompositor OMTC on linux. r=Bas 2015-03-12 14:01:23 +01:00
Sotaro Ikeda
1d09feb925 Bug 1154313 - Move sUsingHwc to gfxPrefs r=mwu,nical 2015-04-15 06:39:44 -07:00
Bas Schouten
2e7aa65c65 Bug 1151361: Wrap WARP D3D11 creation in a try catch block like done with regular D3D11. r=jrmuizel 2015-04-08 17:07:57 +02:00
Markus Stange
09194eb6ec Bug 1154322 - Allow using skia for content rendering. r=jrmuizel 2015-04-14 11:41:30 -04:00
Mason Chang
08ea8e0b5d Bug 1151489. Enable software vsync on all b2g versions. r=kats 2015-04-14 10:32:47 -04:00
Jonathan Kew
fc8f673c98 Bug 1153460 - Followup to fix warnings-as-errors build failure on a CLOSED TREE. r=bustage. 2015-04-14 10:00:59 +01:00
Jonathan Kew
09f251f3bc Bug 1153460 - Support new Fitzpatrick emoji modifiers and regional symbol indicators in Apple Color Emoji font. r=jdaggett 2015-04-14 09:37:53 +01:00
Chris Pearce ext:(%2C%20Matt%20Woodrow%20%3Cmwoodrow%40mozilla.com%3E)
3916a66ac9 Bug 875247 - Add support for DXVA2 via D3D11. r=cpearce,gps,padenot 2015-03-31 18:21:15 +13:00
Markus Stange
3e3be37c41 Bug 1148868 - Put the APZ event thread on Mac behind a pref layers.async-pan-zoom.separate-event-thread that defaults to false. r=dvander
--HG--
extra : rebase_source : dd02904a032008601d421ad7c30465da3ba97c6e
2015-03-29 00:58:52 -04:00
Jeff Muizelaar
347a7df060 Bug 1153381. Add a D3D11 ANGLE blacklist. r=mstange
This blocks the Intel 4500 style GPUs so that Google Maps
works properly

--HG--
extra : rebase_source : eb9669f5502c02024e6d33852a74a724a2f2d156
2015-04-10 16:17:27 -04:00
Mason Chang
8408557d40 Bug 1153392 - Use the current timestamp if the software vsync thread is late. r=kats 2015-04-10 13:44:09 -07:00
Mason Chang
39529281de Backout bug 1151489 for causing flickering on JB devices. r=me 2015-04-10 09:43:38 -07:00
Mason Chang
97dd056cfa Bug 1147390. Enable / disable vsync on the vsync thread only. r=kats 2015-04-10 07:59:21 -07:00
Jeff Muizelaar
223de83115 Bug 1152509. Use Mask with alpha to avoid allocating a surface. r=bas
This should give a performance improvement on platforms
not using Cairo (especially D2D)

--HG--
extra : rebase_source : eea1167839113ac5a01dcf1efee4d67cc2a24937
2015-04-09 10:52:11 -04:00
Mason Chang
bc50990690 Bug 1151489. Enable software vsync on all b2g versions. r=kats 2015-04-08 22:02:01 -07:00
Seth Fowler
bbb3ac44cd Bug 1149893 - Add a pref that makes us decode all images immediately. r=baku 2015-04-07 16:44:29 -07:00
Jeff Gilbert
2e871e9c53 Bug 1150767 - Add pref for requiring hardware-backed GL. - r=jrmuizel 2015-04-02 17:59:47 -07:00
Nicolas Silva
0b1f75bea0 Bug 1132854 - Remove the gfx::ToIntSize conversion helper. r=Bas 2015-04-07 16:08:57 +02:00
Jonathan Kew
4e0df93ef2 Bug 1012640 - patch 2 - Ensure mCurrentRangeIndex is initialized correctly when creating iterator for a gfxSkipChars that begins with a skipped run. r=roc 2015-04-07 09:26:49 +01:00
David Anderson
208919a3e4 Use the main-thread key spline animation logic for Desktop APZ. (bug 1139220 part 3, r=kats,kgilbert) 2015-04-01 23:42:40 -07:00
Jeff Muizelaar
41efb86096 Bug 1149761. Don't MOZ_CRASH if WARP fails. r=bas
returning is better than trying to continue.
2015-04-02 14:26:45 -04:00
Carsten "Tomcat" Book
dfac4e74d5 Backed out changeset fce26111e6f0 (bug 1139220) 2015-04-02 09:13:20 +02:00
David Anderson
13e12b0304 Use the main-thread key spline animation logic for Desktop APZ. (bug 1139220 part 3, r=kats,kgilbert)
--HG--
extra : rebase_source : 17514c0bcaf4ac61c53ab1729a5084fd55b8ee11
2015-04-01 23:42:40 -07:00
Bas Schouten
87292f976a Bug 1149864: Do not attempt to create any D3D11 device when safemode is turned on. r=jrmuizel 2015-04-01 19:45:58 +02:00
Jonathan Kew
d9a4b2e744 Bug 1123654 - Replace use of [deprecated] GetStockObject(DEFAULT_GUI_FONT) with newer API; results in use of Tahoma in place of Microsoft Sans Serif in various contexts. r=jmathies 2015-01-21 22:12:18 +00:00
Jeff Muizelaar
7b3713ac22 Bug 1150124. Move WARP reporter closer to actually testing WARP.
--HG--
extra : rebase_source : 77e06fb577ef85ebfb48f6be0ad790ae51447de3
2015-04-01 16:44:13 -04:00
Vladimir Vukicevic
8e37e99593 Bug 1148009; [webvr] Split out gfxVROculus from gfxVR, refactor VRHMDManager; r=jrmuizel 2015-04-01 16:02:20 -04:00
Vladimir Vukicevic
a559c4a0eb Bug 1148009; [webvr] Move gfx vr code to gfx/vr; r=jrmuizel 2015-04-01 16:02:20 -04:00
Jonathan Kew
0aaa1c57da Bug 1146754 - Show selection highlighting for trailing space. r=mats 2015-04-01 14:45:16 +01:00
Jonathan Kew
1bc5b96538 Bug 1148903 - Allow control characters to be rendered by user fonts. r=roc 2015-04-01 09:02:24 +01:00
Jeff Muizelaar
511bc2a95f Bug 1149761. Don't MOZ_CRASH if WARP fails. r=bas
WARP fails sometimes. Who knows why. MOZ_CRASHing
during start up isn't very good to do on startup.

--HG--
extra : rebase_source : 2d1fbc79eee692d207845c81ccfae33704f3b144
2015-03-31 23:23:56 -04:00
Matt Woodrow
b3d4a15c89 Bug 1149343 - Part 1: Unify prefs/blacklist for hardware acceleration video decoding. r=cpearce 2015-04-01 16:06:56 +13:00
Mike Hommey
c39e359c7d Bug 1138293 - Use malloc/free/realloc/calloc instead of moz_malloc/moz_free/moz_realloc/moz_calloc. r=njn
The distinction between moz_malloc/moz_free and malloc/free is not
interesting. We are inconsistent in our use of one or the other, and
I wouldn't be surprised if we are mixing them anyways.
2015-03-31 12:32:49 +09:00
Mason Chang
d01dc35e80 Bug 1147953. Fix vsync adjustment time to allow negative timestamps. r=jrmuizel 2015-03-30 08:16:11 -07:00
Nicolas Silva
52be9f47b5 Bug 1132854 - Remove useless ThebesIntSize conversion helper. r=Bas 2015-03-29 16:59:15 +02:00
Nicolas Silva
e3eaf89e3f Bug 1132854 - Make nsIntSize a typedef of gfx::IntSize. r=Bas, roc 2015-03-29 16:59:08 +02:00
Andrea Marchesini
e6f385fb3d Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
Mason Chang
783db35924 Bug 1147297. Fix assert vsync adjustment time on windows to be >=. r=jrmuizel 2015-03-26 15:41:49 -07:00
Vladimir Vukicevic
f9df352463 Bug 1147830 - crash in HMDInfoOculus::HMDInfoOculus() on Mac; r=nullcheck 2015-03-26 15:31:08 -04:00
Jonathan Kew
2fad07bfc9 Bug 1137588 - patch 2 - Use a better default vOrigin in fonts without real vertical metrics. r=jdaggett 2015-03-26 12:23:55 +00:00
Jonathan Kew
179a4271ab Bug 1137588 - patch 1 - Read the second array in 'vmtx' correctly to get glyph vertical origins. r=jdaggett 2015-03-26 12:23:45 +00:00
Bas Schouten
4631908ab5 Bug 1147439: Report telemetry correctly for individual devices resetting. r=vladan 2015-03-26 05:01:31 +01:00
David Anderson
3eefa67684 Follow-up nit to bug 1147648 (alphabetize prefs). r=kats 2015-03-25 18:39:20 -07:00
David Anderson
c974fd18b3 Improve bad APZ wheel pref detection in about:support. (bug 1147223 part 2, r=kats) 2015-03-25 18:37:33 -07:00
David Anderson
11dca95ed5 Fix wheel events not applying root scroll delta overrides. (bug 1147223 part 1, r=kats) 2015-03-25 18:36:41 -07:00
Matt Woodrow
a5a35423f7 Bug 1146315 - Part 1: Create D3D media device on the ImageBridge thread. r=nical
--HG--
extra : rebase_source : 29a7c9e7fb5ab2726cb9a3868b85a5c0292a38b4
2015-03-26 13:04:42 +13:00
Maksim Lebedev
9e2e275653 Bug 1143655 - Add sending NS_TOUCH_CANCEL event. r=kats 2015-03-25 12:20:20 -04:00
Jonathan Kew
a309bff7b9 Bug 686225 - Work around buggy AAT fonts for Bengali and Kannada scripts. r=jdaggett 2015-03-25 08:25:49 +00:00
Seth Fowler
5e1bf3762e Bug 1124088 - Rename decode-on-draw to decode-only-on-draw. r=tn 2015-03-24 15:39:00 -07:00
David Anderson
d96e85937b Add APZ info to about:support. (bug 1146727, r=jrmuizel)
--HG--
extra : rebase_source : 8758865fbde29af687fbe00fe64cc03fc8cb2cde
2015-03-24 15:04:44 -07:00
David Anderson
d5f5272884 Allow synthetic input events to be dispatched asynchronously. (bug 1146243, r=kats) 2015-03-24 15:00:52 -07:00
Jonathan Kew
606aaa726c Bug 1145934 - Update obsolete glyph-run assertion. r=jdaggett 2015-03-23 11:43:38 +00:00
David Anderson
fba0c47c1f Add APZ support for test.mousescroll callbacks. (bug 1142866 part 3, r=kats) 2015-03-22 00:42:26 -07:00
David Anderson
302fa4036d 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
a0a7580fcf Add wheel transaction support to APZ. (bug 1142866 part 1, r=kats) 2015-03-22 00:36:13 -07:00
Phil Ringnalda
fc8b8ab2ac Merge m-c to m-i 2015-03-21 12:50:09 -07:00
Phil Ringnalda
9ef50f3565 Merge f-t to m-c, a=merge 2015-03-21 12:47:01 -07:00
Ehsan Akhgari
883849ee32 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
6391804878 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
721fc1ab52 Backed out changeset c5af69669855 (bug 1124084) for various regressions.
CLOSED TREE
2015-03-20 13:01:35 -04:00
Mason Chang
e2d014a7bd Bug 1133527. Fallback to software vsync on android. r=kats 2015-03-20 08:12:53 -07:00
Dave Townsend
699c63e7d4 Bug 1144900: Fix windows gfx out of memory assertion. r=Bas
--HG--
extra : rebase_source : 1158df9324b3a1f30f7a446d7713ca17ad26a5fb
2015-03-19 10:42:27 -07:00
Jonathan Kew
cddb282cdf Bug 1142952 - Update OTS to latest upstream revision; now at e779d45e7a96d3b97ed3d2b76db7478cb86fdd8b. r=jdaggett 2015-03-19 11:11:30 +00:00
Matt Woodrow
67c8f780b6 Bug 1138967 - Part 3: Add D3D11 YCbCr texture clients and upload on the client side. r=nical
--HG--
extra : rebase_source : 90d0afdc61332b36032c8ccbf28294f77dd48a8b
2015-03-19 10:17:13 +13:00
Mason Chang
0500dc0b4b Bug 1144638. Retry getting an active display link. r=mstange 2015-03-18 16:17:26 -07:00
Nicolas Silva
82ed83119c 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
78ab87250d Bug 1124084 - Flip on downscale-during-decode everywhere. r=tn 2015-03-17 13:56:50 -07:00
Ryan VanderMeulen
2391e7301f Backed out changeset bb4b51d4af93 (bug 1143653) for WinXP assertions. 2015-03-17 12:40:47 -04:00
Nicolas Silva
10d43b2e93 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
7df0c3a7b2 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
bbe4c2b753 Backout 8545a7f27c8c (bug 1142708) for 10.6 Debug jit test failures. r=me 2015-03-14 20:37:41 -07:00
Mason Chang
55026e7cd5 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
fd575569d5 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
0863d3f6fa Bug 1123080 - Use cairo's image backend as canvas fallback on windows. r=Bas 2015-03-12 19:40:06 +01:00
Chris Lord
7484b298e0 Bug 994541 - Enable OMTC on Linux via BasicCompositor. r=Bas 2015-03-12 14:01:23 +01:00
Jonathan Kew
d8d7cd6058 Bug 1136557 - pt 1 - Ignore bogus ascent/descent values in 'vhea' table. r=smontagu 2015-03-12 10:47:32 +00:00
Jonathan Kew
05cc1cb432 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
334c6d4056 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
b0d8ea6da4 Fix APZ using incorrect scroll wheel deltas. (bug 1141728, r=kats) 2015-03-11 13:56:56 -07:00
Ryan VanderMeulen
3807a08ace Backed out changeset 512454694cc4 (bug 1123080) for Windows crashtest failures. 2015-03-11 15:22:04 -04:00
Nicolas Silva
b292aa6f59 Bug 1123080 - Use Cairo's image backend with canvas fallback on Windows. r=Bas 2015-03-11 17:16:13 +01:00
Jonathan Kew
59e90c7cf1 Bug 1141676 - Fix the sizing of synthetic sub-/superscript glyphs. r=jdaggett 2015-03-11 08:49:24 +00:00
Milan Sreckovic
76dd5cd892 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
5e8e02e501 Merge b2g-inbound to m-c a=merge CLOSED TREE 2015-03-09 18:56:42 -07:00
Mason Chang
d7bd183d3c Bug 1139253. Reuse the same thread for the software vsync thread. r=kats 2015-03-09 08:19:07 -07:00
Jonathan Kew
7425b37e9b Bug 1139888 - Check for missing glyph metrics tables. r=jdaggett 2015-03-09 12:16:22 +00:00
Jonathan Kew
d6cae63464 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
d7bdeff12f Bug 1135066 - Deal with failed CreateDrawTarget. r=mstange 2015-03-05 16:38:23 -05:00
Martin Stransky
d15abcbc8c Bug 635134 - Adds X11 run-time check for Gtk3 backend. r=karlt
--HG--
extra : rebase_source : 18486b689a7ff1560830e63900af1d60348ccabb
2015-03-05 03:56:00 +01:00
John Daggett
16051fe356 Bug 935862 p2 - add various userfont lookup methods. r=heycam 2015-03-06 17:44:18 +09:00
Kearwood (Kip) Gilbert
f799e85423 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

--HG--
extra : rebase_source : 2b604767130d039c072df29ec9cd032329b58bb6
2015-02-19 15:43:14 -08:00
Mason Chang
5729940b3c Bug 1139726 - Assert gfxPlatform::Init is called on the main thread. r=kats 2015-03-05 08:43:53 -08:00
Mason Chang
a26a5496a6 Bug 1138735 - Fallback to software vsync if CVDisplayLink fails to initialize. r=mstange 2015-03-04 14:37:55 -08:00
Jan Jongboom
a51560be5b Bug 1134599 - Fix rpi build target. r=jrmuizel, r=shuang 2015-02-25 03:20:00 -05:00
Mason Chang
a9182f7264 Bug 1128690 - Ensure Talos Performance Tests still work with silk enabled. r=mstange 2015-03-03 08:14:22 -08:00
Jonathan Watt
6c3e865ef2 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
b732d605b0 Bug 1134762 - Clean-up UseFastPath logic to avoid OOM error. r=kats
--HG--
extra : rebase_source : 500ab9ab5bd860a434a02c51ced6a0834897eab8
2015-02-18 15:27:40 -05:00
Ms2ger
2649263bed 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
f54206dc5a Bug 1133689 - Make D3DVsyncDisplay destructor private. r=jmuizelaar 2015-02-23 12:14:49 +01:00
John Daggett
31457df5b4 Bug 1135308 - add pref for disabling font cache. r=m_kato 2015-02-23 09:32:04 +09:00
Bas Schouten
45eb4195cb Bug 1135408: Report device resets and their reasons through telemetry. r=vladan 2015-02-22 22:53:32 +00:00
Jonathan Kew
986898ce38 Bug 1134216 - Preserve line-break flags properly when applying text-transform conversions. r=smontagu 2015-02-22 19:39:36 +00:00
zhoubcfan
f567706ef1 Bug 1129335 - Add private destructor to D3D9 texture usage reporters. r=bgirard 2015-02-16 12:37:43 +01:00
Jeff Gilbert
d3813c406b Bug 1124394 - Support Core profiles for GLContext. - r=kamidphish 2015-02-12 19:00:41 -08:00
Mason Chang
1ac8beda09 Bug 1127151. Part 3: Create a vsync thread loop with dwmflush. r=jrmuizel 2015-02-13 17:17:26 +08:00
Mason Chang
fd8b6dead7 Bug 1127151. Part 2: Create a vsync source on windows. r=kats 2015-02-13 17:17:24 +08:00
JerryShih
07da2f6d6d Bug 1129686 - fix friend class declaration. r=jrmuizel 2015-02-12 22:26:00 +01:00
Nicholas Nethercote
3a7b0a9f57 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
63e3218e4c 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
d975c07099 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
70408d1c91 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
5840767b60 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
242708cf72 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
0cf06341a4 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
34d9d8895f Bug 1130429 - Try to avoid font changes within a cluster. r=roc 2015-02-07 20:45:06 +00:00
Andrew McCreight
d3826daa16 Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
George Wright
504d1e8944 Bug 1036682 - Account for OPEN_MAX when calling setrlimit on OS X r=snorp 2015-02-06 18:00:57 -05:00
Jeff Gilbert
56b00391c3 Backout 80a88a3badba for causing bug 1130086. 2015-02-06 11:37:04 -08:00
Peter Chang
8c9ff9b5dc Bug 1129763 - Add pref for the threshold of frame visual warning, r=benwa 2015-02-06 14:38:16 +08:00
Nicholas Nethercote
d34f0301b8 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
523dd220d2 Bug 1128765 - Add more more reporters to break down D3D9 texture usage. r=jrmuizel 2015-02-05 16:20:14 +13:00
Jeff Gilbert
680ae080b6 Bug 1124394 - Support WebGL 2 with Core Profiles on Mac. - r=kamidphish 2015-02-04 16:34:55 -08:00
Nicholas Nethercote
b5913e0b3d 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
fe18c25a8f Remove apz.subframe.enabled and assume it is always true. (bug 1128761, r=kats) 2015-02-03 15:02:04 -08:00
David Anderson
495039e5d4 Make debugging whole-layer invalidation slightly easier. (bug 1128752, r=mattwoodrow) 2015-02-03 14:18:44 -08:00
Jacek Caban
f8b3431622 Bug 1127772 - Add private destructor to D3D11TextureReporter. r=benwa 2015-01-30 02:55:00 +01:00
Jeff Muizelaar
c05b6e84f8 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
2f3c21318a 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
323af42ff6 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
a35dbaeebf 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
d7313c3320 Backed out changeset 176166c0bae9 (bug 1124394) for b2g device bustage on a CLOSED TREE 2015-01-29 14:23:37 -08:00
Jeff Gilbert
95f269cb3f Bug 1124394 - Support WebGL on Core Profiles on Mac. - r=kamidphish 2015-01-29 00:44:19 -08:00
John Daggett
97f2b28880 Bug 1127209 - cleanup downloadable font logging. r=m_kato 2015-01-29 16:44:59 +09:00
Matt Woodrow
0003596eec Bug 1120128 - Implement blacklist for DXVA and blacklist AMD Radeon HD 5800. r=Bas 2015-01-26 13:34:28 +13:00
Jeff Muizelaar
f637b9c41a 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
5159c47849 Backed out changeset a501183528f3 (bug 1124847) for Win7 crashes (again). r=tryserverkthxbye
CLOSED TREE
2015-01-28 10:58:55 -05:00
Jeff Muizelaar
f3b0ee2f61 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
e34e642e4d 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
3d93377f12 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
3a4e166d49 Backed out changeset 1c324316ea7a (bug 1124847) for Win7 crashes.
CLOSED TREE
2015-01-27 21:59:52 -05:00
Wes Kocher
f37df5625b Backed out changeset 774ff21aecb3 (bug 1120128) for build bustage 2015-01-27 17:48:43 -08:00
Seth Fowler
594a776fc1 Bug 1126146 - Disable the single-color optimization in reftests. r=tn 2015-01-27 17:43:21 -08:00
Matt Woodrow
e0f2ca34db 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
3d82378a28 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
11de23359f Bug 1089454: Prevent usage of incompatible graphics objects after device reset. r=jrmuizel 2015-01-28 00:54:19 +00:00
Ehsan Akhgari
9cd10b7b4f 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
dd7ff05753 Backed out changeset 783d0fe2770b (bug 1124394) for test bustage on a CLOSED TREE 2015-01-26 18:57:36 -08:00
Ehsan Akhgari
d080be3549 Backed out changeset 45921e3d9773 (bug 1117034) because of build bustage on a CLOSED TREE 2015-01-26 21:52:40 -05:00
Ehsan Akhgari
56e3b70f4e Bug 1117034 - Mark some overridden functions in the tree as override 2015-01-26 21:14:12 -05:00
Jeff Gilbert
ebb432b53c Bug 1124394 - Allow Core Profile GL contexts. - r=kamidphish 2015-01-26 17:18:45 -08:00
Masatoshi Kimura
6cc5dabbee Bug 1111290 - Part 3: Remove TypedEnum.h and fold TypedEnumInternal.h into TypedEnumBits.h. r=waldo 2015-01-26 07:22:11 +09:00
Masatoshi Kimura
86502e6537 Bug 1111290 - Part 2: Non-mechanical changes. r=waldo 2015-01-26 07:22:08 +09:00
Masatoshi Kimura
be535304d8 Bug 1111290 - Part 1: Remove MOZ_(BEGIN|END)_ENUM_CLASS. r=waldo 2015-01-26 07:22:07 +09:00
Ryan VanderMeulen
9e3535f870 Backed out changeset 8b3815de49f8 (bug 1123654) for talos xperf permafail.
CLOSED TREE
2015-01-22 20:00:24 -05:00
Nicholas Nethercote
b31f8f25e5 Bug 1124545 - Avoid creating the mergedFeatures hash table when possible. r=jdaggett.
When scrolling all the way through
https://bugzilla.mozilla.org/show_bug.cgi?id=MNG, |mergedFeatures| gets
initialized more than 50,000 times -- each one involving a heap allocation for
the entry storage -- but it never has anything put into it.

This patch refactors MergeFontFeatures to move |mergedFeatures| inside it. It
now doesn't get created in the common case.

--HG--
extra : rebase_source : 5a8d44b30f90169b70e5f50a5e38bbe57f02b12b
2015-01-21 22:41:02 -08:00
Jonathan Kew
e3d0ba6183 Bug 1123654 - Replace use of [deprecated] GetStockObject(DEFAULT_GUI_FONT) with newer API; results in use of Tahoma in place of Microsoft Sans Serif in various contexts. r=jimm 2015-01-22 22:52:26 +00:00
Seth Fowler
3ed3b0f849 Bug 1124072 - Flip on decode-on-draw on APZ platforms. r=tn 2015-01-21 05:07:46 -08:00
Matt Woodrow
0df1801282 Bug 1112331 - Disable DXVA when using WARP. r=cpearce,Bas 2015-01-21 16:36:01 +13:00
Daniel Holbert
95a73f1e45 Bug 1123844: Add MOZ_OVERRIDE annotations (and a few 'virtual' annotations) where appropriate, for headers used in widget/gtk. r=karlt 2015-01-20 13:39:44 -08:00
Mats Palmgren
ca098ea1a5 Bug 1091709 - Make Transform() do calculations using gfxFloat (double) to avoid losing precision. r=matt.woodrow 2015-01-20 18:20:04 +00:00
Mason Chang
ebe0a9bec5 Bug 1095242. Part 4: Unobserve vsync in CompositorVsyncDispatcher. r=kats 2015-01-20 08:31:24 -08:00
Mason Chang
9093be777c Bug 1095242. Part 3 - Make enable/disable vsync noops if already enabled/disabled. r=kats 2015-01-20 08:31:22 -08:00
Mason Chang
2ddd329607 Bug 1095242. Part 2: Disable vsync on startup. r=kats 2015-01-20 08:31:21 -08:00
Jonathan Watt
dacfb58c19 Bug 1123486 - Remove gfxContext::ResetClip and gfxContext::UpdateSurfaceClip. r=Bas 2015-01-14 20:30:27 +00:00
Jonathan Watt
481714c6f0 Bug 1123485 - Remove gfxContext::DrawSurface. r=Bas 2015-01-14 19:57:47 +00:00
Nicholas Nethercote
8bd1f6f072 Bug 1123151 (part 2) - Add PLDHashTable::IsInitialized(). r=froydnj.
This encapsulates most of the uses of PLDHashTable::ops.

--HG--
extra : rebase_source : 7760ce8e46a37e87dcfe590e809a21df01fe510f
2015-01-19 16:11:34 -08:00
Trevor Saunders
85227ffecb bug 1122065 - use MOZ_OVERRIDE more in gfxish things r=jrmuizel 2015-01-19 17:41:12 -05:00
Jonathan Kew
c64244245f Bug 1121448 - Ignore negative values in the OS/2 table sxHeight field. r=jdaggett 2015-01-19 10:03:54 +00:00
Seth Fowler
a186ee4906 Bug 1119774 (Part 1) - Add a pref and Image init flag for downscale-during-decode. r=tn 2015-01-18 14:02:13 -08:00
Jonathan Kew
e7cc95bb47 Bug 1122020 - Account for position offset when collecting glyph bounding boxes. r=roc 2015-01-16 09:42:42 +00:00
Nicholas Nethercote
69fe655b04 Bug 1121304 (part 2, attempt 2) - Remove PLDHashTableOps::{alloc,free}Table. r=froydnj.
--HG--
extra : rebase_source : bc119bd0d3b6944e8c5a000950e0c4052cb70aef
2015-01-14 14:35:56 -08:00
Seth Fowler
968ba626cc Bug 1079627 (Part 3) - Support multiple decoders for a single RasterImage. r=tn 2015-01-15 15:11:36 -08:00
Mason Chang
5ee7bd3f46 Bug 1120753 - Fallback to software vsync if hardware vsync fails to initialize on b2g. r=kats,mwu 2015-01-15 07:56:12 -08:00
Jonathan Kew
e2f83ce0e3 Bug 1120101 - Calculate vertical glyph origin based on 'vmtx' table in TrueType fonts. r=jdaggett 2015-01-15 11:07:26 +00:00
Jonathan Kew
903c69a371 Bug 1119253 - Font-selection code should use gfxFontEntry::HasCharacter in preference to TestCharacterMap. r=jdaggett 2015-01-15 11:07:24 +00:00
JerryShih
5d843b5eb7 Bug 1121331 - Part2: Vsync aligned refresh timer. r=roc r=mchang 2015-01-14 00:38:00 +01:00
Milan Sreckovic
3b87e81b6d Bug 1112828 - Have GfxInfo::LogFailure use gfxCriticalLog and entries from gfxCriticalLog be available in about:support graphics section. r=jmuizelaar 2015-01-13 21:19:25 -05:00
Phil Ringnalda
e39f0adeca Backed out 2 changesets (bug 1121304) for consistent b2g hangs in webgl-color-test.html?frame=1&__&preserve&premult&_____
Backed out changeset 20651ac19549 (bug 1121304)
Backed out changeset 758afec77c95 (bug 1121304)
2015-01-14 22:02:23 -08:00
John Daggett
6eb10cad82 Bug 1121793 - trim out unused FindFontFamily/FindFontEntry functions. r=m_kato 2015-01-15 13:22:32 +09:00
John Daggett
9af789f234 Bug 1118981 - initialize mSkipDrawing correctly for already loading fonts. r=jfkthame 2015-01-15 13:22:32 +09:00