Commit Graph

560 Commits

Author SHA1 Message Date
Kartikaya Gupta
9e50ea54b7 Bug 947337 - Ensure the transform of input to Gecko space accounts for inflight paint requests. r=botond 2014-01-21 16:27:20 -05:00
Ryan VanderMeulen
fdae3860b4 Merge b2g-inbound to m-c. 2014-01-19 15:40:48 -05:00
Sushil Chauhan
d008525ff7 Bug 953303 - HwcComposer2D should honor HWC_HINT_CLEAR_FB set by hwcomposer. r=ncameron 2014-01-17 18:55:30 -08:00
Kartikaya Gupta
bb55d78054 Bug 941138 - Make the duplicated code paths consistent. r=botond 2014-01-17 09:53:08 -05:00
Kartikaya Gupta
b172a54ae2 Bug 941138 - Remove a redundant ScreenPoint argument. r=botond 2014-01-17 09:53:08 -05:00
Kartikaya Gupta
6ad34c19ec Bug 941138 - Move the code to update the cached transform. r=botond 2014-01-17 09:52:49 -05:00
David Zbarsky
3e4ce3885c Bug 952977: Switch GL world transform to gfx::Matrix r=nical 2014-01-16 02:22:19 -05:00
Botond Ballo
3de2ebacb7 Bug 959198 - Have APZ hit testing respect mozpasspointerevents. r=kats
--HG--
extra : rebase_source : aafa0b5bf9839f583b84151afc4a3c805fabee0a
2014-01-16 15:19:59 -05:00
Nick Lebedev
1651d2c5bb Bug 795567 - Part 3: Add panning restriction and retrieving of touch-action value to apzc. r=kats 2014-01-15 10:03:15 -05:00
Benoit Jacob
1dd66d999b Bug 950113 - Avoid destroying our texture everytime we composite a ImageHost - r=nical 2014-01-15 07:45:28 -05:00
Chris Lord
9123b70f17 Bug 950993 - Fix async scrolling of fixed layers within scrollable sub-layers. r=roc
Fixed layers are relative to their nearest scrollable ancestor, so when we
encounter a scrollable layer in AlignFixedAndStickyLayers, reset the transform
and sub-tree root to start from that scrollable layer.

This fixes async scrolling of the fixed header in the Firefox marketplace on
B2G.
2014-01-15 12:15:50 +00:00
Benoit Jacob
f447d87c57 Bug 958375 - 8/9 - Make remaining Moz2D enums typed - r=Bas
Specifically:
  r=Bas for manual changes
  f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:17 -05:00
Benoit Jacob
ccaa35314d Bug 958375 - 6/9 - Make BackendType and NativeSurfaceType typed enums - r=Bas
Specifically:
  r=Bas for manual changes
  f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Benoit Jacob
a1e7c32630 Bug 958375 - 4/9 - Make SurfaceFormat a typed enum - r=Bas
Specifically:
  r=Bas for manual changes
  f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Andreas Pehrson
