Ryan VanderMeulen
d08f967d7b
Merge m-c to inbound. a=merge
2015-02-17 21:24:09 -05:00
Matt Woodrow
5ea802bd9a
Bug 1128170 - Use UniquePtr for TextureClient KeepAlive objects to make sure we don't leak them. r=jrmuizel
2015-02-18 13:35:30 +13:00
Ryan VanderMeulen
907ac22584
Backed out changeset 820649ecb0fa (bug 1113435) and changeset 4d049a07f749 (bug 1085223) for Android reftest failures.
...
CLOSED TREE
2015-02-17 16:14:50 -05:00
Benoit Girard
1d64a10ded
Bug 1113435 - Don't cull for layers being drawn progressively. r=jrmuizel
...
--HG--
extra : rebase_source : 775d70542a94bd5e9bd137aac7507699e6fb581d
2015-02-17 11:53:51 -05:00
Benoit Girard
04d545a0f6
Bug 1085223 - Restore culling because of regressions from bug 1132144.
...
--HG--
extra : rebase_source : 8ba1967648ee48c8a7791125bbac697e4c11b63c
2015-02-17 10:54:48 -05:00
Carsten "Tomcat" Book
965d640fdf
Merge mozilla-central to mozilla-inbound
2015-02-17 14:47:52 +01:00
Carsten "Tomcat" Book
3dec09c7a1
Backed out changeset 6952d9fe4f36 (bug 1129871) for causing R14/R15 Test failures
2015-02-17 14:36:42 +01:00
Carsten "Tomcat" Book
999f6284ec
Backed out changeset e1bb91f60697 (bug 1129871)
2015-02-17 14:32:15 +01:00
Carsten "Tomcat" Book
4ae7286acb
Backed out changeset d81339c7ac52 (bug 1128934)
2015-02-17 14:32:11 +01:00
Jim Mathies
2cf73763f7
Bug 1132592 - Avoid showing PluginWidgetParent widgets before they are positioned and clipped. r=aklotz
2015-02-13 12:27:56 -06:00
David Anderson
5da9d866cf
FrameMetrics comparator does not include the scroll generation. (bug 1132715, r=kats)
2015-02-15 13:01:00 -08:00
Kartikaya Gupta
362a369841
Bug 1133083 - Fix build when APZCCallbackHelper logging is enabled. r=botond
2015-02-16 21:34:42 -05:00
Kartikaya Gupta
328ee5bf63
Bug 1131840 - Propagate the EventRegionsOverride flag on RefLayers also. r=roc
2015-02-16 21:30:02 -05:00
Kartikaya Gupta
829d36ca44
Bug 1131840 - Add an EventRegionsOverride flag to force an empty hit region. r=roc,botond
2015-02-16 21:30:02 -05:00
Kartikaya Gupta
7fd26daa4a
Bug 1131840 - Replace the shouldForceDispatchToContent flag with a bitset enum. r=roc,botond
2015-02-16 21:30:02 -05:00
Nicolas Silva
b930f4e186
Bug 1128934 - Avoid calling GetClientBounds from BasicComposior. r=roc, karlt
2015-02-14 12:37:32 +01:00
Nicolas Silva
4fea5323ad
Bug 1129871 - Favor passing tiles by ref rather than copy part 2. r=BenWa
2015-02-14 12:14:59 +01:00
Nicolas Silva
0e7c4b0468
Bug 1129871 - Favor passing tiles by ref rather than copy part 1. r=BenWa
2015-02-14 12:14:54 +01:00
Jeff Gilbert
d3813c406b
Bug 1124394 - Support Core profiles for GLContext. - r=kamidphish
2015-02-12 19:00:41 -08:00
Nicolas Silva
ccd17ee47f
Bug 1120331 - "crash in mozilla::ipc::MessageChannel::Send(IPC::Message*)". r=sotaro
2015-02-04 07:15:00 +01:00
Mason Chang
8818c958da
Bug 1130681. Part 1: Add unlock back to ClientTiledLayerBuffer for causing emulator R14 intermittent but doesn't seem necessary. r=jrmuizel
2015-02-13 16:36:46 +08:00
Mason Chang
8c5168160d
Bug 1130681. Part 2: Backout bug 1118876 for android reftest failures. r=jrmuizel
2015-02-13 16:36:45 +08:00
Matt Woodrow
01eb91c854
Bug 1127925 - Lazily open shared handles in DXGITextureHostD3D11 to avoid holding references to textures that might not be used. r=jrmuizel
2015-02-13 14:23:43 +13:00
Botond Ballo
3d67dfb02e
Bug 1127066 - Implement ChromeProcessController::HandleLongTapUp(). r=kats
...
--HG--
extra : source : 5857a51daa23da0090b92467cc7fe5c23354b981
2015-02-09 18:20:15 -05:00
Botond Ballo
65a2a78c03
Bug 1127066 - Use (nsBaseWidget's) APZEventState in ChromeProcessController. r=kats
...
--HG--
extra : source : 65d5458b6f6af13ebaf424ccef87d4a0654646c4
2015-02-09 19:06:06 -05:00
Botond Ballo
933c29e8b5
Bug 1127066 - Complain loudly if APZEventState is used with a widget that doesn't support weak references. r=kats
...
--HG--
extra : source : e4337bd21059a0ecbffa5d0d567dd9a8f0a3bcd1
2015-02-09 14:10:08 -05:00
Botond Ballo
c83b7760e1
Bug 1127066 - Use a weak reference to the widget in APZEventState to avoid reference cycles. r=kats
...
--HG--
extra : source : fa8926018068e8de68b0b9c44ad0bdc87acf2033
2015-02-09 14:09:20 -05:00
Botond Ballo
9fd2a6c742
Bug 1127066 - Extract an APZEventState class from TabChild. r=kats
...
--HG--
extra : source : fc54993e0c836ca01f3900072227938e8c4b938c
2015-02-09 14:05:18 -05:00
Botond Ballo
c059c52cea
Bug 1127066 - Extract SendSetTargetAPZCNotification and its helpers into APZCCallbackHelper. r=kats
...
--HG--
extra : source : 930454419509346f1002ea7486a128072688a921
2015-02-06 18:11:19 -05:00
Botond Ballo
286bd7e59d
Bug 1127066 - Extract a helper to apply the APZ callback transform to a touch event. r=kats
...
--HG--
extra : source : d938af56c1d8225d794f879a5771c9a17d6a402b
2015-02-05 18:02:27 -05:00
Botond Ballo
a353f75418
Bug 1127066 - Fold APZCCallbackHelper::UpdateCallbackTransform() into ScrollFrame(). r=kats
...
--HG--
extra : source : 5b78d9e9ba84408c898d9e0ab55ae30f437792c8
2015-01-28 17:40:29 -05:00
Botond Ballo
54b4a664cb
Bug 1127066 - Factor out code common to APZCCallbackHelper::UpdateRootFrame and UpdateSubFrame. r=kats
...
--HG--
extra : source : fe1ea639cdfde510a2bb51d2f113fb14809b6b43
2015-01-23 18:54:19 -05:00
Matt Woodrow
de88d60eeb
Bug 1131808 - Avoid trying to allocate a buffer for 0 sized YCbCr images. r=nical
2015-02-12 11:23:56 +13:00
Carsten "Tomcat" Book
1da4eb2ea5
merge mozilla-inbound to mozilla-central a=merge
2015-02-11 14:58:16 +01:00
Kartikaya Gupta
e060658784
Bug 1125422 - Read the force-dispatch-to-content flag from the layer tree and use it in the APZ code. r=botond
2015-02-10 16:28:07 -05:00
Kartikaya Gupta
f5d90daf87
Bug 1125422 - Add a flag on ContainerLayer to indicate when the entire subtree of layers needs to be in the dispatch-to-content region. r=roc
2015-02-10 16:28:07 -05:00
Benoit Girard
43073dd455
Bug 1131462 - Remove buggy GetAsSurface override. r=jrmuizel
2015-02-10 23:03:15 +08:00
Kartikaya Gupta
224d1319e8
Bug 930939 - Add a function to encapsulate running things on the APZ controller thread. r=botond
2015-02-10 08:24:23 -05:00
Kartikaya Gupta
b3954b6850
Bug 930939 - Move thread assertion code into APZThreadUtils and add more assertions. r=botond
2015-02-10 08:24:23 -05:00
Milan Sreckovic
110886d205
Bug 1130971 - Null pointer checks before dispatching. r=mattwoodrow
...
--HG--
extra : rebase_source : f38f8831801730d4e9faf5701ad6210717a2fbc4
2015-02-09 17:23:09 +08:00
Benoit Girard
d8febb45e7
Bug 1085223 - Comment out occlusion culling for now. r=mattwoodrow
2015-02-10 11:20:36 +08:00
Nicholas Nethercote
242708cf72
Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
...
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Bas Schouten
bb55e4e8ab
Bug 1118322: Block explicitly for vblank when presenting when using WARP. r=jrmuizel
2015-02-09 16:35:48 +01:00
Nicolas Silva
a641936067
Bug 1131038 - Use a READ_WRITE lock instead of WRITE on tile back buffers. r=sotaro
2015-02-09 15:01:11 +01:00
Phil Ringnalda
1f4eb9ac6c
Merge m-c to b-i
2015-02-07 09:01:30 -08:00
Wes Kocher
1b2b74bdb6
Merge m-c to b2g-inbound a=merge CLOSED TREE
2015-02-06 14:56:32 -08:00
Kartikaya Gupta
d63f26895e
Bug 1078275 - Ensure the first transaction received in the compositor is treated as a first-paint. r=mstange
2015-02-06 15:16:53 -05:00
Jeff Gilbert
56b00391c3
Backout 80a88a3badba for causing bug 1130086.
2015-02-06 11:37:04 -08:00
Ethan Lin
83c3bcea0a
Bug 1127405 - Remove the ForceRemove in CanvasClientSharedSurface to prevent crash. r=nical
2015-02-03 18:15:00 +01:00
Peter Chang
8c9ff9b5dc
Bug 1129763 - Add pref for the threshold of frame visual warning, r=benwa
2015-02-06 14:38:16 +08:00
Jeff Muizelaar
bf6b3c59f1
Bug 1129064. Remove duplicate IsPlaceholderTile function. r=BenWa
...
The method version is cheaper because it doesn't need to make a copy of the
Tile.
2015-02-03 14:07:45 -05:00
Nicholas Nethercote
d34f0301b8
Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
...
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
Ryan VanderMeulen
79bed2d741
Backed out changesets b57d930e0ba6 and 6c8a74ba8122 (bug 1129871) for gtest failures.
...
CLOSED TREE
2015-02-05 13:12:18 -05:00
Nicolas Silva
16f21beb1f
Bug 1129871 - Pass tiles by ref rather than copy part 2. r=BenWa
2015-02-05 18:16:10 +01:00
Nicolas Silva
6f4d3546bc
Bug 1129871 - Pass tiles by ref rather than copy part 1. r=BenWa
2015-02-05 18:16:05 +01:00
Matt Woodrow
523dd220d2
Bug 1128765 - Add more more reporters to break down D3D9 texture usage. r=jrmuizel
2015-02-05 16:20:14 +13:00
Matt Woodrow
36dcff0baf
Bug 1114976 - Don't try to free TextureClients if allocation failed. r=nical
2015-02-05 14:11:46 +13:00
Jeff Gilbert
680ae080b6
Bug 1124394 - Support WebGL 2 with Core Profiles on Mac. - r=kamidphish
2015-02-04 16:34:55 -08:00
Mason Chang
6225c3b5b8
Bug 1128691. Part 1: Consolidate vsync compositor pref checks. r=benwa
2015-02-04 13:08:31 -08:00
Nicolas Silva
b6a335b1ee
Bug 1118876 - Make tile edge padding work work with DrawTargetTiled. r=jrmuizel
2015-02-04 14:33:16 +01:00
Milan Sreckovic
fae33ae252
Bug 1126918 - NewShSurfaceHandle can return null. Guard against it. r=jgilbert
2015-02-02 17:18:29 -05:00
Boris Chiou
71a5472876
Bug 1121804 - Add websocket message listener. r=dglastonbury
...
1. Fix websocket listener, and implement a light-wight parser.
2. Handle the messages from clients by protobuf
3. Handle disconnection while receiving the close message.
2015-01-29 20:02:00 +01:00
David Anderson
495039e5d4
Make debugging whole-layer invalidation slightly easier. (bug 1128752, r=mattwoodrow)
2015-02-03 14:18:44 -08:00
Matt Woodrow
44031ffb78
Bug 1124543 - Handle invalidating mask changes correctly. r=roc
2015-02-04 10:39:59 +13:00
Nicolas Silva
e5a9f82bde
Bug 1127289 - Add missing synchronization in TiledContentClient with DrawTargetTiled. r=sotaro
2015-02-03 18:16:20 +01:00
Nicolas Silva
6f049c53ff
Bug 1126903 - More efficiently track invalid regions in tiling code. r=Bas
2015-02-03 18:14:33 +01:00
Milan Sreckovic
9ebbadf44d
Bug 1081911 - Null pointer check (wallpaper) for destDTBufferOnWhite. r=mattwoodrow
2015-02-02 17:46:22 -05:00
Jeff Muizelaar
c05b6e84f8
Bug 1128765 - Add memory reporter for D3D9 shared texture usage. r=mattwoodrow
...
--HG--
extra : rebase_source : 41a1bf52382ea1a8aff3360b35158c6836f2d129
2015-02-03 21:34:33 +13:00
James Willcox
2569544820
Bug 1123084 - Always deallocate SharedSurface on the client r=jgilbert
2015-02-02 15:25:22 -06:00
James Willcox
2a95e546b1
Bug 1100126 - Don't return garbage image data if we fail to blit the texture r=jgilbert
2015-02-02 15:25:22 -06:00
David Anderson
f3d97dc62d
Detect wheel zoom via WheelPrefs instead of the Ctrl modifier. (bug 1127700, r=smaug)
2015-02-02 11:28:19 -08:00
Nicolas Silva
a33752f21d
Backed out changeset 647991418598 because it landed before review. r=me
2015-02-02 18:39:58 +01:00
Nicolas Silva
7351af6ecb
Bug 1126903 - More efficiently track invalid regions in tiling code. r=Bas
2015-02-02 18:18:56 +01:00
Carsten "Tomcat" Book
c19dbf4984
Backed out changeset 31c0fd2b6e8d (bug 1127321) for crashes on a CLOSED TREE
2015-02-02 16:13:51 +01:00
Carsten "Tomcat" Book
6d3a79d313
Backed out changeset a1d913968a8a (bug 1127289)
2015-02-02 16:13:25 +01:00
Nicolas Silva
48a5570e3c
Bug 1127289 - Add missing synchronization in TiledContentClient with DrawTargetTiled. r=sotaro
2015-02-02 15:30:55 +01:00
Nicolas Silva
e5867e9600
Bug 1127321 - Add missing member in TileClient copy constructor and assignment operator. r=jrmuizel
2015-02-02 15:30:32 +01:00
Mike Hommey
a35dbaeebf
Bug 1126593 - Add a global fallible instance, so that using fallible works directly, everywhere. r=njn
...
--HG--
rename : memory/mozalloc/fallible.h => memory/fallible/fallible.h
2015-02-02 09:56:13 +09:00
David Zbarsky
58a982f86b
Bug 1125040: Use LayoutDeviceIntPoint for nsLayoutUtils::GetEventCoordinatesRelativeTo and Touch::mRefPoint r=botond
2015-02-01 17:27:31 -05:00
Milan Sreckovic
bad3f736a3
Bug 1090910: Use gfxCriticalError to show painted regions if they end up in a bad state. Debug only crash, but will show up in about:support. r=benwa
2015-02-11 11:45:38 +08:00
Andrew McCreight
d3826daa16
Back out Bug 1127201 (part 2) for various problems.
2015-02-06 15:04:32 -08:00
Botond Ballo
5560fcf705
Bug 1005815 - Basic implementation of ChromeProcessController::HandleSingleTap. r=kats
2015-01-21 19:47:05 -05:00
Botond Ballo
fe4c9e99d2
Bug 1005815 - Extract TabChild::FireSingleTapEvent and its helpers into APZCCallbackHelper. r=kats,smaug
2015-01-21 19:46:27 -05:00
Phil Ringnalda
51c957be64
Merge b-i to m-c, a=merge
2015-01-31 09:09:40 -08:00
Ryan VanderMeulen
184e6b5985
Merge m-c to b2g-inbound. a=merge
2015-01-30 12:33:25 -05:00
Kartikaya Gupta
97bda2e81f
Bug 1123598 - Ensure we recompute margins after the scroll offset is forcibly changed by layout. r=botond
2015-01-30 11:41:27 -05:00
Wes Kocher
d7313c3320
Backed out changeset 176166c0bae9 (bug 1124394) for b2g device bustage on a CLOSED TREE
2015-01-29 14:23:37 -08:00
David Anderson
3237410cc8
Don't clear the rotated buffer if we incorrectly assume content will be COLOR_ALPHA. (bug 1126045 part 3, r=mattwoodrow)
2015-01-28 15:34:45 -08:00
Jim Mathies
f93fc49262
Bug 1095754 - Add platform widget support for providing widget identifiers used in remote widget tracking and hookl this up on gtk and Windows. r=roc
2015-01-29 13:41:57 -06:00
Jim Mathies
d5d37f938c
Bug 1095754 - Miscellaneous code cleanup nits found along the way. r=me
2015-01-29 13:41:57 -06:00
Jim Mathies
2db2a2e5ca
Bug 1095754 - In the chrome process, combine content side plugin widget geometry with chrome layer clipping and transform data, and apply this to native plugin widgets when we compose. r=roc
2015-01-29 13:41:55 -06:00
Jim Mathies
fe94f6a867
Bug 1095754 - Add a new Layer helper method for retrieving the root clip on a particular layer. r=roc
2015-01-29 13:41:55 -06:00
Jim Mathies
f53c479605
Bug 1095754 - Compositor plumbing for plugin configuration. r=roc
2015-01-29 13:41:55 -06:00
Milan Sreckovic
bad8bf235d
Bug 1122722 - Clean up asserts for compositor threads. r=nical
2015-01-27 15:52:44 -05:00
Jeff Gilbert
95f269cb3f
Bug 1124394 - Support WebGL on Core Profiles on Mac. - r=kamidphish
2015-01-29 00:44:19 -08:00
Kartikaya Gupta
842ba52546
Bug 1124452 - Ensure the widget continues to be destroyed on the main thread. r=BenWa
...
--HG--
extra : rebase_source : 012cfddceefea66299e3476d2a4ae831a586ad1c
2015-01-29 12:57:55 -05:00
Botond Ballo
88c75539b0
Bug 1124452 - Set a displayport for the root scroll frame of the root document in the chrome process. r=kats,tn
...
--HG--
extra : rebase_source : 08f10c1c81888d1ce4164f8609aa86fd3c93a4f8
2015-01-28 13:25:53 -05:00
Jeff Muizelaar
f637b9c41a
Bug 1124847. Track D3D11 shared texture usage in about:memory. r=bas
...
This will hopefully help us track down large amounts of write-combined
mappings that we see.
try: -b do -p win32,win64 -u all -t none
--HG--
extra : rebase_source : 612223046a34a0e7ba179fca4fef1d4c79e18ee8
2015-01-27 20:09:34 -05:00
Milan Sreckovic
b50b15e9f3
Bug 1124858 - Show WARP status in about support. r=bschouten
2015-01-27 16:16:55 -05:00
Botond Ballo
0bbcf4d17c
Bug 1124452 - Store the main thread's MessageLoop in ChromeProcessController. r=kats
...
--HG--
extra : rebase_source : 9c163795564dbe2fae1fd3a6e371b6455277d811
2015-01-14 18:03:43 -05:00