Граф коммитов

22011 Коммитов

Автор SHA1 Сообщение Дата
Yoshi Huang 1f2c27b68e Bug 1263496 - Part 1: fix for @mozilla.org/nullprincipal;1 r=bholley
This fixed the locations listed by
http://searchfox.org/mozilla-central/search?q=@mozilla.org/nullprincipal;1&redirect=true
2016-04-27 18:37:58 +08:00
Matt Woodrow 4990ab2653 Bug 1265468 - Update the compositor pointer on all TextureSources in the list when recycling in ImageHost. r=nical 2016-04-27 09:03:37 +12:00
Kartikaya Gupta 3ed18105da Bug 1265510 - Ensure that new input blocks still allow APZCs with interrupted animations to scroll-snap. r=botond
MozReview-Commit-ID: EG8PZKfcFtW
2016-04-26 13:37:18 -04:00
Kartikaya Gupta c040399672 Bug 1265510 - Add a gtest for interrupting a scroll snap. r=botond
MozReview-Commit-ID: 9pZS8TCICGk
2016-04-26 13:37:18 -04:00
Kartikaya Gupta d578d732fc Bug 1265510 - Add some scroll-snapping logging to APZC. r=botond
MozReview-Commit-ID: 7rMf2DHo13m
2016-04-26 13:37:18 -04:00
Mason Chang 3c536bb168 Bug 1267363. Disable hinting on osx fonts only if we have expclity grayscale AA. r=mstange 2016-04-26 13:14:15 -04:00
Kartikaya Gupta a803920f27 Bug 1267246 - Remove bogus assertion. r=nical
MozReview-Commit-ID: 9RZ2Yx0iu14

--HG--
extra : rebase_source : f19a8bec3ca90dccd28a451851bbe256b79e7a90
2016-04-26 10:34:11 -04:00
James Willcox 94ec972fe7 Bug 1178376 - Optionally fade in new progressively painted tiles r=nical 2016-04-26 09:49:12 -05:00
James Willcox e05e837ec0 Bug 1178376 - Allow progressive painting when low-precision tiles are disabled r=BenWa 2016-04-26 09:49:12 -05:00
James Willcox 51b8e9259b Bug 1178376 - Put progressive paint status in tile updates r=nical 2016-04-26 09:49:12 -05:00
Milan Sreckovic 024f874c4b Bug 1262187: Allow D3D9 if D3D11 failed, behind the pref, but on by default. r=bas
MozReview-Commit-ID: JnO4nIN4gXv

--HG--
extra : rebase_source : 5bfa53ef47e59ac8871e500f97b9f851910b5e5b
2016-04-25 13:53:52 -04:00
Kartikaya Gupta 6afa98a3ea Bug 1248078 - Remove the dedicated scroll acknowledgement message. r=botond
MozReview-Commit-ID: L6MuRX4oT3y
2016-04-18 12:31:54 -04:00
Mason Chang d9030afc50 Bug 1267253 - Delete gfxWindowsPlatform::RenderMode and replace it with a check against the default backend. r=bas 2016-04-21 14:35:13 -07:00
Nicolas Silva 593eadd25a Bug 1266396 - Make TextureClient more robust against racy shutdown situations. r=Bas 2016-04-22 18:05:26 +02:00
Bob Owen c4ec1107e4 Bug 1258609: Initialize nsICanvasRenderingContextInternal with a DrawTarget instead of a gfxASurface. r=jrmuizel
MozReview-Commit-ID: JNQ9GWvDUSq
2016-04-21 10:30:38 +01:00
Morris Tseng 041ccb236b Bug 1265638 - Reset some properties when the backend of SharedSurface is switching from Basic to layer-accelerated backend. r=jgilbert
MozReview-Commit-ID: JWXA79i3aEC
2016-04-26 11:08:56 +08:00
Kartikaya Gupta db9357edba Bug 1267471 - Check the snap info when comparing scroll metadata for equality. rs=botond
MozReview-Commit-ID: 5aw7vjT3YcE
2016-04-25 20:58:11 -04:00
Kyle Huey c73656947b Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
Jeff Gilbert 8e4716b337 Bug 1266262 - Remove nearly-unused GLContext::mGLFormats. - r=jrmuizel 2016-04-25 13:17:25 -07:00
Lee Salzman b5107c76f2 Bug 1267271 - skip empty surfaces in DrawTargetSkia::DrawSurfaceWithShadow. r=mchang 2016-04-25 15:42:13 -04:00
Milan Sreckovic f64f176a16 Bug 1266444: It is OK for us not to have texture sharing. r=jrmuizel
MozReview-Commit-ID: KZ7KuvifUvs

