Benoit Girard
5dae7b00ed
Bug 944866 - Bustage Intermittent failure. r=bustage on a CLOSED TREE
2013-12-03 15:04:47 -05:00
Benoit Jacob
83397cfb49
Bug 942501 - Part 1: remove some dead code around TextureImage functions - r=BenWa
2013-12-03 13:44:38 -05:00
Benoit Jacob
a55f35a092
Bug 944703 - Part 7: make DeprecatedSharedRGBImage hold a strong reference to its ISurfaceAllocator - r=nical
2013-12-03 13:44:38 -05:00
Benoit Jacob
759b559e56
Bug 944703 - Part 6: make DeprecatedSharedPlanarYCbCrImage hold a strong reference to its ISurfaceAllocator - r=nical
2013-12-03 13:44:38 -05:00
Benoit Jacob
0e4939b19e
Bug 944703 - Part 5: make AllocShmemParams hold a strong reference to its ISurfaceAllocator - r=nical
2013-12-03 13:44:38 -05:00
Benoit Girard
cb5d1145f7
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
de8210f84b
Bug 893301. Renaming and indentation fixes. r=nical
2013-11-28 10:16:35 +13:00
Nicholas Cameron
f33fe5b3a9
Bug 893301. Reviewer changes. r=nical
2013-11-28 10:16:34 +13:00
Nicholas Cameron
a637bdf7c0
Bug 893301. Content hosts. r=nical
2013-11-28 10:16:34 +13:00
Ryan VanderMeulen
e74bb8fe33
Merge m-c to inbound.
2013-12-02 16:58:15 -05:00
Edwin Flores
10b0f383a8
Bug 934412 - Add header offset in SharedRGBImage::GetBuffer r=nical
2013-12-03 10:25:27 +13:00
Botond Ballo
00053572e6
Bug 944521 - Scroll-grabbing elements shouldn't grab tap gestures. r=Cwiiis
2013-11-29 16:40:21 -05:00
Nicholas Nethercote
c82c609ac3
Bug 936964 (part 7, attempt 2) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
...
* * *
Bug 936964 (part 7b) - Fix a use-after-free found by ASan.
--HG--
extra : rebase_source : d38ab6b63e9d576773baf8e55fa4f7182c33915e
2013-11-07 16:35:30 +11:00
Ehsan Akhgari
6220f98ec6
Backed out 9 changesets (bug 943660, bug 936964) because of ASAN use-after-free crashes on browser-chrome and mochitest-other
...
Backed out changeset 85486c4aa3d8 (bug 936964)
Backed out changeset 25312eb71998 (bug 936964)
Backed out changeset 6dbb8333960c (bug 936964)
Backed out changeset da6465ad476f (bug 936964)
Backed out changeset a87ffc992f38 (bug 936964)
Backed out changeset 4ae3a61182db (bug 936964)
Backed out changeset 34e9c3137804 (bug 936964)
Backed out changeset fd1459e71585 (bug 936964)
Backed out changeset 3e8a701d8bdc (bug 943660)
Landed on a CLOSED TREE
--HG--
rename : content/canvas/src/WebGLMemoryTracker.h => content/canvas/src/WebGLMemoryReporterWrapper.h
2013-11-27 20:05:00 -05:00
Nicholas Cameron
957ecba802
merge backout
2013-11-28 12:32:24 +13:00
Nicholas Cameron
a450c10d73
Backout bug 893301 for b2g bustage r=me
2013-11-28 12:31:31 +13:00
Nicholas Cameron
56b50d3cc3
Bug 893301. Renaming and indentation fixes. r=nical
2013-11-28 10:16:35 +13:00
Nicholas Cameron
ccd962044d
Bug 893301. Reviewer changes. r=nical
2013-11-28 10:16:34 +13:00
Nicholas Cameron
0fef92269d
Bug 893301. Content hosts. r=nical
2013-11-28 10:16:34 +13:00
Nicholas Nethercote
74e6ffe050
Bug 936964 (part 7) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
...
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryTracker.h
extra : rebase_source : 611e8d35907959b163aeced1c4ffe1d265048fe6
2013-11-07 16:35:30 +11:00
Anthony Jones
895c664218
Bug 888084 - Use RollingMean to calculate mean; r=BenWa
2013-09-25 12:13:33 +12:00
Benoit Jacob
406f766862
Bug 933082 - Part 4: let ClientLayerManager hold a ShadowLayerForwarder instead of inheriting from ShadowLayerForwarder. Make ISurfaceAllocator refcounted. Make SharedSurface_Gralloc keep its mAllocator alive - r=nical
2013-11-27 10:19:34 -05:00
Benoit Jacob
8b7013b519
Bug 933082 - Part 3: let ShadowLayerForwarder hold a strong ref to its LayerTransactionChild - r=nical
2013-11-27 10:18:38 -05:00
Benoit Jacob
f83f2f5858
Bug 933082 - Part 2: propagate the mIPCOpen flag, avoid crashing in DestroySharedSurface on a dead channel - r=nical
2013-11-27 10:18:38 -05:00
Benoit Jacob
ca06bace5e
Bug 933082 - Part 1: make LayerTransactionChild reference-counted - r=nical
2013-11-27 10:18:38 -05:00
Markus Stange
de91212dad
Bug 943041 - Don't delay compositing on the compositor thread in ASAP mode (layout.frame_rate == 0). r=BenWa
2013-11-27 08:33:39 +01:00
Markus Stange
66dccf3af2
Bug 920123 - Make Start/Stop FrameTimeRecording work with OMTC and remove paint time recording. r=mattwoodrow
2013-11-27 08:32:19 +01:00
Jim Mathies
06adfb766f
Bug 940952 - Replace apzc GeckoContentController pan notifications with more general purpose transform notifications. r=botond
2013-11-26 14:14:39 -06:00
Carsten "Tomcat" Book
8f9ac16095
merge b2g-inbound to mozilla-central
2013-11-26 12:40:07 +01:00
Botond Ballo
7b0a4c5e9a
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
Matt Brubeck
ea61d6562d
Bug 942689 - Include modifer info in tap gesture events [r=roc,jimm,botond]
2013-11-25 20:30:26 -08:00
Benoit Girard
74c90d1629
Bug 942483 - Port paint-dumping to android/b2g. r=gal
2013-11-23 17:44:18 -05:00
Ryan VanderMeulen
14bce8a31f
Merge b-i to m-c.
2013-11-22 15:35:31 -05:00
Botond Ballo
ed2ca112ae
Bug 912666 - Implement scroll grabbing in APZ. r=kats,Cwiiis
2013-11-21 17:38:00 -05:00
Matt Brubeck
574c2b7015
Bug 941327 - Match scale to scroll offset during zoom animation [r=botond]
2013-11-21 14:12:28 -08:00
Matt Brubeck
0b097c42d2
Bug 941123 - Pre-render content before starting animated zoom [r=botond]
2013-11-21 14:12:25 -08:00
Nicholas Cameron
f93ee05073
Bug 900248. Rebuild the d3d9 device. r=Bas
2013-11-22 11:07:56 +13:00
David Anderson
51ca221b03
Only composite changed areas in the software compositor (bug 882447, r=mattwoodrow,nrc).
2013-11-21 11:25:16 -08:00
Nicolas Silva
ad6579b6cd
Bug 926558 - Remove a warning that is not used correctly. r=BenWa
2013-11-13 13:25:50 +01:00
Botond Ballo
c33a73dd59
Bug 912666 - Propagate the 'scrollgrab' attribute to FrameMetrics. r=kats,Cwiiis
2013-09-23 14:09:48 -05:00
Chris Peterson
223f9eb3e9
Bug 949360 - Check for Image AllocateBuffer() failures. r=nical
...
Relanded on a CLOSED TREE
2013-12-10 22:58:51 -08:00
Ehsan Akhgari
1aec92c6ff
Backed out changeset 6d9cf51a012a (bug 949360) because of mochitest-3 timeouts on a CLOSED TREE
2013-12-12 11:26:24 -05:00
Chris Peterson
7bea49c784
Bug 949360 - Check for Image AllocateBuffer() failures. r=nical
2013-12-10 22:58:51 -08:00
Ed Morley
f11b71bada
Merge mozilla-central and inbound
2013-11-20 12:44:07 +00:00
Botond Ballo
20adb2fb8e
Bug 900092 - Remove FrameMetrics::ROOT_SCROLL_ID. r=kats,tn
2013-11-08 19:07:00 -05:00
Chris Lord
c97c1763cd
Bug 869696 - Enable Gralloc on the Geeksphone Peak again. r=bjacob
...
The issues that caused it to be disabled initially have now been resolved.
2013-11-19 13:29:29 +00:00
Nicholas Cameron
f64740250c
Bug 939598. Always call BeginTransaction before EndTransaction. r=mattwoodrow
2013-11-20 20:27:23 +13:00
Nicholas Cameron
5e244c94b1
merge
2013-11-19 17:39:24 +13:00
Anthony Jones
f4ae9d8faf
Bug 899154 - Disable dropping resolution during fling; r=kats
2013-11-15 11:12:03 +13:00
Benoit Jacob
012417f2af
Bug 938970 - 5/5. Switch gfx/layers to UNIFIED_SOURCES - r=ehsan,mattwoodrow
2013-11-17 21:07:08 -05:00
Benoit Jacob
633e63c6ef
Bug 938970 - 2/5. Add more namespace qualifiers in gfx/layers code to avoid ambiguous namespace resolution - r=mattwoodrow
2013-11-17 21:06:21 -05:00
Ehsan Akhgari
d5ce0b2339
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
407c5f8c6b
Bug 907463. Dealloc shmem on ActorDestroy. r=nical
2013-09-27 21:48:42 +12:00
Phil Ringnalda
a1bcd56fe8
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
87cd3345ad
Bug 946958 part 4. Tidy up interaction with widgets. r=kats
2013-12-09 14:40:59 +13:00
Nicholas Cameron
c9776c970e
Bug 946958 part 2. Remove methods which just forward to compositor. r=mattwoodrow
2013-12-09 14:40:59 +13:00
Nicholas Cameron
cc8a96960a
Bug 865033 part 2. Add mCompositor to CompositorParent. r=mattwoodrow
2013-12-09 14:40:58 +13:00
Nicholas Cameron
6c86bf2741
Bug 865033 part 1. Remove GetLayerManager from CompositorParent. r=mattwoodrow
2013-12-09 14:40:58 +13:00
Ryan VanderMeulen
f90de9eccd
Merge m-c to inbound on a CLOSED TREE.
2013-11-14 20:58:52 -05:00
Ryan VanderMeulen
ab53bf3ef7
Merge b2g-inbound to m-c on a CLOSED TREE.
2013-11-14 20:57:32 -05:00
Nicholas Cameron
b7b3ca15bd
Fix bustage from bug 915940 on a CLOSED TREE. r=me
2013-11-15 11:13:53 +13:00
Nicholas Cameron
d1aab0c912
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
Botond Ballo
b158af9af4
Bug 937274 - Fix a crash in GestureEventListener::HandlePinchGestureEvent(). r=kats
2013-10-18 17:13:26 -04:00
Kartikaya Gupta
5911da4a8a
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
Botond Ballo
d48fdb5dd0
Bug 937896 - Fix a compiler error. r=bustage. CLOSED TREE
2013-11-14 15:11:53 -05:00
Botond Ballo
522b1cd18e
Bug 937896 - Remove unwanted zoom in APZC::NotifyLayersUpdated(). r=kats
2013-11-13 14:13:40 -05:00
Kartikaya Gupta
0aa34abca6
Bug 937688 - Make UpdateZoomConstraints take a full ScrollableLayerGuid. r=botond
2013-11-14 12:35:41 -05:00
Kartikaya Gupta
7458d8fad1
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
Jim Mathies
18fbf3543f
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
6b0f142e83
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
Kartikaya Gupta
77617e3aff
Bug 935624 - Update various properties on the FrameMetrics on a layers update. r=botond
...
In particular, in the case with nested APZCs, the parent APZC might request
a repaint at a different resolution, and the child APZC might only find out
about it when the call to NotifyLayersUpdated comes in. At this point the
child APZC must pick up the new values of various properties in order to
remain consistent with the state in gecko and the parent APZC
2013-11-08 11:23:47 -05:00
Kartikaya Gupta
1e20a9603e
Bug 935624 - Kill SetZoomAndResolution because the APZC should not touch the mResolution or mCumulativeResolution. r=botond
2013-11-08 11:23:46 -05:00
Kartikaya Gupta
b96b82c875
Bug 927954 - Adding rendertrace logging to the APZ code. r=botond
...
To use this logging, enable the #define at the top of
AsyncPanZoomController.cpp, run through the scenario you wish
to trace and collect the logs, and then paste them into the
textarea on the page at github.com/staktrace/rendertrace/.
2013-11-12 19:03:27 -05:00
Botond Ballo
38553bd9e2
Bug 937129 - Fix some concurrency issues in APZCTM::HandleOverscroll. r=kats
2013-11-11 12:06:33 -05:00
Matt Brubeck
cac3956706
Bug 927033 - Don't reset mApzcForInputBlock until all touches are gone [r=kats]
2013-11-07 13:10:29 -08:00
Matt Brubeck
acbe123ece
Bug 934750 - Don't cancel content touch events unless APZC consumes them [r=jimm,kats]
...
This is necessary for our "cross-slide" hack to work. We need to send
input to both content and APZC until the input passes the pan threshold, so
that the start page can use touch events without disabling async panning.
In the long run we hope to use "touch-action: pan-x" for this and no longer
rely on this hack.
2013-11-06 12:06:46 -08:00
Wes Kocher
d3d614d652
Merge m-c to inbound
2013-11-04 21:22:23 -08:00
Wes Kocher
32a09c5f75
Merge inbound to m-c
2013-11-04 21:09:17 -08:00
Wes Kocher
f0c23390fe
Backed out changeset bad6c063b01f (bug 932274) for build bustage
2013-11-04 14:40:50 -08:00
Benoit Girard
96dd2833db
Bug 930476 - Show paint markers for async frames. r=ehsan
2013-11-04 17:04:51 -05:00
David Zbarsky
906bff4c2b
Bug 932274: Use Moz2D size classes in ipdl r=nical
2013-11-04 16:43:10 -05:00
Kartikaya Gupta
0114edf4cd
Bug 934439 - Add an APZC_LOG line for UpdateScrollOffset. r=botond
2013-11-04 21:30:10 -05:00
Ryan VanderMeulen
742c6ee1dd
Merge m-c to b2g-inbound.
2013-11-04 16:32:13 -05:00
Botond Ballo
fa777434ed
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
Nathan Froyd
0796aeb3b7
Bug 918651 - part 9 - remove useless includes from IPDL files; r=ehsan
...
These includes are no longer needed. It's much easier to locate these
includes when they're not obscured by a bunch of other stuff.
2013-10-18 14:47:04 -04:00
Nathan Froyd
ccdd4fb35d
Bug 918651 - part 8 - remove redundant includes from IPDL files; r=ehsan
...
These include statements have been made redundant by all the qualifications
to the using statements.
2013-10-18 13:34:08 -04:00
Nathan Froyd
3a9ed362e7
Bug 918651 - part 7b - fix Layers{Surfaces,Messages}.ipdlh header bootlegging; rs=ehsan
...
LayersSurfaces.ipdlh declares itself as |using| a bunch of types that only
get used in LayersMessages.ipdlh. Since intelligent include-placing
recognizes that these types are not used in LayersSurfaces.h, the necessary
header lines get left out of the generated LayersSurfaces.h, leading to
compilation problems on some platforms. Fix this by moving the appropriate
lines to LayersMessages.ipdlh.
2013-10-19 12:09:59 -04:00
Nathan Froyd
e2ede970d2
Bug 918651 - part 5 - qualify all IPDL using statements with required header; r=ehsan
2013-10-01 15:25:07 -04:00
Nathan Froyd
973f5e7322
Bug 918651 - part 1 - remove unnecessary using statements from IPDL files; r=ehsan
2013-10-18 14:48:13 -04:00
Ed Morley
d1eeb9782e
Merge mozilla-central and inbound
2013-11-01 13:18:19 +00:00
Ed Morley
641a5b27d4
Merge latest green b2g-inbound changeset and mozilla-central
2013-11-01 13:14:45 +00:00
Benoit Jacob
46729cad0c
Bug 886219 - Avoid introducing a global constructor with the ImageBridgeParent singleton - r=nical
2013-11-01 07:34:40 -04:00
Fabrice Desré
e5095467d5
Bug 914843 - fix gfx issue on oop b2g linux. r=nrc
2013-10-31 23:36:02 -07:00
Kartikaya Gupta
78cc3658d4
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
Chris Peterson
2942d66873
Bug 931669 - Fix -Wsign-compare warning in Axis.cpp. r=botond
2013-10-27 01:11:18 -07:00
Dale Harvey
b764e71eec
Bug 915645 - Allow single taps to occur longer than MAX_TAP_TIME. r=kats
2013-10-28 15:46:40 +00:00
Phil Ringnalda
0f6fec1509
Back out f872d288480b:9b86b4e60b29 (bug 929513) for failing to build on Windows
...
CLOSED TREE
2013-10-27 15:38:40 -07:00
David Zbarsky
645cba6965
Bug 929513 Part 11: Convert ImageLayer's mScaleToSize to use LayerIntSize r=nical
2013-10-27 17:53:29 -04:00
David Zbarsky
94738173ba
Bug 929513 Part 10: Convert ScreenSizeChanged to use gfx::IntSize r=nical
2013-10-27 17:53:28 -04:00
David Zbarsky
389f48f575
Bug 929513 Part 9: Convert AllocPGrallocBufferActor to use gfx::IntSize r=nical
2013-10-27 17:53:28 -04:00
David Zbarsky
a003dbc862
Bug 929513 Part 3: Use some LayerIntSize in gfx/layers r=nical
2013-10-27 17:53:27 -04:00
David Zbarsky
79f6eb5139
Bug 929513 Part 1: Use gfx::IntSize for image layer sizes r=nical
2013-10-27 17:53:26 -04:00
Gregor Wagner
33bac91d53
Backout Bug 907463 for causing bug 930575
2013-10-25 14:44:03 -07:00
Ed Morley
815b5c0198
Merge mozilla-central and b2g-inbound
2013-10-25 12:12:23 +01:00
Kartikaya Gupta
1e866cc943
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
Carsten "Tomcat" Book
daa4f1689c
Merge mozilla-inbound to Mozilla-Central
2013-10-24 07:05:29 +02:00
Kartikaya Gupta
5d2384d9c1
Bug 929367 - Rename all the prefs for the async pan/zoom code to be consistent. r=botond,mbrubeck
2013-10-24 00:07:50 +02:00
David Anderson
50865a3082
Fix resize jank on Linux with OMTC (bug 926618, r=mattwoodrow).
2013-10-21 13:14:47 -07:00
Nicholas Cameron
548c11e7a9
Bug 925317. Check shmems are tracked whenever we send them across IPC. r=BenWa,bent
2013-10-21 16:23:42 +02:00
Chris Peterson
777dc154bc
Bug 925195 - Fix -Wsign-compare warning about GetProtocolId() enum return value. r=bent
2013-10-17 20:42:59 -07:00
Sotaro Ikeda
b019369717
Bug 925381 - Fix mpeg4 video seek failure. r=nical, r=doublec
2013-10-17 11:09:15 -04:00
Kartikaya Gupta
dd02f39ad9
Bug 925902 - Add a macro to APZC_LOG a FrameMetrics object as well. r=botond
2013-10-15 17:07:58 -04:00
Nicholas Cameron
b3f95d641c
Bug 907463. Dealloc shmem on ActorDestroy. r=nical
2013-09-27 21:48:42 +12:00
Matt Woodrow
d5d855efb3
Bug 887791 - Add a TextureClient implementation for MacIOSurface. r=nical
2013-11-01 14:54:14 +13:00
Dale Harvey
f3ce8d9466
Bug 922866 - Follow up: Fix error introduced in rebase. r=trivial
2013-10-14 18:56:04 +02:00
Dale Harvey
7fddf516c3
Bug 922896 - Fire tap immediately if content is not zoomable. r=kats
2013-10-14 05:29:47 +01:00
Wes Kocher
b643cbab41
Merge inbound to m-c
2013-10-10 18:59:58 -07:00
Kartikaya Gupta
43dbe7ad6a
Bug 915831 - Roll ScaleWillOverscroll into ScaleWillOverscrollAmount since it's simpler that way. r=botond
2013-10-10 17:02:25 -04:00
Kartikaya Gupta
d7360104db
Bug 915831 - Remove some unnecessary rounding that allowed minor amounts of overzoom. r=botond
2013-10-10 17:00:30 -04:00
Kartikaya Gupta
8c746fe746
Bug 915831 - When clamping the async zoom amount, take into account the overzoom boundary. r=botond
2013-10-10 17:00:29 -04:00
Nicholas Cameron
6f0991baf8
Bug 925324. For abnormal shutdowns, only abort on b2g. r=sotaro
2013-10-11 05:44:03 +13:00
Kartikaya Gupta
f69138d888
Bug 923431 - Kill ScreenToScreenScale. r=botond
2013-10-10 12:21:55 -04:00
Kartikaya Gupta
4d36be887f
Bug 923431 - Fix the code that adjusts scroll offset while pinching; add tests to go with. r=botond
2013-10-10 12:21:50 -04:00
Nicolas Silva
15f2617a37
Bug 923917 - Make CompositableClient not crash when texture serialization fails. r=nrc
2013-10-09 16:18:29 -07:00
Benoit Girard
8add8ce2c1
Bug 918825 - Add frame duration marker. r=ehsan
...
--HG--
extra : rebase_source : 25f51e88ee75f47eea51bcc94a7b60f31b9605af
2013-09-27 12:08:45 -04:00
Benoit Jacob
0114c00bd8
Bug 914823 - Use a WeakPtr to the SurfaceAllocator - r=jgilbert,nical
2013-10-09 08:47:32 -04:00
Kartikaya Gupta
fe7ef95446
Bug 924394 - Add some useful but default-disabled logging for APZC code. r=botond
2013-10-08 17:13:04 -04:00
Phil Ringnalda
efde14c2da
Merge m-i to m-c
2013-10-03 07:58:59 -07:00
Matt Brubeck
0e87de14da
Merge fx-team to mozilla-central
2013-10-03 07:38:41 -07:00
Matt Brubeck
2b9c65a1a2
Bug 915328 - Add support for cross-slide gesture to APZC [r=kats]
2013-10-02 18:03:04 -07:00
Matt Brubeck
25ed3d495b
Bug 892684 - Implement axis locking in AsyncPanZoomController [r=kats,botond]
2013-10-02 18:03:04 -07:00
Matt Brubeck
756a4b2f55
Bug 892684 - Clean up some code in AsyncPanZoomController [r=kats]
2013-10-02 18:03:04 -07:00
Phil Ringnalda
5a81259d62
Backed out changeset 2eb7e93512b1 (bug 918825) for browser-chrome crashes
2013-10-01 22:46:48 -07:00
Masayuki Nakano
096a701901
Bug 920377 part.30 Get rid of nsGUIEvent r=roc
2013-10-02 12:46:03 +09:00
Benoit Girard
b73cfdb32c
Bug 918825 - Add frame duration marker. r=ehsan
2013-09-27 12:08:45 -04:00
Ed Morley
a0f5a9b647
Merge latest green b2g-inbound changeset and mozilla-central
2013-10-01 10:56:53 +01:00
Kartikaya Gupta
04ebd67fc3
Bug 916379 - Remove a content repaint request that was clobbering the right frame metrics with the wrong one. r=BenWa
2013-09-30 20:58:36 -04:00
Ryan VanderMeulen
e5b66a5e17
Merge m-c to b2g-inbound.
2013-09-30 16:30:26 -04:00
David Anderson
9579f654ae
Rename IPDL's RPC to Interrupt (bug 910020, r=bent).
...
--HG--
rename : ipc/ipdl/test/cxx/PTestRPCErrorCleanup.ipdl => ipc/ipdl/test/cxx/PTestInterruptErrorCleanup.ipdl
rename : ipc/ipdl/test/cxx/PTestRPCRaces.ipdl => ipc/ipdl/test/cxx/PTestInterruptRaces.ipdl
rename : ipc/ipdl/test/cxx/PTestRPCShutdownRace.ipdl => ipc/ipdl/test/cxx/PTestInterruptShutdownRace.ipdl
rename : ipc/ipdl/test/cxx/PTestRacyRPCReplies.ipdl => ipc/ipdl/test/cxx/PTestRacyInterruptReplies.ipdl
rename : ipc/ipdl/test/cxx/TestRPCErrorCleanup.cpp => ipc/ipdl/test/cxx/TestInterruptErrorCleanup.cpp
rename : ipc/ipdl/test/cxx/TestRPCErrorCleanup.h => ipc/ipdl/test/cxx/TestInterruptErrorCleanup.h
rename : ipc/ipdl/test/cxx/TestRPCRaces.cpp => ipc/ipdl/test/cxx/TestInterruptRaces.cpp
rename : ipc/ipdl/test/cxx/TestRPCRaces.h => ipc/ipdl/test/cxx/TestInterruptRaces.h
rename : ipc/ipdl/test/cxx/TestRPCShutdownRace.cpp => ipc/ipdl/test/cxx/TestInterruptShutdownRace.cpp
rename : ipc/ipdl/test/cxx/TestRPCShutdownRace.h => ipc/ipdl/test/cxx/TestInterruptShutdownRace.h
rename : ipc/ipdl/test/cxx/TestRacyRPCReplies.cpp => ipc/ipdl/test/cxx/TestRacyInterruptReplies.cpp
rename : ipc/ipdl/test/cxx/TestRacyRPCReplies.h => ipc/ipdl/test/cxx/TestRacyInterruptReplies.h
rename : ipc/ipdl/test/ipdl/error/rpcMessageCompress.ipdl => ipc/ipdl/test/ipdl/error/intrMessageCompress.ipdl
rename : ipc/ipdl/test/ipdl/error/tooWeakRPCAsync.ipdl => ipc/ipdl/test/ipdl/error/tooWeakInterruptAsync.ipdl
rename : ipc/ipdl/test/ipdl/ok/rpcProtocol.ipdl => ipc/ipdl/test/ipdl/ok/intrProtocol.ipdl
2013-09-30 17:27:45 -07:00
Cervantes Yu
ec406ac440
Bug 771765 - Support template content process, part 9: allocating a toplevel protocol should return itself. r=dzbarsky
...
Reverse the effect in bug 879475 part 14 since we need to keep track of open protocols in the Nuwa process.
2013-09-26 12:19:09 +08:00
Nicolas Silva
76ede3ac9e
Bug 916116 - Rename CompositableQuirks. r=bjacob
2013-09-30 14:14:38 +02:00
Nicolas Silva
0eee47d7c7
Bug 916118 - Simplify the TextureClient deallocation protocol. r=nrc
2013-10-02 13:52:04 -07:00
Ehsan Akhgari
019f6a95dd
Backed out changeset a73ffb0d0c97 because of build bustage
2013-09-29 17:20:07 -04:00
Ehsan Akhgari
996fe50ca8
Remove a number of unused variables, no bug
2013-09-29 16:42:12 -04:00
David Anderson
8cd94ee096
Combine AsyncChannel, SyncChannel, and RPCChannel into one class (bug 901789, r=cjones,bent).
...
--HG--
rename : ipc/glue/RPCChannel.cpp => ipc/glue/MessageChannel.cpp
rename : ipc/glue/RPCChannel.h => ipc/glue/MessageChannel.h
2013-09-27 18:42:08 -07:00
Nicholas Cameron
a8a95dc820
Bug 882113. Azurification of compositor classes. r=mattwoodrow
2013-09-27 12:37:19 +12:00
Nicolas Silva
5088531545
Bug 916118 - Backed out changeset bafb8bf3b279 on a CLOSED TREE
2013-09-26 19:06:12 +02:00
Nicolas Silva
00c40365a2
Bug 916118 - Simplify the deallocation flags in TextureClient/Host. r=nrc
2013-09-26 18:00:23 +02:00
Masayuki Nakano
a362049807
Bug 912956 part.13 mozilla/TouchEvents.h should be included directly r=roc
2013-09-25 20:21:16 +09:00
Benoit Jacob
bc69449da1
Bug 919219 - fix the b2g build - no review, bustage, CLOSED TREE
2013-09-24 18:09:20 -04:00
Benoit Jacob
5a16c8030b
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
Benoit Jacob
73b0788bc0
Bug 913872 - Take nested enums out of gfxASurface - 2/3 : manual changes - r=jrmuizel
2013-09-24 16:45:14 -04:00
Benoit Jacob
0f90257361
Bug 913872 - Take nested enums out of gfxASurface - 1/3 : automatic changes - r=jrmuizel
...
Generated by these regexes:
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(ImageFormat\|SurfaceType\|ContentType\|MemoryLocation\)[0-9A-Za-z_]*\)/gfx\1/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(CONTENT_\|MEMORY_\)[0-9A-Za-z_]*\)/GFX_\1/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(CONTENT_COLOR\|CONTENT_ALPHA\|CONTENT_COLOR_ALPHA\|CONTENT_SENTINEL\|MEMORY_IN_PROCESS_HEAP\|MEMORY_IN_PROCESS_NONHEAP\|MEMORY_OUT_OF_PROCESS\)\($\|[^A-Za-z0-9_]\)/\1GFX_\2\3/g'
find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(ImageFormatARGB32\|ImageFormatRGB24\|ImageFormatA8\|ImageFormatA1\|ImageFormatRGB16_565\|ImageFormatUnknown\|SurfaceTypeImage\|SurfaceTypePDF\|SurfaceTypePS\|SurfaceTypeXlib\|SurfaceTypeXcb\|SurfaceTypeGlitz\|SurfaceTypeQuartz\|SurfaceTypeWin32\|SurfaceTypeBeOS\|SurfaceTypeDirectFB\|SurfaceTypeSVG\|SurfaceTypeOS2\|SurfaceTypeWin32Printing\|SurfaceTypeQuartzImage\|SurfaceTypeScript\|SurfaceTypeQPainter\|SurfaceTypeRecording\|SurfaceTypeVG\|SurfaceTypeGL\|SurfaceTypeDRM\|SurfaceTypeTee\|SurfaceTypeXML\|SurfaceTypeSkia\|SurfaceTypeSubsurface\|SurfaceTypeD2D\|SurfaceTypeMax\)\($\|[^A-Za-z0-9_]\)/\1gfx\2\3/g'
2013-09-24 16:45:13 -04:00
Ed Morley
0341739cfa
Backed out changeset 505fe9841b16 (bug 915940) on suspicion of Windows PGO-only compilation failures
2013-09-24 16:49:11 +01:00
Masayuki Nakano
0b6d808310
Bug 912956 part.2 Rename nsEvent.h to mozilla/EventForwards.h and sort out it r=roc
...
--HG--
rename : widget/nsEvent.h => widget/EventForwards.h
2013-09-24 19:04:14 +09:00
Nicholas Cameron
df24a6ad47
Bug 912766. DIB texture client/host. r=mattwoodrow,jrmuizel
2013-09-24 13:14:11 +12:00
Nicholas Cameron
ddb224cd5c
Bug 915940. Memory reporter for memory image surfaces. r=njn,mattwoodrow
2013-09-24 10:59:26 +12:00
David Zbarsky
68058a840f
Bug 879475: Allocing an actor for a bridged or opened protocol should return bool r=jlebar
...
Conflicts:
dom/ipc/ContentChild.cpp
dom/ipc/ContentChild.h
2013-09-23 17:54:25 -04:00
Benoit Jacob
24afddf9d1
Bug 915869 - Let the GrallocBufferActor keep an _array_ of backrefs to TextureHosts referencing it - r=nical
2013-09-17 14:48:08 -04:00
Benoit Jacob
21762ea6b2
Bug 915869 - Let the GrallocBufferActor inform its old TextureHost when it's switching to another TextureHost - r=jrmuizel
2013-09-17 14:47:27 -04:00
Botond Ballo
d7fd790cd6
Bug 898478 - Have AsyncPanZoomControllers pass overscroll caused by panning on to their parents. r=kats
2013-08-20 19:00:57 -04:00
Botond Ballo
e77231ff49
Bug 898478 - Have AsyncPanZoomController keep a pointer to the APZCTreeManager. r=kats
2013-08-20 18:10:47 -04:00
Nicolas Silva
e7f445dcba
Bug 916116 - Move SetCompositableQuirks to AddTextureHost. r=sotaro
2013-09-17 15:28:35 +02:00
Thinker Lee ext:(%2C%20Cervantes%20Yu%20%3Ccyu%40mozilla.com%3E)
025fc12dba
Bug 771765 - Support template content process, part 6: support re-creation of the threads created in the template process. r=khuey, r=jorendorff
...
The threads that are frozen/recreated include:
* ImageBridgeChildThread.
* Image decoding thread pool.
* IPC thread (checkpointed, but not frozen).
* GC Helper thread.
* XPC runtime watchdog thread.
* Socket transport service thread/thread pool.
* Memory pressure watcher.
* Timer thread.
* DOM promise worker.
2013-06-03 18:14:42 +08:00
Thinker Lee ext:(%2C%20Cervantes%20Yu%20%3Ccyu%40mozilla.com%3E)
46e38d15e3
Bug 771765 - Support template content process, part 4: Clone IPC protocol objects that will be up when the template process is ready. r=khuey, r=bent
2013-06-03 18:14:37 +08:00
Matt Woodrow
baeddb29c0
Bug 921910 - Don't build TextureHosts for async video frames when there's no compositor. r=nical
2013-10-02 16:05:35 +13:00
Matt Woodrow
126b90d8b4
Bug 886219 - Make sure we release ImageBridge compositables and textures from the ImageBridge thread. r=nical
2013-10-02 16:05:35 +13:00
Matt Woodrow
ae90722e6c
Bug 886219 - Don't leak the static ImageBridgeParent. r=nical
2013-10-02 16:05:34 +13:00
Nicolas Silva
1df67b87cd
Bug 922202 - Make PlanarYCbCrImage::Data forward-declarable and remove some header includes. r=bjacob
2013-10-01 17:57:50 -07:00
Wes Kocher
8c30d76bc7
Backed out changeset ac77b26ec1ee (bug 915940) for PGO build bustage
2013-10-01 14:30:13 -07:00
Nicholas Cameron
6e9d987d30
Bug 915940. Memory reporter for memory image surfaces. r=njn,mattwoodrow
2013-09-24 10:59:26 +12:00
Ryan VanderMeulen
8dcb23387e
Merge m-c to b2g-inbound.
2013-09-13 16:11:28 -04:00
Kartikaya Gupta
ca1a8f5181
Bug 909881 - Save the zoom constraints in RenderFrameParent so that TabChild can send them before the APZC is created and they don't get lost. r=botond
2013-09-13 10:18:33 -04:00
Corey Ford
f01a1f674f
Bug 897105 - Part 2: Add layer fields for sticky positioning. r=roc
2013-09-11 21:17:58 -07:00
Sotaro Ikeda
4bf6f5d219
Bug 912134 - allocate texture per CompositableHost. r=jmuizelaar,bjacob
...
The fundamental change of approach in this patch is that now the temporary
texture is per-compositable.
Originally, the temporary texture was per-TextureHost. That was too many
temporary textures. With Nical's work in bug 875211, that switched to having a
temporary texture per compositor only. That's what turned out to be too few.
Now we have one per compositable which is fewer than one per TextureHost,
because e.g. a ContentHost, which is a single Compositable, may have 2
TextureHosts to implement double-buffering.
2013-09-12 22:39:26 -04:00
Ryan VanderMeulen
6f4ced18e9
Merge inbound to m-c.
2013-09-12 20:37:35 -04:00
Jim Mathies
cf11506223
Bug 915385 - Add a hidden pref for disabling apz zoom. r=kats
2013-09-12 12:30:05 -05:00
Nicolas Silva
f2973f89d7
Bug 913821 - Conservatively ensure that TextureClients/Hosts are removed at the end of a video. r=sotaro
2013-09-12 16:50:35 +02:00
Nicolas Silva
d196d86d68
Bug 901224 - Postpone deallocation of shared data to the end of the next transaction. r=sotaro
2013-09-12 16:50:28 +02:00
Ryan VanderMeulen
9283daa4fd
Merge b2g-inbound to m-c.
2013-09-11 20:58:14 -04:00
Botond Ballo
13d4e37c9e
Bug 912806 - Store both cumulative and non-cumulative resolutions in FrameMetrics and use whichever is appropriate. r=kats
2013-09-05 18:26:59 -04:00
Benoit Girard
dd193089ea
Bug 914656 - Annotate the compositor thread for profiling. r=jrmuizel
2013-09-10 15:56:49 -04:00
Nicolas Silva
0c3ba6dc34
Bug 913821 - TextureID should be uint64 in the ipdl code. r=sotaro
2013-09-10 10:53:58 +02:00
Nicholas Nethercote
fd238cabbe
Bug 910517 (3rd attempt) - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
...
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 2b2a1b2667d6562fcf803ec48b4a8c10fdd519a3
2013-08-27 16:24:51 -07:00
Ed Morley
50ba829a39
Backed out changeset 5c9f3fb14995 (bug 910517) for Android talos failures
...
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-09 16:07:48 +01:00
Nicholas Nethercote
9d7bc3d7f1
Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
...
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 76bf96ce8d6e16c8573584d9e8e70c80371f66eb
2013-08-27 16:24:51 -07:00
Nicholas Cameron
cca4ba2d92
Don't include mozilla-config.h in gfx.layers. No bug. r=me
2013-09-09 08:55:48 +12:00
Nicolas Silva
4f81e6d0f1
Bug 912939 - Rename LayerTransaction.ipdlh into LayersMessages.ipdlh. r=kanru
...
--HG--
rename : gfx/layers/ipc/LayerTransaction.ipdlh => gfx/layers/ipc/LayersMessages.ipdlh
2013-09-06 17:41:00 +02:00
Nicolas Silva
a8cd16012b
Bug 912040 - Make sure deallocating shared texture data doesn't race with TextureClient access. r=sotaro
2013-09-06 11:04:50 +02:00
Benoit Jacob
94f74c705d
Bug 912042 - Avoid including GLContext.h in headers that don't need it - r=jrmuizel
2013-09-04 08:14:52 -04:00
Bill McCloskey
14949db0b2
Bug 910488 - XSync can hang indefinitely with OMTC enabled (r=bjacob)
2013-08-30 14:30:10 -07:00
Doug Turner
5dc544505a
Bug 906072 - Remove Maemo port. r=romaxa, r=ted, r=johns
2013-08-25 16:56:53 -07:00
Nicolas Silva
17e512124b
Bug 907745 - Gralloc implementaion of the new texture client/host. r=pchang, bjacob
2013-08-09 17:23:46 +02:00
Nicholas Nethercote
56844b8076
Bug 831193 (part 10) - Don't use NS_MEMORY_REPORTER_IMPLEMENT in parts of gfx/. r=bjacob.
...
--HG--
extra : rebase_source : 433b12748c8562b384a02fbee6d98e3bc991802d
2013-01-17 16:45:11 -08:00
Kartikaya Gupta
55c123d4d6
Bug 885023 - Convert mFrameMetrics.mZoom to a CSSToScreenScale. r=BenWa,k17e
...
The mFrameMetrics.mZoom was previously a "resolution-independent" zoom,
which meant it had to always be multiplied by the CalculateIntrinsicScale()
value to be useful. This patch converts it to a "resolution-dependent" zoom,
and includes the intrinsic scale multiplier already. This means it needs
to be updated if either the viewport or composition bounds (which determine
the intrinsic scale) change, but there are only a few places where this
happens and it makes the rest of the code cleaner.
2013-08-26 09:50:30 -04:00
Gabriele Svelto
619cc7ccf1
Bug 907798 - Remove TimeStamp.h includes from source files that do not need it; r=ehsan
2013-08-24 08:12:51 +02:00
Ms2ger
b5df99e7e3
Revert this CLOSED TREE to changeset 4d3e221584a0.
2013-08-24 13:31:48 +02:00
Gabriele Svelto
b6e8140bfc
Bug 907798 - Remove TimeStamp.h includes from source files that do not need it; r=ehsan
2013-08-24 08:12:51 +02:00
Jim Mathies
e6ba4d9285
Bug 907243 - Move SetDPI to APZCTreeManager. r=kats
2013-08-22 19:28:02 -05:00
Ryan VanderMeulen
1ef4f3befe
Merge inbound to m-c.
2013-08-22 15:42:18 -04:00
Nicholas Cameron
01b99f2af9
Bug 902929. Be explicit about re-attaching async video compositable hosts. r=nical
2013-08-21 13:28:53 +12:00
Jan Beich
66c4b90185
Bug 907837 - Don't include SPS headers directly. r=nrc
2013-08-22 19:11:51 +12:00
Jan Beich
de6b591a26
Bug 907837 - Fix IWYU false positive to unbreak non-SPS build. r=nrc
2013-08-22 19:11:47 +12:00
Ryan VanderMeulen
908be1856b
Merge inbound to m-c.
2013-08-21 17:14:32 -04:00
Kartikaya Gupta
438bcc477f
Bug 898443 - Add a parent pointer to the AsyncPanZoomController class. r=BenWa
2013-08-21 12:03:02 -04:00
Wes Kocher
2a9e21a70f
Backed out changeset 315c9f0af9bb (bug 902929)
2013-08-20 20:50:20 -07:00
Nicholas Cameron
8acfeaece0
Bug 902929. Be explicit about re-attaching async video compositable hosts. r=nical
2013-08-21 13:28:53 +12:00
Botond Ballo
fe4f404898
Bug 898580 - Remove updating of scroll offset in AsyncPanZoomController::NotifyLayersUpdated. It is now no longer needed by any platform. r=bbondy, r=kats
2013-08-15 11:30:27 -04:00
Nicholas Cameron
b5c77aec19
Bug 903816. Include-what-you-use for gfx/layers. r=roc
2013-08-12 11:17:23 +12:00
Kartikaya Gupta
ee4d416a21
Bug 906427 - When a touch event has multiple touch points, send it to the root APZC for the layer subtree. r=BenWa
2013-08-22 10:40:44 -04:00
David Zbarsky
826b4c099f
Bug 903819 - Don't include Layers.h everywhere, part 4 r=nrc
2013-08-20 15:45:30 -04:00
Matt Woodrow
b58cfaa3e8
Bug 900133 - Make sure we always set TEXTURE_DEALLOCATE_HOST when required. r=nical
2013-08-20 11:39:56 +12:00
Ryan VanderMeulen
fc58488cf2
Merge m-c to inbound on a CLOSED TREE.
2013-08-19 17:05:12 -04:00
Kartikaya Gupta
19cd81339f
Bug 906109 - Make the GestureEventListener realize when a touch point disappears. r=k17e
...
When receiving a touch event arrives that is missing previously-known
touch points, remove them from the list. This makes the GestureEventListener
more robust so that it doesn't keeping doing pinches when there should
be pans.
2013-08-19 09:38:43 -04:00
Chris Lord
ce468943a9
Bug 747811 - Add gfxReusableImageSurfaceWrapper. r=BenWa
...
Add an implementation of gfxReusableSurfaceWrapper based on gfxImageSurface
and use it on Android to avoid the overhead of shared memory.
2013-08-19 14:59:27 +01:00
Benoit Girard ext:(%2C%20Chris%20Lord%20%3Cchrislord.net%40gmail.com%3E)
1b95e41dd6
Bug 747811 - Make the tiles backend safe across processes. r=nrc,BenWa
...
The tiles backend passes raw pointers to transfer tiled buffers between the
main thread and the compositor. This patch changes that to use shared
memory and tile descriptors instead, as well as changing the memory management
slightly to facilitate that.
2013-08-19 14:59:22 +01:00
Nicholas Cameron
d45b9fe216
Bug 903893. Backend fallback for OMTC. r=mattwoodrow
2013-08-18 18:46:16 +12:00
Jeff Muizelaar
be2cbcb453
Bug 898525. Separate out Gfx helpers into GfxMessageUtils.h. r=bent
...
This helps us include less.
--HG--
extra : rebase_source : bb9ca934a9dade9ef21cecfee7ae8e860f9c60c1
2013-07-26 15:28:31 -04:00
Wes Kocher
26854193d4
merge b2g-inbound to central
2013-08-16 15:30:59 -07:00
Arnaud Sourioux
de3b6b7cdf
Bug 903112 - Replace this with MOZ_THIS_IN_INITIALIZER_LIST() in gfx/. r=jfkthame
2013-08-16 09:18:36 -04:00
Botond Ballo
c7e59f7954
Bug 895905 - B2G mechanism for content to inform APZC about scroll events. Handles multi-APZC. r=kats
2013-08-08 15:56:08 -04:00
Kartikaya Gupta
b59db3868c
Bug 890280 - Apply proper transformations when sending inputs to the APZC and back to the DOM. r=BenWa
2013-08-14 10:15:54 -04:00
Nicolas Silva
21b12f43ab
Bug 858914 - Various TextureClient/Host cleanups. r=nrc.
2013-08-08 14:53:12 +02:00
Kartikaya Gupta
30c87b92e1
Bug 903460 - Back out cset 9813b854b713 because it regresses panning behaviour on Android. r=me
2013-08-12 08:32:11 -04:00
Phil Ringnalda
26893fc5ad
Back out d393cfeb5dbf:9f82224bb8a3 (bug 903816) for Android reftest failures
...
CLOSED TREE
2013-08-11 19:21:17 -07:00
Nicholas Cameron
788218a793
Bug 903816. Include-what-you-use for gfx/layers. r=roc
2013-08-12 11:17:23 +12:00
Kartikaya Gupta
378f96db6d
Bug 903460 - Apply the async transform after the CSS transform for a given layer. r=BenWa
...
Since the CSS transform includes a 1/resolution scaling factor, the translation
amount in the async transform is now in LayoutDevicePixels instead of LayerPixels.
The shadow tree transform is now effectively:
(1/resolution * rest of CSS transform * async translation * async resolution)
Whereas before it was
(async translation * async resolution * 1/resolution * rest of CSS transform)
2013-08-10 11:19:47 -04:00
Po-Chun Chang
a3033884fb
Bug 897258 - Avoid wasted work in GestureEventListener::HandleInputEvent(). r=kentuckyfriedtakahe
2013-08-09 15:01:56 -04:00
Ed Morley
a428bbb020
Merge mozilla-central and inbound
2013-08-07 16:19:03 -07:00
Edwin Flores
6318f92344
Bug 892934 - Pass RGB image format into CreateTextureImage r=mattwoodrow
2013-08-08 10:38:21 +12:00
Kartikaya Gupta
24718d2f2e
Bug 900742 - Fix APZC hit testing problem introduced by bug 866232. r=BenWa
2013-08-06 16:20:14 -04:00
Ryan VanderMeulen
a1195a8c19
Backed out changeset aada9eac6fd3 (bug 900742) for checktest failures.
2013-08-06 12:50:36 -04:00
Kartikaya Gupta
5cd5511bea
Bug 900742 - Fix APZC hit testing problem introduced by bug 866232. r=BenWa
2013-08-06 10:39:19 -04:00
Kartikaya Gupta
d2aa7640b9
Bug 901339 - Fix the focal point when zooming in and out. r=BenWa
2013-08-07 12:34:16 -04:00
Nicolas Silva
687afe45cd
Bug 900393 - Implement missing method in DeprecatedSharedRGBImage. r=eflores
2013-08-06 18:47:44 +02:00
Nicolas Silva
8e7aa5738e
Bug 899667 - Make layer borders more readable. r=BenWa
2013-08-03 00:50:17 +02:00
Kartikaya Gupta
e490c33d50
Bug 899810 - Ensure that mFrameMetrics is updated properly in NotifyLayersUpdated. r=bbondy
...
In some cases the mScrollOffset was getting updated on the mFrameMetrics
before the IsDefault() check, so the IsDefault() check would return false
when it should have returned true. Calling IsDefault() on the
mFrameMetrics before writing stuff into it fixes this.
2013-08-04 12:26:54 -04:00
Nicholas Cameron
dd58f82344
Bug 874721, bug 899435. D3D9 compositor and windows OMTC window resizing. r=Bas, mattwoodrow
2013-08-04 19:46:17 +12:00
Matt Woodrow
ea28516906
Bug 900133 - Add TEXTURE_IMMEDIATE_UPLOAD to avoid racing when single buffered. r=nical
2013-08-03 13:30:28 -04:00
Wes Kocher
f304825fbc
Backed out 6 changesets (bug 900133, bug 881634, bug 893302) for build bustage
...
Backed out changeset 49632bc14e27 (bug 900133)
Backed out changeset 036780fccc89 (bug 900133)
Backed out changeset b8db58f5e209 (bug 893302)
Backed out changeset 67c3e4204e44 (bug 893302)
Backed out changeset a857a4246dd9 (bug 900133)
Backed out changeset e0e2e27af6c1 (bug 881634)
2013-08-02 20:35:39 -07:00
Matt Woodrow
e90b2b5bae
Bug 900133 - Add TEXTURE_IMMEDIATE_UPLOAD to avoid racing when single buffered. r=nical
2013-08-02 23:00:02 -04:00
Matt Woodrow
06a3f097c5
Bug 900133 - Remove unnecessary printf when adding textures. r=nical
...
--HG--
extra : rebase_source : 78b76ede5e23d445833a65fd18c7eb336709c1b4
2013-08-01 21:12:15 -04:00
Ms2ger
f28bde905f
Bug 900096 - Cleanup Touch some; r=dzbarsky
2013-08-02 09:06:35 +02:00
Ms2ger
625b832e4f
Bug 896251 - Make nsEvent::{refPoint, lastRefPoint} LayoutDeviceIntPoints; r=smaug+kats
2013-08-02 09:05:16 +02:00
Nicholas Cameron
f67c88d7e9
back out bug 874721, bug 899435
2013-08-01 18:30:46 +12:00
Nicholas Cameron
4cd532521f
Bug 874721; don't OOM with large canvases. r=Bas
2013-08-01 16:52:53 +12:00
Nicholas Cameron
19f4e0a65c
Bug 874721; identify multi-process OMTC and use shmem. r=Bas
2013-08-01 16:52:46 +12:00
Nicholas Cameron
9d09b0b60d
Bug 874721. Fallback for EnsureAllocated and compositor, and some more sanity checks. r=mattwoodrow
2013-08-01 16:52:36 +12:00
Nicholas Cameron
068a3c90a4
Bug 874721. CompositorD3D9, r=Bas
2013-08-01 16:50:52 +12:00
Nicholas Cameron
936a43cf50
Bug 897839. Use OMTC for invisible windows and initialise LayerTreeState::mParent. r=mattwoodrow
2013-08-01 10:20:24 +12:00
Kartikaya Gupta
e56113f533
Bug 890932 - Add a missing lock in AsyncPanZoomController::SendAsyncScrollEvent. r=BenWa
2013-07-31 08:53:17 -04:00
Kartikaya Gupta
aa06750a8e
Bug 890932 - Remove unnecessary internal method now that the monitor re-entrant. r=BenWa
2013-07-31 08:53:16 -04:00
Kartikaya Gupta
e7eb189cc7
Bug 890932 - Make AsyncPanZoomController::mMonitor re-entrant to reduce code madness. r=BenWa
2013-07-31 08:53:16 -04:00
Ryan VanderMeulen
02d1dbe0d8
Merge m-c to inbound.
2013-07-30 18:08:18 -04:00
Nicholas Cameron
5b1bec37f3
Bug 897839. Add some null checks for the compositor map. r=mattwoodrow
2013-07-31 09:45:42 +12:00
Kartikaya Gupta
40271aeb0c
Bug 866232 - Break assumption of a single global root layer tree. r=BenWa, mattwoodrow
2013-07-30 14:03:43 -04:00
Kartikaya Gupta
0ab038a3d2
Bug 866232 - Only fire mozbrowserasyncscroll events on the top-level scrollable for backwards compatibility. r=BenWa
2013-07-30 14:03:42 -04:00
Kartikaya Gupta
c27169836e
Bug 866232 - Update and re-enable the test for hit detection in the APZC tree. r=BenWa
2013-07-30 14:03:41 -04:00
Kartikaya Gupta
288b98292e
Bug 866232 - Add visible region tracking and hit-testing code for APZCTreeManager. r=BenWa, mattwoodrow
2013-07-30 14:03:41 -04:00
Kartikaya Gupta
ef737ecf30
Bug 866232 - Extract a GetCurrentAsyncTransform method in APZC. r=BenWa
2013-07-30 14:03:41 -04:00
Kartikaya Gupta
d725e5e6a1
Bug 866232 - Some documentation/variable renaming cleanup. r=BenWa
2013-07-30 14:03:40 -04:00
Kartikaya Gupta
81eb2a5995
Bug 866232 - Add code to build the APZC tree on layer updates. r=BenWa, mattwoodrow
2013-07-30 14:03:40 -04:00
Kartikaya Gupta
047677d3e3
Bug 866232 - Add an APZCTreeManager to encapsulate the multiple APZCs corresponding to a given layer tree. r=BenWa, mattwoodrow
2013-07-30 14:03:40 -04:00
Kartikaya Gupta
3a19367421
Bug 866232 - Add support for delaying APZC creation until the layer update. r=BenWa
2013-07-30 14:03:40 -04:00
Kartikaya Gupta
d87852c133
Bug 866232 - Guard some APZC fields by a lock so they can be nulled out from the compositor thread. r=BenWa
2013-07-30 14:03:39 -04:00
Kartikaya Gupta
56b257378e
Bug 866232 - Move around code in APZC to more easily allow creating it on the compositor thread. r=BenWa
2013-07-30 14:03:39 -04:00
Kartikaya Gupta
b91095aea2
Bug 866232 - Reserve a layer tree id for the root layer tree. r=BenWa
2013-07-30 14:03:38 -04:00
Nicolas Silva
2b6a0c31a2
Bug 858914 - New texture classes + OGL backend (preffed off). r=bas, nrc
2013-07-30 11:59:51 +02:00
David Zbarsky
10f3eae40e
Backout 40683014a638 for causing mochitest orange
2013-07-29 21:11:01 -07:00
David Zbarsky
d3fdca2e8d
Bug 898105 - Remove nsIDOMTouch r=reuben
2013-07-29 16:04:09 -07:00
Ehsan Akhgari
085494b95d
Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
...
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:
# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.cc" \
-o -iname "*.mm" \) | \
xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
modules/libmar/src/mar_private.h \
modules/libmar/src/mar.h
# assert_replacer.py
#!/usr/bin/python
import sys
import re
pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")
def replaceInPlace(fname):
print fname
f = open(fname, "rw+")
lines = f.readlines()
for i in range(0, len(lines)):
while True:
index = re.search(pattern, lines[i])
if index != None:
index = index.start()
lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
for j in range(i + 1, len(lines)):
if lines[j].find(" ", index) == index:
lines[j] = lines[j][0:index] + lines[j][index+4:]
else:
break
else:
break
f.seek(0, 0)
f.truncate()
f.write("".join(lines))
f.close()
argc = len(sys.argv)
for i in range(1, argc):
replaceInPlace(sys.argv[i])
--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
Ehsan Akhgari
3717325909
Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted
2013-07-30 10:25:31 -04:00
Ryan VanderMeulen
20fabd9691
Merge m-c to inbound.
2013-07-25 21:59:02 -04:00
Michael Wu
5cb1d9f27d
Bug 895417 - Fix refpoint coordinates sent to child processes, r=kats
2013-07-24 21:49:49 -04:00
Ryan VanderMeulen
ece161737c
Merge m-c to inbound.
2013-07-24 18:27:51 -04:00
Ryan VanderMeulen
0f4f42b485
Backed out changeset d264bdb8b400 (bug 884188).
2013-07-24 11:15:47 -04:00
Nicolas Silva
e6812e0741
Bug 858914 - Mark some Image related classes deprecated. r=jrmuizel DONTBUILD
2013-07-24 18:08:35 +02:00
Nicolas Silva
6677c99d45
Backed out changeset 9089fe288899
2013-07-24 18:01:39 +02:00
Nicolas Silva
3e4aab0b5a
Bug 868914 - Mark some Image related classes deprecated. r=jrmuizel
2013-07-24 17:43:35 +02:00
Bill McCloskey
56463b4279
Bug 896651 - Need to clean up resources for out-of-process layer trees when shutting down (r=mattwoodrow)
2013-07-23 14:53:22 -07:00
Botond Ballo
f79359461b
Bug 895904 - Hook up NativePanZoomController.abortAnimation(). r=kats
2013-07-23 16:41:22 -04:00
Brian R. Bondy
ffa4a02e06
Bug 869940 - Fix scaling issue with high dpi devices. r=kats
2013-07-25 13:15:10 -04:00
Brian R. Bondy
98b679c2f8
Bug 869940 - Implement pan start/end notifications from APZC. r=kats
2013-07-25 13:15:06 -04:00
Botond Ballo
ffdcf14f78
Bug 859929 - Make AsyncPanZoomController work with progressive tile painting on Fennec. r=kats
2013-07-22 22:33:05 -04:00
Birunthan Mohanathas
a6c780dc22
Bug 784739 - Switch from NULL to nullptr in gfx/layers/ipc/; r=ehsan
...
--HG--
extra : rebase_source : 36cb1b9738de269a10cea871242b0b51588d0f3b
2013-07-20 11:48:55 +03:00
Chris Lord
8c0e0a398a
Bug 886298 - Convert Layers fixed position margins to typed units. r=kats
2013-07-22 09:50:13 +01:00
Chris Lord
5bcdfe829a
Bug 886298 - Convert Layers fixed position anchor to typed units. r=kats
2013-07-22 09:50:09 +01:00
Jed Davis
161ecbbbcb
Bug 895722 - Don't remove elements from mDurations if it's empty. r=BenWa
2013-07-19 21:20:11 -04:00
Matt Woodrow
91e1d99b69
Bug 889515 - Get rid of static sCompositorParent. r=nical
2013-07-11 22:32:09 -04:00
Ryan VanderMeulen
ba97a4cddb
Merge m-c to inbound on a CLOSED TREE.
2013-07-18 14:53:05 -04:00
Gabriele Svelto
6f157c184f
Bug 884188 - Resize small gralloc'd surfaces to work around issues when drawing small canvases on certain devices. r=nrc
2013-07-17 17:04:33 +02:00
Botond Ballo
09092fd145
Bug 891544 - Remove unneeded FromUnknownPoint and FromUnknownRect calls. r=kats
2013-07-11 10:43:35 -04:00
Botond Ballo
336bc41be0
Bug 890938 - Convert AsyncPanZoomController::ZoomToRect to take a CSSRect instead of a gfxRect. r=kats
2013-07-11 10:43:35 -04:00
Ryan VanderMeulen
ec6b3d53b5
Merge m-c to inbound.
2013-07-10 09:45:16 -04:00
Wes Kocher
7bc084c9d5
Backout b61b7f2e0d0b for potentially causing leaks
2013-07-09 18:12:23 -07:00
Matt Woodrow
146fa01a1e
Bug 889953 - Add a bounds property to ColorLayer to restrict the drawing region instead of using a clip. This stops our accelerated layer backends from requiring a temporary surface to render transformed ColorLayers. r=roc
2013-07-09 10:11:00 -04:00
Anthony Jones
1da3d21c02
Bug 864447 - Move timing tracking out of APZC; r=BenWa
2013-07-10 11:26:08 +12:00
Andreas Gal ext:(%2C%20Matt%20Woodrow%20%3Cmwoodrow%40mozilla.com%3E)
3938a156d0
Bug 888562 - Recycle MemoryImage surfaces when possible. r=mattwoodrow,jrmuizel
2013-07-09 17:52:31 -04:00
Andreas Gal
d51115a06d
Bug 888530 - Remove unnecessary memset in ISurfaceAllocator::AllocSurfaceDescriptor. r=mattwoodrow,jrmuizel
2013-07-09 17:52:30 -04:00
Benoit Girard
fe89091f81
Bug 890279 - Create ScrollInfoLayers for frames we want APZC support. r=kats
2013-07-02 11:16:05 -04:00