Commit Graph

5830 Commits

Author SHA1 Message Date
Kartikaya Gupta
9fe7f9b5c0 Back out bug 1121871 as it is an improper fix and creates regressions like bug 1132741. r=BenWa (on IRC) 2015-02-17 16:30:53 -05:00
Ryan VanderMeulen
d4c1289c37 Merge m-c to inbound. a=merge 2015-02-17 21:24:09 -05:00
Matt Woodrow
9401a149ce 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
266123e078 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
a898c86193 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
3f17a8109e 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
e121494bac Merge mozilla-central to mozilla-inbound 2015-02-17 14:47:52 +01:00
Carsten "Tomcat" Book
f31584a15c Backed out changeset 6952d9fe4f36 (bug 1129871) for causing R14/R15 Test failures 2015-02-17 14:36:42 +01:00
Carsten "Tomcat" Book
a3298e7ebb Backed out changeset e1bb91f60697 (bug 1129871) 2015-02-17 14:32:15 +01:00
Carsten "Tomcat" Book
ad716b71e4 Backed out changeset d81339c7ac52 (bug 1128934) 2015-02-17 14:32:11 +01:00
Jim Mathies
c94fc8510c Bug 1132592 - Avoid showing PluginWidgetParent widgets before they are positioned and clipped. r=aklotz 2015-02-13 12:27:56 -06:00
David Anderson
024881b68a FrameMetrics comparator does not include the scroll generation. (bug 1132715, r=kats) 2015-02-15 13:01:00 -08:00
Kartikaya Gupta
1263c2a53c Bug 1133083 - Fix build when APZCCallbackHelper logging is enabled. r=botond 2015-02-16 21:34:42 -05:00
Kartikaya Gupta
0f981d0fa8 Bug 1131840 - Propagate the EventRegionsOverride flag on RefLayers also. r=roc 2015-02-16 21:30:02 -05:00
Kartikaya Gupta
a2d821499e 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
1f5d00564d Bug 1131840 - Replace the shouldForceDispatchToContent flag with a bitset enum. r=roc,botond 2015-02-16 21:30:02 -05:00
Nicolas Silva
d0462d286c Bug 1128934 - Avoid calling GetClientBounds from BasicComposior. r=roc, karlt 2015-02-14 12:37:32 +01:00
Nicolas Silva
0dff182e54 Bug 1129871 - Favor passing tiles by ref rather than copy part 2. r=BenWa 2015-02-14 12:14:59 +01:00
Nicolas Silva
86cda7d880 Bug 1129871 - Favor passing tiles by ref rather than copy part 1. r=BenWa 2015-02-14 12:14:54 +01:00
Jeff Gilbert
ea33309bb2 Bug 1124394 - Support Core profiles for GLContext. - r=kamidphish 2015-02-12 19:00:41 -08:00
Nicolas Silva
fd7dd096b2 Bug 1120331 - "crash in mozilla::ipc::MessageChannel::Send(IPC::Message*)". r=sotaro 2015-02-04 07:15:00 +01:00
Mason Chang
ec9d8d1759 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
14d3259912 Bug 1130681. Part 2: Backout bug 1118876 for android reftest failures. r=jrmuizel 2015-02-13 16:36:45 +08:00
Matt Woodrow
1f8d1ab89b 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
898f44f6bb Bug 1127066 - Implement ChromeProcessController::HandleLongTapUp(). r=kats
--HG--
extra : source : 5857a51daa23da0090b92467cc7fe5c23354b981
2015-02-09 18:20:15 -05:00
Botond Ballo
a3f5ee9fb5 Bug 1127066 - Use (nsBaseWidget's) APZEventState in ChromeProcessController. r=kats
--HG--
extra : source : 65d5458b6f6af13ebaf424ccef87d4a0654646c4
2015-02-09 19:06:06 -05:00
Botond Ballo
cd91ae9e1b 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
74667af216 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
3990a194be Bug 1127066 - Extract an APZEventState class from TabChild. r=kats
--HG--
extra : source : fc54993e0c836ca01f3900072227938e8c4b938c
2015-02-09 14:05:18 -05:00
Botond Ballo
2a72a77d84 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
412107100c 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
eaf4eff1d2 Bug 1127066 - Fold APZCCallbackHelper::UpdateCallbackTransform() into ScrollFrame(). r=kats
--HG--
extra : source : 5b78d9e9ba84408c898d9e0ab55ae30f437792c8
2015-01-28 17:40:29 -05:00
Botond Ballo
98957944f7 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
665e47aabe 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
34b660c646 merge mozilla-inbound to mozilla-central a=merge 2015-02-11 14:58:16 +01:00
Kartikaya Gupta
1d240ac9cc 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
566f0c5f51 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
81bb5d08d8 Bug 1131462 - Remove buggy GetAsSurface override. r=jrmuizel 2015-02-10 23:03:15 +08:00
Kartikaya Gupta
d5c9c04107 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
b53fb2a07c Bug 930939 - Move thread assertion code into APZThreadUtils and add more assertions. r=botond 2015-02-10 08:24:23 -05:00
Milan Sreckovic
dd5cbcf0a9 Bug 1130971 - Null pointer checks before dispatching. r=mattwoodrow
--HG--
extra : rebase_source : f38f8831801730d4e9faf5701ad6210717a2fbc4
2015-02-09 17:23:09 +08:00
Benoit Girard
af82915f3d Bug 1085223 - Comment out occlusion culling for now. r=mattwoodrow 2015-02-10 11:20:36 +08:00
Nicholas Nethercote
6ee3666899 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
555ec83c49 Bug 1118322: Block explicitly for vblank when presenting when using WARP. r=jrmuizel 2015-02-09 16:35:48 +01:00
Nicolas Silva
f77992e98d 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
d034395186 Merge m-c to b-i 2015-02-07 09:01:30 -08:00
Wes Kocher
152aafad82 Merge m-c to b2g-inbound a=merge CLOSED TREE 2015-02-06 14:56:32 -08:00
Kartikaya Gupta
be73e7767a 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
8bb794cb82 Backout 80a88a3badba for causing bug 1130086. 2015-02-06 11:37:04 -08:00
Ethan Lin
31815090e9 Bug 1127405 - Remove the ForceRemove in CanvasClientSharedSurface to prevent crash. r=nical 2015-02-03 18:15:00 +01:00
Peter Chang
2769803f35 Bug 1129763 - Add pref for the threshold of frame visual warning, r=benwa 2015-02-06 14:38:16 +08:00
Jeff Muizelaar
9d636c290c 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
3629781b69 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
b885391af4 Backed out changesets b57d930e0ba6 and 6c8a74ba8122 (bug 1129871) for gtest failures.
CLOSED TREE
2015-02-05 13:12:18 -05:00
Nicolas Silva
0abbe8647d Bug 1129871 - Pass tiles by ref rather than copy part 2. r=BenWa 2015-02-05 18:16:10 +01:00
Nicolas Silva
975fef893f Bug 1129871 - Pass tiles by ref rather than copy part 1. r=BenWa 2015-02-05 18:16:05 +01:00
Matt Woodrow
b1240bf652 Bug 1128765 - Add more more reporters to break down D3D9 texture usage. r=jrmuizel 2015-02-05 16:20:14 +13:00
Matt Woodrow
9d38263e2b Bug 1114976 - Don't try to free TextureClients if allocation failed. r=nical 2015-02-05 14:11:46 +13:00
Jeff Gilbert
67d833acf8 Bug 1124394 - Support WebGL 2 with Core Profiles on Mac. - r=kamidphish 2015-02-04 16:34:55 -08:00
Mason Chang
75dbe45832 Bug 1128691. Part 1: Consolidate vsync compositor pref checks. r=benwa 2015-02-04 13:08:31 -08:00
Nicolas Silva
b14a0ccd9f Bug 1118876 - Make tile edge padding work work with DrawTargetTiled. r=jrmuizel 2015-02-04 14:33:16 +01:00
Milan Sreckovic
21dc99d46d Bug 1126918 - NewShSurfaceHandle can return null. Guard against it. r=jgilbert 2015-02-02 17:18:29 -05:00
Boris Chiou
1892e7ab59 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
d4b93595b2 Make debugging whole-layer invalidation slightly easier. (bug 1128752, r=mattwoodrow) 2015-02-03 14:18:44 -08:00
Matt Woodrow
440b48b397 Bug 1124543 - Handle invalidating mask changes correctly. r=roc 2015-02-04 10:39:59 +13:00
Nicolas Silva
1246c2d341 Bug 1127289 - Add missing synchronization in TiledContentClient with DrawTargetTiled. r=sotaro 2015-02-03 18:16:20 +01:00
Nicolas Silva
2c8249e21a Bug 1126903 - More efficiently track invalid regions in tiling code. r=Bas 2015-02-03 18:14:33 +01:00
Milan Sreckovic
1589d552f9 Bug 1081911 - Null pointer check (wallpaper) for destDTBufferOnWhite. r=mattwoodrow 2015-02-02 17:46:22 -05:00
Jeff Muizelaar
bbc7e35cad 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
04a8b9cb6c Bug 1123084 - Always deallocate SharedSurface on the client r=jgilbert 2015-02-02 15:25:22 -06:00
James Willcox
c6dac80268 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
de0e0dbaad Detect wheel zoom via WheelPrefs instead of the Ctrl modifier. (bug 1127700, r=smaug) 2015-02-02 11:28:19 -08:00
Nicolas Silva
0b100fcffa Backed out changeset 647991418598 because it landed before review. r=me 2015-02-02 18:39:58 +01:00
Nicolas Silva
b8710503eb Bug 1126903 - More efficiently track invalid regions in tiling code. r=Bas 2015-02-02 18:18:56 +01:00
Carsten "Tomcat" Book
71dc52b595 Backed out changeset 31c0fd2b6e8d (bug 1127321) for crashes on a CLOSED TREE 2015-02-02 16:13:51 +01:00
Carsten "Tomcat" Book
93c4419e3e Backed out changeset a1d913968a8a (bug 1127289) 2015-02-02 16:13:25 +01:00
Nicolas Silva
6c14bade97 Bug 1127289 - Add missing synchronization in TiledContentClient with DrawTargetTiled. r=sotaro 2015-02-02 15:30:55 +01:00
Nicolas Silva
6c8a3bfaa6 Bug 1127321 - Add missing member in TileClient copy constructor and assignment operator. r=jrmuizel 2015-02-02 15:30:32 +01:00
Mike Hommey
824818ee98 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
1330fc1496 Bug 1125040: Use LayoutDeviceIntPoint for nsLayoutUtils::GetEventCoordinatesRelativeTo and Touch::mRefPoint r=botond 2015-02-01 17:27:31 -05:00
Milan Sreckovic
8b56e24f50 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
8413cc973c Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Botond Ballo
dcf583baf9 Bug 1005815 - Basic implementation of ChromeProcessController::HandleSingleTap. r=kats 2015-01-21 19:47:05 -05:00
Botond Ballo
e06320456a Bug 1005815 - Extract TabChild::FireSingleTapEvent and its helpers into APZCCallbackHelper. r=kats,smaug 2015-01-21 19:46:27 -05:00
Phil Ringnalda
1bf210039c Merge b-i to m-c, a=merge 2015-01-31 09:09:40 -08:00
Ryan VanderMeulen
73cf6e0fc4 Merge m-c to b2g-inbound. a=merge 2015-01-30 12:33:25 -05:00
Kartikaya Gupta
719bee72e0 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
4bb251d0cc Backed out changeset 176166c0bae9 (bug 1124394) for b2g device bustage on a CLOSED TREE 2015-01-29 14:23:37 -08:00
David Anderson
91403df36d 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
cb85ff4a2b 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
803fb1d104 Bug 1095754 - Miscellaneous code cleanup nits found along the way. r=me 2015-01-29 13:41:57 -06:00
Jim Mathies
464ba3bc8d 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
3a91f3de77 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
2e4a3f6622 Bug 1095754 - Compositor plumbing for plugin configuration. r=roc 2015-01-29 13:41:55 -06:00
Milan Sreckovic
57fbbf3e7f Bug 1122722 - Clean up asserts for compositor threads. r=nical 2015-01-27 15:52:44 -05:00
Jeff Gilbert
54ef36bf57 Bug 1124394 - Support WebGL on Core Profiles on Mac. - r=kamidphish 2015-01-29 00:44:19 -08:00
Kartikaya Gupta
2326c50381 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
6e969d1405 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
b824cd02f7 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
311fe62d4b Bug 1124858 - Show WARP status in about support. r=bschouten 2015-01-27 16:16:55 -05:00
Botond Ballo
024f0d71f6 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
Botond Ballo
b4c29b2836 Bug 1124452 - Store the widget in ChromeProcessController. r=kats
--HG--
extra : rebase_source : 007affed79a563eee52b25c21f8c1f8eda980542
2015-01-14 18:46:37 -05:00
Jeff Muizelaar
b64704aa54 Bug 1124847. Fix apostrophe typos. 2015-01-30 00:12:01 -05:00
Mason Chang
5bd5e81b3d Bug 1125273 - Disable CompositorVsyncObserver destructor assertion. r=benwa 2015-01-28 10:36:04 -08:00
Ryan VanderMeulen
ee1dd2fec5 Backed out changeset a501183528f3 (bug 1124847) for Win7 crashes (again). r=tryserverkthxbye
CLOSED TREE
2015-01-28 10:58:55 -05:00
Jeff Muizelaar
9822c711da 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.
2015-01-27 20:09:34 -05:00
Benoit Girard
ce118bc3bc Bug 1121871 - Properly compute the invalid region when painting using the tiling fast path. r=nical 2015-01-27 16:24:11 -05:00
Ryan VanderMeulen
6b143430fb Backed out changeset 1c324316ea7a (bug 1124847) for Win7 crashes.
CLOSED TREE
2015-01-27 21:59:52 -05:00
David Anderson
bf9db3498b Don't require paint resampling for desktop APZ, yet. (bug 1126045 part 1, r=mattwoodrow)
--HG--
extra : rebase_source : c942d32bc9570d1ba9375e9c8289dc7aefceaea3
2015-01-27 16:01:48 -08:00
Jeff Muizelaar
1baaab90c9 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.

--HG--
extra : rebase_source : fbb5356fd81de3fa484639b955c3c4f806ce4f45
2015-01-27 20:09:34 -05:00
Sotaro Ikeda
46266124b8 Bug 1125913 - Use GraphicBuffer::lockAsync() on gonk LL r=nical 2015-01-27 10:05:35 -08:00
Jeff Muizelaar
3553ebb2b3 Bug 1125709. Avoiding using MacIOSurfaceTextureSourceOGL in MacIOSurfaceTextureHostOGL. r=nical
Using GLTextureSource gives us better performance because we don't need to call
CGLTexImageIOSurface2D everytime we draw.

This will eventually let us drop MacIOSurfaceTextureSourceOGL once WebGL on OS
X is using MacIOSurfaceTextureHostOGL.

--HG--
extra : rebase_source : 95a9b0888d7ddfeae520141e7f932f8555fa58d5
2015-01-19 21:23:42 -05:00
Wes Kocher
62df818443 Backed out changeset 783d0fe2770b (bug 1124394) for test bustage on a CLOSED TREE 2015-01-26 18:57:36 -08:00
Jeff Gilbert
b17f3529ee Bug 1124394 - Allow Core Profile GL contexts. - r=kamidphish 2015-01-26 17:18:45 -08:00
Masatoshi Kimura
0676786e20 Bug 1111290 - Part 3: Remove TypedEnum.h and fold TypedEnumInternal.h into TypedEnumBits.h. r=waldo 2015-01-26 07:22:11 +09:00
Masatoshi Kimura
ca6988b0d9 Bug 1111290 - Part 2: Non-mechanical changes. r=waldo 2015-01-26 07:22:08 +09:00
Masatoshi Kimura
2490dcfe04 Bug 1111290 - Part 1: Remove MOZ_(BEGIN|END)_ENUM_CLASS. r=waldo 2015-01-26 07:22:07 +09:00
Ryan VanderMeulen
8f41d89831 Bug 1042103 - Fix non-unified bustage. r=botond 2015-01-23 17:51:34 -05:00
Kartikaya Gupta
7fbb5b933d Bug 1124099 - Make sure that we skip over scrollinfo layers properly with event-regions disabled. r=botond 2015-01-23 15:12:10 -05:00
Nicolas Silva
c964f3cf52 Bug 1119019 - Avoid destroying a SharedSurface before its TextureClient/Host pair. r=sotaro 2015-01-23 15:35:16 +01:00
Bas Schouten
bf7969ed0e Bug 1097699 - Part 4: Remove LayerManagerD3D10 code. r=jrmuizel 2015-01-23 03:41:21 +00:00
Bas Schouten
dea47282db Bug 1097699 - Part 2: Remove LayerManagerD3D9 code. r=jrmuizel 2015-01-23 03:41:20 +00:00
Milan Sreckovic
67354457c3 Bug 1088833 - A bit of a clean up of warnings, and catch bad draw target in the d3d11 canvas case. r=bschouten 2015-01-20 12:47:29 -05:00
Mason Chang
b3246a1f83 Bug 1122943 - Ensure the Compositor Vsync Observer Shutsdown correctly. r=benwa 2015-01-21 16:13:15 -08:00
Botond Ballo
3a8c56fc2d Bug 1096513 - Follow up to fix an incorrect assertion. r=Cwiiis
--HG--
extra : rebase_source : bab8417ba9133c0f8039251cbc22f3b6d19541fc
2015-01-21 12:35:49 -05:00
Bas Schouten
866f97145d Bug 1117925: Make sure to invalidate the entire window when the size changes. r=jrmuizel 2015-01-21 18:00:31 +01:00
Boris Chiou
afe6cee3de Bug 1079755 - Send composer info to Layerscope viewer. r=kamidphish
Add a composition info, composedByHwc, in META packet to
notify users whether this frame is composed by Hardware composer.

--HG--
extra : rebase_source : b3883178f41acb92fa91b0cab5905d22fcf38553
2015-01-16 15:00:25 +08:00
Daniel Holbert
47aad3f8c8 Bug 1123893: Add MOZ_OVERRIDE where appropriate, in some gfx/layers/*X11* headers. r=BenWa
DONTBUILD (just backing out & re-landing to fix bug number)
2015-01-20 13:39:45 -08:00
Daniel Holbert
5cda50df3b Backed out changeset e0ada286eea0 for landing with wrong bug number.
DONTBUILD because just backing out & re-landing to fix bug number.
2015-01-20 13:41:59 -08:00
Daniel Holbert
24fd6a4af2 Bug 1117034: Add MOZ_OVERRIDE where appropriate, in some gfx/layers/*X11* headers. r=BenWa 2015-01-20 13:39:45 -08:00
Andrew McCreight
ae9c0ad9f2 back out bug 1065536 part 2 for maybe causing crashes. 2015-01-20 13:20:54 -08:00
Kartikaya Gupta
b4cf97874e Bug 1119942 - Hoist nsDisplayScrollInfoLayer items out of inactive layermanagers into their parent. r=tnikkel,mattwoodrow 2015-01-20 09:49:30 -05:00
Kartikaya Gupta
4fcbe2aa73 Bug 1119942 - Stop generating scrollinfo layers if event-regions are enabled. r=tnikkel,botond 2015-01-20 09:49:30 -05:00
Chris Lord
b8d9440f3e Bug 1042103 - Allow overscroll to be retained between input blocks. r=botond 2015-01-20 00:04:07 +00:00
Chris Lord
4e9e7de4ac Bug 1042103 - Don't ignore events during overscroll. r=botond 2015-01-16 16:42:46 +00:00
Chris Lord
9b761caf78 Bug 1096513 - Fix build error on a CLOSED TREE. r=me 2015-01-19 18:06:43 +00:00
Chris Lord
e933b7f324 Bug 1096513 - Disallow underscroll in APZC. r=botond 2015-01-19 17:39:20 +00:00
Nicolas Silva
7e8bd1785a Bug 1122621 - Fix incorrect scaling of tile origins with low res paiting. r=BenWa 2015-01-19 12:36:38 +01:00
Phil Ringnalda
ff3434a37f Merge m-c to m-i 2015-01-17 13:11:55 -08:00
Wes Kocher
7c3409c078 Merge m-c to b2g-inbound a=merge 2015-01-16 18:07:28 -08:00
Kartikaya Gupta
7fb9197457 Bug 1122276 - Inline the BuildOverscrollHandoffChain callsite of GetTargetAPZC to avoid re-entering the tree lock and deadlocking. r=botond 2015-01-16 17:34:47 -05:00
Kartikaya Gupta
81c917028c Bug 1122276 - Move lock from GetTargetNode to call sites. r=botond 2015-01-16 17:34:47 -05:00
Surabhi Anand
c2f9192a8a Bug 1120203 - Transitioning mPresShellResolution field of FrameMetrics to use getters/setters. r=kats 2015-01-16 16:15:52 -05:00
Kyle Huey
591c252165 Bug 1121673: Use move references in IPDL. r=bent 2015-01-16 11:58:52 -08:00
Bill McCloskey
0c3c75cea4 Bug 1121713 - [e10s] CompositorParent should clear itself out of LayerTreeState when destroyed (r=nical) 2015-01-16 10:06:11 -08:00
Kartikaya Gupta
48f389c563 Bug 1119497 - Rename the HitTestResult enum values in light of the new hit-test code. rs=botond 2015-01-15 10:37:54 -05:00
Kartikaya Gupta
fa75a65bf4 Bug 1119497 - Don't continue searching if we hit a layer that has no containing APZC. r=botond 2015-01-15 10:37:54 -05:00
Benoit Girard
f97773fb06 Bug 1068190 - Part 1: Add foundation for compositor unit tests. r=mstange 2015-01-14 17:24:09 -05:00
David Anderson
f8b5850175 Fix tiling computing the wrong displayport size when using containerless scrolling. (bug 1121108, r=botond)
--HG--
extra : rebase_source : a2c4071e13cd4c7917ee0876e9b1f2b61dd760d7
2015-01-14 14:19:59 -08:00
Andrew McCreight
9dfcb4451a Back out bug 1065536 part 3 for being a bad idea. 2015-01-14 11:23:06 -08:00
Botond Ballo
bf5d010493 Bug 1117712 - Update the screen-to-local transform matrix for an input block if the target APZC changes. r=kats 2015-01-14 10:16:26 -05:00
Botond Ballo
a53babd8c4 Bug 1117712 - Defer application of screen-to-local transform matrix until AsyncPanZoomController::HandleInputEvent(). r=kats 2015-01-12 17:20:15 -05:00
Botond Ballo
c79aa01ce0 Bug 1117712 - Introduce AsyncPanZoomController::GetTransformToThis(). r=kats 2015-01-09 20:15:19 -05:00
Kartikaya Gupta
f2e69b3fbc Bug 1117712 - Refactor some code to transform input events. r=botond 2015-01-09 13:39:08 -05:00
Botond Ballo
386ec63dd4 Bug 1120400 - Adjust the code for aligning fixed and sticky layers to account for the transform changes in bug 1076241. r=kats 2015-01-12 16:51:04 -05:00
Carsten "Tomcat" Book
ea914adc3c merge b2g-inbound to mozilla-central a=merge 2015-01-14 14:29:27 +01:00
David Anderson
7ae9b13ba1 Fix classic scrollbars getting occluded with containerless scrolling. (bug 1100756, r=roc)
--HG--
extra : rebase_source : fcf95ab0c435d9c29a6a3552fe05d7f1ad3bc0ec
2015-01-13 23:55:17 -08:00
Kartikaya Gupta
4942ecc965 Back out bug 1119497 and one patch from bug 920036 for causing bug 1121033. r=me 2015-01-13 21:16:51 -05:00
Wes Kocher
948c30703f Merge fx-team to m-c a=merge 2015-01-13 17:44:56 -08:00
Kartikaya Gupta
5ee8d5a694 Bug 1107009. r=BenWa 2015-01-13 13:26:26 -05:00
Cgg
ed39f22f06 Bug 1028536 - Remove BasicImageLayer::GetAndPaintCurrentImage. r=nical
From 75d863b86d2b4945c5cbe5b04bd73dcf0e2e817d Mon Sep 17 00:00:00 2001
---
 gfx/layers/basic/BasicImageLayer.cpp |   42 ----------------------------------
 1 file changed, 42 deletions(-)
2014-06-21 15:16:36 +02:00
Ehsan Akhgari
1207ff8ae6 Backed out changeset 11aebde6e809 (bug 1120059) because of build bustage on Windows 2015-01-13 00:26:16 -05:00
Birunthan Mohanathas
8a228c8946 Bug 1120059 - Remove MOZ_{HAVE_,}EXPLICIT_CONVERSION. r=Waldo 2015-01-13 06:41:15 +02:00
Nicolas Silva
88468aa5ae Bug 1113558 - Ensure that SurfaceDescriptorTiles mResolution can't cause mayhem on the compositor process. r=sotaro 2015-01-08 19:04:22 +01:00
Nicolas Silva
45b0c131f6 Bug 1120645 - Use MOZ_PERFORMANCE_WARNING with TextureClients that must be destroyed synchronously. r=BenWa 2015-01-12 23:00:08 +01:00
Benoit Girard
ffe77397d2 Bug 1119570 - Support dumping textures on windows. r=bas 2015-01-12 16:51:02 -05:00
Carsten "Tomcat" Book
df1fe14c36 merge b2g-inbound to mozilla-central a=merge 2015-01-12 14:59:45 +01:00
Kartikaya Gupta
2b47aa6276 Bug 1120214 - Fix logging-only build failure. r=botond 2015-01-11 18:26:26 -05:00
Masatoshi Kimura
f70d08c5aa Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09:00
Wes Kocher
7ed4db3736 Merge m-c to inbound a=merge 2015-01-09 21:00:13 -08:00
Chris Peterson
0b8b25193e Bug 1118076 - Remove MOZ_THIS_IN_INITIALIZER_LIST. r=Waldo 2015-01-06 21:39:46 -08:00
Bas Schouten
d249e397c5 Bug 1119854: Crash when AcquireSync takes more than 10 seconds. r=jrmuizel 2015-01-10 04:50:02 +01:00
David Anderson
774dd7187b Make sure tile textures are synchronized for D3D11. (bug 1119066, r=mattwoodrow)
--HG--
extra : rebase_source : 89d5654e43eb2a111a56c1432b90cd3a283f4a50
2015-01-09 13:50:20 -08:00
Kartikaya Gupta
ea2ccd3c61 Bug 1119497 - Rename the HitTestResult enum values in light of the new hit-test code. rs=botond 2015-01-10 10:55:47 -05:00
Kartikaya Gupta
f0e0097cfb Bug 1119497 - Don't continue searching if we hit a layer that has no containing APZC. r=botond 2015-01-10 10:55:47 -05:00
Botond Ballo
5226fc5e7f Bug 1088984 - Account for the async scale correctly when transforming the scroll thumb in the compositor. r=kats
--HG--
extra : rebase_source : 28e6c6c3a510549c939daea615fc0329d785a352
2014-10-24 20:14:56 -04:00
Botond Ballo
334d13367d Bug 1113457 - Improve the approximation used to model spring physics during an overscroll animation, to avoid the approximation from diverging. r=kats
--HG--
extra : rebase_source : 4e26357cd76c7125f5c02529f1ac3b038eec36c2
2015-01-07 16:45:29 -05:00
Kartikaya Gupta
93f87b5463 Bug 1119811 - Fold the gonk ParentProcessController into the reusable ChromeProcessController. r=dvander 2015-01-09 13:41:23 -05:00
Kartikaya Gupta
5979f988c9 Bug 973619 - Pick up the zoom from layout when the viewport dimensions change. r=botond 2015-01-09 10:21:50 -05:00
Ehsan Akhgari
b6e35bb4b4 Bug 1118486 - Part 1: Use = delete instead of MOZ_DELETE directly; r=Waldo
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:

#!/bin/bash

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "*/.git*" \
       ! -wholename "obj-*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Nicolas Silva
fdc552f2eb Bug 1114948 - Use NS_lroundf instead of NS_roundf in tioling code to avoid inconsistent behavior around zero. r=jrmuizel 2015-01-08 18:58:22 +01:00
Benoit Girard
54d4b3735d Bug 1110229 - bustage fix on a CLOSED TREE 2015-01-08 11:53:03 -05:00
Kartikaya Gupta
eb960639f8 Bug 1109873 - Follow-up to fix debug logging bustage. r=me and DONTBUILD 2015-01-08 11:29:20 -05:00
Benoit Girard
4384ee9695 Bug 1110229 - Always paint the full low-res tile for performance and correctness. r=nical 2015-01-08 11:24:15 -05:00
Kartikaya Gupta
01e045fa21 Bug 1109873 - Implement the expanded HitTestingTree. r=botond 2015-01-08 09:40:01 -05:00
Kartikaya Gupta
dc35d9ea17 Bug 1109873 - Allow the APZC stored in the HitTestingTreeNode to be null. r=botond 2015-01-08 09:40:01 -05:00
Kartikaya Gupta
e758b39127 Bug 1109873 - Rename UpdatePanZoomControllerTree to UpdateHitTestingTree. r=botond 2015-01-08 09:40:01 -05:00
Kartikaya Gupta
d2cc915010 Bug 1109873 - Rearrange some loops to duplicate less code. r=botond 2015-01-08 09:40:01 -05:00
Kartikaya Gupta
febc92fd83 Bug 1109873 - Move hit-testing data into HitTestingTreeNode. r=botond 2015-01-08 09:40:01 -05:00
Kartikaya Gupta
7e2e809c0e Bug 1109873 - Extract HitTestResult into a helper header. r=botond 2015-01-08 09:40:01 -05:00
Kartikaya Gupta
4e8835d9e7 Bug 1109873 - Introduce the HitTestingTreeNode class. r=botond
This patch extracts a HitTestingTreeNode from AsyncPanZoomController. The tree
formed by these nodes is very similar in structure to the APZC tree that we had
previously. The main difference is that we can have multiple HitTestingTreeNode
instances per APZC; each HitTestingTreeNode corresponds to a different layer
with the same metrics.

This is a first step in extracting the hit-test data entirely from the
AsyncPanZoomController class and having a 1:1 mapping with the layer tree.
2015-01-08 09:40:01 -05:00
Botond Ballo
6f6de98bb8 Bug 1109873 - Add some explanatory comments to the APZC tree building code. r=kats 2015-01-08 09:40:01 -05:00
Carsten "Tomcat" Book
7f0eceed6f merge b2g-inbound to mozilla-central a=merge 2015-01-08 15:07:12 +01:00
Jeff Muizelaar
782e149f98 Bug 1119089. Switch from the ineffecient x = x.sub(x, y) to x.subout(y);
The recently added move assignment operators make the existing pattern more
efficient, but using SubOut() is cleaner and even more efficient.

--HG--
extra : rebase_source : 14ba52bfde0a4a591ca39b92d86632206bbe13eb
2015-01-07 21:18:57 -05:00
Kai-Zhen Li
5fdfcf55db Bug 1113655 - Fix bustage when camera is enabled and webtrc is not enabled. r=sotaro 2014-12-24 14:04:07 +08:00
Kartikaya Gupta
cce9ca8011 Bug 1118784 - Fix typo causing wheel inputs to not get transformed to Gecko coordinate space properly. r=dvander 2015-01-07 13:34:23 -05:00
Botond Ballo
bb16c1b6f4 Bug 1073003 - Fix -Wunused-variable / -Wunused-but-set-variable warnings. r=ehsan
--HG--
extra : rebase_source : a9b9166164ee79e2e460bb20fde7f76e1672f481
2014-12-31 16:49:13 -05:00
Bas Schouten
c528537e42 Bug 1107718 - Addendum: Properly address review comments. r=nical 2015-01-08 00:12:29 +00:00
Bas Schouten
cd5fcfeb14 Bug 1107718: Properly deal with a D3D11 device reset. r=nical 2015-01-08 00:10:49 +00:00
James Willcox
6dc403672c Bug 1117777 - Fix inverted MP4 videos on Android r=jgilbert 2015-01-07 11:54:33 -06:00
Botond Ballo
2b83564d48 Bug 1076241 - Get rid of the nontransient async transform. r=kats 2014-12-19 18:53:05 -05:00
Botond Ballo
2e46796a0f Bug 1076241 - Add an API for setting a resolution on a document and scaling it by that amount. r=kats,tn 2015-01-02 20:06:14 -05:00
Ryan VanderMeulen
47a9f5c2f5 Bug 1114577 - GFX cleanups now that Windows SDK 8.1 is the minimum supported version. r=jmuizelaar, r=glandium 2015-01-07 11:32:07 -05:00
Ehsan Akhgari
26a8215eb5 Bug 1114999 - Part 2: Apply MOZ_NO_ADDREF_RELEASE_ON_RETURN to all smart pointer arrow operators that can return refcounted objects; r=jrmuizel 2015-01-06 16:30:03 -05:00
Kearwood (Kip) Gilbert
4c2af7541e Bug 1067286 - Part 1: Correct application of device offset for mask layers. r=mattwoodrow
- Fixed GetMaskData() function in BasicLayersImpl.cpp to use
  Matrix::PostTranslate rather than Matrix::PreTranslate when applying
  the device offset.
2014-12-03 18:02:00 -05:00
Nicholas Nethercote
7c3d872761 Bug 1117639 - Remove AbortFrame() because it is dead. r=bas.
--HG--
extra : rebase_source : 7df4840fb99dc025ee102d9697097caa4034fa6d
2015-01-05 15:54:51 -08:00
Nicholas Nethercote
23ad5f82ac Bug 1117594 - Crash on unexpected image format in ImageLayerD3D10::RenderLayer(). r=bas.
--HG--
extra : rebase_source : f99f778126dcad615b754a84dc4ca6e1c9d2578d
2015-01-05 15:53:22 -08:00
Benoit Girard
2e6be15119 Bug 1112332 - Disable all paint heuristics for layers not actively scrolled by APZ. r=kats
--HG--
extra : rebase_source : 785e13857a3bdb3107cb0836a37bcffbea7f02ec
2015-01-02 11:17:59 -05:00
Ethan Lin
4766738c5a Bug 1103258 - Prevent an empty container from creating a render target. r=BenWa, r=jmuizelaar 2014-12-23 05:48:00 -05:00
Mason Chang
6c14384be2 Bug 1117870. Compositor unobserve vsync after configurable number of notifications. r=benwa 2015-01-05 13:52:49 -08:00
Ehsan Akhgari
ef6963bd58 Bug 1116622 - Give TemporaryRef a take() method semantically equivalent to already_AddRefed::take(); r=froydnj
This is in preparation of removing TemporaryRef.  It should help make
already_AddRefed a drop-in replacement for it.
2015-01-05 11:32:37 -05:00
Cameron McCormack
c4a2f37f57 Bug 1116427 - Remove unneeded nsCSSPropList.h include from AsyncCompositionManager.h. r=nrc 2015-01-05 22:03:28 +11:00
Ehsan Akhgari
b7a647884b Bug 1117263 follow-up: Fix a build bustage in opt builds 2015-01-03 12:38:20 -05:00
Ehsan Akhgari
fcf3f5e262 Bug 1117263 - Mark virtual overridden functions as MOZ_OVERRIDE in graphics layers code; r=roc 2015-01-03 12:21:23 -05:00
Phil Ringnalda
e60d3a013a Back out 47683fccda29 (bug 1112332) for b2g reftest-6 failures
CLOSED TREE
2015-01-02 21:31:35 -08:00
Andrew McCreight
d29bf1703b Bug 1065536, part 3 - Explicitly shut down the CompositorChild in the child process. r=nical 2015-01-02 13:09:06 -08:00
Andrew McCreight
3c484ac9d8 Bug 1065536, part 2 - Remove extra Release of sCompositor. r=nical 2015-01-02 13:09:06 -08:00
Andrew McCreight
f47b0e2940 Bug 1065536, part 1 - Remove superfluous MOZ_COUNT_CTOR/DTOR for CompositorChild. r=nical
This class is reference counted so they are not needed.
2015-01-02 13:09:06 -08:00
Benoit Girard
dea2e73aed Bug 1112332 - Disable all paint heuristics for layers not actively scrolled by APZ. r=kats
* * *
Bug NUMBER - #include CompositorChild.h to fix non-unified build bustage. r?
2015-01-02 11:17:59 -05:00
Wes Kocher
12e95441ce Backout 827fa9b5f9b4 (bug 1112332) for build bustage 2015-01-02 10:18:57 -08:00
Benoit Girard
a45ef9ef1e Bug 1112332 - Disable all paint heuristics for layers not actively scrolled by APZ. r=kats
--HG--
extra : rebase_source : fd66e2028d7d8dd0ce0a35f79bb73169795a0c24
2015-01-02 11:17:59 -05:00
Jeff Gilbert
e2cd335ec4 Bug 1100699 - Use OriginPos instead of isInverted. - r=mattwoodrow,snorp 2014-11-17 17:02:19 -08:00
Kushan Joshi
2124f457f1 Bug 1116008 - Make FrameMetrics::mCriticalDisplayPort private. r=kats 2014-12-30 14:07:57 -05:00
Leonid V. Fedorenchik
f7a220a203 Bug 1115327 - Changed FrameMetrics.mScrollableRect to be accessible by getter/setter methods. r=kats 2014-12-27 12:48:27 -05:00
Ethan Lin
8b1ccb3cec Bug 1042696 - Set allocator to TextureClient from constructor. r=nical 2014-12-22 03:49:00 -05:00
Wes Kocher
aca592252a Merge inbound to mozilla-central a=merge CLOSED TREE 2014-12-23 16:47:42 -08:00
Ryan VanderMeulen
bba9447754 Merge m-c to b2g-inbound. a=merge 2014-12-23 13:18:49 -05:00
Kartikaya Gupta
61114fa106 Bug 1113386 - Don't send long-press events if they begin on a fast-motion block. r=botond 2014-12-23 11:05:46 -05:00
Carsten "Tomcat" Book
2aabf236cc Backed out changeset ad0bb596da2c (bug 1073003) 2014-12-23 13:35:02 +01:00
Nicolas Silva
e78e2d77e4 Bug 1071769 - Can't rerasterize valid region with tiling. r=Bas 2014-12-23 10:52:17 +01:00
Nicolas Silva
2fa4d2e50b Bug 1071769 - Fix the integration of DrawTargetTiled. r=Bas 2014-12-17 17:59:46 +01:00
Botond Ballo
86409607b7 Bug 1073003 - More Werror bustage fixes on a CLOSED TREE. r=bustage
--HG--
extra : rebase_source : 86466eea48ddfc7b5698d97ca574ed6cdf79326e
extra : amend_source : 9eb590b24276a068bbb078152509b3c743bb40f8
2014-12-23 00:03:15 -05:00
Jeff Muizelaar
ab58d4b845 Bug 1113291. Reenable DisplayLink blocking on Windows. r=bas
Bug 1107299 broke this blocking because it assumed that DoesD3D11DeviceWork()
only described whether texture sharing works. However we were also checking for
broken DisplayLink drivers in that function. This splits out that part and uses
it appropriately.

--HG--
extra : rebase_source : 895d2da6297a48d0a2cbef2d149c27471c788484
2014-12-22 00:41:57 -05:00
Nicolas Silva
cac5fac1bb Bug 1114336 - Fix typo in UpdateFromCompositorFrameMetrics. r=kats 2014-12-22 17:39:36 +01:00
Ryan VanderMeulen
e5f5946372 Backed out changeset dd9790020b89 (bug 1042696) for B2G debug crashes. 2014-12-22 11:15:36 -05:00
Ethan Lin
f74318e12f Bug 1042696 - Set allocator to TextureClient from constructor. r=nical 2014-12-22 03:49:00 -05:00
Yan Gouts
171cf32ef7 Bug 1113774 - Transitioned FrameMetric mDisplayPort accesses to Get/Set method calls. r=kats 2014-12-23 10:35:58 -05:00
Sotaro Ikeda
1efb2ccc69 Bug 1113789 - Remove GrallocTextureSourceOGL r=nical 2014-12-22 06:28:07 -08:00
Brian Birtles
20b332cf25 Bug 927349 part 13 - Update start times on animations in layers when the animation ready time is resolved; r=nical 2014-12-22 09:35:41 +09:00
Brian Birtles
febadec1c8 Bug 927349 part 12 - Store the initial time of animations on layers so start times can be resolved after-the-fact; r=nical 2014-12-22 09:35:41 +09:00
Brian Birtles
80a9850f7c Bug 927349 part 10 - Record the time when animations are ready to start; r=jwatt 2014-12-22 09:35:41 +09:00
Ryan VanderMeulen
0a21cc6b87 Merge inbound to m-c. a=merge
CLOSED TREE
2014-12-19 21:57:29 -05:00
Kai-Zhen Li
1695a9a4b1 Bug 1113655 - Fix bustage in gfx/layers/ImageContainer.cpp on gonk-L, r=roc,sotaro 2014-12-19 16:42:19 -05:00
Mason Chang
31ac06c046 Bug 1113725. Rename VsyncDispatcher to CompositorVsyncDispatcher. r=kats 2014-12-19 12:52:42 -08:00
Markus Stange
0227d3cc8b Bug 1101635 - Enable tiling on 10.6. r=jrmuizel f=milan 2014-12-19 14:48:33 -05:00
Nicolas Silva
f69279c005 Bug 1112170 - Don't disable tiles for the basic backend on Linux. r=Bas 2014-12-18 22:23:53 +01:00
Prabhjyot Singh Sodhi
78f5368e85 Bug 1112830 - Changed mCumulativeResolution of FrameMetrics.h to private and all correspondings files using this variable using getters and setters;r=kats 2014-12-18 19:33:18 -05:00
Milan Sreckovic
24a732e527 Bug 1101685 - Optionally assert in loggers, default to true on gfxCriticalError. Clean up the calls where large texture sizes were triggering the asserts in tests. r=nical 2014-12-17 17:54:04 -05:00
Milan Sreckovic
c5ae89f266 Bug 1072871 - Make sure the targets don't disappear under us. r=benwa 2014-12-15 12:10:06 -05:00
David Anderson
f52f1d7e04 Handle in-process APZ events correctly on Windows. (bug 1111873 part 2, r=kats)
--HG--
extra : rebase_source : 8ca5156392705e3a1806fc6a15154dbaa380f438
2014-12-18 15:25:03 -08:00
Benoit Girard
ff2a74778a Bug 1113331 - Make the frame metrics easier to parse. r=kats 2014-12-18 16:33:10 -05:00
Benoit Girard
389852a080 Bug 1112756 - Pass display list and layers data directly to the profiler. r=mstange
--HG--
extra : rebase_source : 5c7295e80105b0db43651553c1b901836571cbbb
2014-12-18 13:32:53 -05:00
Benoit Girard
948f5853f1 Bug 1112476 - Support dumping texture data on the ClientLayerManager. r=mstange
--HG--
extra : rebase_source : 5d5cf3372993ca4af78e12236fc64836a56eff4b
2014-12-18 13:32:45 -05:00
Vladimir Vukicevic
425c9c3916 Bug 1036602 - Add GL support for VR rendering; r=BenWa
From aec0bd50768482fe516111010bad2e57f01ede36 Mon Sep 17 00:00:00 2001
---
 gfx/layers/moz.build                           |   1 +
 gfx/layers/opengl/CompositingRenderTargetOGL.h |   4 +
 gfx/layers/opengl/CompositorOGL.cpp            |  14 ++
 gfx/layers/opengl/CompositorOGL.h              |  38 +++
 gfx/layers/opengl/CompositorOGLVR.cpp          | 326 +++++++++++++++++++++++++
 5 files changed, 383 insertions(+)
 create mode 100644 gfx/layers/opengl/CompositorOGLVR.cpp
2014-07-09 12:28:27 -07:00
Vladimir Vukicevic
79c03a5b37 Bug 1036602 - Regenerate D3D11 shaders; r=Bas
From 11ab35cf793e6a2a0342b4e1a761a6f4cc394ff5 Mon Sep 17 00:00:00 2001
---
 gfx/layers/d3d11/CompositorD3D11Shaders.h   | 282 ++++++------
 gfx/layers/d3d11/CompositorD3D11ShadersVR.h | 638 ++++++++++++++++++++++++++++
 2 files changed, 786 insertions(+), 134 deletions(-)
 create mode 100644 gfx/layers/d3d11/CompositorD3D11ShadersVR.h
2014-07-09 12:28:05 -07:00
Vladimir Vukicevic
eb311ac343 Bug 1036602 - Fix up D3D11 genshaders.sh script; r=bas
From 42aa031e5b36efe5603525c7967557fec7e09ec5 Mon Sep 17 00:00:00 2001
---
 gfx/layers/d3d11/genshaders.sh | 74 +++++++++++++++++++++++++-----------------
 1 file changed, 45 insertions(+), 29 deletions(-)
2014-07-09 12:27:38 -07:00
Vladimir Vukicevic
d08a8dca2a Bug 1036602 - rename d3d11 .fx files to .hlsl; r=bas
From 0117494b71e0b9ea01d8b552523529cf305ab919 Mon Sep 17 00:00:00 2001
---
 gfx/layers/d3d11/CompositorD3D11.fx     | 279 --------------------------------
 gfx/layers/d3d11/CompositorD3D11.hlsl   | 279 ++++++++++++++++++++++++++++++++
 gfx/layers/d3d11/CompositorD3D11VR.fx   |  71 --------
 gfx/layers/d3d11/CompositorD3D11VR.hlsl |  71 ++++++++
 gfx/layers/d3d11/genshaders.sh          |  28 ++--
 5 files changed, 364 insertions(+), 364 deletions(-)
 delete mode 100644 gfx/layers/d3d11/CompositorD3D11.fx
 create mode 100644 gfx/layers/d3d11/CompositorD3D11.hlsl
 delete mode 100644 gfx/layers/d3d11/CompositorD3D11VR.fx
 create mode 100644 gfx/layers/d3d11/CompositorD3D11VR.hlsl
2014-12-17 11:47:06 -05:00
Vladimir Vukicevic
4949616691 Bug 1036602 - add D3D11 support for VR rendering; r=bas
From fbb1e2ba9936896a1eb932585218401f4c95e411 Mon Sep 17 00:00:00 2001
---
 gfx/layers/d3d11/CompositorD3D11.cpp  | 212 +++++++++++++++++++++++++++++++++-
 gfx/layers/d3d11/CompositorD3D11.fx   |   1 +
 gfx/layers/d3d11/CompositorD3D11.h    |   9 ++
 gfx/layers/d3d11/CompositorD3D11VR.fx |  71 ++++++++++++
 4 files changed, 290 insertions(+), 3 deletions(-)
 create mode 100644 gfx/layers/d3d11/CompositorD3D11VR.fx
2014-07-09 12:26:51 -07:00
Nicolas Silva
75fb9728cb Bug 1110268 - avoid crashing in canvas code when failing to allocate a frame. r=Bas. 2014-12-18 19:28:16 +01:00
Ryan VanderMeulen
c1690cbae6 Backed out changeset bf93cbec0450 (bug 1112170) for OSX asserts/crashes. 2014-12-18 12:22:50 -05:00
Mason Chang
68210a8a94 Bug 1101974. Part 2: Access VsyncDispatcher through nsIWidget interface. r=benwa 2014-12-18 08:30:06 -08:00
Nicolas Silva
ea85695e54 Bug 1112170 - allow the basic compositor backend to use tiling. r=Bas 2014-12-18 15:56:54 +01:00
Alfredo Yang
2b6ee6bf53 Bug 938034 - Add GonkCameraImage format. r=roc 2014-12-17 23:42:00 -05:00
Prabhjyot Singh Sodhi
7ddff31846 Bug 1101620 - Changed mDevPixelsPerCSSPixel of FrameMetrics.h to private and all corresponding files using this variables using getters and setters;r=kats 2014-12-17 17:14:05 -05:00
David Anderson
647da9b3b9 Forward Windows events to APZ directly from nsWindow. (bug 1109985 part 2, r=kats) 2014-12-15 23:31:12 -08:00
Kartikaya Gupta
75f2892393 Add a helper for forwarding event APZ info to TabParent. (bug 1109985 part 1, r=dvander) 2014-12-15 23:28:19 -08:00
Nicolas Silva
9dffe1f0a8 Bug 1108164 - Remove per-tile drawing. r=Bas 2014-12-17 17:32:29 +01:00
Carsten "Tomcat" Book
6072d6a564 merge fx-team to mozilla-central a=merge 2014-12-17 12:50:10 +01:00
Nathan Froyd
d1450b3e0d Bug 1112426 - stop generating unused PremultiplyTables.h in gfx/layers/; r=jrmuizel 2014-12-16 21:12:52 -05:00
Benoit Girard
39d325c235 Bug 1111258 - Bustage fix. r=mstange 2014-12-16 21:32:58 -05:00
Benoit Girard
f1806aab57 Bug 1111258 - Allow dumping textures without MOZ_DUMP_PAINTING. r=mstange 2014-12-16 18:39:43 -05:00
Ryan VanderMeulen
b9eee2db52 Merge m-c to fx-team. a=merge 2014-12-16 16:08:15 -05:00
Sotaro Ikeda
0d2fb7a573 Bug 1043558 - Use gralloc for WebRTC camera preview r=jesup,nical 2014-12-16 07:11:48 -08:00
Carsten "Tomcat" Book
b3f9f20fd0 merge mozilla-inbound to mozilla-central a=merge 2014-12-16 13:34:05 +01:00
Carsten "Tomcat" Book
a07b0286ce merge b2g-inbound to mozilla-central a=merge 2014-12-16 12:54:14 +01:00
Carsten "Tomcat" Book
ee7fbbf8c8 Backed out changeset 2187c2cdeea9 (bug 1109985) for memory leaks 2014-12-16 09:40:01 +01:00
Carsten "Tomcat" Book
abebb49dc8 Backed out changeset c61753316ddb (bug 1109985) 2014-12-16 09:39:39 +01:00
Wes Kocher
2e2d08fbaf Backed out changeset bfe4f2eb91c5 (bug 938034) for non-unified bustage on a CLOSED TREE 2014-12-15 14:16:59 -08:00
Kartikaya Gupta
432037c65e Bug 1083818 - Bypass the 10ms delay if the element being activated won't visually change. r=botond 2014-12-15 13:59:02 -05:00
David Anderson
d556e1e7b3 Create a common chrome-process GeckoContentController. (bug 1110540 part 2, r=kats) 2014-12-15 01:49:48 -08:00
David Anderson
eb3af90ef3 Forward Windows events to APZ directly from nsWindow. (bug 1109985 part 2, r=kats) 2014-12-15 23:31:12 -08:00
Kartikaya Gupta
25049161ec Add a helper for forwarding event APZ info to TabParent. (bug 1109985 part 1, r=dvander) 2014-12-15 23:28:19 -08:00
Jacek Caban
46ce038900 Bug 1107297 - Crosscompilation fixup. 2014-12-14 14:36:11 +01:00
Sotaro Ikeda
57b00f37e7 Bug 1010966 - Reduce gl()->fEGLImageTargetTexture2D() call from tiled layer on gonk r=nical 2014-12-15 19:41:21 -08:00
Botond Ballo
3a01e6f992 Bug 1073081 - Fix an incorrect comparison between enums of different types. r=nical
--HG--
extra : source : 44eab86293d517ac52811441aab9fd857320743d
2014-11-24 20:00:40 -05:00
Botond Ballo
ad57e8cd3b Bug 1073081 - Remove a couple of unused functions. r=sotaro
--HG--
extra : source : fe519374ce47658711c6803520bb35287702dc50
2014-11-24 20:00:10 -05:00
Botond Ballo
8296035077 Bug 1073081 - Fix -Wunused-result, -Wunused-variable, and -Wunused-but-set-variable warnings. r=ehsan
--HG--
extra : source : a1ac7acfcf14207706eca29be3a20c576c8fae06
2014-11-26 18:13:49 -05:00
Botond Ballo
b08ca88b2a Bug 1073081 - Fix -Wsign-compare and -Wsign-conversion warnings. r=ehsan
--HG--
extra : source : 88c58a8cc276a4691ed23fd8b8f2f6c0713b50fd
2014-11-24 19:54:33 -05:00
Bas Schouten
b24ee3fde9 Bug 1088414: Use a single synchronization texture for D3D11. r=jrmuizel
This patch adds a cross platform 'sync object' that is used to synchronize the drawing of individual textures. For the D3D11 implementation all textures that are written to will have one pixel copied into the D3D11 sync texture while holding its lock. The compositor will then, before composition acquire and release sync once, this should ensure all drawing on the content side has completed.
2014-12-13 01:50:47 +00:00
Wes Kocher
115e9d90b8 Backed out changeset 2cd43e5ae2c1 (bug 1088414) for breaking non-Windows builds on a CLOSED TREE 2014-12-12 18:11:59 -08:00
Bas Schouten
ee49fe00fe Bug 1088414: Use a single synchronization texture for D3D11. r=jrmuizel
This patch adds a cross platform 'sync object' that is used to synchronize the drawing of individual textures. For the D3D11 implementation all textures that are written to will have one pixel copied into the D3D11 sync texture while holding its lock. The compositor will then, before composition acquire and release sync once, this should ensure all drawing on the content side has completed.
2014-12-13 01:50:47 +00:00
Benoit Girard
568990f3cf Bug 1110998 - Let the profiler turn on layers.dump-texture. r=mstange
--HG--
extra : rebase_source : 05cd593beaf75999aed7c274410dfac422dc6696
2014-12-12 16:11:57 -05:00
Milan Sreckovic
d1a8547d89 Bug 1110528 - Check for invalid surface before calling update. r=nical
CLOSED TREE
2014-12-12 14:56:06 -05:00
Alfredo Yang
fe254ebfaf Bug 938034 - Add new GonkCameraImage image type. r=roc 2014-12-15 01:01:00 -05:00
Wes Kocher
e0a2dd4086 Backed out 2 changesets (bug 1103258) for b2g reftest failures
Backed out changeset 64e9d08ae14b (bug 1103258)
Backed out changeset bca5954a31d2 (bug 1103258)
2014-12-16 15:24:45 -08:00
Benoit Girard
569173b481 Bug 1103258 - Don't prepare a container layer that's been culled. r=jmuizel 2014-12-11 15:55:31 -05:00
Gijs Kruitbosch
3bd09bf356 Bug 1088588 - fix ifdef in X11TextureSourceOGL.cpp, patch by Dirk Mueller, r=nical 2014-10-29 21:42:44 +00:00
Milan Sreckovic
2127426c69 Bug 1109828 - Check for null pointer before dereferencing. r=nical 2014-12-10 15:11:45 -05:00
David Anderson
b7b4b7f826 Fix displayport bounds not being computed from the correct origin. (bug 1109949, r=tn) 2014-12-11 21:13:10 -08:00
David Anderson
a107595018 Don't reuse input blocks with dead APZCs. (bug 1110038, r=kats)
--HG--
extra : rebase_source : 458816195b9e8e0394bfdf662b7173328015415c
2014-12-11 13:03:27 -08:00