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

23778 Коммитов

Автор SHA1 Сообщение Дата
Bill McCloskey 0991523235 Bug 792652 - Stop generating code for toplevel-only methods in non-toplevel protocols (r=dvander)
Moves OnProcessingError, OnChannelError, OnChannelConnected so that they're
only generated for toplevel protocols. For some reason APZCTreeManagerChild
implemented OnProcessingError. I'm not sure what the intention was there so
I removed it.
2016-11-08 11:32:29 -08:00
Bill McCloskey 2dc5f495db Bug 792652 - Simplify IPDL type hierarchy (r=dvander)
Currently all our protocols inherit from IProtocolManager<IProtocol>. I have
no idea why. This patch switches everything over to IProtocol, without any
templates. I had to move ReadActor to the .cpp file to avoid redefinition
errors.
2016-11-08 11:32:24 -08:00
Phil Ringnalda 27a5b8d2ae Backed out changeset d537051ade6a (bug 1315510) for nsTArray_base leaks and a fondess for crashing
CLOSED TREE

MozReview-Commit-ID: KD3jAkCg0O7
2016-11-07 22:18:21 -08:00
Matt Woodrow 8ef69ac7f8 Bug 1315585 - Don't assume mLastCompositionEndTime has been initialized in NotifyNotUsedAfterComposition. r=dvander 2016-11-08 15:38:30 +13:00
Matt Woodrow 1d5209319c Bug 1315584 - Remove picture rect assertion in LayerTransactionParent since it can fail if the texture isn't available. r=dvander 2016-11-08 15:26:42 +13:00
Matt Woodrow 5b78e0fd3c Bug 1315583 - Release ActiveResourceTracker on the main thread. r=dvander 2016-11-08 15:24:36 +13:00
Matt Woodrow b2c5102506 Bug 1315582 - Try recreate ImageContainer IPDL object before creating Images. r=dvander 2016-11-08 15:24:13 +13:00
Matt Woodrow 7afb98ff2b Bug 1315510 - Automatically recreate VideoDecoderManager if the GPU process crashes. r=dvander 2016-11-08 15:21:35 +13:00
George Wright 51a59d1d02 Bug 1314426 - Add a method to nsIDOMWindowUtils to terminate the GPU process and get the GPU process pid r=smaug,dvander 2016-11-07 14:22:48 -05:00
Thinker K.F. Li 63533d005d Bug 1306107 - Stop calling ProjectTo2D() for leaf basic layers. r=mattwoodrow 2016-11-07 01:45:00 -05:00
David Anderson 718c1c97fe Don't attach shadowable layers if IPDL fails to construct an actor. (bug 1314349, r=mattwoodrow) 2016-11-06 18:50:15 -08:00
David Anderson 4558802c65 Remove bogus assertion in LayerTransactionChild::Destroy. (bug 1314408, r=mattwoodrow) 2016-11-06 18:49:03 -08:00
Sebastian Hengst 6300f967b0 Bug 1310297 - Remove test annotations using b2g, mulet or gonk: gfx. r=RyanVM
MozReview-Commit-ID: BpBHHDCEZfL

--HG--
extra : rebase_source : 41b2e53689e31541fe0edf42df9d38eb3a3d486f
2016-11-05 11:29:19 +01:00
Phil Ringnalda c1b863b390 Merge m-c to autoland 2016-11-04 19:05:33 -07:00
Wes Kocher db15df3e50 Merge m-c to inbound, a=merge CLOSED TREE 2016-11-04 15:19:49 -07:00
Ting-Yu Lin 904617e77f Bug 1310509 - Call NotifyAsyncPanZoomStarted/Stopped on document containing current scrolling content. r=kats
We now call NotifyAsyncPanZoomStarted/Stopped precisely on the document
which is being transformed, so we no longer need to notify the child
docshells which was added in Bug 1088559.

Remove the |nsIDocument| argument for ProcessAPZStateChange(), which is not
used anymore.

mActiveAPZTransforms added in bug 1142926 is removed because AccessibleCaret
is the only consumer for AsyncPanZoomStarted/Stopped, and it now defaults to
always show while scrolling, i.e.
"layout.accessiblecaret.always_show_when_scrolling" defaults to true. And I
cannot reproduce the bug even if I turn off the preference.