0955c3684b Bug 877115 - Remove GetTexImage from GLContext helper. r=nical 2014-01-08 09:37:58 +01:00
Daniel Holbert
4d86d9a617 Bug 957859: Add "f" suffix to some numeric literals in Compositor.cpp and ContainerLayerComposite.cpp, to fix MSVC C4305 warnings. r=nical 2014-01-09 06:26:19 -08:00
Benoit Jacob
f89d762216 Bug 956401 - 5/9 - Let DrawWindow{Under,Over}lay take care of saving and restoring GL state - r=nrc 2014-01-07 15:02:18 -05:00
Nicolas Silva
e8b4b086ed Bug 938591 - Use texture flags in DataTextureSource + D3D9/11 fixes. r=nrc 2014-01-07 17:20:11 +01:00
Nicolas Silva
4d8b6b278e Bug 900244 - New D3D9 Textures for BufferTextures. r=nrc 2014-01-07 17:20:03 +01:00
Nicolas Silva
d77e8606a1 Bug 938591 - New D3D11 TextureClient/Host. r=nrc 2014-01-07 17:19:52 +01:00
Kartikaya Gupta
570d06ad25 Bug 915985 - Refactoring to introduce a ZoomConstraints class. r=botond 2014-01-06 13:26:44 -05:00
Birunthan Mohanathas
d05644b6b3 Bug 784739 - Switch from NULL to nullptr in remaining directories; r=ehsan
--HG--
extra : rebase_source : 1ff19b2c8fd0e77fa8e822f5007a9fa3a6b6d474
2014-01-06 10:06:04 -05:00
Ms2ger
fc0c5d7215 Bug 950143 - Remove the implicit conversion operator from nsIntSize to IntSize; r=roc 2013-12-31 10:06:12 +01:00
Wes Kocher
53c4b1ac6a Merge inbound to m-c 2013-12-20 18:42:04 -08:00
Diego Wilson
78b4c2402e Bug 950800 - Honor Composer2D toggling on the fly. r=nrc
Now you can toggle the hardware composer on/off at any point without restarting B2G.
2013-12-17 09:01:39 -08:00
Nicolas Silva
058260c070 Bug 951218 - Fix a bug in AutoLockTextureHost. r=bjacob 2013-12-20 23:30:52 +01:00
Tor Arvid Lund
a9bab1983c Bug 950677 - Change all remaining gfxIntSize -> IntSize refs. r=nical 2013-12-20 11:46:30 -05:00
Tor Arvid Lund
c652a133f6 Bug 950677 - More gfxIntSize -> IntSize changes in Layer* classes. r=nical 2013-12-20 11:46:29 -05:00
Tor Arvid Lund
0cb3c8eff8 Bug 950677 - Change gfxIntSize -> gfx::IntSize some places in layers/ipc. r=nical 2013-12-20 11:46:28 -05:00
Randall Barker
08972a99be Bug 895358 - Part 2, Enable progressive tile rendering in B2G; r=BenWa,kats,Cwiiis 2013-12-19 12:19:25 -08:00
Nicolas Silva
1602ad6cbf Bug 951218 - Use RAII to unlock TextureHost. r=bjacob 2013-12-19 17:20:51 +01:00
Phil Ringnalda
64afb91b4b Back out 024623d015e9:fa1dd7e7aa22 (bug 895358) for Windows build bustage
CLOSED TREE
2013-12-17 23:36:05 -08:00
Randall Barker
5f29e6fa80 Bug 895358 - Part 2, Enable progressive tile rendering in B2G; r=BenWa,kats,Cwiiis 2013-12-17 13:41:00 -08:00
Ryan VanderMeulen
f0ceb6aaa5 Merge b2g-inbound to m-c. 2013-12-17 16:17:49 -05:00
Kartikaya Gupta
0ea9aefa0c Bug 950487 - Remove unnecessary UpdateCompositionBounds function on APZC. r=Cwiiis 2013-12-17 14:25:57 -05:00
Markus Stange
904a99263d Bug 951186 - Propagate the current compositor in ContentHostBase::UseTextureHost. r=nical 2013-12-17 17:11:14 +01:00
Kartikaya Gupta
0b8bb93d3e Bug 949132 - Use the FrameMetrics flag on the layers update to update APZC scroll offset instead of tracking it in widget code. r=Cwiiis 2013-12-16 12:04:46 -05:00
Tor Arvid Lund
3d5f99f7f3 Bug 929513 - Replace some instances of gfxIntSize with gfx::IntSize r=nical 2013-12-13 18:32:02 +01:00
Tor Arvid Lund
eaa77f044b Bug 929513 - Change gfxSize references to gfx::Size r=nical 2013-12-13 18:31:53 +01:00
Tor Arvid Lund
71bbbd7eb2 Bug 929513 - Remove unused #include statements r=nical 2013-12-13 18:31:35 +01:00
Phil Ringnalda
ef063fb0d4 Back out b6f9dbc91dc4 (bug 947038) for Cipc crashes 2013-12-12 23:33:50 -08:00
David Anderson
f853c97cb8 Ensure that the software compositor never uses deprecated textures (bug 947038, r=mattwoodrow). 2013-12-12 20:29:14 -08:00
Kartikaya Gupta
6c7c9a5200 Bug 949310. r=BenWa 2013-12-12 13:34:50 -05:00
Cameron McCormack
ae655160b2 Bug 773296 - Part 16: Add a ref-counted list nsCSSValue unit and use it for tranform lists; hold a strong reference to one on nsStyleDisplay. r=dbaron
This adds a new eCSSUnit_SharedList type for nsCSSValue, which is a
reference counted object that contains an nsCSSValueList.  We need this
so that nsStyleDisplay::mSpecifiedTransform can hold a strong reference
to a specified transform list value.  When 'transform' is specified
using a variable reference, the resulting nsCSSValue does not stick
around in the Declaration object, so we wouldn't be guaranteed that
it lives long enough for nsStyleDisplay to keep referencing it.
2013-12-12 13:09:44 +11:00
Benoit Jacob
9f063375a9 Bug 897452 - Part 15 - Introduce a AtomicRefCountedWithFinalize class to factor our custom-refcounting needs - r=nical 2013-12-11 20:45:11 -05:00
Benoit Jacob
01bec9054e Bug 897452 - Part 13 - Host-side cleanup: remove OnActorDestroy and DestroyTextureHost* - r=nrc 2013-12-11 20:45:07 -05:00
Benoit Jacob
94263041e6 Bug 897452 - Part 10 - adapt post landing of bug 893301 - r=nical,nrc 2013-12-11 20:45:01 -05:00
Benoit Jacob
67fcd5e48f Bug 897452 - Part 9 - Check for null buffer in BufferTextureHost::Upload - r=nical 2013-12-11 20:44:59 -05:00
Benoit Jacob
0d718a571c Bug 897452 - Part 8 - fix TextureParent::ActorDestroy - r=nical 2013-12-11 20:44:57 -05:00
Nicolas Silva
bffd72633e Bug 897452 - Part 4 - Make sure we release all GL resources asap when shutting down the communication channel - r=bjacob 2013-12-11 20:44:49 -05:00
Nicolas Silva
3629fbc964 Bug 897452 - Part 3 - Clean up some unused code after PTexture change - r=mattwoodrow 2013-12-11 20:44:47 -05:00
Nicolas Silva
21bd46b628 Bug 897452 - Part 2 - PTexture deallocation logic - r=sotaro,bjacob 2013-12-11 20:44:45 -05:00
Nicolas Silva
6d4b3e3b43 Bug 897452 - Part 1 - Implement the PTexture protocol - r=mattwoodrow 2013-12-11 20:44:44 -05:00
Nicolas Silva
bf82b9d838 Bug 897452 - Part 0.2 - Make sure the texture host has a compositor - r=mattwoodrow 2013-12-11 20:44:41 -05:00
Ryan VanderMeulen
c269bf8ea6 Backed out 17 changesets (bug 897452) for OSX crashes on a CLOSED TREE.
Backed out changeset 11ad8608bc27 (bug 897452)
Backed out changeset 6bcc629e76f9 (bug 897452)
Backed out changeset b91c858a43f5 (bug 897452)
Backed out changeset 38ba49ee3e97 (bug 897452)
Backed out changeset ea184ef84762 (bug 897452)
Backed out changeset 686cc5122149 (bug 897452)
Backed out changeset 3685a8018e49 (bug 897452)
Backed out changeset be7ef6240068 (bug 897452)
Backed out changeset f95c20e70947 (bug 897452)
Backed out changeset 4a370d2a1c62 (bug 897452)
Backed out changeset 1222f6ab66d2 (bug 897452)
Backed out changeset 5e9d3c681ee9 (bug 897452)
Backed out changeset 3b9ddce12b7a (bug 897452)
Backed out changeset 7aec6387f3e9 (bug 897452)
Backed out changeset eb1fe464fdaf (bug 897452)
Backed out changeset 07deaa53b6fd (bug 897452)
Backed out changeset ddab7d071d69 (bug 897452)
2013-12-11 14:52:50 -05:00
Benoit Jacob
42e7c9fc5a Bug 897452 - Part 15 - Introduce a AtomicRefCountedWithFinalize class to factor our custom-refcounting needs - r=nical 2013-12-11 13:05:37 -05:00
Benoit Jacob
e0cf389a4b Bug 897452 - Part 13 - Host-side cleanup: remove OnActorDestroy and DestroyTextureHost* - r=nrc 2013-12-11 13:05:34 -05:00
Benoit Jacob
2c56c71b5c Bug 897452 - Part 10 - adapt post landing of bug 893301 - r=nical,nrc 2013-12-11 13:05:27 -05:00
Benoit Jacob
3f6accaff7 Bug 897452 - Part 9 - Check for null buffer in BufferTextureHost::Upload - r=nical 2013-12-11 13:05:25 -05:00
Benoit Jacob
c99996909d Bug 897452 - Part 8 - fix TextureParent::ActorDestroy - r=nical 2013-12-11 13:05:23 -05:00
Nicolas Silva
c546c5862a Bug 897452 - Part 4 - Make sure we release all GL resources asap when shutting down the communication channel - r=bjacob 2013-12-11 13:05:15 -05:00
Nicolas Silva
e3132d6da3 Bug 897452 - Part 3 - Clean up some unused code after PTexture change - r=mattwoodrow 2013-12-11 13:05:13 -05:00
Nicolas Silva
d624f90dd5 Bug 897452 - Part 2 - PTexture deallocation logic - r=sotaro,bjacob 2013-12-11 13:05:11 -05:00
Nicolas Silva
01cd073429 Bug 897452 - Part 1 - Implement the PTexture protocol - r=mattwoodrow 2013-12-11 13:05:09 -05:00
Nicolas Silva
171c6f13c2 Bug 897452 - Part 0.2 - Make sure the texture host has a compositor - r=mattwoodrow 2013-12-11 13:05:07 -05:00
Nicolas Silva
7841da0a81 Bug 948955 - AddMaskEffect handles locking failure. r=bjacob 2013-12-11 18:32:41 +01:00
Ryan VanderMeulen
2b53da578d Merge b2g-inbound to m-c. 2013-12-10 15:38:44 -05:00
Nicholas Cameron
789fd7e109 Bug 946958 part 5. Misc tidy ups. r=mattwoodrow 2013-12-09 14:41:00 +13:00
Nicholas Cameron
123cc96e7a Bug 946958 part 3. Remove thebes callbacks. r=mattwoodrow 2013-12-09 14:40:59 +13:00
Nicholas Cameron
c9131de1bb Bug 946958 part 2. Remove methods which just forward to compositor. r=mattwoodrow 2013-12-09 14:40:59 +13:00
Nicholas Cameron
67f3ec8830 Bug 946958 part 1. Remove GetWidgetSize. r=mattwoodrow 2013-12-09 14:40:59 +13:00
Nicholas Cameron
0f60f8b600 Bug 945632. Assert we've released memory which the host should have released. r=nical 2013-12-04 22:03:29 -05:00
Kartikaya Gupta
316a75b934 Bug 814435 - Apply a shadow transform to scrollbar layers to keep them in sync with async transforms. r=BenWa 2013-12-09 22:14:54 -05:00
Ryan VanderMeulen
92933e2af0 Merge m-c to inbound. 2013-12-05 17:56:44 -05:00
Botond Ballo
1576a91e09 Bug 942754 - Propagate zoom constraints from parent to child APZCs. r=kats
--HG--
extra : rebase_source : 92c3dcac3db2cd457d650ec08abfbab03c9517ce
2013-12-02 18:01:19 -05:00
Nicholas Cameron
6083fff067 Bug 893301. Rollup patch - new textures content. r=nical,nrc 2013-12-06 07:39:22 +13:00
Sotaro Ikeda
cd9b41c6cb Bug 944420 - Create TextureHostOGL when Compositor is not present on gonk. r=nical
--HG--
extra : rebase_source : 289bb433a863d22c16ad8aacb727f2f52f7a81f3
2013-12-04 17:46:03 -05:00
Ryan VanderMeulen
b641f5ee20 Backed out changeset 8b33af450fc6 (bug 945632) for OSX asserts.
CLOSED TREE
2013-12-04 22:03:29 -05:00
Nicholas Cameron
054d6a53e6 Bug 945632. Assert we don't leak on the host side. r=nical 2013-12-05 14:21:15 +13:00
Benoit Jacob
12ae30d582 Back out bug 893301 for accidentally disabling gralloc for thebes layers on B2G - no review, bustage fix on a CLOSED TREE 2013-12-04 12:19:50 -05:00
David Anderson
15ea1ba33f Support MacIOSurface textures in the basic compositor (bug 942358, r=mattwoodrow). 2013-12-03 16:20:04 -08:00
Benoit Girard
35f400bc25 Bug 944866 - Bustage fix for gfx::pint. r=bustage on a CLOSED TREE 2013-12-03 14:07:26 -05:00
Benoit Jacob
4513257f15 Bug 942501 - Part 1: remove some dead code around TextureImage functions - r=BenWa 2013-12-03 13:44:38 -05:00
Benoit Jacob
036aec2ce9 Bug 944703 - Part 4: make ContentHost hold a strong reference to its ISurfaceAllocator - r=nical 2013-12-03 13:44:38 -05:00
Benoit Jacob
5d67536954 Bug 944703 - Part 3: make TextureHost hold a strong reference to its ISurfaceAllocator - r=nical 2013-12-03 13:44:38 -05:00
Benoit Girard
48786b9c7c Bug 944866 - Part 2: Add layers.scroll-graph. r=gal
--HG--
extra : rebase_source : b517f110b09056b3037f9bfae609ff14e6af3859
2013-12-03 10:49:46 -05:00
Nicholas Cameron
6b5c57b8c4 Bug 893301. Some rebasing fixes. r=nical 2013-11-28 10:16:35 +13:00
Nicholas Cameron
e310d54bf8 Bug 893301. Renaming and indentation fixes. r=nical 2013-11-28 10:16:35 +13:00
Nicholas Cameron
fa531df385 Bug 893301. Tweeks to TextureHost. r=nical 2013-11-28 10:16:34 +13:00
Nicholas Cameron
22e967bd94 Bug 893301. Reviewer changes. r=nical 2013-11-28 10:16:34 +13:00
Nicholas Cameron
26fc6718f4 Bug 893301. Content hosts. r=nical 2013-11-28 10:16:34 +13:00
Nicholas Cameron
9c49a04d55 Bug 893301. Rename GetTextureHost to GetAsTextureHost. r=nical 2013-11-28 10:16:33 +13:00
Botond Ballo
a7a41dc53a Bug 944521 - Scroll-grabbing elements shouldn't grab tap gestures. r=Cwiiis 2013-11-29 16:40:21 -05:00
Dan Glastonbury
7f73b68e55 Bug 830881 - Port layerscope GL changes to new layers. r=vlad 2013-11-29 14:11:49 +10:00
Mike Hommey
8f35911c9c Bug 944830 - Fix non-unified build in gfx after bug 942492, bug 943293 and bug 944172. r=bjacob 2013-12-01 07:20:57 +09:00
Andreas Pehrson
22bc27eb6f Bug 907292 - Change gfxImageSurface to gfx::DataSourceSurface in TextureHost et al 2013-11-27 10:59:01 +01:00
Nicholas Cameron
0a2a18e774 Backout bug 893301 for b2g bustage r=me 2013-11-28 12:31:31 +13:00
Nicholas Cameron
8c5eb6d31b Bug 893301. Some rebasing fixes. r=nical 2013-11-28 10:16:35 +13:00
Nicholas Cameron
5e6740776c Bug 893301. Renaming and indentation fixes. r=nical 2013-11-28 10:16:35 +13:00
Nicholas Cameron
54312ee7d4 Bug 893301. Tweeks to TextureHost. r=nical 2013-11-28 10:16:34 +13:00
Nicholas Cameron
20930af1e8 Bug 893301. Reviewer changes. r=nical 2013-11-28 10:16:34 +13:00
Nicholas Cameron
f670bda8f3 Bug 893301. Content hosts. r=nical 2013-11-28 10:16:34 +13:00
Nicholas Cameron
12eee2badb Bug 893301. Rename GetTextureHost to GetAsTextureHost. r=nical 2013-11-28 10:16:33 +13:00
Chris Lord
9afd262a59 Bug 931823 - Fix calculation of tiled update data and convert to typed units. r=kats,botond
Various changes to FrameMetrics and such have causes the tile coherency checks
to end up with nonsense values, meaning updates are always happening a tile at
a time.