--HG--
extra : rebase_source : e70685e29b97b86fac5c54e9949605863515c722
2016-04-25 13:22:29 -04:00
Edwin Flores c29a1c1ed1 Bug 1266878 - Fix off-by-one error in ParamTraits<StereoMode> - r=nical 2016-04-25 18:09:59 +01:00
Edwin Flores 5d094bc8b7 Bug 1244883 - Add Nightly-/Aurora-only crash for AsyncTransactionWaiter timeouts - r=nical 2016-04-25 13:10:46 +01:00
Bas Schouten a7d662a2b1 Bug 1262898: Keep the GeckoChildProcessHost alive for the lifetime of the CompositorBridge and ImageBridge parent actors. r=jimm r=nical
MozReview-Commit-ID: 1rsWqRpbhgN
2016-04-25 03:54:07 +00:00
Sotaro Ikeda 01c7cdd7ec Bug 1263053 - Backout until bug 1265873 fix 2016-04-24 20:30:05 -07:00
Lee Salzman ad13359d88 Bug 1266380 - fix offset of untransformed surface when 3d transforming in BasicLayerManager. r=jrmuizel 2016-04-23 21:07:41 -04:00
Lee Salzman 1a2965bce1 Bug 1266209 - log failure reason when PathBuilderD2D::Finish fails. r=bas.schouten 2016-04-23 20:25:29 -04:00
Kartikaya Gupta 71e578529e Bug 1264161 - Ensure we null out APZ pointers to the widget when it gets destroyed. r=botond
MozReview-Commit-ID: HccKXqU3Z6H
2016-04-22 16:01:30 -04:00
Jeremy Chen f7a19af3e7 Bug 1248708 - Part2.2: render -webkit-text-stroke property. r=jfkthame 2016-04-23 01:40:39 +08:00
Kartikaya Gupta 04a890cf6d Bug 1263416 - Disable displayport expiry for test_basic_pan.html. r=botond
MozReview-Commit-ID: BIUv3JnDtKQ

--HG--
extra : rebase_source : c9518d8dbd3b0325984e36eeb3af9bf597de68f1
2016-04-21 15:19:51 -04:00
Kartikaya Gupta 5d81a44cf8 Back out bug 1248078 (cset 1fd853200c99) for talos regressions. r=backout
MozReview-Commit-ID: 3qV2wKQOtAL
2016-04-22 12:07:36 -04:00
Botond Ballo 25a9b005e6 Bug 1255214 - Only repaint GTK scrollbar button if its enablement actually changed. r=mstange
MozReview-Commit-ID: ITLeksQzvVM

--HG--
extra : rebase_source : 1a3779ab7154282388c2e57251886863e818b168
2016-04-20 19:49:09 -04:00
Botond Ballo 54e53e75c4 Bug 1257288 - Have APZ hit testing respect scroll clips. r=kats
MozReview-Commit-ID: AZU5TEMvySG

--HG--
extra : rebase_source : f435fa574a52bdf90690c1ede739f248d2f0d99f
2016-04-20 18:38:25 -04:00
Botond Ballo ff18651ad3 Bug 1257288 - Improve the APZ gtest infrastructure to make writing multi-FrameMetrics tests easier. r=kats
MozReview-Commit-ID: L9QN0FhLwRU

--HG--
extra : rebase_source : 8b5a5fca7f26c78b53280647a88de285a2208fd8
2016-04-20 18:37:45 -04:00
Botond Ballo a278e42605 Bug 1257288 - Fix a bug in APZCTM logging code. r=kats
MozReview-Commit-ID: 9NrCsEt8kA2

--HG--
extra : rebase_source : a2e336bf5b80b94e90ed3d9c9b0f12f1c85cd86f
2016-04-20 18:37:11 -04:00
Botond Ballo 0b5440e37a Bug 1257288 - Move IntersectMaybeRects() to gfx/2d/Rect.h. r=kats
MozReview-Commit-ID: C99GwsLN7Zg