MozReview-Commit-ID: DiEk2gCIHn2
2016-11-04 22:27:02 +08:00
Sotaro Ikeda e00689f3bd Bug 1313518 - Revert Bug 1273823 if width is not aligned to 32 r=nical 2016-11-03 18:41:16 -07:00
Matt Woodrow a39fee1d93 Bug 1313883 - Allow using multiple decoder devices on non-AMD hardware since they seem to crash less that way. r=dvander 2016-11-04 13:28:28 +13:00
Matt Woodrow 6dad1a961a Bug 1300676 - Part 3 - Implement readback for GPU videos. r=dvander,nical 2016-11-04 13:28:28 +13:00
Matt Woodrow fa682784c8 Bug 1300676 - Part 2: Expose SurfaceDescriptor helpers. r=nical 2016-11-04 13:28:28 +13:00
Matt Woodrow 4f998dbe2b Bug 1300676 - Part 1: Allow asynchronous deletion of Shmem for VideoDecoderManagerChild. r=dvander 2016-11-04 13:28:28 +13:00
Daosheng Mu ebd920cbdb Bug 1313585 - Part 2: Removing the existing gamepads before scanning VR controllers; r=gw280
MozReview-Commit-ID: 24a4tRoYX8f

--HG--
extra : rebase_source : fa48d7214fb2b4d1a891b201dac7c178374ac91a
2016-10-28 16:00:12 +08:00
Kevin Wern 01b23685d7 Bug 1249710: fix unit mismatch calculating scroll range during async scrollbar drag r=botond
When calculating the max scroll position, the size of mCompositionBounds is
subtracted from the size of mScrollableRectangle. Unfortunately, the former is
in ParentLayer units and the latter is in CSS units. This causes the final
scroll position to become staggered relative to the mouse when user zoom is not
100%.

Use cssCompositionBounds, mCompositionBounds transformed to CSSRect, which
changes based on zoom. Additionally, refactor GetAxis* functions to return
typed units, where possible.

MozReview-Commit-ID: Ec9cOMP1cdT

--HG--
extra : rebase_source : 1af911a91fe4d13c8563d3c086ac688ec65d2f3c
2016-11-02 04:45:09 -04:00
Phil Ringnalda c9fdc270b6 Merge m-c to autoland
--HG--
rename : dom/media/webaudio/compiledtest/TestAudioEventTimeline.cpp => dom/media/webaudio/gtest/TestAudioEventTimeline.cpp
2016-11-03 20:02:24 -07:00
Milan Sreckovic 976fdb1420 Bug 1309913: Pass the compositor type to canvas on creation. r=dvander
MozReview-Commit-ID: 81HtvWPdLQa

