Mason Chang
c2791e58ec
Bug 1301920. Call MarkChanged before getting bitmap for surface in skia. r=lsalzman
2016-09-16 08:03:48 -07:00
Andi-Bogdan Postelnicu
1ae2d59400
Bug 1301333 - mark ImageBridgeThread::Init as initialisation function for ImageBridgeThread. r=jrmuizel
...
MozReview-Commit-ID: 4mveFlHumVE
2016-09-16 17:09:56 +03:00
Haik Aftandilian
d46766b464
Bug 1228022 - part 2 - Add support for reading Mac OS Roman encoded names from SFNTNameTables; r=jfkthame
...
When reading a U16 font name from the SFNTNameTable, a name entry
with platformID == 1 (Macintosh) and platformSpecificID
(aka encodingID) == 0 (Roman) is read as Mac Roman and converted
to U16.
This patch refactors the matchers created in CreateCanonicalU16Matchers
to return name encoding type instead of a boolean. The encoding
type can then be used to call the appropriate decoding function.
CreateCanonicalU16Matchers is also changed so that it doesn't
enqueue unnecessary matchers on OS X. On OS X, if the nametable
record's platformID field is PLATFORM_ID, IsUTF16Encoding() will
always return false so matchers requiring both of those conditions
will never match.
There are several other platformSpecificID's in Mac SFNTameTables
such as Japanese, Traditional Chinese, and Korean. Fonts with names
in those encodings won't have their names properly encoded, but
that should be OK as SFNTData::GetUniqueKey falls back to another
scheme for hashing fonts if the GetU16FullName call fails.
Tests on El Capitan and Sierra revealed Mac's use Microsoft/Unicode
SFNTNameTable names as well as Mac/Roman.
MozReview-Commit-ID: F8fyDVDwHs7
--HG--
extra : transplant_source : %F6%3F%5B%E9y%FD%93%8C%26s%D1n%FC%AEYp%5C%3D%A6j
2016-09-09 13:55:21 -07:00
Haik Aftandilian
e4b0bb24b7
Bug 1228022 - part 1 - Support replay of Mac print stream, adds NativeFontResourceMac, ScaledFontMac::GetCairoFontFace; r=jfkthame
...
Adds the necessary plumbing to allow Mac font creation and
referencing during replay of a remote print stream.
MozReview-Commit-ID: 18jpeImPwCI
--HG--
extra : transplant_source : %AE%3A%13%7B%E2VzMM%0F%AD%BF%A0%EC%BD%40%5E%281n
2016-09-15 14:13:57 -07:00
Nicolas Silva
f4d4ceeeed
Bug 1302380 - Report canvas memory usage through the buffer provider. r=gw280
2016-09-16 10:13:19 +02:00
David Anderson
3836da7617
Remove PCompositable::DestroySync. (bug 1301780 part 2, r=nical)
2016-09-15 23:57:32 -07:00
David Anderson
5625cb3c96
Remove FallbackDestroyActors. (bug 1301780 part 1, r=nical)
2016-09-15 23:57:17 -07:00
David Anderson
3cab7db05c
Use gfxCriticalError in CompositorBridgeChild::ProcessingError. (bug 1302413, r=milan)
2016-09-15 23:55:24 -07:00
Wes Kocher
14c8653f72
Merge inbound to central, a=merge
2016-09-15 16:28:10 -07:00
Wes Kocher
9b41318da3
Backed out changeset 1fef8a245875 (bug 1300338) for windows 8 reftest failures a=backout CLOSED TREE
...
--HG--
extra : amend_source : c838660fd6f11dda3ade05adda33b1beb9ea1590
2016-09-15 11:24:03 -07:00
Bas Schouten
4e18ab329e
Bug 1300338: Do not attempt to preserve layer content when we're going to override it in a blend operation anyway. r=jrmuizel
...
MozReview-Commit-ID: DIEyrK89jtd
--HG--
extra : rebase_source : 0201b307ccc25f7d9ec40dd426effdaca586bb3b
2016-09-12 18:41:10 +02:00
Andi-Bogdan Postelnicu
7af9a3ed9e
Bug 1278242 - ignore initialization check for members from SurfaceDescriptorX11. r=jrmuizel
...
MozReview-Commit-ID: G262l8C2mCl
--HG--
extra : rebase_source : 65a1a1012ba461d54b846ddb8072167f9bf81c22
2016-06-06 16:25:28 +03:00
Alexandre Lissy
f6ee6d53f2
Bug 1302641 - Update ImageBridgeChild::GetSingleton() use after 1298938 r=nical
...
MozReview-Commit-ID: Cs7xUcPnPoz
2016-09-14 19:01:21 +02:00
Nathan Froyd
16ae3f9d1e
Bug 1298134 - fix member initialization order in VRDisplayOculus; r=kip
2016-09-14 19:28:26 -04:00
Nathan Froyd
07545fef15
Bug 1298132 - remove unused variables in gfxVROculus.cpp; r=kip
2016-09-14 19:28:26 -04:00
Kartikaya Gupta
463cd06d8d
Bug 1302493 - Update the in-tree APZ documentation to reflect various changes since it was last updated. r=botond
...
MozReview-Commit-ID: Atu0RMSctq2
2016-09-14 07:54:46 -04:00
Kartikaya Gupta
ff457cf4f7
Bug 1269067 - Add a gtest to ensure that mouse drag blocks and wheel blocks don't interrupt each other. r=botond
...
MozReview-Commit-ID: F7FlcaTl4jl
2016-09-14 07:54:37 -04:00
Kartikaya Gupta
51b88e5657
Bug 1289432 - Miscellaneous tweaks to address review comments. rs=botond
...
MozReview-Commit-ID: B57VOs7rdSH
2016-09-14 07:54:37 -04:00
Kartikaya Gupta
dd5b4ca612
Bug 1289432 - Miscellaneous function renaming and documentation touchups. r=botond
...
MozReview-Commit-ID: IEUSxcIb0fN
2016-09-14 07:54:37 -04:00
Kartikaya Gupta
fd5138db2a
Bug 1289432 - Migrate remaining InputQueue code to use the new mQueuedInput structure instead of the block-based queue. r=botond
...
MozReview-Commit-ID: 41M1QGp8kcX
2016-09-14 07:54:37 -04:00
Kartikaya Gupta
9e574c3e0d
Bug 1289432 - Update a couple more functions to stop fishing around inside mInputBlockQueue. r=botond
...
MozReview-Commit-ID: TsIGZK43wb
2016-09-14 07:54:37 -04:00
Kartikaya Gupta
5b33e5009a
Bug 1289432 - Stop relying on the mEvents array inside the SetConfirmedTargetApzc implementations. r=botond
...
MozReview-Commit-ID: BG7BmQPa6g9
2016-09-14 07:54:37 -04:00
Kartikaya Gupta
e9b2ac2229
Bug 1289432 - Drop the DispatchImmediate codepath. r=botond
...
Instead of having this special shortcut case that goes through MaybeHandleCurrentBlock
and DispatchImmediate, we can just add the input to the queue normally and call
ProcessInputBlocks() which effectively does the same thing. Doing it this way
also guarantees that mQueuedInputs is non-empty and mQueuedInputs[0] is the
input currently being processed. This is useful for future patches because it
will allow us to maintain the guarantee that the input block for the input
currently being processed can be readily accessed via GetCurrentInputBlock().
MozReview-Commit-ID: JuVbpsFLURo
2016-09-14 07:54:36 -04:00
Kartikaya Gupta
f8d4e33b0b
Bug 1289432 - Allow the CurrentBlock() and CurrentXXXBlock() functions to return null, and guard/assert at the callsites. r=botond
...
MozReview-Commit-ID: 77LWZBtAB9Y
2016-09-14 07:54:36 -04:00
Kartikaya Gupta
43f18cb292
Bug 1289432 - Update checks for unprocessed events to use mQueuedInputs instead of checking the block is at the head. r=botond
...
MozReview-Commit-ID: GEHDHhkLPKe
2016-09-14 07:54:36 -04:00
Kartikaya Gupta
e494dee6f9
Bug 1289432 - Switch over to using the mActiveXXXBlock in some places instead of fishing around in mInputBlockQueue. r=botond
...
Note that this patch has a subtle functional change because the mActiveXXXBlock
variables can remain non-null even if there are no blocks in mInputBlockQueue.
In fact, this patch contains the secret sauce that allows the input queue to
handle interleaved input events, because this ensures that the interleaved events
end up getting associated with the pre-existing active block rather than creating
a new one.
MozReview-Commit-ID: 7GkbSe9IaC4
2016-09-14 07:54:36 -04:00
Kartikaya Gupta
19ed146d8d
Bug 1289432 - Start populating the mQueuedInput array with queued input objects. r=botond
...
Most of the changes to InputBlockState.* are temporary and will be removed in a
future patch, once the transition to using mQueuedInputs is complete. However,
the code is useful as an intermediate step to verify that mQueuedInputs is
maintaining events in the same order and with the same lifetime as the old block-
based queue.
MozReview-Commit-ID: I8lVhMiT4hg
2016-09-14 07:54:36 -04:00
Kartikaya Gupta
05d91128f8
Bug 1289432 - Introduce a skeleton QueuedInput class. r=botond
...
Note that this patch makes the InputData hierarchy polymorphic.
MozReview-Commit-ID: HrZ2KhHeDoy
2016-09-14 07:54:36 -04:00
Kartikaya Gupta
4b8e63b75c
Bug 1289432 - Have the InputQueue keep RefPtrs to the active block of each input type. r=botond
...
MozReview-Commit-ID: 36MatfdCVS8
2016-09-14 07:54:36 -04:00
Kartikaya Gupta
eebba5eff4
Bug 1289432 - Use RefPtr instead of UniquePtr to hold the block state objects, since there will be multiple references to them soon. r=botond
...
MozReview-Commit-ID: BhWf1omgfoC
2016-09-14 07:54:36 -04:00
Edwin Flores
794b92fe7b
Bug 1296996 - Use ProducerRead{Acquire/Release} in ReadBuffer::Create - r=jgilbert
2016-09-14 11:02:37 +01:00
Benoit Girard
fab198cffc
Bug 1288746 - Handle missing EGL failure IDs. r=jmuizel
...
MozReview-Commit-ID: Kk5vFNMdhjV
--HG--
extra : rebase_source : 8a8851b91fa045c8cb13e1aee2c8c7c62d2b0a4e
2016-09-13 14:17:29 -04:00
Phil Ringnalda
7fc271e5f5
Backed out changeset 663cde4dd044 (bug 1287004) for crashes [@ XGetWindowAttributes]
...
CLOSED TREE
2016-09-13 21:06:19 -07:00
Bill McCloskey
a430c0ac5b
Bug 1287004 - Give PuppetWidgets in parent process a compositor bridge (r=mattwoodrow)
2016-09-13 20:06:44 -07:00
George Wright
2f9a23cf41
Bug 1297565 - Fine tune and update our assertions based on old assumptions which may no longer be valid with a GPU process r=dvander
2016-09-13 22:58:54 -04:00
David Anderson
b5c10b4d4e
Ensure IPDL owns a reference to ImageBridgeChild. (bug 1298938 part 6, r=billm)
...
--HG--
extra : rebase_source : 958b9b9cb6704d5b1d5096f63ef31fb0a8828009
2016-09-13 16:30:57 -07:00
David Anderson
07336b7d13
Protect ImageBridgeChild's singleton with a StaticMutex. (bug 1298938 part 5, r=mattwoodrow)
...
--HG--
extra : rebase_source : 974ad32cfaf3ba6d1af75d8857f0a35da5aa3641
2016-09-13 16:30:57 -07:00
David Anderson
62129d7cb4
Remove racy ImageBridgeChild shutdown/creation checks. (bug 1298938 part 4, r=nical)
...
--HG--
extra : rebase_source : 0419df6221d59c4e9b085015d8483267fb3d446f
2016-09-13 16:30:57 -07:00
David Anderson
f80736e0c8
Shutdown XPCOM-dependent resources in ImageBridgeChild at the appropriate time. (bug 1298938 part 3.1, r=mattwoodrow)
...
--HG--
extra : rebase_source : 9579e1ca6ec1af2fac7cd0fc4574b849cc8b8e12
2016-09-13 16:30:57 -07:00
David Anderson
3da3b0f45c
Simplify ImageBridgeChild asynchronous shutdown. (bug 1298938 part 3, r=nical)
...
--HG--
extra : rebase_source : 04516571d48f85a94d88a8eb424f8e41e04483ca
2016-09-13 16:30:56 -07:00
David Anderson
d1ef6f2696
Simplify ImageBridgeChild asynchronous initialization. (bug 1298938 part 2, r=mattwoodrow)
...
--HG--
extra : rebase_source : 1bdb57079ca7f3b4c2be6d1bcd5dd3f0ee0c92c1
2016-09-13 16:30:56 -07:00
David Anderson
82339b2d66
Route dispatches in ImageBridgeChild through |this|, not the singleton. (bug 1298938 part 1, r=mattwoodrow)
...
--HG--
extra : rebase_source : bfadf1b91ad88503d4c37a6b4ac6dcc32cd78ca6
2016-09-13 16:30:56 -07:00
Jeff Muizelaar
05a47f9aef
Bug 1298829. Move non-operator OVER handling to callback drawables. r=bas
...
This cleans up the code and makes us use an extra surface less.
2016-09-13 11:05:58 -04:00
Sotaro Ikeda
27cb0a7981
Bug 1300656
- Optimize gfxUtils::ConvertBGRAtoRGBA() r=jrmuizel
2016-09-12 22:19:29 -07:00
Hiroyuki Ikezoe
f98523cf02
Bug 1216843 - Part 2: Implement effect iteration composition. r=birtles, r=smaug
...
MozReview-Commit-ID: 6u7WtXwL3y3
2016-09-13 11:48:44 +09:00
Kartikaya Gupta
310bc9b9db
Bug 1302128 - Fix a test so that it actually exercises the APZ layerization codepath it intends to exericse. r=botond
...
MozReview-Commit-ID: 81iyzNtVFuv
--HG--
extra : rebase_source : ebb63cd1f8fdf10aa45285eeec75895d6c432548
2016-09-12 11:48:47 -04:00
Timothy Nikkel
c630475661
Bug 1284350. Backed out changeset bb3bf463c0ec (Bug 1261554 (Part 3) - Visualize Visibility::IN_DISPLAYPORT regions in the APZ minimap visibility debugger. r=botond)
2016-09-12 00:19:08 -05:00
Carsten "Tomcat" Book
c81bda3e2d
Merge mozilla-central to autoland
2016-09-09 12:19:59 +02:00
Carsten "Tomcat" Book
0f2c669a48
merge mozilla-inbound to mozilla-central a=merge
2016-09-09 12:02:43 +02:00
Shing Lyu
db11558e50
Bug 1288350 - Temporary reftest list for Stylo vs Gecko test r=heycam,manishearth
...
--HG--
extra : rebase_source : 4772418bd2813d4e79643a833eb09e47fe893d84
2016-09-05 11:45:39 +08:00