--HG--
extra : rebase_source : e12db0995ec0f1ffc30e0f01b8c85081236b405c
2016-04-20 17:16:09 -04:00
Edwin Flores 74950cfa47 Bug 1256678 - Re-add nightly-only crash if ScaledFontWin::GetFontFileData fails to find a matching TrueType collection font - r=jfkthame 2016-04-22 13:23:25 +01:00
Edwin Flores cdd3b63026 Bug 1256678 - Fall back to loading GDI fonts from system in DrawTargetRecording - r=bas 2016-04-22 13:23:25 +01:00
Edwin Flores 4a167320a0 Bug 1256678 - Account for truncated font names in ScaledFontWin::GetFontFileData() - r=jfkthame 2016-04-22 13:23:25 +01:00
Edwin Flores aab6e566af Bug 1256678 - Backout diagnostic patch rev 39c895b67af2 - r=me 2016-04-22 13:23:25 +01:00
Jonathan Watt 22c58476c8 Bug 1266101, part 2 - Remove most of the GLYPH_STROKE/GLYPH_STROKE_UNDERNEATH checking code. r=heycam 2016-04-22 11:52:13 +01:00
Chris Peterson d95cf073f8 Bug 1266292 - Remove unnecessary compiler checks for MSVS 2010 in gfx/2d/. r=bas 2016-04-18 22:48:31 -07:00
Jeff Gilbert ed674372da Bug 1262265 - Cleanup GLContext symbol init. - r=jrmuizel 2016-04-21 16:32:18 -07:00
Xidorn Quan e775e87790 Bug 1097499 part 13 - Draw decoration line properly for text-combine-upright. r=jfkthame
MozReview-Commit-ID: AymG09nvxh1

--HG--
extra : source : 579ca910016a1af95bb36b66d2ceb309d40288d3
2016-04-22 09:18:41 +10:00
Xidorn Quan 1003b99e78 Bug 1097499 part 10 - Add fwid/hwid/twid/qwid font feature support to gfx. r=jfkthame
MozReview-Commit-ID: 3ex2Q998gZN

--HG--
extra : source : 8160d13c7d1ab0fd0845625082b90066a37be6c3
2016-04-22 09:18:41 +10:00
Milan Sreckovic fca0580f8e Bug 1264736: Crash sooner if we can't get a valid command list, at least in nightly/aurora. r=bas
MozReview-Commit-ID: JyUOZrEZ9hT

--HG--
extra : rebase_source : 6c483d23f2ffc4c03641ad76ae3ad2d1c48686dd
2016-04-20 12:11:00 -04:00
Jonathan Kew c60f6a1ae4 Bug 1266391 - Introduce an enum class mozilla::unicode::Script, and use this instead of bare integers to specify script codes for better type checking. r=masayuki 2016-04-21 18:58:59 +01:00
Nicolas Silva 75c5a010e8 Bug 1265282 - Annotate reports instead of crashing when setting an incompatible compositor (D3D11). r=dvander 2016-04-21 18:12:19 +02:00
Lee Salzman 47a00ac080 Bug 1261699 - preserve user fontconfig autohint settings in Cairo glyph rendering options. r=jfkthame 2016-04-21 11:50:08 -04:00
Lee Salzman cb9bfa1888 Bug 1161170 - backport upstream fix for race in Cairo freed_pool. r=jrmuizel 2016-04-21 11:49:02 -04:00
Mason Chang 68c6d918e5 Bug 1260454. Disable LCD font smoothing if we have grayscale AA on OS X. r=lsalzman 2016-04-21 08:45:14 -07:00
Jeremy Chen a9eb6cfaa2 Bug 1248708 - Part2.1: use mfbt/TypedEnumBits.h for DrawMode. r=jwatt
--HG--
extra : rebase_source : 23577723d8b5b8a5d6c4797bae797b47c195e9e5
2016-04-21 23:27:39 +08:00
Jonathan Kew 040843e80f Bug 1266341 - Pass the right kind of enum constants for script codes. r=masayuki 2016-04-21 16:31:46 +01:00
Jonathan Watt c7da421b17 Bug 1266101, part 1 - Remove various bits of dead code related to painting SVG text. r=heycam 2016-04-21 14:39:30 +01:00
Seth Fowler 4b0251d526 Bug 1261554 (Part 3) - Visualize Visibility::IN_DISPLAYPORT regions in the APZ minimap visibility debugger. r=botond 2016-04-21 01:22:10 -07:00
Botond Ballo 1be1083028 Bug 1265515 - Update nsAutoPtr.h includes in gfx/layers/apz to RefPtr.h. r=kats
MozReview-Commit-ID: IcTMATcm0Wm

