Commit Graph

28039 Commits

Author SHA1 Message Date
Sebastian Hengst
8072106c67 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-10-23 23:55:17 +02:00
Sebastian Hengst
b550a1e851 Backed out changeset 45596e6d2e2f (bug 1409871) on request from rhunt for causing black context menus on Windows. r=backout
--HG--
extra : amend_source : 4258791f4f66808f5faa888b5f5cb4a20ce1ce38
2017-10-23 23:44:15 +02:00
Sebastian Hengst
6eaee8e36d Backed out changeset 0c763c30594d (bug 1409871) 2017-10-23 23:44:09 +02:00
Sebastian Hengst
66bc17f938 Backed out changeset a9f8832adcb4 (bug 1409871) 2017-10-23 23:44:04 +02:00
Sebastian Hengst
1bf364d760 Backed out changeset 940f2c9adec7 (bug 1409871) 2017-10-23 23:43:58 +02:00
Sebastian Hengst
7e404cb4ff Backed out changeset 92d59687d486 (bug 1409871) 2017-10-23 23:43:52 +02:00
Sebastian Hengst
5c130ea67a Backed out changeset d3d5d723a5df (bug 1409871) 2017-10-23 23:43:47 +02:00
Sebastian Hengst
9b3127da10 Backed out changeset 9392889a01d0 (bug 1409871) 2017-10-23 23:43:41 +02:00
Sebastian Hengst
2c1fe21aa6 Backed out changeset d57058c8c12e (bug 1409871) 2017-10-23 23:43:36 +02:00
Sebastian Hengst
2aaf1b71ad Backed out changeset cce97a15c945 (bug 1409871) 2017-10-23 23:43:30 +02:00
Sebastian Hengst
b4aa3847a7 Backed out changeset 0c1485b37ae9 (bug 1409871) 2017-10-23 23:43:24 +02:00
Sebastian Hengst
774b6c4844 Backed out changeset ad4b3448dc2e (bug 1409871) 2017-10-23 23:43:19 +02:00
Sebastian Hengst
7c964d3c5d Backed out changeset 7b7bcdf87539 (bug 1409871) 2017-10-23 23:43:13 +02:00
Sebastian Hengst
192e66cd22 Backed out changeset 2d9d7435eb63 (bug 1409871) 2017-10-23 23:43:07 +02:00
Sebastian Hengst
5609b36c6c Backed out changeset c57db572271d (bug 1409871) 2017-10-23 23:43:02 +02:00
Sebastian Hengst
12e38cbd80 Backed out changeset 482309a25d13 (bug 1409871) 2017-10-23 23:42:56 +02:00
Sebastian Hengst
4922cbc9ec Backed out changeset 7e2fc94f5be9 (bug 1409871) 2017-10-23 23:42:51 +02:00
Sebastian Hengst
5e15045655 Backed out changeset 466f20f34a13 (bug 1409871) 2017-10-23 23:42:45 +02:00
Sebastian Hengst
86786de5cd Backed out changeset 352a6f520d27 (bug 1409871) 2017-10-23 23:42:39 +02:00
Sebastian Hengst
dcab5a94a3 Backed out changeset 56fe4c3c3b04 (bug 1409871) 2017-10-23 23:42:34 +02:00
Sebastian Hengst
116479cd48 Backed out changeset a4e35be8cf4c (bug 1409871) 2017-10-23 23:42:28 +02:00
Sebastian Hengst
098b3d9efc Backed out changeset f68539cff202 (bug 1409871) 2017-10-23 23:42:22 +02:00
Sebastian Hengst
01a8d04d5d Backed out changeset cd5691720816 (bug 1409871) 2017-10-23 23:42:17 +02:00
Milan Sreckovic
825888a9ed Bug 1387799 - Keep an extra reference. r=jrmuizel 2017-10-23 16:22:47 -04:00
David Anderson
2d4ae3a1c5 Bug 1407032 - Reorder when GPUProcessHosts are destroyed. r=rhunt 2017-10-23 16:18:24 -04:00
Andrew Osmond
63505fc609 Bug 1399453 - Temporarily annotate crash reports with compositor thread owners. r=dvander
From the crashes associated with bug 1389021, we know that some
compositor thread IPDL owners are not being cleaned up properly. We do
not know which protocols are causing the problem, so we temporarily will
annotate the logs with the ownership status. This should be limited to
under a dozen instances of the protocols.