This fixes the calculation of those values, adds some documentation and
converts a large part of it to using typed units, to make it easier to
understand what's happening.
2013-11-27 17:33:27 +00:00
Markus Stange
30aeb02de9 Bug 920123 - Make Start/Stop FrameTimeRecording work with OMTC and remove paint time recording. r=mattwoodrow 2013-11-27 08:32:19 +01:00
Nicholas Cameron
d265676d31 Bug 932888. Rename ThebesLayerBuffer. r=mattwoodrow
--HG--
rename : gfx/layers/ThebesLayerBuffer.cpp => gfx/layers/RotatedBuffer.cpp
rename : gfx/layers/ThebesLayerBuffer.h => gfx/layers/RotatedBuffer.h
2013-11-27 13:29:46 +13:00
Phil Ringnalda
74b2dea823 Backed out 7 changesets (bug 946958, bug 865033)
Backed out changeset 6dd0a6cb9ab3 (bug 946958)
Backed out changeset 498152aec5b1 (bug 946958)
Backed out changeset 7d035322f51d (bug 946958)
Backed out changeset 99f8ad7561ef (bug 946958)
Backed out changeset 4639c5abea80 (bug 946958)
Backed out changeset 9d1a4d83eccf (bug 865033)
Backed out changeset 41839e4026bc (bug 865033)
2013-12-08 18:43:45 -08:00
Nicholas Cameron
0cbd932c4f Bug 946958 part 5. Misc tidy ups. r=mattwoodrow 2013-12-09 14:41:00 +13:00
Nicholas Cameron
9c90cbe26e Bug 946958 part 3. Remove thebes callbacks. r=mattwoodrow 2013-12-09 14:40:59 +13:00
Nicholas Cameron
8996a6fb5c Bug 946958 part 2. Remove methods which just forward to compositor. r=mattwoodrow 2013-12-09 14:40:59 +13:00
Nicholas Cameron
704d5f6e5b Bug 946958 part 1. Remove GetWidgetSize. r=mattwoodrow 2013-12-09 14:40:59 +13:00
Botond Ballo
191d81b8c4 Bug 942535 - Fix a compiler warning about signed/unsigned comparison in APZ. r=dholbert
--HG--
extra : rebase_source : 816fc31c43178e1b5841c3a49cd71d2c08751331
2013-11-25 14:29:41 -05:00
Benoit Girard
a735170d84 Bug 942483 - Port paint-dumping to android/b2g. r=gal 2013-11-23 17:44:18 -05:00
Ryan VanderMeulen
6789e60ca8 Merge b-i to m-c. 2013-11-22 15:35:31 -05:00
Botond Ballo
21a74823a2 Bug 912666 - Implement scroll grabbing in APZ. r=kats,Cwiiis 2013-11-21 17:38:00 -05:00
Nicholas Cameron
621f0723d9 Bug 900248. Move logic for device checking to Ready() and check it at the start of transactions. r=Bas 2013-11-22 11:07:57 +13:00
Nicholas Cameron
a5462f4e61 Bug 900248. Don't assume success for effect creation. r=Bas 2013-11-22 11:07:56 +13:00
Nicholas Cameron
d3441a90be Bug 900248. Rebuild the d3d9 device. r=Bas 2013-11-22 11:07:56 +13:00
Ryan VanderMeulen
eb92d7c6c4 Merge m-c to inbound. 2013-11-21 15:53:49 -05:00
David Anderson
54fffb1db4 Only composite changed areas in the software compositor (bug 882447, r=mattwoodrow,nrc). 2013-11-21 11:25:16 -08:00
Botond Ballo
8feec15e24 Bug 941210 - APZCTreeManager builds a wrong APZC tree for some layer trees. r=kats 2013-11-20 15:27:40 -05:00
Wes Kocher
5f2d8e38e7 Merge inbound to m-c 2013-11-21 19:14:06 -08:00
Nicholas Cameron
b6196ef8b0 Bug 939598. Always call BeginTransaction before EndTransaction. r=mattwoodrow 2013-11-20 20:27:23 +13:00
Nicholas Cameron
fcc7cf881b merge 2013-11-19 17:39:24 +13:00
Jim Mathies
dc98c93c3f Bug 937185 - Discard old apzcs if the ScrollableLayerGuid is updated. r=kats 2013-11-18 09:14:08 -06:00
Benoit Girard
5aa117f19b Bug 936511 - Add layers.dump to dump layer tree. r=bas,nrc 2013-11-17 16:47:40 -05:00
Ehsan Akhgari
96c519ebd6 Bug 938134 - Build widget/xpwidgets in unified mode; r=roc
--HG--
rename : widget/shared/WidgetUtils.cpp => widget/shared/SharedWidgetUtils.cpp
2013-11-17 14:03:55 -05:00
Nicholas Cameron
9928f8e67c Bug 907463. Dealloc shmem on ActorDestroy. r=nical 2013-09-27 21:48:42 +12:00
Matt Woodrow
9ec181130a Bug 937878 - Don't let too many ContentHostIncremental updates queue up. r=nrc 2013-11-15 12:56:42 +13:00
Ryan VanderMeulen
98ea4dada0 Merge m-c to inbound on a CLOSED TREE. 2013-11-14 20:58:52 -05:00
Nicholas Cameron
69478b80a7 Bug 915940. Memory reporter for memory image surfaces. r=njn,mattwoodrow This might even help diagnose the problems causing a CLOSED TREE. 2013-11-15 10:54:25 +13:00
Kartikaya Gupta
82b3084a27 Bug 934420 - Try to preserve the right APZC in the face of layer tree changes. r=botond 2013-11-14 15:35:30 -05:00
Kartikaya Gupta
86a26abf20 Bug 937688 - Make UpdateCompositionBounds affect all of the root APZCs for the layers id. r=botond 2013-11-14 12:35:41 -05:00
Kartikaya Gupta
9e421b8c64 Bug 937688 - Make UpdateZoomConstraints take a full ScrollableLayerGuid. r=botond 2013-11-14 12:35:41 -05:00
Kartikaya Gupta
0fe345daf7 Bug 937688 - Move ScrollableLayerGuid from APZCTreeManager.h to FrameMetrics.h. r=botond 2013-11-13 13:20:31 -05:00
Kartikaya Gupta
f7fb4fa710 Bug 937688 - Make APZCTM::UpdateCompositionBounds explicitly operate on the root APZC for a layer tree. r=botond 2013-11-13 13:20:31 -05:00
Kartikaya Gupta
b020a0edef Bug 937688 - Pass the presShellId and viewId from TabChild to RenderFrameParent when updating zoom constraints. r=botond 2013-11-13 13:20:30 -05:00
Kartikaya Gupta
8b6ebfe49e Bug 937130 - Fix up threading and locking in APZCTreeManager. r=botond 2013-11-12 11:56:57 -05:00
Jim Mathies
719c8ac7d1 Bug 918273 - Add an apzc tree manager helper for translating device to gecko coordinate space, and use it when sending events to the dom in cases where content is consuming touch. r=kats 2013-11-10 10:43:18 -06:00
Jim Mathies
2974de401e Bug 918273 - Pass back the target scrollable layer id from apzc event methods. r=kats 2013-11-10 10:43:17 -06:00
Kartikaya Gupta
29923bcace Bug 902505 - Adjust the hit-test and input transformations in APZCTreeManager to be more correct. r=botond 2013-11-08 13:56:31 -05:00
Botond Ballo
acc75156c8 Bug 937129 - Fix some concurrency issues in APZCTM::HandleOverscroll. r=kats 2013-11-11 12:06:33 -05:00
Matt Brubeck
5c9542d62e Bug 927033 - Always decrement mTouchCount on touchend/cancel [r=kats] 2013-11-07 13:12:33 -08:00
Matt Brubeck
ad2cbb0a06 Bug 927033 - Refactor some duplicate code in APZCTreeManager [r=kats] 2013-11-07 13:11:34 -08:00
Matt Brubeck
dc8d2c3cd9 Bug 927033 - Don't reset mApzcForInputBlock until all touches are gone [r=kats] 2013-11-07 13:10:29 -08:00
Matt Woodrow
9f29749647 Bug 35380 - Part 5: Remove aOffset from everywhere. r=nrc 2013-11-07 22:53:08 +13:00
Matt Woodrow
88de3c4def Bug 935380 - Part 3: Make CompositingRenderTarget store it's origin. r=nrc 2013-11-07 22:53:08 +13:00
Matt Woodrow
51611f31d6 Bug 935380 - Part 2: Pass the actual rect that the RenderTarget represents as the first parameter to CreateRenderTarget. r=nrc 2013-11-07 22:53:07 +13:00
Matt Woodrow
a349950ad5 Bug 935380 - Part 1: Remove INIT_MODE_COPY since it was invalid for callers to use it. r=nrc 2013-11-07 22:53:07 +13:00
Ryan VanderMeulen
0050cf6519 Merge m-c to inbound. 2013-11-06 14:59:07 -05:00
Ryan VanderMeulen
438d08b2de Merge inbound to m-c. 2013-11-06 14:24:58 -05:00
Chris Lord
8db91d70d6 Bug 881451 - Remove unused members of TiledLayerProperties. r=BenWa 2013-11-06 13:42:02 +00:00
Botond Ballo
409ea6cd18 Bug 932525 - Better naming for some transformation matrix variables. r=kats 2013-10-31 14:44:33 -04:00
Botond Ballo
7c0017a83e Bug 932525 - Do APZC hit testing using the layer's screen coordinates rather than layer coordinates. r=kats 2013-10-30 15:58:25 -04:00
Matt Woodrow
43199694b8 Bug 934860 - Move paint region clipping into DrawThebesLayer. r=roc 2013-11-07 08:10:50 +13:00
Kartikaya Gupta
98c132e989 Bug 935593 - Remove an incorrect input event transformation. r=jimm 2013-11-06 12:49:00 -05:00
Ryan VanderMeulen
1d57260a86 Merge m-c to inbound on a CLOSED TREE. 2013-10-30 22:42:13 -04:00
Kartikaya Gupta
e08ba777b1 Bug 906877 - Remove code obsoleted by multi-apzc. r=BenWa, vingtetun
Now that we have multi-APZC landed, we don't need BrowserElementPanning
to detect when it's about to scroll a subframe and let APZC know. So
the two messages involved in this can be completely removed.
2013-10-30 17:06:15 -04:00
Kartikaya Gupta
b6add35df3 Bug 732971 - For Fennec move the resolution from the top-level presShell to the content presShell. r=BenWa
The bulk of this patch is fixing up pieces of code that infer the resolution
as the inverse of the scaling transform on the root layer. This used to be
how various bits of gfx code obtained the resolution, but now that we can set
the resolution on the actual presShell that contains the content, we can also
just read the resolution from the FrameMetrics directly.
2013-10-29 09:27:50 -04:00
Gregor Wagner
9e82d05232 Backout Bug 907463 for causing bug 930575 2013-10-25 09:25:17 -07:00
Ed Morley
ae834488ea Merge mozilla-central and b2g-inbound 2013-10-25 12:12:23 +01:00
Kartikaya Gupta
2ba8a111d7 Bug 923482 - Fix an edge case where we might try to re-use a destroyed APZC instance. r=botond 2013-10-25 11:30:17 +02:00
Nicholas Cameron
e59c5a9ee9 Bug 907463. Dealloc shmem on ActorDestroy. r=nical 2013-09-27 21:48:42 +12:00
Sotaro Ikeda
2e39aafeed Bug 911387 - Add calling CompositableBackendSpecificData::ClearData() in Detach(). r=nical 2013-11-06 08:44:57 -05:00
Markus Stange
c5d89cc8ca Bug 886999 - Lock the GL context before compositing on the compositor thread or before calling setView or update on the main thread. r=mattwoodrow 2013-10-09 10:39:23 -04:00
Markus Stange
14e8e85cab Bug 914437 - Don't composite windows that are not open. r=mattwoodrow 2013-10-09 10:39:22 -04:00
Masayuki Nakano
c2d6606a1c Bug 920425 part.28 Use mozilla::WidgetEvent::AsMouseEvent() r=smaug 2013-10-22 17:55:20 +09:00
Carsten "Tomcat" Book
f1d2ae53bc Merge mozilla-central to mozilla-inbound 2013-10-18 14:13:10 +02:00
Masayuki Nakano
d152366c31 Bug 920425 part.15 Use mozilla::WidgetEvent::AsTouchEvent() r=smaug 2013-10-18 15:10:23 +09:00
Sotaro Ikeda
49db7bff2e Bug 925381 - Fix mpeg4 video seek failure. r=nical, r=doublec 2013-10-17 11:09:15 -04:00
Sushil Chauhan
2217191e09 Bug 915729 - Add mixed HWC and GPU Composition. r=ncameron, r=dwilson 2013-10-15 14:01:42 -07:00
Ryan VanderMeulen
623bf74951 Backed out 8 changesets (bug 914437, bug 886999, bug 890997, bug 923114, bug 923133) for suspicion of causing frequent OSX mochitest-2 timeouts on a CLOSED TREE.
Backed out changeset e934fda24887 (bug 890997)
Backed out changeset 058c2432bff5 (bug 886999)
Backed out changeset 34d9056bf553 (bug 886999)
Backed out changeset 3f053c13cf4e (bug 914437)
Backed out changeset 1f436fd67cdb (bug 886999)
Backed out changeset 7c914b3e8d27 (bug 923133)
Backed out changeset e6fdf5fd28c5 (bug 923114)
Backed out changeset b0700255080c (bug 914437)
2013-10-09 14:33:01 -04:00
Markus Stange
0b3fba6f9e Bug 886999 - Lock the GL context before compositing on the compositor thread or before calling setView or update on the main thread. r=mattwoodrow
--HG--
extra : rebase_source : 60930a858a5d52205703d14317312540387f269f
2013-10-09 10:39:23 -04:00
Markus Stange
4ab38a4556 Bug 914437 - Don't composite windows that are not open. r=mattwoodrow
--HG--
extra : rebase_source : b534eb4c339392c4a2ad60424510c7d264f13d3a
2013-10-09 10:39:22 -04:00
Kartikaya Gupta
c8822d5aa7 Bug 924394 - Add some useful but default-disabled logging for APZC code. r=botond 2013-10-08 17:13:04 -04:00
Nicholas Cameron
cfa81cf3d7 Bug 854873. Keep scissor rect enabled. r=kats,nical 2013-10-05 01:03:09 +13:00
Nicolas Silva
fb7278e4bc Bug 916118 - Simplify the TextureClient deallocation protocol. r=nrc 2013-10-02 13:52:04 -07:00
Masayuki Nakano
9aaf116c1c Bug 920377 part.32 Get rid of nsMouseEvent r=roc 2013-10-02 15:38:27 +09:00
Wes Kocher
4218f48b71 Backed out changeset ac77b26ec1ee (bug 915940) for PGO build bustage 2013-10-01 14:30:13 -07:00
Ehsan Akhgari
b155782d0a Bug 921753 - Part 2: Move GraphicsFilters outside of gfxPattern.h so that we won't need to #include that header everywhere GraphicsFilter is needed; r=roc
This patch reduces the number of files that transitively #include
gfx/2d.h from 1582 to 1362.
2013-10-01 17:01:19 -04:00
Nicholas Cameron
a6633f8396 Bug 915940. Memory reporter for memory image surfaces. r=njn,mattwoodrow 2013-09-24 10:59:26 +12:00
Masayuki Nakano
84078f9904 Bug 920377 part.26 Get rid of nsInputEvent r=roc 2013-10-01 16:23:02 +09:00
Nicolas Silva
37cac00b5e Bug 921512 - Add a bit of documentation to layers. r=bjacob 2013-09-30 14:42:47 +02:00
Nicolas Silva
302198d77d Bug 916116 - Rename CompositableQuirks. r=bjacob 2013-09-30 14:14:38 +02:00
Matt Woodrow
e7f55966e0 Bug 886999 - Backout c3a044164b5f for causing deadlocks (Bug 920979) 2013-09-30 14:31:50 +13:00
Ed Morley
0e5b0cebbd Backed out changeset 08d9bbb1044f (bug 907463) 2013-09-27 11:37:00 +01:00
Nicholas Cameron
99372e1e41 Bug 907463. Dealloc shmem on ActorDestroy. r=nical 2013-09-27 21:48:42 +12:00
Masayuki Nakano
d3aa0d67cf Bug 920377 part.13 Get rid of nsTouchEvent r=roc 2013-09-27 15:20:57 +09:00
Nicholas Cameron
009454da8e Bug 882113. Azurification of compositor classes. r=mattwoodrow 2013-09-27 12:37:19 +12:00
Nicolas Silva
e3ef6e63f3 Bug 916118 - Backed out changeset bafb8bf3b279 on a CLOSED TREE 2013-09-26 19:06:12 +02:00
Nicolas Silva
bc11135ff0 Bug 916118 - Simplify the deallocation flags in TextureClient/Host. r=nrc 2013-09-26 18:00:23 +02:00
Matt Woodrow
741531f1fc Bug 886999 - Avoid touching the GL context from the main thread on mac, and lock the context when touching it from other threads. r=mstange 2013-09-26 15:49:59 +12:00
Masayuki Nakano
f90a5b1125 Bug 912956 part.18 Remove nsGUIEvent.h r=roc 2013-09-25 20:21:22 +09:00
Masayuki Nakano
4983de6d4c Bug 912956 part.14 mozilla/MouseEvents.h should be included directly r=roc 2013-09-25 20:21:18 +09:00
Masayuki Nakano
743fbc6e59 Bug 912956 part.13 mozilla/TouchEvents.h should be included directly r=roc 2013-09-25 20:21:16 +09:00
Robert O'Callahan
fe273715cd Bug 914426. Don't try to dump DeprecatedTextureHost contents unless HTML tree dumping is enabled. Also, be lenient about null values and unknown formats. r=nrc
--HG--
extra : rebase_source : bc7aff0dacdea4a7c71bdb659774fd96a25fa529
2013-09-09 17:08:42 -07:00
Jim Mathies
42bb5727c7 Bug 915213 - Add a apzc hit test helper for metrofx. r=kats 2013-09-24 16:17:26 -05:00
Jim Mathies
7dbdca5904 Bug 915213 - Add a new apzc ReceiveInput method that transforms gecko events inline. r=kats 2013-09-24 16:17:26 -05:00
Jim Mathies
4c3d3b4205 Bug 915213 - Break up apzc ReceiveInput method so the logic can be shared. r=kats 2013-09-24 16:17:26 -05:00
Benoit Jacob
eb8b1d73bb Bug 913872 - Take nested enums out of gfxASurface - 3/3 : remove the now-useless inclusions of gfxASurface.h - r=jrmuizel 2013-09-24 16:45:14 -04:00