--HG--
extra : rebase_source : 324b527b21b24b88f7b9ca7c5556a93b55915009
extra : source : e897927f1ca89a175e4014264d3dea93353ec891
2016-04-18 16:01:53 -04:00
Botond Ballo 188c04fbd0 Bug 1266154 - Don't start a scroll snap animation if we're already at the destination. r=kats
MozReview-Commit-ID: EP7s414NQ4K

--HG--
extra : rebase_source : 3f57b46f1e23c69f1efd7039fada2b8c60cd7f4b
extra : amend_source : 580e1a95597e6c9fe56e3b655f52c7817e391df2
2016-04-18 20:05:17 -04:00
Kartikaya Gupta 07dc705da1 Bug 1265513 - Do a fuzzy match when checking to see if a scroll will result in overscroll. r=botond
MozReview-Commit-ID: 3fFZHXWMnWv
2016-04-20 15:36:13 -04:00
Kartikaya Gupta 5024e050fd Bug 1265806 - Update scrollbar finding code to deal with layer trees on both OS X and Windows properly. r=rbarker
MozReview-Commit-ID: GBC5Y9lLAoL
2016-04-20 14:44:18 -04:00
Benoit Girard 85ba14a3e5 Bug 1263249 - Bubble up unique failureId in GetFeatureStatus. r=mconley,milan
MozReview-Commit-ID: JveFLuIcbaN

--HG--
extra : rebase_source : 3f583b44c30495b237fd263e4818430443bf5513
2016-04-13 17:12:47 -04:00
Botond Ballo 9ccd2b5e76 Bug 1260018 - Route drag events to APZ, so it can accurately detect the end of a drag. r=kats 2016-04-18 14:24:28 -04:00
Jeff Muizelaar b376008551 Bug 1265960 - Remove gfxReusable* r=Bas
These aren't used anymore.
2016-04-20 11:39:15 -04:00
Jonathan Kew 97936698fe Bug 1265648 - Remove the global nsTextFrameTextRunCache, as it no longer serves any useful purpose. r=mats 2016-04-20 10:54:43 +01:00
Masayuki Nakano cbe8f5268a Bug 1259656 part.1 Rename WidgetEvent::refPoint to WidgetEvent::mRefPoint r=smaug
MozReview-Commit-ID: ESWM5ZyBpSR

--HG--
extra : rebase_source : c5e1e3f60bcdde2a7f6c399e72430b29a3e552cd
2016-04-18 23:09:02 +09:00
Daniel Holbert d2514c163c Backed out changeset d3aab3c4eb5f (Bug 1262265) for fatal GL-related assertion failures in debug reftest runs
MozReview-Commit-ID: BBmMY1dd1s7
2016-04-19 18:03:17 -07:00
Jeff Gilbert 642da66065 Bug 1262265 - Cleanup GLContext symbol init. - r=jrmuizel 2016-04-19 16:19:31 -07:00
Kartikaya Gupta 726b05f89b Bug 1231396 - Add a pref to record and print out the number of pixels painted. r=mstange
MozReview-Commit-ID: 2qqnL6rqjcL
2016-04-19 17:07:57 -04:00
Jonathan Kew cb1c20b3c3 Bug 1265459 - Replace uses of nsAutoPtr<gfxTextRun> with UniquePtr, and let MakeTextRun and similar methods return a UniquePtr. r=jrmuizel 2016-04-19 17:13:28 +01:00
Jonathan Kew 4b13ebfd2f Bug 1265452 followup - Make mGlyphExtentsArray an array of UniquePtr. r=jrmuizel 2016-04-19 17:13:28 +01:00
Jonathan Kew 28a9e2cf14 Bug 1265452 - Remove use of nsAutoPtr from gfx/thebes. r=jrmuizel 2016-04-15 20:45:37 +01:00
Markus Stange 0466d2c67d Bug 1265568 - Don't require component alpha layers for text with -moz-osx-font-smoothing:grayscale. r=jfkthame,mattwoodrow
MozReview-Commit-ID: KujmkbgadPo