This change will be backed out after a few builds are produced with it
and we see the first crash reports with the relevant data.
2017-10-23 14:11:02 -04:00
Sebastian Hengst
f44d2aa184 Backed out changeset dc9d9c01080a (bug 1399453) for static bustage at layers/CompositorThread.h:68: bad implicit conversion constructor for 'CompositorThreadHolderDebug'. r=backout on a CLOSED TREE
--HG--
extra : amend_source : 653c00800bb4ed4800ed62fb9df5529ea9ecf48d
2017-10-23 18:26:14 +02:00
Andrew Osmond
d4a18daeed Bug 1399453 - Temporarily annotate crash reports with compositor thread owners. r=dvander
From the crashes associated with bug 1389021, we know that some
compositor thread IPDL owners are not being cleaned up properly. We do
not know which protocols are causing the problem, so we temporarily will
annotate the logs with the ownership status. This should be limited to
under a dozen instances of the protocols.

This change will be backed out after a few builds are produced with it
and we see the first crash reports with the relevant data.
2017-10-23 11:31:02 -04:00
Ryan Hunt
061772f5fa Mark SourceRotatedBuffer methods as override to silence warnings (bug 1409871 part 22, r=nical)
MozReview-Commit-ID: 1xNF8sfXukg

--HG--
extra : rebase_source : 0f54ec0b15dcef474d06a44b38a91738f5643378
2017-10-20 16:32:39 -04:00
Ryan Hunt
7759c671b8 Add documentation for the new rotated buffer subclasses. (bug 1409871 part 21, r=nical)
MozReview-Commit-ID: E2XejdUju9Q

--HG--
extra : rebase_source : f7522aa50dee93575f86ac20c5a3c601a36fd9d9
2017-10-20 12:48:20 -04:00
Ryan Hunt
345dd0aff3 Be sure to unlock the old back buffer before we release it. (bug 1409871 part 20, r=nical)
MozReview-Commit-ID: HR9EiYrDeqT

--HG--
extra : rebase_source : ac39f463009563d1849e6eaa4e6fd27611bc6001
2017-10-20 12:28:41 -04:00
Ryan Hunt
f3ade1b01c Remove mInAsyncPaint and move locking new back buffer into BeginPaint (bug 1409871 part 19, r=nical)
mInAsyncPaint is only needed because the code using CreateBuffer expects the
buffer to be locked when it is returned. This isn't necessary because we can
now lock in BeginPaint.

MozReview-Commit-ID: 8WazvBKMbvb

--HG--
extra : rebase_source : ec59ca27e88257bd8e6d384685bee8227f545b31
2017-10-18 15:31:15 -04:00
Ryan Hunt
04ee50acb9 Remove BeginPaintBuffer (bug 1409871 part 18, r=nical)
Now that BeginPaintBuffer and BeginPaint are both implemented by content client,
I think it makes sense to just merge them into one method. This simplifies the
interface clients have to use.

MozReview-Commit-ID: 8bjH6WcpZS9

--HG--
extra : rebase_source : c2aad6cd9d85f7dd09652ee253683f03825e95c6
2017-10-18 15:20:14 -04:00
Ryan Hunt
23a0d9c85e Clean up some methods on ContentClient (bug 1409871 part 17, r=nical)
This commit does some more cleanup on the content client class hierarchy.
Some methods were virtual or instance methods when they didn't need to be.

MozReview-Commit-ID: 2y2D3zYtYvM

--HG--
extra : rebase_source : ebd137e4a1ee8eba10467e987bd2d91ea44ca5a2
2017-10-18 14:54:26 -04:00
Ryan Hunt
7f1dd327e3 Fix PrepareDrawTargetForPainting (bug 1409871 part 16, r=dvander)
CapturedPaintState::mTarget is actually a dual draw target to the black and
white draw targets, so this code will have the white draw target cleared black
and then white. This isn't incorrect, it's just wasteful.

MozReview-Commit-ID: ItgiSmegPK6

