Nicholas Nethercote
ff02e25e13
Bug 1296993 (part 1) - Streamline nsIWidget::ReparentNativeWidget. r=mstange.
...
This patch does the following.
- Removes the return value, because none of the call sites check it.
- Puts an empty implementation into nsBaseWidget.
- Removes the empty implementations from several nsIWidget instances, because
they can use the nsBaseWidget one.
--HG--
extra : rebase_source : e98b7f9970a920c39e941bb531dfc098125913d1
2016-08-25 13:43:26 +10:00
Sebastian Hengst
0aa16b8142
Backed out changeset a8ff54e28b15 (bug 1088300) for unused variable error in SingleTiledContentClient.h. r=backout on a CLOSED TREE
2016-08-30 14:06:14 +02:00
Sebastian Hengst
db7d0332c4
Backed out changeset 1ec40ecc63f8 (bug 1088300)
2016-08-30 14:05:23 +02:00
Nicolas Silva
653aa96fb8
Bug 1088300 - Null-check TileClient::mAllocator. r=milan
2016-08-30 13:48:29 +02:00
Nicolas Silva
f96d58b170
Bug 1088300 - Remove mCompositableClient from TileClient, pass the compositable and layer by reference to remove the possibility of unexpectedly storing null pointers. r=milan
2016-08-30 13:48:20 +02:00
Nicolas Silva
27169d083f
Bug 1298378 - Pop clips from the corresponding target in gfxContext's style stack. r=Bas
2016-08-30 13:48:11 +02:00
Munro Mengjue Chiang
66b4d655fb
Bug 1272877 - Allow access to derived Image classes; r=sotaro
...
MozReview-Commit-ID: 3fXjwaDN5KV
--HG--
extra : rebase_source : 7da96726ab3f9664f3dc9efb9927e1cfc1337c40
2016-08-23 15:44:40 +08:00
Ethan Lin
d2db92ebce
Bug 1295742 - Add gfxCriticalNote for driver reset. r=jerry, r=dvander
2016-08-25 02:17:00 -04:00
Wes Kocher
a2e7bd60fc
Merge m-c to inbound, a=merge
2016-09-02 13:34:10 -07:00
Milan Sreckovic
525b93bdcd
Bug 1299606: Diagnostic, trivial patch. Our messages were not unique. r=me
2016-09-02 11:34:45 -04:00
Wes Kocher
08fbeaaf2e
Merge m-c to autoland, a=merge
2016-08-29 17:57:01 -07:00
Lee Salzman
7cd3c97c52
Bug 1298833 - disable gamma correction in SkFontHost_cairo to match cairo-ft. r=mchang
...
MozReview-Commit-ID: Ee70HBUJxou
2016-08-29 16:36:09 -04:00
Kartikaya Gupta
143fd0431f
Bug 1298084 - Manually tick the refresh driver to ensure the interrupted reflow happens when we want it to. r=tnikkel
...
MozReview-Commit-ID: 2q9hdZPjrPt
--HG--
extra : rebase_source : 0e3582d8495f28e28096457ab3cc5a53a6643b97
2016-08-29 16:22:57 -04:00
James Cheng
19a28705ea
Bug 1297315 - Fix Wmaybe-uninitialized warning and get rid of goto statement in GLContextProviderGLX.cpp and GfxTexturesReporter.cpp. r=jgilbert
...
MozReview-Commit-ID: AUjK7HhatX6
--HG--
extra : rebase_source : 3df07981fdd0f7cff9576cff8fecf955522294bf
2016-08-23 14:30:37 +08:00
Nathan Froyd
76bc75d243
Bug 1298171 - store result of BitmapProperties1 in a temporary to avoid warnings; r=jrmuizel
...
MozReview-Commit-ID: ANy1vKc5p07
--HG--
extra : rebase_source : d2b43299ec7244bc5bccb21c96f6604f50b083e8
2016-08-29 10:31:25 -04:00
Yuri Kazuna
3a366477e0
Bug 1291481 - Represent direction enum as uint8_t in LayersMessages.ipdlh; r=birtles
...
MozReview-Commit-ID: 9RcyYqsdsaB
2016-08-27 16:50:29 +09:00
George Wright
b04020febc
Bug 1293908 - Specify the LayersBackend to be used when creating Textures r=nical
2016-08-26 20:30:58 -04:00
Wes Kocher
cbdf3625fa
Merge m-c to inbound, a=merge
2016-08-26 16:32:56 -07:00
Wes Kocher
f09e8fef1a
Merge inbound to central, a=merge
2016-08-26 16:20:50 -07:00
Wes Kocher
493b1533ea
Backed out changeset e82fc4bb4cc4 (bug 1298324) for windows build bustage a=backout
...
CLOSED TREE
--HG--
extra : amend_source : b780f41c130ad5be13c451b4bcbc2b8cfd5570a1
2016-08-26 14:07:32 -07:00
Ryan Hunt
4656974491
Bug 1298324 - Change D3D11DeviceStatus to a union. r=dvander
...
MozReview-Commit-ID: LCy2NSch39X
2016-08-26 13:32:39 -07:00
Lee Salzman
33c485e430
Bug 1297178 - disable explicit subpixel AA when not permitted in DrawTargetCairo::FillGlyphs. r=jrmuizel
...
MozReview-Commit-ID: 7VG7837zyh0
2016-08-26 15:28:28 -04:00
Milan Sreckovic
5459132cb1
Bug 1296731: Add parameter to GetAlignedStride and check for overflow. r=bas
...
MozReview-Commit-ID: 5Ptm0bxwKdG
--HG--
extra : rebase_source : 535f2fa2447a1401b76acc0b82ce210b3c4d6dfc
2016-08-25 13:57:39 -04:00
Kartikaya Gupta
fc01e735ec
Bug 1298401
- Ensure that eNone scroll update types from the APZC don't prevent eUserAction scroll updates from getting sent. r=tnikkel
...
MozReview-Commit-ID: 7b9QN8knQUM
--HG--
extra : rebase_source : 1c5f4ec63d23b3c3f8bdf835c28c2915c8b42d02
2016-08-26 10:55:22 -04:00
Ryan VanderMeulen
628ab3deff
Merge m-c to inbound. a=merge
2016-08-26 09:39:29 -04:00
Ryan VanderMeulen
e1fdfb3b73
Merge inbound to m-c. a=merge
2016-08-26 09:37:03 -04:00
Nicolas Silva
ce8729cb81
Bug 1297986 - Don't assume w=1 when transforming 4d points. r=mattwoodrow
2016-08-26 14:31:29 +02:00
Sebastian Hengst
dd9d82e540
Backed out changeset 932c269da17b (bug 1008019)
2016-08-26 11:30:45 +02:00
Michelangelo De Simone
0b2d2c0e55
Bug 1120059 - Remove unnecessary MOZ_EXPLICIT_CONVERSION macros. r=jwalden
...
MozReview-Commit-ID: 7CX1VnBRDpk
--HG--
extra : rebase_source : 36be7e6c91d2767c5a610a2806f89efa69ff1c74
2016-07-13 15:07:52 -07:00
Ryan Hunt
2857345325
Bug 1298245 - Hook up creation of OOP APZ for main process. r=dvander
...
MozReview-Commit-ID: 2Ujw28K2COJ
2016-08-29 09:18:00 -04:00
Ryan Hunt
86f669cc48
Bug 1298324 - Change D3D11DeviceStatus to a union. r=dvander
...
MozReview-Commit-ID: LCy2NSch39X
2016-08-26 16:37:00 -04:00
Mats Palmgren
13d9155235
Bug 1298112 - Remove always-true null-check to fix compile warning. r=gwright
...
warning: reference cannot be bound to dereferenced null pointer in
well-defined C++ code; pointer may be assumed to always convert to
true [-Wundefined-bool-conversion]
--HG--
extra : rebase_source : 2de925356078f191b953cc8f6eec546686940c63
2016-08-25 11:27:00 -04:00
Ryan Hunt
a624f81f28
Bug 1298246 - Update documentation for APZ IPDL protocols. r=kats
...
MozReview-Commit-ID: 6IYNycFmu7z
--HG--
extra : rebase_source : 917aecd0b7dafc09db21c6993eb6eca0f01a8eba
2016-08-25 16:42:55 -07:00
Ryan Hunt
4cf9d87ff1
Bug 1298638 - Check if mAPZEventState is null. r=kats
...
MozReview-Commit-ID: E6fx5zVUzIU
2016-08-29 12:16:13 -04:00
Markus Stange
6b192b5a0c
Bug 1298206 - Make IntersectMaybeRects usable for Maybe<nsRect>. r=botond
...
MozReview-Commit-ID: 4OJQj206gI2
--HG--
extra : rebase_source : ce6d47968a655dd820cb7fecc26aa9394668b3f9
2016-08-24 17:40:58 -04:00
Lee Salzman
37f7205455
Bug 1298691 - silence debug warning in SkScalerContext_CairoFT::generateFontMetrics. r=mchang
...
MozReview-Commit-ID: KB6ihxdFfbG
2016-08-29 11:13:25 -04:00
Ethan Lin
c6d0866a58
Bug 1297031 - Force to use group in DrawTargetSkia::DrawSurface when colorType is kAlpha_8_SkColorType. r=lsalzman
...
MozReview-Commit-ID: 7It9JP4WLh5
2016-08-26 12:42:12 +08:00
Ryan Hunt
c638189eee
Bug 1297820 - Check if we have a nsIWidget before using NS_NATIVE_OPENGL_CONTEXT. r=jgilbert
...
MozReview-Commit-ID: 5qmYkOoPMSo
--HG--
extra : rebase_source : 71a71cca96c6a20244886a0a7579009683c9b709
2016-08-25 15:36:00 -04:00
Ryan Hunt
51dd4314b5
Bug 1297831 - Add a RequiresAcceleratedGLContextForCompositorOGL gfxVar for CompositorOGL. r=jgilbert
...
MozReview-Commit-ID: 9hZMvG8bPvd
--HG--
extra : rebase_source : 164282b35171865eecade7a4e17927daa16ae66a
2016-08-24 14:03:00 -04:00
Ryan Hunt
a855ce5afd
Bug 1297831 - Add an OffscreenFormat gfxVar for use in CompositorOGL. r=jgilbert
...
MozReview-Commit-ID: JLthlwaZg1Q
--HG--
extra : rebase_source : b7ef71ad34b8036f25209242e5fdb743b749d3a7
2016-08-24 14:02:00 -04:00
Randall Barker
e2ca496e35
Bug 1297850 - part 1, Remove dead code left behind after JPZ removal. r=jchen
2016-08-25 17:26:42 -07:00
Wes Kocher
309fb2cc5f
Merge m-c to inbound, a=merge
2016-08-25 17:14:17 -07:00
Wes Kocher
f78f2d693b
Merge inbound to central, a=merge
2016-08-25 16:59:00 -07:00
Jonathan Kew
8998b2ba96
Backed out changesets 4a7bb508cadf, e8917efd53e3, 2d87636d76b0 (bug 1008019) due to Android reftest orange.
2016-08-26 00:56:10 +01:00
Matt Woodrow
fe6480a237
Bug 1297578 - Part 2: Merge ShadowLayersManager into the CBP base. r=dvander
...
--HG--
extra : rebase_source : c6e702800d8dd365703457e410bcf5e3802c3d67
2016-08-26 09:10:53 +12:00
Matt Woodrow
6c881df244
Bug 1297578 - Part 1: Create a base CompositorBridgeParent class and avoid implementing things twice. r=nical
...
--HG--
extra : rebase_source : ea3e533b5a683db517bcf9a20683480206935708
2016-08-26 09:08:52 +12:00
David Anderson
dd8e9e011b
Fix dangling IPDL pointer in ClientContainerLayer. (bug 1297567, r=nical)
2016-08-25 10:45:16 -07:00
Ryan VanderMeulen
074ba60dd0
Merge m-c to autoland. a=merge CLOSED TREE
2016-08-25 09:01:10 -04:00
Ryan VanderMeulen
f0d5b6f0be
Bug 1297276 - Fix merge bustage. a=bustage
2016-08-25 08:40:42 -04:00
Ryan VanderMeulen
e5adfbffe6
Merge m-c to autoland. a=merge
...
--HG--
rename : accessible/tests/browser/browser_caching_attributes.js => accessible/tests/browser/e10s/browser_caching_attributes.js
rename : accessible/tests/browser/browser_caching_description.js => accessible/tests/browser/e10s/browser_caching_description.js
rename : accessible/tests/browser/browser_caching_name.js => accessible/tests/browser/e10s/browser_caching_name.js
rename : accessible/tests/browser/browser_caching_relations.js => accessible/tests/browser/e10s/browser_caching_relations.js
rename : accessible/tests/browser/browser_caching_states.js => accessible/tests/browser/e10s/browser_caching_states.js
rename : accessible/tests/browser/browser_caching_value.js => accessible/tests/browser/e10s/browser_caching_value.js
rename : accessible/tests/browser/browser_events_caretmove.js => accessible/tests/browser/e10s/browser_events_caretmove.js
rename : accessible/tests/browser/browser_events_hide.js => accessible/tests/browser/e10s/browser_events_hide.js
rename : accessible/tests/browser/browser_events_show.js => accessible/tests/browser/e10s/browser_events_show.js
rename : accessible/tests/browser/browser_events_statechange.js => accessible/tests/browser/e10s/browser_events_statechange.js
rename : accessible/tests/browser/browser_events_textchange.js => accessible/tests/browser/e10s/browser_events_textchange.js
rename : accessible/tests/browser/browser_treeupdate_ariadialog.js => accessible/tests/browser/e10s/browser_treeupdate_ariadialog.js
rename : accessible/tests/browser/browser_treeupdate_ariaowns.js => accessible/tests/browser/e10s/browser_treeupdate_ariaowns.js
rename : accessible/tests/browser/browser_treeupdate_canvas.js => accessible/tests/browser/e10s/browser_treeupdate_canvas.js
rename : accessible/tests/browser/browser_treeupdate_cssoverflow.js => accessible/tests/browser/e10s/browser_treeupdate_cssoverflow.js
rename : accessible/tests/browser/browser_treeupdate_doc.js => accessible/tests/browser/e10s/browser_treeupdate_doc.js
rename : accessible/tests/browser/browser_treeupdate_gencontent.js => accessible/tests/browser/e10s/browser_treeupdate_gencontent.js
rename : accessible/tests/browser/browser_treeupdate_hidden.js => accessible/tests/browser/e10s/browser_treeupdate_hidden.js
rename : accessible/tests/browser/browser_treeupdate_imagemap.js => accessible/tests/browser/e10s/browser_treeupdate_imagemap.js
rename : accessible/tests/browser/browser_treeupdate_list.js => accessible/tests/browser/e10s/browser_treeupdate_list.js
rename : accessible/tests/browser/browser_treeupdate_list_editabledoc.js => accessible/tests/browser/e10s/browser_treeupdate_list_editabledoc.js
rename : accessible/tests/browser/browser_treeupdate_listener.js => accessible/tests/browser/e10s/browser_treeupdate_listener.js
rename : accessible/tests/browser/browser_treeupdate_optgroup.js => accessible/tests/browser/e10s/browser_treeupdate_optgroup.js
rename : accessible/tests/browser/browser_treeupdate_removal.js => accessible/tests/browser/e10s/browser_treeupdate_removal.js
rename : accessible/tests/browser/browser_treeupdate_table.js => accessible/tests/browser/e10s/browser_treeupdate_table.js
rename : accessible/tests/browser/browser_treeupdate_textleaf.js => accessible/tests/browser/e10s/browser_treeupdate_textleaf.js
rename : accessible/tests/browser/browser_treeupdate_visibility.js => accessible/tests/browser/e10s/browser_treeupdate_visibility.js
rename : accessible/tests/browser/browser_treeupdate_whitespace.js => accessible/tests/browser/e10s/browser_treeupdate_whitespace.js
rename : accessible/tests/browser/doc_treeupdate_ariadialog.html => accessible/tests/browser/e10s/doc_treeupdate_ariadialog.html
rename : accessible/tests/browser/doc_treeupdate_ariaowns.html => accessible/tests/browser/e10s/doc_treeupdate_ariaowns.html
rename : accessible/tests/browser/doc_treeupdate_imagemap.html => accessible/tests/browser/e10s/doc_treeupdate_imagemap.html
rename : accessible/tests/browser/doc_treeupdate_removal.xhtml => accessible/tests/browser/e10s/doc_treeupdate_removal.xhtml
rename : accessible/tests/browser/doc_treeupdate_visibility.html => accessible/tests/browser/e10s/doc_treeupdate_visibility.html
rename : accessible/tests/browser/doc_treeupdate_whitespace.html => accessible/tests/browser/e10s/doc_treeupdate_whitespace.html
rename : accessible/tests/browser/events.js => accessible/tests/browser/e10s/events.js
rename : browser/components/extensions/test/browser/browser_ext_pageAction_context.js => browser/components/extensions/test/browser/browser_ext_pageAction_title.js
rename : browser/components/extensions/test/browser/browser_ext_pageAction_context.js => browser/components/extensions/test/browser/head_pageAction.js
rename : dom/events/test/pointerevents/pointerevent_element_haspointercapture.html => dom/events/test/pointerevents/pointerevent_element_haspointercapture-manual.html
rename : dom/events/test/pointerevents/test_pointerevent_element_haspointercapture.html => dom/events/test/pointerevents/test_pointerevent_element_haspointercapture-manual.html
rename : gfx/thebes/DeviceManagerD3D11.cpp => gfx/thebes/DeviceManagerDx.cpp
rename : gfx/thebes/DeviceManagerD3D11.h => gfx/thebes/DeviceManagerDx.h
rename : media/webrtc/trunk/tools/gyp/test/compiler-override/compiler.gyp => media/webrtc/trunk/tools/gyp/test/compiler-override/compiler-exe.gyp
rename : media/webrtc/trunk/tools/gyp/test/mac/app-bundle/TestApp/English.lproj/InfoPlist.strings => media/webrtc/trunk/tools/gyp/test/ios/app-bundle/TestApp/English.lproj/InfoPlist-error.strings
rename : media/webrtc/trunk/tools/gyp/test/mac/app-bundle/TestApp/English.lproj/InfoPlist.strings => media/webrtc/trunk/tools/gyp/test/mac/app-bundle/TestApp/English.lproj/InfoPlist-error.strings
rename : media/webrtc/trunk/tools/gyp/test/mac/gyptest-postbuild-static-library.gyp => media/webrtc/trunk/tools/gyp/test/mac/gyptest-postbuild-static-library.py
rename : media/webrtc/trunk/tools/gyp/test/rules/src/subdir4/asm-function.asm => media/webrtc/trunk/tools/gyp/test/rules/src/subdir4/asm-function.assem
rename : mfbt/unused.h => mfbt/Unused.h
rename : testing/web-platform/tests/pointerevents/pointerevent_element_haspointercapture.html => testing/web-platform/tests/pointerevents/pointerevent_element_haspointercapture-manual.html
extra : rebase_source : a3de7d91a61df9b14fe07a89f5b0184a067549cf
2016-08-25 08:14:36 -04:00
Ryan VanderMeulen
520acfd195
Merge inbound to m-c. a=merge
2016-08-25 08:10:52 -04:00
Sebastian Hengst
4468c2345f
Backed out changeset 21cd933e4c32 (bug 1289650) for crashing in e10s browser-chrome tests. r=backout on a CLOSED TREE
2016-08-24 23:17:37 +02:00
Sebastian Hengst
bf971ed4e5
Backed out changeset 9fa5ccaa8c6c (bug 1289650)
2016-08-24 23:15:49 +02:00
Sebastian Hengst
0def5edaa6
Backed out changeset 1c7162137f66 (bug 1289650)
2016-08-24 23:15:44 +02:00
Sebastian Hengst
eaf1c37d5c
Backed out changeset beb32bdb4d1c (bug 1289650)
2016-08-24 23:15:39 +02:00
Sebastian Hengst
c476223d98
Backed out changeset 4bc6e2713327 (bug 1289650)
2016-08-24 23:15:35 +02:00
Andrew Comminos
6fc5868042
Bug 1280653 - Read into the X11 event queue in GLContextGLX::MakeCurrent to queue DRI invalidation events. r=lsalzman
...
MozReview-Commit-ID: 5N076lUlCkl
--HG--
extra : rebase_source : c1aa9eb1ad2d5c5410d94d4028ee7f034194b4ad
2016-08-24 20:23:39 -04:00
Kartikaya Gupta
6b6c6bae4f
Bug 1297732 - Eliminate some redundancies in prefs files. r=rbarker
...
MozReview-Commit-ID: EaHtBt0Hgbd
--HG--
extra : rebase_source : 753c09f87f55af3a129b950ae77359717693bae9
2016-08-24 11:54:05 -04:00
Kartikaya Gupta
9f03d0a214
Bug 1297408 - Really prevent flings from happening in the touchevents tests. r=botond
...
MozReview-Commit-ID: GBEwqa4SZb3
--HG--
extra : rebase_source : 881fc4e891e86115f201a932395d08214f971a0f
2016-08-23 16:06:25 -04:00
Kartikaya Gupta
6c6c920c12
Bug 1297445 - Remove improper call to WidgetModifiersToDOMModifiers. r=botond
...
MozReview-Commit-ID: 6cB3s4aCmKQ
--HG--
extra : rebase_source : f32a4af4674c9e680330ddf261ca00997c5f6d2d
2016-08-23 13:02:10 -04:00
Andi-Bogdan Postelnicu
76c4dee42b
Bug 1296582 - ignore initialisation check for members in SurfaceDescriptorX11. r=jrmuizel
...
MozReview-Commit-ID: IrxMqvROHPH
--HG--
extra : rebase_source : 72cae16646be0e4b949724dd76925b6857b81e5b
2016-08-23 14:17:56 +03:00
Ryan Hunt
58795e939e
Bug 1289650 - Convert APZChild into a wrapper around GeckoContentController. r=kats
...
MozReview-Commit-ID: L7ZG7EWKWEo
2016-08-10 16:51:45 -07:00
Ryan Hunt
3f375eabe9
Bug 1289650 - Simplify RemoteContentController destruction. r=kats
...
MozReview-Commit-ID: 3E3kVvychou
2016-08-21 17:43:08 -07:00
Nathan Froyd
7c19467a4d
Bug 1297086 - remove unused variables in gfxWindowsPlatform.cpp; r=Bas
2016-08-25 17:55:41 -04:00
Ryan Hunt
431780afc4
Bug 1289650 - Ensure the APZEventState object is destroyed on the main thread. r=kats
...
MozReview-Commit-ID: Aeq5CA22VLr
2016-08-24 14:37:27 -07:00
Ryan Hunt
4ce3ba3d7e
Bug 1289650 - Convert APZChild into a wrapper around GeckoContentController. r=kats
...
MozReview-Commit-ID: L7ZG7EWKWEo
2016-08-10 16:51:45 -07:00
Ryan Hunt
8c20f43ae7
Bug 1289650 - Simplify RemoteContentController destruction. r=kats
...
MozReview-Commit-ID: 3E3kVvychou
2016-08-21 17:43:08 -07:00
Ryan Hunt
20ed2e2fd0
Bug 1289650 - Move PAPZ from PContent to PCompositorBridge. r=kats
...
MozReview-Commit-ID: GzU1iEVqSx6
2016-08-01 23:59:00 -07:00
Ryan Hunt
76cbe77abe
Bug 1289650 - Move PAPZ from PContent to PCompositorBridge. r=kats
...
MozReview-Commit-ID: GzU1iEVqSx6
2016-08-01 23:59:00 -07:00
Andrew Comminos
2c8e7beb35
Bug 1297537 - Avoid calling glXWaitGL in GLContextGLX::SwapBuffers. r=jgilbert
...
MozReview-Commit-ID: FUzbHFyKiMH
--HG--
extra : rebase_source : 71acb5af28740936ed4b3fb6b571e0e3cc153db4
2016-08-23 14:27:33 -04:00
Kartikaya Gupta
e83bee3590
Bug 1286179 - For APZ repaint requests that are triggered by main-thread updates, don't attempt to re-scroll the main thread. r=tnikkel
...
Avoiding these re-scrolls prevents APZ repaint requests from clobbering the
main-thread scroll position (which may have changed in the meantime) in some
cases. See https://bugzilla.mozilla.org/show_bug.cgi?id=1286179#c8 for an example
of a scenario where this re-scroll is problematic.
MozReview-Commit-ID: 7he2A2sygji
--HG--
extra : rebase_source : 9fea76c2497eb131fba0ff4a82018309be6e1ef0
2016-08-18 17:00:42 -04:00
Ryan Hunt
a0f7b541a2
Bug 1289650 - Use PAPZCTreeManager in content process instead of PAPZ. r=kats
...
MozReview-Commit-ID: LRhvZlNqli
2016-07-31 12:39:00 -07:00
Ryan Hunt
dee8eb0d3f
Bug 1289650 - Check the owning PID when creating PAPZCTreeManager, PLayerTransaction. r=kats,dvander
...
MozReview-Commit-ID: Kbti1O7qgtN
2016-08-16 13:59:13 -07:00
Andi-Bogdan Postelnicu
98408d9e45
Bug 1282408 - add ignore initialization check flag for mPseudoStackHack in ImageBridgeThread. r=ttromey
...
MozReview-Commit-ID: 2B0bPOi1Tde
2016-08-24 17:10:07 +03:00
Jinank Jain
f2776091ea
Bug 712936 - Convert users of PR_STATIC_ASSERT to C++11 static_assert(). r=Ms2ger
...
--HG--
extra : rebase_source : b3e4c3e7c81799f2b1f3ec62ba3ff3b5d3adba27
2016-08-23 11:24:54 -04:00
Kartikaya Gupta
c372a788a5
Bug 1292781 - Add a test. r=tnikkel
...
MozReview-Commit-ID: f0UvsKMwAL
2016-08-24 09:15:42 -04:00
Kartikaya Gupta
4600f9a2b5
Bug 1292781 - Send scroll-position-restore updates to APZ, but don't allow them to clobber user scrolls. r=tnikkel
...
Previously we weren't sending scroll position updates with origin nsGkAtoms::restore
over to the APZ at all, on the assumption that they should never clobber an APZ
scroll offset. However, there are scenarios where that is not true.
In particular, during a frame reconstruction, a layers update may be sent to the
compositor between the time a scrollframe has RestoreState() called on it, and
the time the scrollframe has ScrollToRestoredPosition() called on it. The layers
update that happens during this interval (correctly) sends a scroll position of
(0,0), and forces the APZ to scroll to that position. This is necessary to
prevent APZ from remaining at an invalid scroll offset while the frame is still
being rebuilt.
However, once ScrollToRestoredPosition() is called and the old scroll offset is
restored, that restored scroll position needs to get sent to the APZ in order to
have it properly restore to the original scroll position. In order to do this,
the main thread must flag the metrics with a scroll offset update. Since the user
may have scrolled concurrently in the compositor from the (0,0) position, we also
need to check for that case in the APZ code and avoid restoring the scroll
position. This is equivalent to the corresponding main-thread code in
ScrollToRestoredPosition().
MozReview-Commit-ID: LxRapVSrsJ3
2016-08-24 09:15:29 -04:00
Ryan VanderMeulen
69113163cf
Merge m-c to inbound. a=merge
2016-08-24 09:09:05 -04:00
Jonathan Kew
4c29384d07
Bug 1297365 - Remove legacy Hebrew presentation-form composition rules from gecko, and rely on harfbuzz internally applying these only to fonts that need them. r=jrmuizel
2016-08-24 11:44:26 +01:00
Ryan Hunt
c0b437cb14
Bug 1289650 - Use PAPZCTreeManager in content process instead of PAPZ. r=kats
...
MozReview-Commit-ID: LRhvZlNqli
2016-07-31 12:39:00 -07:00
Ryan Hunt
79fa9b6bdb
Bug 1289650 - Check the owning PID when creating PAPZCTreeManager, PLayerTransaction. r=kats,dvander
...
MozReview-Commit-ID: Kbti1O7qgtN
2016-08-16 13:59:13 -07:00
Ryan VanderMeulen
bb47ee1c15
Merge m-c to inbound. a=merge CLOSED TREE
2016-08-25 09:00:49 -04:00
Ryan VanderMeulen
2b4ac234e9
Merge m-c to inbound. a=merge
2016-08-25 08:27:17 -04:00
Nicholas Nethercote
c2306345d5
Bug 1297658 - Avoid unnecessary checking in memory reporters. r=erahm.
...
This patch removes checking of all the callback calls in memory reporter
CollectReport() functions, because it's not useful.
The patch also does some associated clean-up.
- Replaces some uses of nsIMemoryReporterCallback with the preferred
nsIHandleReportCallback typedef.
- Replaces aCallback/aCb/aClosure with aHandleRepor/aData for CollectReports()
parameter names, for consistency.
- Adds MOZ_MUST_USE/[must_use] in a few places in nsIMemoryReporter.idl.
- Uses the MOZ_COLLECT_REPORT macro in all suitable places.
Overall the patch reduces code size by ~300 lines and reduces the size of
libxul by about 37 KiB on my Linux64 builds.
--HG--
extra : rebase_source : e94323614bd10463a0c5134a7276238a7ca1cf23
2016-08-24 15:23:45 +10:00
Ryan VanderMeulen
d63783b351
Merge m-c to autoland. a=merge
2016-08-23 10:07:52 -04:00
Ryan VanderMeulen
82663d8710
Merge inbound to m-c. a=merge
2016-08-23 10:05:18 -04:00
Ryan VanderMeulen
3625d814ad
Merge autoland to m-c. a=merge
2016-08-23 10:01:31 -04:00
David Anderson
3f96d36cdd
Initialize a subset of XPCOM in the GPU process. (bug 1294350 part 3, r=froydnj)
2016-08-22 22:57:36 -07:00
David Anderson
c27faebe47
Add D3D9 support to the GPU process. (bug 1297182 part 2, r=mattwoodrow)
...
--HG--
extra : rebase_source : 95364a97c1f0a65eab60f34f64caa8f149e1dbce
2016-08-22 17:25:52 -07:00
David Anderson
2b23d07c29
Move the DeviceManagerD3D9 singleton out of gfxPlatform. (bug 1297182 part 1, r=mattwoodrow)
...
--HG--
extra : rebase_source : 2ddbac1ce59cad17b9074a85d7ab11862d9b805d
2016-08-22 17:23:38 -07:00
Wes Kocher
b38dbd1378
Backed out 2 changesets (bug 1279086) for causing painting issues a=backout
...
Backed out changeset b1c893387fdd (bug 1279086)
Backed out changeset 277c54118c8a (bug 1279086)
2016-08-22 16:00:34 -07:00
Jonathan Kew
7ff947a3e3
Bug 1269343 - Update harfbuzz to release 1.3.0 + additional recent fixes from upstream. r=jrmuizel
2016-08-22 08:26:48 +01:00
Jonathan Kew
318cce9a49
Bug 1280887
followup, replace UniquePtr<gfxTextRun> with RefPtr in test code (NPOTB). r=mats
2016-08-22 21:40:11 +01:00
Jonathan Kew
993ba1a742
Bug 1296742 - Initialize gfxGDIFont's metrics at construction time, like other platform font subclasses, and remove its no-longer-needed support for init-on-first-use pattern. r=jrmuizel
2016-08-22 21:39:19 +01:00
Jonathan Kew
ac04ca7f48
Bug 1296740 - Fix the parameter list for the gfxDWriteFontFamily implementation of ReadFaceNames. r=jrmuizel
2016-08-22 21:38:50 +01:00
George Wright
4010a63cb8
Bug 1296524 - Don't add Skia to the allowable canvas types unless USE_SKIA is defined r=mchang
2016-08-22 13:50:48 -04:00
Andrew Comminos
68b11e8613
Bug 1296911
- Use a separate X display on the GLX VSync thread. r=lsalzman
...
This reverts commit cce8e136869d313e999fdd0b98c88dfa3603c3de.
--HG--
extra : rebase_source : 4ef007395dc7eeae2287ef6ab119cadc3e896f20
2016-08-22 14:44:54 -04:00
Andi-Bogdan Postelnicu
d8d092b0c3
Bug 1296258 - prevent memory leak in ScaledFontBase::GetGlyphDesignMetrics. r=jrmuizel
...
MozReview-Commit-ID: J3iaMWeVAQ7
--HG--
extra : rebase_source : cdefcb9a1c774bb8fa8f543f7180469de9da952a
2016-08-18 14:46:12 +03:00
Boris Chiou
302c927139
Bug 1049975 - Part 5: Move timing related code into AnimationEffectReadOnly. r=birtles
...
Move the mTiming, mAnimation, and the implementaion of timing into
AnimationEffectReadOnly.
MozReview-Commit-ID: EZhlbphVvCo
--HG--
extra : rebase_source : 4aa4821304671a8dfc6feb047ab20b26ef2d6b11
2016-07-25 18:27:33 +08:00
Hiroyuki Ikezoe
2445bd484f
Bug 1279071 - Change GetOpacity to GetAnimationOpacity to return opacity value applied by animation. r=birtles,mstange
...
MozReview-Commit-ID: 6rMUlnppOeK
--HG--
extra : rebase_source : 94fa5d812764f8426d57ebc93bbcb4f286ffea26
2016-08-25 09:07:56 +09:00
Wes Kocher
50954c6f31
Merge m-c to autoland, a=merge
2016-08-25 17:15:05 -07:00
Milan Sreckovic
103353b61b
Bug 1088300: Diagnosting patch - MOZ_CRASH if we can't get an actor, instead of a nullptr crash. r=nical
...
MozReview-Commit-ID: GooHFBvbcTA
--HG--
extra : rebase_source : 876e397c18a8e622323918cd4af3626dfc8c4dfc
2016-08-24 12:59:28 -04:00
Nicolas Silva
39f5573d6f
Bug 1291190 - Don't crash when push/pop clips are not balanced correctly. r=Bas
2016-08-24 11:06:45 +02:00
Nicolas Silva
112a3d5168
Bug 1296613 - Warning fix in gfx::StoredPattern. r=Bas
2016-08-24 11:06:41 +02:00
Kan-Ru Chen
b6d880aca1
Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
...
The patch is generated from following command:
rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,
MozReview-Commit-ID: AtLcWApZfES
--HG--
rename : mfbt/unused.h => mfbt/Unused.h
2016-08-24 14:47:04 +08:00
Phil Ringnalda
62d1bf1089
Merge m-c to a CLOSED TREE m-i
2016-08-23 22:57:10 -07:00
Jim Chen
d1a77173ac
Bug 1294481 - Implement new frame available callbacks; r=snorp
...
Implement a new OnFrameAvailableListener callback system for
AndroidSurfaceTexture using native methods. Each AndroidSurfaceTexture
creates its own SurfaceTextureListener object and uses it to forward
OnFrameAvailableListener callbacks to the corresponding nsIRunnable.
2016-08-23 18:52:30 -04:00
Jim Chen
abb40676c0
Bug 1294481 - Rip out old Java code for AndroidSurfaceTexture; r=snorp
...
Rip out the old GeckoAppShell methods that implemented a
OnFrameAvailableListener callback system for AndroidSurfaceTexture.
2016-08-23 18:52:30 -04:00
Sotaro Ikeda
1ff245b181
Bug 1259571 - Reduce tearing with basic layers on Windows r=dvander
...
--HG--
rename : gfx/thebes/DeviceManagerD3D11.cpp => gfx/thebes/DeviceManagerDx.cpp
rename : gfx/thebes/DeviceManagerD3D11.h => gfx/thebes/DeviceManagerDx.h
2016-08-23 15:18:55 -07:00
kearwood
e5a5a99d23
Bug 1284357 - Part 2: Implement Navigator.activeVRDisplays,r=gw280
...
- WebVR 1.0 includes a new property added to Navigator,
activeVRDisplays
- Please apply the patchset in Bug 1250244 first.
MozReview-Commit-ID: 6wffkwvKllW
--HG--
extra : rebase_source : 79c960b206c14b8380786000fcbc2da52bc3bdab
2016-07-04 15:52:21 -07:00
Lee Salzman
5a843ae70c
Bug 1294337 - prefer default shader procs over special-cases in SkBitmapProcState. r=mchang
...
MozReview-Commit-ID: FlaGXKyYvDX
2016-08-23 13:37:44 -04:00
Lee Salzman
0519f8e461
Bug 1294337 - add DrawSurface fast path for DrawTargetSkia::FillRect. r=mchang
...
MozReview-Commit-ID: LSEvJKmKi2n
2016-08-23 13:36:45 -04:00
Ryan VanderMeulen
c4f7c145f3
Merge m-c to autoland. a=merge
2016-09-03 11:41:55 -04:00
Ryan Hunt
ba1fc57c65
Bug 1289251 - Allow GLContextProviderGLX to create a GLContext out of process. r=acomminos,jgilbert
...
MozReview-Commit-ID: 9AdBGkEzI1n
--HG--
extra : rebase_source : 419b2b50f2f1ede60dbda4d527b637e8c44ffc91
2016-08-29 17:14:20 -07:00
Iris Hsiao
4667ca7c1b
Backed out changeset 64a77898c426 (bug 1297924)
...
--HG--
rename : gfx/angle/src/image_util/copyimage.cpp => gfx/angle/src/libANGLE/renderer/copyimage.cpp
rename : gfx/angle/src/image_util/copyimage.h => gfx/angle/src/libANGLE/renderer/copyimage.h
rename : gfx/angle/src/image_util/copyimage.inl => gfx/angle/src/libANGLE/renderer/copyimage.inl
rename : gfx/angle/src/image_util/generatemip.inl => gfx/angle/src/libANGLE/renderer/d3d/generatemip.inl
rename : gfx/angle/src/image_util/loadimage.inl => gfx/angle/src/libANGLE/renderer/d3d/loadimage.inl
rename : gfx/angle/src/image_util/loadimage_etc.cpp => gfx/angle/src/libANGLE/renderer/d3d/loadimage_etc.cpp
rename : gfx/angle/src/tests/gl_tests/DXT1CompressedTextureTest.cpp => gfx/angle/src/tests/gl_tests/CompressedTextureTest.cpp
2016-09-07 16:44:36 +08:00
Morris Tseng
f9a213d946
Bug 1297924 - Update ANGLE to chromium/2845. r=jgilbert
...
MozReview-Commit-ID: 2H0PBFFgmDp
--HG--
rename : gfx/angle/src/libANGLE/renderer/copyimage.cpp => gfx/angle/src/image_util/copyimage.cpp
rename : gfx/angle/src/libANGLE/renderer/copyimage.h => gfx/angle/src/image_util/copyimage.h
rename : gfx/angle/src/libANGLE/renderer/copyimage.inl => gfx/angle/src/image_util/copyimage.inl
rename : gfx/angle/src/libANGLE/renderer/d3d/generatemip.inl => gfx/angle/src/image_util/generatemip.inl
rename : gfx/angle/src/libANGLE/renderer/d3d/loadimage.inl => gfx/angle/src/image_util/loadimage.inl
rename : gfx/angle/src/libANGLE/renderer/d3d/loadimage_etc.cpp => gfx/angle/src/image_util/loadimage_etc.cpp
rename : gfx/angle/src/tests/gl_tests/CompressedTextureTest.cpp => gfx/angle/src/tests/gl_tests/DXT1CompressedTextureTest.cpp
2016-09-07 14:09:08 +08:00
David Anderson
ce043dd8a4
Remove monitor-related boilerplate in ImageBridgeChild.cpp. (bug 1300050, r=mattwoodrow)
2016-09-06 20:17:53 -07:00
Randall Barker
8adc72b766
Bug 1297853 - White flash when creating a private browsing tab r=jchen,kats
2016-09-06 18:01:36 -07:00
Wes Kocher
f71c6f3bf9
Backed out changeset 4bc688969533 (bug 1300050) for build bustage a=backout CLOSED TREE
2016-09-06 17:18:00 -07:00
David Anderson
f4b2b617e0
Remove monitor-related boilerplate in ImageBridgeChild.cpp. (bug 1300050, r=mattwoodrow)
2016-09-06 16:37:01 -07:00
Ryan VanderMeulen
1130d9b73e
Backed out changeset 9b4c4fd433a9 (bug 1293908) for blowing up Linux64 tests.
2016-08-21 21:30:11 -04:00
George Wright
fefcfec2ff
Bug 1293908 - Specify the LayersBackend to be used when creating Textures r=nical
2016-08-21 17:44:25 -04:00
Jeff Muizelaar
8987909d57
Bug 1292628. Make sure our surface is good before locking it. r=mstange
...
This should fix a crash in ssse3_fetch_bilinear_cover.
2016-08-21 12:27:07 +02:00
David Anderson
f0ab54253c
Add feature level to D3D11DeviceStatus. (bug 1294988 part 6, r=mattwoodrow)
2016-08-20 20:59:11 -07:00
David Anderson
2e46480cbf
Communicate GPU process device information across processes. (bug 1294988 part 5, r=mattwoodrow)
2016-08-20 20:59:11 -07:00
David Anderson
396d5d1191
Refactor cross-process acceleration controls. (bug 1294988 part 4, r=mattwoodrow)
2016-08-20 20:59:11 -07:00
David Anderson
7df82d4b70
Enable Direct3D 11 in the GPU process. (bug 1294988 part 3, r=mattwoodrow)
2016-08-20 20:59:10 -07:00
David Anderson
e30ff6d169
Split device initialization into separate per-process steps. (bug 1294988 part 2, r=mattwoodrow)
2016-08-20 20:59:10 -07:00
David Anderson
febbb3a624
Factor out d3d11.dll handling. (bug 1294988 part 1, r=mattwoodrow)
2016-08-20 20:59:10 -07:00
David Anderson
7a8adea3b0
Rename DeviceManagerD3D11 helpers. (bug 1294988 part 0, r=mattwoodrow)
2016-08-20 20:59:09 -07:00
David Anderson
567a7e0d65
Fix DirectX shutdown ordering issues. (bug 1296749, r=mattwoodrow)
2016-08-20 18:25:03 -07:00
Sebastian Hengst
f1445a15e2
Backed out changeset 1ba19d1f07da (bug 1292628) for failing to create surface in reftests on Windows 7 VM. r=backout
2016-08-20 12:31:00 +02:00
Wes Kocher
431cc3777c
Merge m-c to inbound a=merge
2016-08-19 18:39:52 -07:00
Wes Kocher
bb22cc4067
Merge inbound to central, a=merge
2016-08-19 18:16:20 -07:00
Jeff Muizelaar
5df785429a
Bug 1292628. Make sure our surface is good before locking it. r=mstange
...
This should fix a crash in ssse3_fetch_bilinear_cover.
2016-08-19 19:03:25 -04:00
Bill McCloskey
3a7ee5574b
Bug 1279086 - Allow painting for tab switch when JS is running (r=dvander,mconley,mrbkap)
2016-08-19 14:41:26 -07:00
Jim Chen
3bd8918fcf
Bug 1294479 - Remove ANativeWindow methods from AndroidBridge; r=snorp
...
The ANativeWindow methods in AndroidBridge are just wrappers around
ANativeWindow calls in the NDK. We should just use those calls instead
of going through the wrappers.
2016-08-19 17:17:24 -04:00
Jim Chen
39e01a1284
Bug 1294479 - Remove presentation methods from nsWindow/AndroidBridge; r=snorp
...
Remove the presentation methods from nsWindow/AndroidBridge now that
they are not used. This also eliminates gGeckoViewWindow from nsWindow.
NS_PRESENTATION_WINDOW and NS_PRESENTATION_SURFACE constants are added
for GetNativeData/SetNativeData to provide replacements that support
multiple GeckoViews/nsWindows.
2016-08-19 17:17:24 -04:00
Randall Barker
6db3f09efd
Bug 1294998 - In Fennec only show overscroll effect for root content r=botond
2016-08-19 13:41:30 -07:00
Wes Kocher
3a31be9c17
Backed out 2 changesets (bug 1279086) for failures in browser_menu_item_01.js a=backout
...
Backed out changeset 00bb53b58e96 (bug 1279086)
Backed out changeset cff59fe2b933 (bug 1279086)
2016-08-19 12:31:55 -07:00
Bill McCloskey
3799faa926
Bug 1279086 - Allow painting for tab switch when JS is running (r=dvander,mconley,mrbkap)
2016-08-19 09:59:40 -07:00
Ryan VanderMeulen
ce55e7b71a
Merge m-c to inbound. a=merge
2016-08-19 09:59:49 -04:00
Ryan VanderMeulen
01c4e8cc1b
Merge inbound to m-c. a=merge
2016-08-19 09:52:53 -04:00
Sotaro Ikeda
5d8ae5cfad
Bug 1295927 - Disable libyuv SIMD scaling on 64bit win r=jrmuizel
2016-08-19 06:18:08 -07:00
Kartikaya Gupta
14a899b828
Bug 1217715 - Don't limit the system scroll override to the root content. r=botond,masayuki
...
MozReview-Commit-ID: EH94OR5rEsX
2016-08-19 06:52:25 -04:00
Nicolas Silva
0923b0fd39
Bug 1294351 - Avoid removing and re-applying the drawing states with PersistentBufferProviderBasic. r=Bas
2016-08-19 12:00:26 +02:00
Jonathan Kew
4196f4e014
Bug 1228799 - Part 2 - If AddFontMemResourceEx rejects a downloaded font that we tried to activate, check if its Microsoft cmap subtable is tagged as symbol-encoded, and if so fix it up and re-try the font activation. r=emk
2016-08-18 17:22:45 +01:00
Jonathan Kew
17a2101b23
Bug 1228799 - Part 1 - Move GetTableFromFontData to gfxFontUtils as a static function, and expose FindTableDirEntry helper method. r=emk
2016-08-19 13:57:05 +01:00
Mats Palmgren
ddef8b6119
Bug 1280887
- patch 4 - Remove (unused) class gfxTextRun::ClusterIterator. r=jfkthame
2016-08-19 13:14:45 +01:00
Jonathan Kew
95a82f84cc
Bug 1280887
- patch 2 - Make gfxTextRun refcounted, replace usage of UniquePtr<> with RefPtr<> for textruns, and make nsTextFrame hold a strong reference to its run(s). r=mats
2016-08-19 13:14:22 +01:00
Jeremy Chen
037578d1bd
Bug 1293210 - get cap height from GDI backend. r=jfkthame
...
MozReview-Commit-ID: 6EIgsJnzZz4
--HG--
extra : rebase_source : 6490db176730170b4bdbbdbcf5c8005829b1b27e
2016-08-18 17:43:54 +08:00
Jeremy Chen
5459f4df5a
Bug 1293210 - get cap height from FT2 backend. r=jfkthame
...
MozReview-Commit-ID: 7EnaxRYpwJU
--HG--
extra : rebase_source : 043d0f5601d261adb122c5ffe408daa07965fd4b
2016-08-18 17:43:54 +08:00
Jeremy Chen
16b102d35e
Bug 1293210 - get cap height from DirectWrite backend. r=jfkthame
...
MozReview-Commit-ID: KC45V4pZZU1
--HG--
extra : rebase_source : 8f4716d2ddb308f37450c400cdfdd5fdf018e6e9
2016-08-18 17:43:54 +08:00
Jeremy Chen
c0c0bf1903
Bug 1293210 - get cap height from platform APIs for non-sfnt fonts on Mac. r=jfkthame
...
MozReview-Commit-ID: IiHQQoIvQ3f
--HG--
extra : rebase_source : bc585b776f1712333fc841df66700771d6d2af87
2016-08-18 17:43:54 +08:00
Jeremy Chen
7fe92af520
Bug 1293210 - add cap height support to nsFontMetrics. r=jfkthame
...
MozReview-Commit-ID: 8EXWUtbuN3s
--HG--
extra : rebase_source : 120cc3476faae7d63f2e96f2973ea9e6d9a93c16
2016-08-18 17:43:54 +08:00
Nicholas Nethercote
cc993d1772
Bug 1293596 (part 4) - Tweak nsIWidget::Create. r=mstange.
...
They don't need to be NS_IMETHOD, but they should be MOZ_MUST_USE. Adding the
latter catches a few missing checks, which the patch adds.
The patch also gives PuppetWidget an InfallibleCreate() function, which makes
the infallibility of PuppetWidget creation clear.
2016-08-19 09:03:17 +10:00
Nicholas Nethercote
67af4817e9
Bug 1293596 (part 2) - Rework nsIWidget bounds getters. r=mstange.
...
This patch makes GetBounds(), GetScreenBounds() and GetClientBounds() more
obviously infallible, like existing functions such as GetNaturalBounds() and
GetClientSize(). This results in clearer behaviour in nsCocoaWindow.mm if
Objective C exceptions occur. Along the way, the patch removes some useless
failure checks for these functions.
The patch also removes the NS_IMETHOD from GetRestoredBounds and makes that
function MOZ_MUST_USE.
2016-08-19 09:03:04 +10:00
Wes Kocher
a58f8b89a0
Merge m-c to inbound, a=merge
2016-08-18 16:32:58 -07:00
Jeff Gilbert
6a596c0e80
Bug 1287653 - Spew VENDOR/RENDERER. - r=mtseng
...
MozReview-Commit-ID: AVeY7hyqmgV
2016-08-18 14:07:03 -07:00
Jeff Gilbert
ccacf66a5e
Bug 1287653 - Blacklist dx_interop2. - r=milan
...
MozReview-Commit-ID: GYyUIXYvcp1
2016-08-18 14:06:57 -07:00
Jeff Gilbert
0ded0eabcd
Bug 1287653 - Minor fixes in D3D11Checks. - r=mattwoodrow
...
MozReview-Commit-ID: l8VkUewdhA
2016-08-18 14:06:47 -07:00
Jeff Gilbert
ac277e5603
Bug 1287653 - Remove context sharing from WGL. - r=mtseng
...
MozReview-Commit-ID: 2CJovqWwAGB
2016-08-18 14:06:44 -07:00
Jeff Gilbert
4808331e32
Bug 1287653 - Cleanup GLContextProviderWGL. - r=mtseng
...
MozReview-Commit-ID: KTM77i36mN
2016-08-18 14:06:41 -07:00
Jeff Gilbert
32e52cc2e1
Bug 1287653 - AMD associates DXOpenDevice with the current GL context. - r=mtseng
...
MozReview-Commit-ID: 7Rv7HbOxLil
2016-08-18 14:06:38 -07:00
Jeff Gilbert
20ce5436dc
Bug 1287653 - Use std::string::c_str instead of &std::string[0] to get a c-string. - r=mtseng
...
MozReview-Commit-ID: AsBaqtyQ8Ca
2016-08-18 14:06:34 -07:00
Jeff Gilbert
cd95c17d9a
Bug 1287653 - Strip EOL whitespace from gfx/thebes/gfxWindowsPlatform.cpp.
...
MozReview-Commit-ID: BEi4lo83HAK
2016-08-18 14:06:31 -07:00
Jeff Gilbert
477cad8749
Bug 1285692 - Remove unnecessary KeyedMutex usage with DX_interop. - r=jrmuizel
...
While we've been doing AcquireSync()+LockObject() previously, this doesn't
seem to be required. It makes sense that LockObject would AcquireSync (or
in-driver equivalent) when given a KeyedMutex'd D3D11Texture, given the
wording of the spec that (Un)LockObject synchronizes GL with D3D.
Unfortunately, the extension spec doesn't explicitly state this.
MozReview-Commit-ID: 3FgNl1npO34
2016-08-18 14:06:28 -07:00
Jeff Gilbert
ea2b2ee099
Bug 1285692 - Acquire surface to allow FB completeness. - r=jrmuizel
...
MozReview-Commit-ID: H9IidhUqqw9
2016-08-18 14:06:26 -07:00
Jeff Gilbert
2f6562f729
Bug 1285692 - Add IsProducerAcquired(). - r=mtseng
...
MozReview-Commit-ID: 81Y5DAXtgeo
2016-08-18 14:06:23 -07:00
Randall Barker
a9be905342
Bug 1294857 - Compositor uses page's background color to clear in Fennec r=kats
2016-08-18 14:03:26 -07:00
Wes Kocher
66098b3d43
Merge m-c to autoland, a=merge
2016-08-17 17:25:57 -07:00
Wes Kocher
b7ea1393f2
Backed out 3 changesets (bug 1286476) for frequent windows wpt failures in phases-and-states.html CLOSED TREE
...
Backed out changeset 53bbfa02d45d (bug 1286476)
Backed out changeset 3947ab570883 (bug 1286476)
Backed out changeset ffd8c37eb695 (bug 1286476)
2016-08-17 10:41:46 -07:00
Ryan Hunt
ababbe26a1
Bug 1296021 - Forward DeallocateLayerTreeId to GPU process if there is one. r=dvander
...
MozReview-Commit-ID: 12JtwGqLyy4
--HG--
extra : rebase_source : d4382aed4c0ce85ae1aa263cf978690d04cfb5dd
2016-08-17 09:11:00 -07:00
Edwin Flores
d4e78a4c4f
Bug 1293560 - Fix debug output in ScaledFontWin::GetFontFileData - r=jfkthame
2016-08-17 09:26:11 +01:00
Edwin Flores
4650e9bcec
Bug 1292402 - Zero uninitialised padding in FilterNodeSoftware.cpp - r=mstange
2016-08-17 09:26:11 +01:00
Chris Peterson
4e032df4b1
Bug 1295083 - Replace PR_snprintf and s[n]printf calls with SprintfLiteral in gfx/. r=Bas
2016-08-16 15:41:12 -07:00
Benoit Girard
61b954044b
Bug 1287182 - Don't clobber the angle platform failureId. r=jrmuizel
...
MozReview-Commit-ID: Dj0PNznZ7BS
2016-08-03 17:28:26 -04:00
Benoit Girard
ef65c57e34
Bug 1296381 - Remove FEATURE_FAILURE_D3D11_VR_BUFFER which was not removed. r=me
...
MozReview-Commit-ID: EdtB0o3XD8y
2016-08-18 14:36:56 -04:00
Lee Salzman
1c19e4af27
Bug 1296301 - use getClipDeviceBounds instead of getClipBounds in DrawTargetSkia. r=jrmuizel
...
MozReview-Commit-ID: BEIAGS0hLzB
2016-08-18 11:25:38 -04:00
John Paul Adrian Glaubitz
c6b39f0f90
Bug 972945 - Add autoconf test to enable AltiVec on supported targets only. r=glandium
...
Currently, the build scripts enable AltiVec unconditionally on all ppc*
targets. However, there some ppc* targets which do not support AltiVec
instruction set extensions, these are often embedded systems like the
PowerPC e500 or similar which have their own type of instruction set
extensions like SPE. Trying to enable Altivec support on these targets
results in a compiler error, hence we need to add an autoconf test for
AltiVec support before trying to enable it on ppc* targets.
Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
--HG--
extra : rebase_source : 6c4df813d97d95046fd2269c876313ce7591c5cf
2016-08-16 05:17:00 -04:00
David Anderson
47faa17e03
Don't initialize DirectX in the UI process, when the GPU process is enabled. (bug 1294986 part 2, r=mattwoodrow)
2016-08-16 11:03:29 -07:00
David Anderson
4198f82d06
Disable the GPU process when not using Electrolysis. (bug 1294986 part 1, r=mattwoodrow)
2016-08-16 11:00:01 -07:00
Wes Kocher
c84ec3b3f3
Merge m-c to inbound, a=merge
2016-08-16 22:06:58 -07:00
Jonathan Chan
4b87f11bd9
Bug 1293739 - Part 1: Rename nsCSSProperty to nsCSSPropertyID. r=dholbert
...
This patch is generated by the following commands (note: if you're running
using OS X's sed, which accepts slightly different flags, you'll have to
specify an actual backup suffix in -i, or use gsed from Homebrew):
hg stat -c \
| cut -c 3- \
| tr '\n' '\0' \
| xargs -0 -P 8 gsed --follow-symlinks 's/\bnsCSSProperty\b/nsCSSPropertyID/g' -i''
Then:
hg mv layout/style/nsCSSProperty.h layout/style/nsCSSPropertyID.h
... and finally, manually renaming nsCSSProperty in the include guard in
nsCSSProperty.h.
MozReview-Commit-ID: ZV6jyvmLfA
--HG--
rename : layout/style/nsCSSProperty.h => layout/style/nsCSSPropertyID.h
2016-08-16 18:37:48 -07:00
Gregory Szorc
1794619188
Backed out changesets dcdb85fc5517, 702bca0deee2, 9cKX8gC1ATA (bug 1293739) for build bustage; a=bustage
...
The merge from inbound to central conflicted with the merge from
autoland to central, it appears. Per tree rules, the commit from the
autoland repo wins and the inbound commit gets backed out.
CLOSED TREE
--HG--
extra : amend_source : 927e1cdfa8e55ccbd873d404d905caf6871c8c4f
extra : histedit_source : 07095868c3f767258e1d7d2645193bf4811b13bb%2Ca49ae5a28bf6e67298b6208ee9254c25a2539712
2016-08-16 17:50:40 -07:00
Wes Kocher
48b8d407c8
Merge inbound to central, a=merge
...
a=release to get around the webidl hook for a comment-only change
--HG--
extra : amend_source : f7e57101e1a25d3cf3536a256898ec2a21c54b38
2016-08-16 17:05:30 -07:00
Mason Chang
6478db3b8a
Bug 1294121 - Backed out changeset 635d266614ad for windows build failures. r=me. CLOSED TREE
2016-08-16 09:17:25 -07:00
Mason Chang
423fb81bd4
Bug 1294121 - Develop a continuous paint mode for Firefox. r=mattwoodrow
2016-08-16 08:46:13 -07:00
Nicolas Silva
7eadba0012
Bug 1294969 - Path flattening should not skip the first inflection point if it is at t=0.0. r=Bas
2016-08-16 15:42:57 +02:00
Alexandre Lissy
f9e595bea3
Bug 1295274 - Fix gfxVars namespace r=nical
...
MozReview-Commit-ID: HcWxi7rDm8b
2016-08-16 13:07:24 +02:00
Mason Chang
e7ead846af
Backed out changeset aaaab9a073a4 for build failures. r=me
2016-08-15 20:38:40 -07:00
Mason Chang
8c9fb35901
Bug 1294121 - Develop a continuous paint mode for Firefox. r=mattwoodrow
2016-08-15 19:59:26 -07:00
Seth Fowler
69a8ca2b79
Bug 1293449 (Followup) - Remove unnecessary SurfaceCache.h #include from gfxWindowsPlatform. r=me
2016-08-15 19:38:43 -07:00
Sotaro Ikeda
64b45af818
Bug 1254010 - Scaling during RGB -> YUV conversion with BasicCompositor if possible. basic_compositor_video improved on windows. r=jrmuizel
2016-08-15 18:54:17 -07:00
Jonathan Chan
9c62a2c11c
Bug 1293739 - Part 1: Rename nsCSSProperty to nsCSSPropertyID. r=dholbert
...
This patch is generated by the following commands (note: if you're running
using OS X's sed, which accepts slightly different flags, you'll have to
specify an actual backup suffix in -i, or use gsed from Homebrew):
hg stat -c \
| cut -c 3- \
| tr '\n' '\0' \
| xargs -0 -P 8 gsed --follow-symlinks 's/\bnsCSSProperty\b/nsCSSPropertyID/g' -i''
Then:
hg mv layout/style/nsCSSProperty.h layout/style/nsCSSPropertyID.h
... and finally, manually renaming nsCSSProperty in the include guard in
nsCSSProperty.h.
MozReview-Commit-ID: ZV6jyvmLfA
--HG--
rename : layout/style/nsCSSProperty.h => layout/style/nsCSSPropertyID.h
2016-08-09 16:28:19 -07:00
Wes Kocher
2253eb9510
Merge m-c to inbound, a=merge
2016-08-15 14:53:49 -07:00
Wes Kocher
d602abb016
Merge inbound to central, a=merge
2016-08-15 14:20:38 -07:00
vincentliu
6b56ae4268
Bug 1286458 - Check SkScalarIsFinite for SkVector::DotProduct(). r=lsalzman
...
---
gfx/skia/skia/src/core/SkGeometry.cpp | 3 +++
1 file changed, 3 insertions(+)
2016-08-15 16:00:31 +08:00
Igor
175543fda8
Bug 1293384 - Part 2: Rename Snprintf.h header to Sprintf.h. r=froydnj
2016-08-14 23:43:21 -07:00
Igor
a57972337d
Bug 1293384 - Part 1: Rename snprintf_literal to SprintfLiteral. r=froydnj
2016-08-14 23:44:00 -07:00
Sebastian Hengst
d5866d2b77
Backed out changeset 9ba0dd5271fe (bug 1286653) for permafailing xpcshell test test_TelemetryEnvironment.js | test_checkEnvironment on Windows 8 x64 debug. r=backout
2016-08-13 10:58:06 +02:00
Ryan Hunt
aa229473b7
Bug 1294588 - Remove UseProgressivePaint from gfxPlatform and use gfxPrefs instead. r=dvander
...
MozReview-Commit-ID: 1A9bFY2HS2z
--HG--
extra : rebase_source : 3347b9920be525f24c8d627260947b136ac36930
2016-08-11 14:21:17 -07:00
Ryan Hunt
92206266e3
Bug 1294586 - Remove dependency on gfxPlatform from CreateDrawTargetFromData. r=dvander
...
MozReview-Commit-ID: A355fBJKWP6
--HG--
extra : rebase_source : 85ffd4b9d5f9708a1666bbc8e229ba576cc97680
2016-08-11 14:54:08 -07:00
Wes Kocher
4aec37ca6e
Merge m-c to autoland, a=merge
2016-08-12 16:30:03 -07:00
Bas Schouten
d6b8fc4152
Bug 943626 - Part 3: Implement GetGlyphMetrics API for ScaledFontBase with Cairo r=jrmuizel
2016-08-11 15:47:32 -04:00
Bas Schouten
e0031c0160
Bug 943626 - Part 2: Implement GetGlyphMetrics API for DirectWrite r=jrmuizel
2016-08-11 15:47:32 -04:00
Bas Schouten
3547be617f
Bug 943626 - Part 1: Add GetGlyphDesign/RasterizationMetric API to Moz2D r=jrmuizel
2016-08-11 15:47:32 -04:00
Jonathan Kew
c3be9496a6
Bug 1294448 followup - Cosmetic fixes to code style, no functional change. r=jrmuizel
2016-08-11 20:08:42 +01:00
Jonathan Kew
55b297ca39
Bug 1294448 - Fix handling of platform ID in gfxFontUtils::ReadNames, so that fallback to Windows-platform names on Mac works as intended. r=jrmuizel
2016-08-11 20:08:42 +01:00
Lee Salzman
1d7feaf99c
Bug 1294455 - disable slow debug validation in Skia. r=mchang
...
MozReview-Commit-ID: 2vbnbuJARh3
2016-08-11 11:34:44 -04:00
Mason Chang
1dba66163c
Bug 1293759. Memset RGBX surfaces with basic layers and a skia backend. r=lsalzman
2016-08-11 07:53:07 -07:00
Nicholas Nethercote
bab6d17ebf
Bug 1293117 (part 4) - Change many NS_IMETHODIMP occurrences to NS_IMETHOD. r=froydnj.
...
This patch makes the following changes on many in-class methods.
- NS_IMETHODIMP F() override; --> NS_IMETHOD F() override;
- NS_IMETHODIMP F() override {...} --> NS_IMETHOD F() override {...}
- NS_IMETHODIMP F() final; --> NS_IMETHOD F() final;
- NS_IMETHODIMP F() final {...} --> NS_IMETHOD F() final {...}
Using NS_IMETHOD is the preferred way of marking in-class virtual methods.
Although these transformations add an explicit |virtual|, they are safe --
there's an implicit |virtual| anyway because |override| and |final| only work
with virtual methods.
--HG--
extra : rebase_source : 386ee4e4ea2ecd8d5001efabc3ac87b4d6c0659f
2016-08-08 10:54:47 +10:00
eyim
f6feed92b7
Bug 1286653 - Re-run blacklist on DXGI adapter used for device creation r=BenWa,dvander
...
MozReview-Commit-ID: 9QV8QFu5WYR
--HG--
extra : rebase_source : d0da9409b2818a1ebce1469daecc3ca436bfa33e
2016-08-11 18:20:21 -04:00
Wes Kocher
88bc8189f9
Merge m-c to autoland, a=merge
2016-08-15 14:54:25 -07:00
Jan Beich
610c9bd786
Bug 1294923 - Unbreak --enable-system-cairo build after bug 943626. r=bas.schouten
...
MozReview-Commit-ID: LofFWlXUVzd
--HG--
extra : rebase_source : 8629100a9ff411491222e66adfbcddf2f7d797ed
2016-08-13 02:32:09 +00:00
Brian Birtles
eac25e3163
Bug 1286476 part 2 - Respect the playback rate when calculating phase boundaries; r=hiro
...
This implements the spec change in 21de090dac
The spec change refers to a binary 'animation direction' flag. Instead of that,
however, we just pass the playback rate along and use it inside
GetComputedTimingAt since this seems simpler.
Also, this patch moves the implementation of
KeyframeEffectReadOnly::GetComputedTiming from the header file into the .cpp
file. This is because with this change, GetComputedTiming needs to call
mAnimation->PlaybackRate() and so mozilla::dom::Animation needs to be a complete
type. However, simply including Animation.h doesn't work because of a cyclic
dependency between KeyframeEffect.h and Animation.h. We might be able to fix
this later but since yet-to-land bug 1049975 moves this code around a lot, I'd
rather not touch it too much just now.
MozReview-Commit-ID: 1h6XRh4xmfI
2016-08-17 08:28:41 +09:00
Randall Barker
fcda0a5859
Bug 1291373 - [geckoview] part 5, Remove Layer and all derived classes r=snorp
2016-08-16 14:33:43 -07:00
Randall Barker
9a3fae864f
Bug 1291373 - [geckoview] part 3, Remove MOZ_ANDROID_APZ r=botond,snorp
2016-08-16 14:33:43 -07:00
Mason Chang
e21abc7248
Bug 1294121 - Develop a continuous paint mode for Firefox. r=mattwoodrow
2016-08-16 08:46:13 -07:00
Daniel Holbert
3112c6ac39
Bug 1292390 followup: add newline character at the end of Polygon/BSPTree files added in this bug, per coding style guide. (whitespace-only, no review)
...
DONTBUILD because whitespace-only.
MozReview-Commit-ID: 8QOAtwJ8G9z
2016-08-16 11:01:06 -07:00
Frédéric Wang
a7fdab6ca8
Bug 1291217 - Update OTS to version 5.0.1. r=jfkthame
...
--HG--
extra : rebase_source : 85ea822044fbb0c2ffcec8a460d99e4b751dbff6
2016-08-02 06:32:00 -04:00
JerryShih
3f3f8a21ec
Bug 1292774 - Turn to use gfxCriticalNote for mismatched d3d11 device in CompositorD3D11::HandleError(). r=dvander
...
--HG--
extra : rebase_source : 5e7d7e39f03a3680833815ce099e8bb6938e7deb
2016-08-09 01:29:00 -04:00
Miko Mynttinen
12062ceb2f
Bug 1292390 - Add BSP tree implementation. r=jrmuizel, r=kip
...
MozReview-Commit-ID: BpGfAUS0MLj
--HG--
extra : transplant_source : %EB%EF%7D%5C%FA%B5h%CCj%C4A%F3%D7F%BB%F5%F9J%8D%D2
2016-08-10 14:30:29 -07:00
Miko Mynttinen
2123dc4b39
Bug 1292390 - Add Polygon data structure. r=jrmuizel, r=kip
...
MozReview-Commit-ID: HFgVFgLqB12
--HG--
extra : transplant_source : %5E-oo20%15%B3%D3%A3%AC%23%B9%19.%92%AE%2A%06%25
2016-08-09 11:24:18 -07:00
Joel Maher
c89f909079
backout 4e8a67e61102 (bug 1289829) for performance regression
...
MozReview-Commit-ID: HELRLZmHY7n
2016-08-15 11:54:43 -04:00
Jonathan Kew
76f40e7bdc
Bug 1280887
- patch 1 - Declare a bunch of gfxTextRun* variables as const pointers, for clarity. r=mats
2016-07-07 13:51:24 +01:00
Mason Chang
850f81d1c7
Bug 1292642 Default to skia if we have an invalid pref for a backend on OS X. r=milan
2016-08-10 17:36:25 -07:00
Wes Kocher
a742ff6791
Merge m-c to inbound, a=merge
2016-08-10 16:55:15 -07:00
Wes Kocher
fa1a1180c4
Merge autoland to central, a=merge
2016-08-10 16:29:26 -07:00
Carsten "Tomcat" Book
781af68024
Merge mozilla-central to autoland
2016-08-10 16:05:21 +02:00
Bob Owen
9e41d076ec
Bug 1288194 Part 2: Fix incorrectly recorded argument in DrawTargetRecording::PushLayer. r=bas
...
MozReview-Commit-ID: HdvCaPGDqvk
--HG--
extra : rebase_source : c1e938b2d8542eb5b8d4250162ccff11578317b6
2016-08-08 17:11:44 +01:00
Bob Owen
ac545a9a00
Bug 1288194 Part 1: Implement PathBuilderRecording::Arc correctly. r=bas
...
MozReview-Commit-ID: Iz7Io8IxHvR
--HG--
extra : rebase_source : 77600450c62b7154a0c56875906e7e015aaf7842
2016-08-08 17:11:38 +01:00
Nicholas Nethercote
e7f10a07fd
Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm.
...
This patch makes most Run() declarations in subclasses of nsIRunnable have the
same form: |NS_IMETHOD Run() override|.
As a result of these changes, I had to add |override| to a couple of other
functions to satisfy clang's -Winconsistent-missing-override warning.
--HG--
extra : rebase_source : 815d0018b0b13329bb5698c410f500dddcc3ee12
2016-08-08 12:18:10 +10:00
Nicholas Nethercote
9dc11c1da2
Bug 1293603 (part 1) - Add |override| to CollectReports() declarations missing it. r=erahm.
...
--HG--
extra : rebase_source : 7ae41d24bacf4de4ca6193ad52517343806dbb2d
2016-08-08 11:04:11 +10:00
George Wright
617f4761d4
Bug 1289525 - Shrink the TextureClientPool to maximum size after a short delay, and clear the pool after a longer delay r=jrmuizel
2016-08-09 16:03:47 -04:00
Nicolas Silva
569564c271
Bug 1291163 - Make sure TextureHosts are read-unlock'ed if Compositor::EndFrame is not called. r=sotaro
2016-08-09 18:19:01 +02:00
Benoit Girard
b1c543d280
Bug 1251615 - Add more safety checks for ComputeChange crash. r=mstange
...
MozReview-Commit-ID: 2zdycnmRA8u
2016-08-03 17:08:40 -04:00
Lee Salzman
a695c40d38
Bug 1294207 - detect if FreeType supports lcd filtering in SkFontHost_cairo. r=gw280
...
MozReview-Commit-ID: AZkcZG4PegJ
2016-08-10 18:23:34 -04:00
Carsten "Tomcat" Book
c4b39a49eb
Merge mozilla-central to mozilla-inbound
2016-08-09 15:47:44 +02:00
Carsten "Tomcat" Book
d9e0b4c565
merge mozilla-inbound to mozilla-central a=merge
2016-08-09 15:44:51 +02:00
Nicolas Silva
36eabd3917
Bug 1291296 - Make it possible to change a PersistentBufferProvider's Forwarder without crashing. r=ethlin
2016-08-09 14:42:15 +02:00
Matt Woodrow
27ae1b3c02
Bug 1292498 - Don't support D3D11 feature level 9_3 since it doesn't work with any of our use cases. r=Bas
2016-08-09 15:55:06 +12:00
Botond Ballo
ddff23b206
Bug 1290823 - Introduce a helper APZCCallbackHelper::GetPresContextForContent(). r=rbarker
...
And use it in APZCCallbackHelper::GetRootContentDocumentPresShellForContent().
MozReview-Commit-ID: 9Gm8kgbqlHm
--HG--
extra : rebase_source : 5390ee705f4bee567bfc72578c551ccf898ebfef
2016-08-08 15:19:24 -04:00
Nicolas Silva
34d30ff986
Bug 1293772 - Check that the TextureClient is not internally shut down in Lock, Unlock and BorrowDrawTarget. r=jnicol
2016-08-10 14:30:42 +02:00
Andrew Comminos
17217db998
Bug 594876 - Accelerate layers by default for nightlies on Linux. r=nical
...
MozReview-Commit-ID: FtGqib9SIFD
--HG--
extra : rebase_source : 84cd1054d4bdd47a7ce8b3c3ecc3047c169aa4f5
2016-06-24 17:56:26 -04:00
Andrew Comminos
2f39b03b30
Bug 594876 - Update test_acceleration.html to accomodate only taskcluster instances using layers acceleration. r=nical
...
MozReview-Commit-ID: 5ZVKSHn8POW
--HG--
extra : rebase_source : d7ca4951bc39f4b0d51298dcb745e81641d9aef7
2016-06-24 17:57:20 -04:00
Lee Salzman
ca87957544
Bug 1200684 - revise Skia row blits to preserve color when blended against itself. r=mchang
...
MozReview-Commit-ID: Enz05s8vGuI
2016-08-05 19:50:49 -04:00
Mason Chang
197188c032
Bug 1292378 - VerifyRGBXFormat has an incorrect width calculation. r=lsalzman
2016-08-05 10:26:33 -07:00
Carsten "Tomcat" Book
a826042a1d
Merge mozilla-central to mozilla-inbound
2016-08-05 12:03:44 +02:00
Carsten "Tomcat" Book
cf611bec79
merge mozilla-inboudn to mozilla-central a=merge
2016-08-05 12:01:14 +02:00