--HG--
extra : rebase_source : df1db96206175e846652f3d5b247978fb5005bd2
2016-04-18 19:41:50 -04:00
Sotaro Ikeda 3b81e9dd7d Bug 1262278 - Rename PlanarYCbCrImage::SetData and PlanarYCbCrImage::SetDataNoCopy r=nical 2016-04-18 20:12:41 -07:00
Matt Woodrow bd4c2f5dc7 Bug 1263480 - Don't let cairo go into an error state when DrawSurface is called with an empty destination rectangle. r=lsalzman 2016-04-19 11:20:33 +12:00
Kartikaya Gupta 322ec2cbd4 Bug 1255823 - Add a two-step destruction process to PAPZ. r=dvander
MozReview-Commit-ID: FuiwoIAZUKj
2016-04-18 17:25:25 -04:00
Kartikaya Gupta fa9887a493 Bug 1265424 - Ensure that HasReceivedAllContentNotifications doesn't start returning true if the target APZC was confirmed by timeout. r=botond
MozReview-Commit-ID: FrWn0rw4Qtq
2016-04-18 16:04:30 -04:00
Kartikaya Gupta 38176020f4 Bug 1265424 - Record if the target was confirmed via a timeout or not. r=botond
MozReview-Commit-ID: BMiJsKlh2HB
2016-04-18 16:04:25 -04:00
Markus Stange 40e0b92cb8 Bug 1236043 - Use TiledRegion for the invalid region of a layer. r=jrmuizel
MozReview-Commit-ID: BNUyUPbrnU1

--HG--
extra : rebase_source : 80342a281d6fd30ba8d12b77b3af4aec60376294
2016-04-18 13:49:14 -04:00
Markus Stange 733dca9123 Bug 1236043 - Add a TiledRegion class. r=jrmuizel
MozReview-Commit-ID: Fb0kBGo3yYo

--HG--
extra : rebase_source : 540035c7ac0598c55c433b25042997feb7da967b
2016-04-18 13:48:58 -04:00
Markus Stange aa4de9b2d6 Bug 1236043 - Don't inflate empty rects. r=jrmuizel
MozReview-Commit-ID: 1cpQhkugsFJ

--HG--
extra : rebase_source : 037d3727d1ce03e6389b98b3a19f5b1c8536bba7
2016-03-29 13:40:07 -04:00
Wes Kocher 1740fab4fd Backed out changeset 6d973d2f1bae (bug 1255823) for leaks on at least Linux 64 tests CLOSED TREE
MozReview-Commit-ID: 4PsUF6wIJ7y
2016-04-18 10:39:33 -07:00
Kartikaya Gupta 6897e7e090 Bug 1248078 - Remove the dedicated scroll acknowledgement message. r=botond
MozReview-Commit-ID: 6QGFiZ8QGl7
2016-04-18 12:31:54 -04:00
Kartikaya Gupta df9cc16f78 Bug 1255823 - Add a two-step destruction process to PAPZ. r=dvander
MozReview-Commit-ID: E6dyipItPSm
2016-04-18 10:15:00 -04:00
Masayuki Nakano 07b6f24132 Bug 1259657 Rename WidgetGUIEvent::widget to WidgetGUIEvent::mWidget r=smaug
MozReview-Commit-ID: 167PQWJDEHW

--HG--
extra : rebase_source : 6cd44095b9f33e03190972f043087786cbd772f2
2016-04-14 17:03:14 +09:00
Jean-Yves Avenard 9d61bb0d32 Bug 1262753: P7. Add debugging pref to enable/disable downmixer and resample. r=kinetik
Using the gfxprefs for the time being, in order to access the preferences outside of the main thread.

It will allow to easily test future cubeb changes to support change of sampling rate / multichannels.

MozReview-Commit-ID: 2Qvq4zAtzCL