--HG--
extra : rebase_source : 9c3c88f463087a75383f1940ddeef6bb68ec35c4
2017-10-18 14:46:54 -04:00
Ryan Hunt
eba630e380 Use a rect instead of a region for UpdateDestinationFrom (bug 1409871 part 15, r=nical)
UpdateDestinationFrom actually only uses a rect, so it's best to not be
misleading and force the clients of it to do the conversion.

MozReview-Commit-ID: EsUv3apqnku

--HG--
extra : rebase_source : 6ee0f7454ac2ea21618a62a9ab906857384d0fdf
2017-10-18 14:35:18 -04:00
Ryan Hunt
537500c013 Cleanup rotated buffer declarations and add some documentation. (bug 1409871 part 14, r=nical)
This organizes the rotated buffer declarations and adds some documentation.

MozReview-Commit-ID: 5r24RiUMM6o

--HG--
extra : rebase_source : 28045e2d6b19db1f31796b7119717d417ee2dd34
2017-10-18 14:10:56 -04:00
Ryan Hunt
fb77e4394b Update comments for ContentClient (bug 1409871 part 13, r=nical)
This could be a part of the previous commit, but I omitted it to keep the size
down. Just some updates to comments and documentation.

MozReview-Commit-ID: HkCOSIQhBNv

--HG--
extra : rebase_source : 665b6bbe18dcd409809d33e1be37a56c0dc304d7
2017-10-18 13:42:19 -04:00
Ryan Hunt
6cd0ba94af Kill RotatedContentBuffer (bug 1409871 part 12, r=nical)
This commit is the guts of the refactoring.

This commit removes rotated content buffer, and moves the necessary
functionality to content client. All content clients now do not inherit from
rotated content buffer, but contain a refptr to a rotated buffer.

For the basic content client, this is a DrawTargetRotatedBuffer.
For the remote content client, this is a RemoteRotatedBuffer.
The double buffered content client contains an additional RemoteRotatedBuffer
for the front buffer.

Each derived class of content client only needs to implement a method to
create its own rotated buffer. The rest is handled by the base content
client. The remote content clients still override some additional methods
to sync buffers and do IPC.

MozReview-Commit-ID: B9vcSi8UYhm

--HG--
extra : rebase_source : a727d5548b0167eb12676837b173355eb0dd38a5
2017-10-16 19:45:11 -04:00
Chih-Yi Leu
bee92ecf09 Bug 1393383 - Update webrender binding code to support non-uniform border radius r=kats
MozReview-Commit-ID: 9YIPRJ9Mzfi

--HG--
extra : rebase_source : c4404c2dbd5e6ab6206b170c506ef07306c8e601
2017-10-24 14:44:29 +08:00
Ethan Lin
38b3c273db Bug 1410824 - Remove pref 'gfx.webrendest.enabled'. r=kats
MozReview-Commit-ID: Ipwjitb7kIs

--HG--
extra : rebase_source : 34cfbdeac331948b96150fc86c0d855c7604fb1d
2017-10-23 10:10:04 +08:00
Ryan Hunt
2c54579797 Move buffer related decisions into their own function. (bug 1409871 part 11, r=nical)
This commit splits off the part of BeginPaint that makes the decision about
whether to keep the buffer, its surface type, its content type, and the regions
to invalidate or paint.

MozReview-Commit-ID: JcPlv8GiRpA

--HG--
extra : rebase_source : 73c2de46ac9e11437e6a52aadd1da56028a7d3ec
2017-10-12 19:52:29 -04:00
Ryan Hunt
273ecb795e Add RotatedBuffer::AdjustTo. (bug 1409871 part 10, r=nical)
This commit adds a method to rotated buffer to perform the adjusting to the new
destination rect, and potential unrotating that may need to happen. The goal of
this is to simplify and prepare BeginPaint to be moved to content client.

MozReview-Commit-ID: B4qeZqLjORR

--HG--
extra : rebase_source : 8ee7fb96ce8f1207b73027bb1d171dabd5b35788
2017-10-12 18:37:29 -04:00
Ryan Hunt
962f98cab9 Remove PaintState::mDidSelfCopy. (bug 1409871 part 9, r=nical)
Miscellaneous cleanup, PaintState doesn't need to know this as no one uses
this information outside of the content client classes.