--HG--
extra : rebase_source : a448447fcb573beb320b2b2a352b97f77a5bafe3
2016-11-03 10:57:33 -04:00
Matt Woodrow cc6c76aab2 Bug 1314194 - Make sure we don't recycle textures in the GPU process before they have finished being used. r=nical 2016-11-03 09:57:18 +13:00
Matt Woodrow 5375ddbb83 Bug 1300681 - Use gfxVars for DXVA blacklist prefs so that they work in the GPU process. r=dvander,gerald 2016-11-03 09:57:18 +13:00
Matt Woodrow 552d016944 Bug 1300678 - Use gfxPrefs for media vars that get accessed from the GPU process. r=jya 2016-11-03 09:57:18 +13:00
Matt Woodrow 3b4d158ee3 Bug 1314189 - Only create a RemoteVideoDecoder if the current LayerManager is using the GPU process. r=dvander 2016-11-03 09:57:15 +13:00
Matt Woodrow 426bc3ee3f Bug 1314187 - Implement GetYUVColorSpace for GPUVideoTextureHost. r=sotaro 2016-11-03 09:55:07 +13:00
Matt Woodrow f884ec26e9 Bug 1300675 - Rebuild VideoDecoderManager when we restart the GPU process. r=dvander 2016-11-03 09:55:07 +13:00
Matt Woodrow 9e56f22190 Bug 1314186 - Resync LayerTreeId mappings to the GPU process if it restarts. r=dvander 2016-11-03 09:55:07 +13:00
Frédéric Wang 5f755e9bc4 Bug 1305977 - Use HarfBuzz ot-math API to parse the OpenType MATH table. r=jfkthame 2016-11-02 11:47:18 -07:00
Wes Kocher c91def63e7 Backed out changeset 961a84574836 (bug 1305977) for multiscripts-1.html failures a=backout 2016-11-02 11:45:41 -07:00
Mason Chang 07291e5e0f Bug 1314338 - Disable OES_EGL_image extension on ATI drivers. r=jgilbert 2016-11-01 15:35:51 -07:00
Ethan Lin 7f216344d0 Bug 1308394 - Add crashtest. r=bas
--HG--
extra : rebase_source : 10d95bf541dcd60a9b11ac83be18237ef4df91ed
2016-10-27 00:05:00 +02:00
Ethan Lin 68f7c140b8 Bug 1308394 - In CopyGlyphsToBuilder, use PathBuilder's backend instead of DrawTarget's. r=bas
--HG--
extra : rebase_source : 27d283fe8fecf613bdc4cc7c0492a0d3e97a3253
2016-10-26 19:46:00 +02:00
Frédéric Wang 1c9167ba68 Bug 1305977 - Use HarfBuzz ot-math API to parse the OpenType MATH table. r=jfkthame
--HG--
extra : rebase_source : 743927b509e8e4b37334c46f32e4e69b3ba35091
2016-10-31 04:18:00 +01:00
Edwin Flores 12c57c38dd Bug 1309277 - Allow D3D9 without component alphaa - r=mattwoodrow 2016-11-02 10:55:07 +00:00
David Anderson ec7cac2aa1 Fix shutdown crash in VsyncBridgeChild when the GPU process is enabled. (bug 1314816, r=mattwoodrow) 2016-11-02 16:45:38 -07:00
Phil Ringnalda 237722bb70 Merge m-c to m-i
MozReview-Commit-ID: DiISqQHXtXe
2016-10-31 18:39:23 -07:00
David Anderson 223ed063da Fix UI process not properly waiting for the GPU process to finish launching. (bug 1314127, r=rhunt) 2016-10-31 16:03:41 -07:00
Kartikaya Gupta 1320e96e69 Bug 1313170 - Ensure that the touchend events in helper_bug1162771 are sent with the correct coordinates. r=dvander
The test in helper_bug1162771 dispatches a touchstart on an element, and then
inside the touchstart handler makes that element display:none. It then sends a
touchend at what should be the same position. However, since the position of the
touch is calculated from the position of the element, the touchend position can
be wrong because the element is set to display:none in between. This patch
saves the position before sending the touchstart, and makes sure to use the
same position for the touchend.

MozReview-Commit-ID: GoyQvNJ1wRZ

--HG--
extra : rebase_source : 10fbd5d306aa36b46196758d672fce72347ca638
2016-10-31 10:05:18 -04:00
Kartikaya Gupta cb026d2536 Bug 1313170 - Use the widget-level touch injection instead of the OS-level touch injection for some tests. r=dvander
When using the InjectTouchInput API on Windows, the API requires that the caller
keep providing input frames (by calling the API function) at least every 100ms.
If the caller fails to do so, Windows can return an ERROR_TIMEOUT and throw
away the touch sequence. In some tests, it is hard for us to make this guarantee,
because we need to wait for other events between the touchdown and touchup. For
these tests, we can use the widget-level touch injection code that we have as
a fallback for the OS-level touch injection code. The widget-level touch
injection is less representative of real-world usage but allows us to bypass
the timeout problem.

MozReview-Commit-ID: EoVUSZmERUw

--HG--
extra : rebase_source : 4f7ca1a1e6da4479d51526e8f132f5cb23fceb49
2016-10-31 10:05:15 -04:00
Sebastian Hengst fc603eada8 Backed out changeset 9b5b04d1a15a (bug 1313518) for failing gl tests test_conformance__textures__misc__texture-npot-video.html and test_2_conformance__textures__video__tex-2d-rgb-rgb-unsigned_byte.html, and dom/media/test/test_bug879717.html. r=backout 2016-10-31 10:18:56 +01:00
David Anderson ec2b48ff8b Send accumulated GPU process telemetry to the UI process. (bug 1304494 part 3, r=gfritzsche) 2016-10-30 22:35:57 -07:00
David Anderson ea1b39856a Ensure we start the Telemetry singleton in the GPU process. (bug 1304494 part 1, r=gfritzsche) 2016-10-30 22:35:56 -07:00
Sotaro Ikeda 13f68529db Bug 1313518- Handle width alignment of 32 r=nical 2016-10-30 19:40:35 -07:00
Phil Ringnalda 021e8e0cee Merge m-i to m-c, a=merge 2016-10-30 10:55:00 -07:00
Jonathan Watt 6f84af53e5 Bug 1280324, part 4 - Assert that PrintTarget::MakeDrawTarget is only called while a print page is being processed. r=edwin 2016-10-27 19:25:02 +01:00