--HG--
extra : rebase_source : 46e272ca46ceb35b8e97b62cd1d2be949ba054f2
2016-04-12 19:24:09 +10:00
Kartikaya Gupta ec856624f4 Bug 1237343 - Replace uses of mozilla::Vector with nsTArray. r=botond
MozReview-Commit-ID: BBLWj3GJ3dE

--HG--
extra : rebase_source : 2c52ac944da8c1e3c6d4bb768bc3a672f3e80918
2016-04-15 06:41:25 -04:00
Mike Conley 1cff2809c8 Bug 1264409 - Make last transaction ID available via nsIDOMWindowUtils, and pass transaction ID through MozAfterPaint. r=mattwoodrow,mrbkap
MozReview-Commit-ID: 7wCYif8F6ws

--HG--
extra : rebase_source : 5a87a558dbb7955c04842b6f8b71adb15ecd3370
2016-04-13 16:59:15 -04:00
Jonathan Kew f269e60c82 Bug 1119619 - Allow font-selection to fall back to an alternative face within the same family if the first-found face was not Regular, to handle cases where some styled faces have a reduced character set. r=m_kato 2016-04-14 21:02:12 +01:00
Milan Sreckovic 9f800c9f45 Bug 1262681 - Draw target also has to be valid for us to demand a snapshot. r=bas 2016-04-13 09:56:00 +02:00
Kartikaya Gupta 0b2d4ef75f Bug 1258851 - Update HitTestingTreeNode::IsScrollbarNode to include the scrollbar track layers. r=rbarker
MozReview-Commit-ID: CmyeeEPPYAq

--HG--
extra : rebase_source : f6b01531e45881409b6c4796a8b5ecff135217d4
2016-04-14 16:42:24 -04:00
Kartikaya Gupta 987d948e55 Bug 1258851 - Propagate the isScrollbarContainer layer flag to the compositor. r=mattwoodrow
MozReview-Commit-ID: F0U0mNTI9i

--HG--
extra : rebase_source : 43edddd678e7c6d77ddb016c8c2313f1f491a16c
2016-04-14 16:42:18 -04:00
Sotaro Ikeda 6da1034b03 Bug 1263053 - Enable tiling on BasicCompositor r=nical 2016-04-14 20:08:05 -07:00
Jeff Gilbert ef930cf580 Bug 1224199 - Destroy SharedSurfaces before ~GLContext(). - r=jrmuizel 2016-04-14 13:50:04 -07:00
Lee Salzman 4bda990954 Bug 1257717 - throw InvalidStateError when CreatePattern fails to snapshot source. r=jrmuizel 2016-04-14 16:20:12 -04:00
Nicolas Silva 2662119963 Bug 1258768 - Remove the remaining unsafe compositor casts. r=dvander 2016-04-14 12:38:42 +02:00
Nicolas Silva fbb16ba823 Bug 1258768 - Check compositor backends before casting. r=dvander 2016-04-14 12:38:38 +02:00
David Anderson ef94ddb6f5 Remove drawWidgetAsOnScreen. (bug 1264393, r=mattwoodrow, webidl r=khuey)
--HG--
extra : rebase_source : c885b1db5ede6caa8b1e141d6d76769bac82b16c
2016-04-13 19:24:42 -04:00
George Wright a1794aab28 Bug 1264062 - Don't bother checking which accelerated layer types are available if they're all disabled by pref r=milan 2016-04-13 17:17:36 -04:00
Lee Salzman c8c0ffc47d Bug 1264246 - verify that SkCanvas::getClipBounds succeeds before using result. r=mchang 2016-04-13 16:34:07 -04:00
Wes Kocher f3df247887 Backed out 2 changesets (bug 1261347) for test_browserElement_oop_getWebManifest.html ASAN failures
Backed out changeset 4b36ba619815 (bug 1261347)
Backed out changeset 685e89b31d6b (bug 1261347)

MozReview-Commit-ID: GTd1qTIR3ni
2016-04-13 10:55:08 -07:00
Kartikaya Gupta 6261aa39a0 Bug 1257641 - Add a test for APZ paint-skipping and event transformations after a skipped paint. r=botond
MozReview-Commit-ID: GdAT4VbZ71d
2016-04-13 10:21:14 -04:00