MozReview-Commit-ID: 6K8LxEPvp4V

--HG--
extra : rebase_source : 931f7726d2f8f1f5ab32b5cf8f9030aa39a64bff
2017-10-12 17:24:50 -04:00
Ryan Hunt
f5daa1eff3 Move mFrontAndBackBufferDiffer to ContentClientDoubleBuffered. (bug 1409871 part 8, r=nical)
Miscellaneous cleanup, ContentClientSingleBuffered doesn't need to track if
the front and back buffer differ.

MozReview-Commit-ID: IvAw0b92jsh

--HG--
extra : rebase_source : c6b2d91666338f1d222f783b7a14e9d3b0ad6802
2017-10-12 12:58:17 -04:00
Ryan Hunt
731b3dc042 Refactor copying from the old buffer to the new buffer to use RotatedBuffer. (bug 1409871 part 7, r=nical)
This commit refactors part of BeginPaint to treat the new and old back buffer's
as rotated buffers. The goal of this is to simplify and prepare this function to
be moved out of rotated content buffer.

MozReview-Commit-ID: 5iHeMbCWfpo

--HG--
extra : rebase_source : 232b699ca5d906e4784338914ebddd510730c379
2017-10-12 12:35:37 -04:00
Ryan Hunt
fd9427a323 Add a DrawTargetRotatedBuffer. (bug 1409871 part 6, r=nical)
This adds a new implementation of rotated buffer, which is backed by draw
targets. This will be the rotated buffer that basic content clients use.

MozReview-Commit-ID: Knn79yEFnxN

--HG--
extra : rebase_source : 78201bbb31c76e2b8131d912600b55500ba4cbdb
2017-10-11 16:26:10 -04:00
Ryan Hunt
bc88ed32b9 Use a RemoteRotatedBuffer for the front buffer of ContentClientDoubleBuffered. (bug 1409871 part 5, r=nical)
The front buffer for a double buffered content client is really just another
rotated buffer, so it can simplify the code to use the class we just added.
The goal is to have the back and the front buffer using remote rotated buffers,
but this is a good first step.

Note: The front buffer is represented as a Maybe<RemoteRotatedBuffer> in this
commit, but in the future it will be a RefPtr. That can't be done yet, because
rotated buffer can't implement refcounting in addition to compositable client.

MozReview-Commit-ID: Czk3otkf1pb

--HG--
extra : rebase_source : b7cc399643295bb63efa86739f3dae29d3375ae6
2017-10-11 15:22:57 -04:00
Ryan Hunt
d7d2f8b642 Add a RemoteRotatedBuffer. (bug 1409871 part 4, r=nical)
This adds a new implementation of rotated buffer, which is backed by texture
clients. This will be the rotated buffer that remote content clients use.

MozReview-Commit-ID: 3Y776uk5mFG

--HG--
extra : rebase_source : 40acce3f4150c5f6f51bf73f0b3c7e974ed8fd72
2017-10-11 14:34:41 -04:00
Ryan Hunt
cbde30661f Move DrawTo to RotatedBuffer. (bug 1409871 part 3, r=nical)
Similar to the previous patch, more functionality can be moved to rotated
buffer and out of rotated content client.

MozReview-Commit-ID: FNqfonyBBq9

--HG--
extra : rebase_source : fce8c6212321e6e25dc414c517a28e1e3c747c25
2017-10-11 15:31:20 -04:00
Ryan Hunt
568306b4d0 Move UpdateDestinationFrom to RotatedBuffer. (bug 1409871 part 2, r=nical)
UpdateDestinationFrom is a useful method for any rotated buffer. This will be
needed when content clients are no longer rotated buffers.

Note: EnsureBuffer and EnsureBufferOnWhite were moved out of
UpdateDestinationFrom because I'd like to kill those methods, and so the calls
were moved to all users of UpdateDestinationFrom.

MozReview-Commit-ID: 2e3HhUsZ6iw

--HG--
extra : rebase_source : dd8f5a52808924a64ea0eb17359b6b749426b64e
2017-10-11 13:40:16 -04:00
Ryan Hunt
ee9531597a Remove ContentClientRemote. (bug 1409871 part 1, r=nical)
This class doesn't seem to be necessary and only complicates the class
hierarchy.

MozReview-Commit-ID: 6dRXce1vB9T

--HG--
extra : rebase_source : 71591b44c68f9c8b73c7aadb6be245caaec0fbb5
2017-10-11 12:43:39 -04:00
Morris Tseng
f482bf5f38 Bug 1410359 - Remove unused css filter codes. r=kats
Some css filter codes only used in layers-full mode. Since layers-full
already removed, we can also remove those unused codes.

MozReview-Commit-ID: 8YrfOfuXHNt

--HG--
extra : rebase_source : e9475d9100fbc2e5b301833f31fde1db458117aa
2017-10-20 16:10:03 +08:00
Gerald Squelart
d2ed3d6312 Bug 1410252 - Convert 'WrapNotNull(new T(...' to 'MakeNotNull<T*>(...' - r=njn
Most cases where the pointer is stored into an already-declared variable can
trivially be changed to MakeNotNull<T*>, as the NotNull raw pointer will end
up in a smart pointer.

In RAII cases, the target type can be specified (e.g.:
`MakeNotNull<RefPtr<imgFrame>>)`), in which case the variable type may just be
`auto`, similar to the common use of MakeUnique.
Except when the target type is a base pointer, in which case it must be
specified in the declaration.

MozReview-Commit-ID: BYaSsvMhiDi

--HG--
extra : rebase_source : 8fe6f2aeaff5f515b7af2276c439004fa3a1f3ab
2017-10-20 18:25:33 +11:00
Matt Woodrow ext:(%2C%20Miko%20Mynttinen%20%3Cmikokm%40gmail.com%3E%2C%20Timothy%20Nikkel%20%3Ctnikkel%40gmail.com%3E)
e97adfa0ce Bug 1404181 - Part 27: Add some retained-dl debugging tools. r=mstange
MozReview-Commit-ID: EQO1lAbUnpY

--HG--
extra : rebase_source : a11bfd8055bd83e9215211a4e48d43735d7010ba
2017-10-21 16:54:24 +13:00
Francois Marier
7f48d0bdd3 Bug 1385461 - Upgrade to the latest version of the protobuf library. r=dimi,fitzgen,glandium,mattwoodrow,mossop
The tarball that was imported is the 3.4.1 release:

  https://github.com/google/protobuf/releases/tag/v3.4.1
  https://github.com/google/protobuf/releases/download/v3.4.1/protobuf-cpp-3.4.1.tar.gz

This drops all of the customizations that are no longer needed,
which includes a few issues that were fixed upstream:

- r512.patch from bug 892856:

    https://searchfox.org/mozilla-central/rev/bab9dbe9c4ef71f71fb07e53b701fb2dfde277d9/toolkit/components/protobuf/r512.patch
    b04e5cba35/src/google/protobuf/io/zero_copy_stream_impl.cc (L43)

- vs2013.patch, also from bug 892856:

    https://searchfox.org/mozilla-central/rev/bab9dbe9c4ef71f71fb07e53b701fb2dfde277d9/toolkit/components/protobuf/vs2013.patch
    b04e5cba35/src/google/protobuf/wire_format_lite_inl.h (L39)

- sparc64 fixes in m-c-changes.patch from bug 1275204:

    https://hg.mozilla.org/integration/mozilla-inbound/rev/21d692e82582
    b04e5cba35/src/google/protobuf/stubs/platform_macros.h (L68)

The LOGLEVEL_ERROR hack in m-c-changes.patch from bug 1024774 and
bug 1320179 was replaced by a NOGDI define in moz.build as suggested
by upstream:

    https://github.com/google/protobuf/pull/3745/files#r144915445

The other customizations that were dropped came from bug 1024774.

The patch for OpenBSD/32-bit will likely be fixed upstream in a
future release:

    https://github.com/google/protobuf/pull/3747#issuecomment-336581244

Upgrading the protobuf library also required re-generating all
of the existing .pb.h and pb.cc files (they are neither forward
nor backward-compatible) and making adjustments to the build
config to make it compile (and silence warnings).

text_format.cc can now be compiled as part of UNIFIED_SOURCES.

MozReview-Commit-ID: 7F2IqFmwQnN

--HG--
extra : rebase_source : b907a28a8063ecd82bb38530d309faafc7b83175
2017-10-18 15:02:05 -07:00
Francois Marier
c5abf40a20 Bug 1385461 - Re-sync LayerScopePacket.proto with the generated files. r=mattwoodrow
This got out of sync in bug 1317862 and bug 1337130:

  https://hg.mozilla.org/mozilla-central/rev/f2d4190eaaf8
  https://hg.mozilla.org/mozilla-central/rev/48b29a84e4e5

MozReview-Commit-ID: H9PWK4O0GX

--HG--
extra : rebase_source : 346905f375b61af5c657c78b867710363b066102
2017-10-11 16:15:57 -07:00
Matt Woodrow ext:(%2C%20Miko%20Mynttinen%20%3Cmikokm%40gmail.com%3E%2C%20Timothy%20Nikkel%20%3Ctnikkel%40gmail.com%3E)
3fa03bb34e Bug 1404181 - Part 22: Make sure we mark frames as modified any time they change position or style data and make sure we don't accidentally mark the root as being modified when we don't need to. r=mstange
MozReview-Commit-ID: J5ov5cwvvrE

--HG--
extra : rebase_source : 4eadb82e5e0b3264cc7d6aeef2693ce8aea69b43
2017-09-29 10:51:49 +13:00
Matt Woodrow ext:(%2C%20Miko%20Mynttinen%20%3Cmikokm%40gmail.com%3E%2C%20Timothy%20Nikkel%20%3Ctnikkel%40gmail.com%3E)
983bb1b63a Bug 1404181 - Part 12: Add pref for retained display lists (starting with it disabled). r=mstange
MozReview-Commit-ID: FgASuaoYMuc

--HG--
extra : rebase_source : af1bfd3bb4be63aa6f6c27629b91c1aae924ad20
2017-09-28 13:42:15 +13:00
Sebastian Hengst
091894faea merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: JpMeK9OdQsz
2017-10-21 10:59:18 +02:00
Sebastian Hengst
aa75559a2f merge mozilla-central to autoland. r=merge a=merge 2017-10-21 00:16:08 +02:00
Sebastian Hengst
ad8006bcb6 Backed out changeset fd03410adaba (bug 1408781) for build bustage at gfx/layers/mlgpu/PaintedLayerMLGPU.h:62: 'SetRenderRegion' overrides a member function but is not marked 'override'. r=backout on a CLOSED TREE
--HG--
extra : amend_source : 6c4a95d8314f969e2b449381ae14378e9e6bd7a8
2017-10-20 20:52:56 +02:00
Sebastian Hengst
41d5742833 Backed out changeset 4d2c317e3936 (bug 1408781) 2017-10-20 20:52:50 +02:00
David Anderson
adbf5d8b01 Cache invalidation properties after compositing, not before. (bug 1408781 part 2, r=mattwoodrow)
--HG--
extra : rebase_source : c9763856b7686253e15d9072d93ed787a79b50b0
2017-10-20 10:31:46 -07:00
David Anderson
e5f304d59f Store the AL render region separately from the shadow visible region. (bug 1408781 part 1, r=mattwoodrow)
--HG--
extra : rebase_source : 14c97296ca7dbe638179476abbe3c8eada5e159a
2017-10-20 10:31:46 -07:00
Kartikaya Gupta
b4862ba64a Bug 1402450 - Ensure the test properly delays until the content process receives the touch events. r=botond
It appears that in this case just waiting for the APZ flush to complete was
insufficient, probably because the APZ flush and touch inputs go via different
IPC channels and therefore do not provide ordering guarantees. So instead of
waiting for the APZ flush, let's just wait until the touchstart is received
in the content process and use that to resume the test.

MozReview-Commit-ID: AcPRhox1Xkg

--HG--
extra : rebase_source : be6653c7835d9a61bdc215266367adcc8adf8f0b
2017-10-20 13:23:20 -04:00
David Anderson
8cd7b1c9be Cache invalidation properties after compositing, not before. (bug 1408781 part 2, r=mattwoodrow) 2017-10-20 15:09:13 -07:00
David Anderson
d2ae9a5558 Store the AL render region separately from the shadow visible region. (bug 1408781 part 1, r=mattwoodrow) 2017-10-20 15:09:12 -07:00
sotaro
47ccccdcad Bug 1410304 - Do not compare depth in attachmentsHaveSameDimensions() r=jgilbert 2017-10-21 07:06:41 +09:00
sotaro
62965ef405 Bug 1407069 - Do not hold external image in SetCurrentTextureHost if ImageHost is async. r=nical 2017-10-20 16:42:58 +02:00
Nicolas Silva
e620af06b0 Bug 1407069 - Associate epochs to async image updates. r=sotaro 2017-10-20 16:42:53 +02:00
JerryShih
8080b60c82 Bug 1407618 - add more gl texture creation checking for RenderDXGITexture. r=jgilbert
1. dxgi shared texture handle.
2. ANGLE_d3d_share_handle_client_buffer ext.

MozReview-Commit-ID: 5rl44QOvW4r
2017-10-20 08:45:55 -04:00
sotaro
8d85c3d52b Bug 1405952 - Remove PWebRenderBridge::SetDisplayListSync r=kats,kanru 2017-10-20 19:48:57 +09:00
Jonathan Kew
0cac41cef7 Bug 1361631 - patch 2 - For Mongolian and Phags-pa script, always shape/render vertical text in a sideways-right mode (applying 90° rotation), even if text-orientation:upright is in effect, because fonts are designed to give the 'native' vertical rendering when used this way. r=xidorn 2017-10-20 11:20:18 +01:00
Jonathan Kew
fef1726255 Bug 1361631 - patch 1 - Rearrange handling of textrun/glyph orientation so that we pass the resolved 'orientation' value of each glyph run from gfxFontGroup::InitScriptRun through to gfxFont::SplitAndInitTextRun, rather than just a boolean 'vertical' flag. (No functional change.) r=xidorn 2017-10-20 11:20:18 +01:00
Sebastian Hengst
bc6dddb88b merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: BY4c5BIOF81
2017-10-20 11:37:54 +02:00
Lee Salzman
6235863fa6 Bug 1408481 - pass AA via GlyphOptions to WR PushGlyphs. r=gankro
MozReview-Commit-ID: LVieyPaaouc
2017-10-19 22:54:28 -04:00
Sebastian Hengst
24583b9443 merge mozilla-central to autoland. r=merge a=merge 2017-10-20 01:08:09 +02:00
Sebastian Hengst
20d769ea9c merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: Gc5JIILUrPi
2017-10-20 00:05:39 +02:00
Sebastian Hengst
ac57f6f7df merge mozilla-central to autoland. r=merge a=merge 2017-10-19 11:52:58 +02:00
Sebastian Hengst
bf793df477 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: HasKw28SN45
2017-10-19 11:26:22 +02:00
sotaro
2c90b0f880 Bug 1404232 - Add mGL->MakeCurrent() calling in SetGLContext() r=jrmuizel 2017-10-19 13:03:28 +09:00
sotaro
1bf385dce6 Bug 1404232 - Add WebRenderCommandBuilder::ClearCachedResources() r=jrmuizel 2017-10-19 13:03:08 +09:00
sotaro
e87aa60cf8 Bug 1404232 - Add WebRenderLayerManager::WrUpdated() r=jrmuizel 2017-10-19 13:02:47 +09:00
sotaro
e7235d5225 Bug 1409594 - Check if root WebRenderBridgeParent exists r=kats 2017-10-19 11:15:46 +09:00
sotaro
4c11a8c448 Bug 1409595 - Add pointer check in WebRenderLayerManager::DidComposite() r=kats 2017-10-19 10:26:26 +09:00
Ryan VanderMeulen
cb612851ed Merge inbound to m-c. a=merge 2017-10-18 21:01:34 -04:00
Ethan Lin
276f259817 Bug 1402490 - Fix video position for WR. r=kats
MozReview-Commit-ID: GkhcN5YOt5q

--HG--
extra : rebase_source : d57b793cdd588c5dfdb137e3d9edbc45435dad13
2017-10-18 13:56:53 +08:00
Kartikaya Gupta
d8ac050c91 Bug 1409856 - Update all the WebRender code to use LayoutDevice units instead of Layer units. r=jrmuizel
MozReview-Commit-ID: DP3hwlFWyZC
2017-10-18 22:25:11 -04:00
Botond Ballo
2c1a3530e6 Bug 1340415 - Ensure main-thread and async autoscrolling do not happen at the same time. r=kats
The two happening at the same time can lead to the APZ autoscroll being
cancelled due to APZ receiving a main-thread scroll offset update.

To achieve this:

  - The content process assumes APZ is handling the autoscroll until
    told otherwise.

  - If the parent process knows APZ won't handle an autoscroll, it
    tells the content process via its response to the Autoscroll:Start
    message. This covers all cases where APZ doesn't handle the
    autoscroll, except the case where APZCTreeManager itself rejects
    the autoscroll and it lives in the compositor process rather than
    the parent process.

  - If APZCTreeManager rejects an autoscroll and it lives in the
    compositor process, it sends an 'autoscroll-rejected-by-apz' message
    to the content process.

MozReview-Commit-ID: L62v4COai6W

--HG--
extra : rebase_source : bc4c6417e77461634263defb88e67ed5036c454e
2017-10-18 18:18:13 -04:00
Kartikaya Gupta
11842e931a Bug 1408461 - Update reftest results and regenerate bindings for changes in WR PR 1841. r=jrmuizel
MozReview-Commit-ID: ExA1MHJ0GFf
2017-10-18 12:37:54 -04:00
Kartikaya Gupta
e342fa79f4 Bug 1408461 - Update webrender to commit 7892f5364bc4d35c7a9b42949f0ace4cc54f8b3c. r=jrmuizel
MozReview-Commit-ID: 1n7EzemevQX
2017-10-18 12:37:51 -04:00
Sebastian Hengst
bffd61287d Backed out changeset dd8eb671df75 (bug 1408461) for failing reftests border-dotted/border-dotted-interaction.html and border-radius/curved-stripe-border.html on Linux QuantumRender. r=backout
--HG--
extra : rebase_source : 6ecd1fd58e3a2b1c711e386a77d4da26dab308c1
2017-10-18 18:28:07 +02:00
Sebastian Hengst
f11b2da7d8 Backed out changeset 882e0b30bc0e (bug 1408461)
--HG--
extra : rebase_source : 010cf8b33f83d96e9bb6b38431ac879964a8a3c3
2017-10-18 18:27:34 +02:00
Lee Salzman
600dccf87f Bug 1404742 - track ScaledFont and UnscaledFont lifetimes with ThreadSafeWeakPointer. r=bas
MozReview-Commit-ID: GRSEYh1fG4U
2017-10-18 14:22:09 -04:00
Sebastian Hengst
f9b5b9b40c merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 790IXj5MZ4f
2017-10-18 11:48:34 +02:00
Tom Ritter
a08e595f4b Bug 1404035 Address an unused result warning in gfx/thebes/DeviceManagerDx.cpp r=dvander
There's no way to handle this failure, so pass it to Unused.

MozReview-Commit-ID: 37PS9TsPqx7

--HG--
extra : rebase_source : f385f4c50d5407b1929abed7dae123f9570d2205
2017-09-28 12:53:24 -05:00
David Anderson
8b7a345004 Scissor the visible region for intermediate surfaces that require redraw. (bug 1408566 part 2, r=mattwoodrow)
--HG--
extra : rebase_source : 168a5f49f127b238d386d636b3d4b1bf675d2958
2017-10-17 15:06:12 -07:00
David Anderson
60356f36f8 Fix a coordinate space bug when composing some intermediate surfaces. (bug 1408566 part 1, r=mattwoodrow)
--HG--
extra : rebase_source : 15cb14238efe834e3c5f8e150d9e13d04cd9c967
2017-10-17 15:06:12 -07:00
Sebastian Hengst
f3f32c7851 merge mozilla-central to mozilla-inbound. r=merge a=merge
--HG--
rename : media/libstagefright/binding/include/mp4_demuxer/ByteReader.h => media/libstagefright/binding/include/mp4_demuxer/BufferReader.h
extra : rebase_source : 98d9275bf6065bc701881aed6c4635f1da9ea642
2017-10-18 00:05:25 +02:00