Commit Graph

2050 Commits

Author SHA1 Message Date
Ms2ger
c89f422b19 Revert to changeset 4c45dbd81a32 to fix mochitest-chrome orange. 2013-04-05 09:40:13 +02:00
Anthony Jones
f696a62a20 Backout 8a6cacf047a1 (bug 833795) to fix bug 856083 2013-04-05 18:19:08 +13:00
Vasil Dimov
b7eb55c54c Bug 856671 - Fix TestTiledLayerBuffer.cpp when running with DEBUG. r=BenWa DONTBUILD as NPOTB
--HG--
extra : rebase_source : 1cbed3c0d90e67fcd2e29ddb7bff4fc16f35f6e0
2013-04-01 15:24:29 -04:00
Kyle Machulis
5aa83c3e11 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
c79ccc0693 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
a59d40f143 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Oleg Romashin
4e1599a9bf Bug 855586 - Patch in bug 824642 has wrong logic. r=nical.bugzilla 2013-03-29 11:13:00 -07:00
Robert O'Callahan
a7a4d82b43 Bug 852489. Part 7: Remove Layer::IntersectClipRect because it's no longer used and it's prone to cause unnecessary Mutateds. r=mattwoodrow
--HG--
extra : rebase_source : 45d5365865894f5bf05c1ae41da670e9f28c53bf
2013-03-22 15:17:29 +13:00
Robert O'Callahan
560c564615 Bug 852489. Part 3.5: Ensure that Mutated is called for all layer attributes. r=mattwoodrow
--HG--
extra : rebase_source : b4886464e3126e96b4c28a21fc18ff0be048ebb7
2013-03-28 23:58:45 +13:00
Robert O'Callahan
85c5b469cd Bug 852489. Part 3: Add logging to track addition of IPC edits and causes of layer mutation. Also avoid unnecessary mutate in ClearAnimations. r=mattwoodrow
--HG--
extra : rebase_source : 65557e5e223ff7b30d5eeccf534e950451d664b9
2013-03-22 15:17:28 +13:00
Sotaro Ikeda
17e4c83d74 Bug 850566 - Part 2: Render gralloc buffer by using image size. r=roc 2013-03-28 09:59:48 -04:00
Sotaro Ikeda
185b6c166d Bug 850566 - Part 1: Add image size to SurfaceDescriptorGralloc. r=nical 2013-03-28 09:59:47 -04:00
Diego Wilson
6eef212eb8 Bug 846236 - Verify the buffer descriptor is a shared texture. r=ncameron 2013-03-25 17:22:10 -07:00
Benoit Girard
9cab1fc296 Bug 851611 - Part 4: Split out GeckoProfilerFunc.h & PseudoStack.h. r=jrmuizel
--HG--
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 929cd0d6227dd12f6654b61077e63e4d86036dc0
2013-03-15 20:48:56 -04:00
Benoit Girard
fc10a7cfe4 Bug 851611 - Part 3: Rename headers. r=jrmuizel
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 6ea7c660764a4390cdd8dd91561fff1d7bad6035
2013-03-18 15:25:50 +01:00
Benoit Girard
9d12529d78 Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : f76accc3d3dd86c75cb3e9750734f23ec9c29941
2013-03-16 00:47:02 -04:00
Daniel Holbert
25fad7ab05 Bug 851556: Makee GestureEventListener.cpp's "MAX_TAP_TIME" unsigned, so that the comparisons against it won't trigger build warnings. r=drs 2013-03-24 18:23:56 -07:00
James Willcox
73b16c259e Bug 829747 - Update WebGL canvases asynchronously r=bgirard,jgilbert 2013-03-22 15:22:20 -04:00
Ed Morley
29e1999869 Backed out changeset b43bbab312e7 (bug 829747) for ABORTs on Android 2.2; CLOSED TREE 2013-03-22 19:10:24 +00:00
James Willcox
706ba55f37 Bug 829747 - Update WebGL canvases asynchronously r=bgirard,jgilbert
--HG--
extra : rebase_source : ba0f95badd9b5d7e537b3c83e0057665bd5ced86
2013-03-22 12:13:21 -04:00
Matt Woodrow
51f8f86ba8 Bug 831313 - Bail out from rendering rather than aborting if we fail to allocate shared memory for a layers surface. r=roc 2013-03-21 15:33:00 +13:00
Anthony Jones
06cdc516c8 Bug 833795 - Use screen relative co-ordinates for gestures; r=drs 2013-03-21 15:08:15 +13:00
Robert O'Callahan
8f9e0391c5 Bug 843618. When reading back the results of clayer ompositing to draw them to a non-deefault rendering context, don't depend on the size of the rendering context's target surface --- it could be anything. r=jrmuizel 2013-03-21 00:22:58 +13:00
Mike Shal
9680b82df6 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Ed Morley
b2109c458f Backed out changeset c75481a07302 (bug 851611) 2013-03-18 14:10:35 +00:00
Ed Morley
2b1775b4e9 Backed out changeset d195190adc48 (bug 851611)
--HG--
rename : tools/profiler/GeckoProfiler.h => tools/profiler/sampler.h
rename : tools/profiler/GeckoProfilerImpl.h => tools/profiler/sps_sampler.h
2013-03-18 14:10:30 +00:00
Benoit Girard
664cf994b4 Bug 851611 - Part 3: Rename headers. r=jrmuizel
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 552fe1d3ff61d15b264aaf86f7c8cb4f4eff69d1
2013-03-18 14:41:02 +01:00
Benoit Girard
c4c6a0ddf5 Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : 3032aaf7e50cdf9c350da688ec34e50a695fc7ca
2013-03-16 00:47:02 -04:00
Ms2ger
d52bebdeb3 Bug 845374 - Part s: Stop including nsTArray.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:16 +01:00
Ms2ger
c4380f4933 Bug 845374 - Part r: Stop including nsTArray.h in nsReadableUtils.h; r=khuey 2013-03-17 08:55:16 +01:00
Alessandro Decina
f1f8c03a5d Bug 761018 - GStreamer video buffer handling optimization; r=cdouble 2013-03-13 16:11:15 -04:00
Chris Lord
7073fcf66d Bug 850396 - Disable single-tile paint path in BasicTiledThebesLayer. r=bgirard
This code-path has always had issues, but the fix in bug 842389 causes them
to be exposed more frequently.
2013-03-13 18:31:01 +00:00
Jeff Walden
0f05fc70d8 Bug 847480 - Convert DeprecatedAbs uses that can relatively obviously be changd to Abs, to Abs. r=Ms2ger 2013-03-05 15:43:53 -08:00
Jeff Walden
0bfefb7eed Bug 847480 - Blindly convert all existing mozilla::Abs users to mozilla::DeprecatedAbs. Individualized conversions to the reformed mozilla::Abs will continue until mozilla::DeprecatedAbs is unused, at which point it will be removed. r=Ms2ger 2013-03-05 15:43:30 -08:00
Kan-Ru Chen (陳侃如)
8b461d01fc Bug 839981 - Adding Unagi pixels constants and color conversion. r=edwin 2013-03-12 08:38:42 -04:00
Benjamin Chen
eb6ad099c5 Bug 824920 - Fix zoom ratio and check the zoom offset to prevent over-scroll. r=drs 2013-03-11 18:02:13 +08:00
Kyle Huey
ed2dce146e Back out Bug 848078 for orange. 2013-03-07 21:34:01 -08:00
Matt Woodrow
b3fd3964ca Bug 839987 - Re-set the clip after we change the render target in ContainerLayerD3D9. r=Bas 2013-03-08 15:18:04 +13:00
Matt Woodrow
910c7c3134 Bug 848078 - Remove shadowed variable in ContainerLayerD3D9. r=Bas 2013-03-08 15:15:48 +13:00
Jeff Gilbert
6c0312078d Bug 848023 - Backout 123989 for mistaken push on r- 2013-03-07 14:13:09 -08:00
Nicholas Cameron
70fc38f951 Bug 842389 - return the right thing from ProgressiveUpdate; r=cwiiis 2013-03-07 15:02:06 +00:00
Chris Lord
81f0522af9 Bug 716403 - Annotate layers with the fixed margins from the PresShell. r=nrc,roc
This annotates fixed layers with the margins that have been applied from
nsIPresShell->GetContentDocumentFixedPositionMargins. Using SyncViewportInfo
in CompositorParent, this allows for async fixed position margin setting.
2013-03-07 10:17:33 +00:00
Chris Lord
e2025aa8f2 Bug 716403 - Offset fixed layers so the toolbar doesn't obscure them. r=nrc,kats
Offset fixed layers in the compositor so that the toolbar in Firefox for Android
doesn't obscure them. This does not affect layout, so input on the elements in
said layers will appear broken.
2013-03-07 10:17:33 +00:00
Ryan VanderMeulen
893d8d351a Backed out 9 changesets (bug 716403) for Android 4.0 robocop bustage on a CLOSED TREE. 2013-03-06 16:11:05 -05:00
Milan Sreckovic
9cff8595a2 Bug 848023 - Use the same adjusted max texture size everywhere. r=bjacob 2013-03-05 13:56:27 -05:00
Chris Lord
f223199f29 Bug 716403 - Annotate layers with the fixed margins from the PresShell. r=nrc,roc
This annotates fixed layers with the margins that have been applied from
nsIPresShell->GetContentDocumentFixedPositionMargins. Using SyncViewportInfo
in CompositorParent, this allows for async fixed position margin setting.
2013-03-06 16:56:00 +00:00
Chris Lord
3bee7155b6 Bug 716403 - Offset fixed layers so the toolbar doesn't obscure them. r=nrc,kats
Offset fixed layers in the compositor so that the toolbar in Firefox for Android
doesn't obscure them. This does not affect layout, so input on the elements in
said layers will appear broken.
2013-03-06 16:55:59 +00:00
Benoit Girard
e7f8eeb255 Bug 823236 - Fix the lifetime of SharedPlanarYCbCrImage/SharedRGBImage. r=nical
--HG--
extra : rebase_source : f10703d971eef9ce4d9416d03eca0556882cce3b
2013-03-04 11:00:20 -05:00
Jeff Walden
bf23cd54f1 Bug 835542 - Implement mozilla::Abs. r=Ms2ger
--HG--
extra : rebase_source : a3e62ff76365d27cc4cb10e4fee942ddb8b10b79
2013-02-15 19:55:36 -08:00
Ed Morley
2e90a500bf Backed out changeset cacb9f3ee44d (bug 840693) 2013-03-04 14:37:43 +00:00
Anthony Jones
fffa15107b Bug 840693 - Change to using gfx:: types in AsyncPanZoomController; r=cjones 2013-03-04 13:25:26 +13:00
Ryan VanderMeulen
5d849d0751 Backed out 8 changesets (bug 716403) for frequent Android mochitest-8 failures on a CLOSED TREE. 2013-03-01 16:09:59 -05:00
Chris Lord
f56a95adbd Bug 716403 - Annotate layers with the fixed margins from the PresShell. r=nrc,roc
This annotates fixed layers with the margins that have been applied from
nsIPresShell->GetContentDocumentFixedPositionMargins. Using SyncViewportInfo
in CompositorParent, this allows for async fixed position margin setting.
2013-03-01 15:46:34 +00:00
Chris Lord
a02bd9b3ba Bug 716403 - Offset fixed layers so the toolbar doesn't obscure them. r=nrc,kats
Offset fixed layers in the compositor so that the toolbar in Firefox for Android
doesn't obscure them. This does not affect layout, so input on the elements in
said layers will appear broken.
2013-03-01 15:46:33 +00:00
Brian R. Bondy
74c3d24e59 Bug 845571 - Turn on console debug logging when running in Metro. r=jimm 2013-02-28 16:10:17 -05:00
Ms2ger
cd9c6150fe Merge m-c to b-s. 2013-02-26 19:09:25 +01:00
Gregory Szorc
faf262c4ee Merge mozilla-central into build-system
Only conflict was configure.in amd was due to context, not
changed lines themselves.
2013-02-25 22:09:18 -08:00
Gregory Szorc
21460a71f3 Bug 784841 - Part 18o: Convert /gfx; r=jrmuizel f=Ms2ger 2013-02-25 12:47:21 -08:00
Matt Woodrow
5db1257ac3 Bug 835045 - Use CreateThebesSurfaceAliasForDrawTarget_hack to avoid having multiple cairo_surface_quartz objects for a single CGContext. r=nrc 2013-02-26 10:18:52 +13:00
Kartikaya Gupta
8fc0608e02 Bug 840721 - Add a PostDelayedTask method to the GeckoContentController interface. r=cjones 2013-02-25 15:50:49 -05:00
Nicholas Cameron
82700d1f3c Bug 843940; Initialise Transaction::mRotationChanged. r=roc 2013-02-26 18:18:20 +13:00
Benoit Girard
425835d5a1 Bug 767231 - Part 2: Add a sample TiledLayerBuffer test. r=ted,bjacob 2013-02-22 16:25:58 -05:00
Tatiana Meshkova
3a75a58f09 Bug 824511 - Remove Axis.cpp?mark=76,79,82#73 dead code and make Axis less sensitive to random move events distance. r=drs 2013-02-20 14:59:15 -08:00
Benoit Girard
adfe5bf25a backout 9f044f9e981a (Bug 842389) due to page correctness regression bug 843997. 2013-02-22 13:32:58 -05:00
Jeff Gilbert
4ed4901299 Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad
--HG--
extra : rebase_source : 3fb4230127df8a265d930fb779bdc93e05626c8b
2013-02-13 15:26:24 -08:00
Ed Morley
c878d63b6a Backed out changeset 82747d694e7a (bug 716859) for android reftest-2 timeouts 2013-02-21 19:54:25 +00:00
Jeff Gilbert
1da9dd6cd2 Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad
--HG--
extra : rebase_source : 5dad29809733a54a19cd3e5030498f00597d1dc8
2013-02-13 15:26:24 -08:00
Ryan VanderMeulen
438b3ab061 Backed out changeset b46c006a7696 (bug 716859) and changeset 6a14e4c15aa6 (bug 841836) for B2G test failures on a CLOSED TREE. 2013-02-20 10:01:20 -05:00
Jeff Gilbert
d348a03b58 Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad 2013-02-13 15:26:24 -08:00
Nicholas Cameron
db07d2b7cc Bug 842389 - return the right thing from ProgressiveUpdate; r=BenWa,cwiiis 2013-02-20 09:01:34 +13:00
Chris Jones
418ae42060 Bug 841993: Clean up Transports of |opens| channels. r=bent,kanru,nical a=blocking-b2g 2013-02-19 11:27:49 -08:00
Benoit Girard
01b22053d4 Bug 840856 - Check component alpha surface for allocation failure. r=mattwoodrow 2013-02-12 23:37:08 -05:00
Chris Jones
f47f354a60 Bug 840372: Don't let valid regions grow beyond 8 rects. r=roc 2013-02-12 13:13:16 -08:00
Nicholas Cameron
a1be3479be Bug 828531; fix scaling CSS pixels for animations; r=roc
--HG--
extra : rebase_source : 0e24bf2ee472a37b742efe3d142c2c25fef3e572
2013-02-13 10:00:54 +13:00
Jeff Muizelaar
6b916e79b2 Bug 787017. Die more verbosely on Android during Layers init. r=bjacob
This might give us some more information on what's happening.

--HG--
extra : rebase_source : f2865e0d59746170d8b258334673acbd301dca54
2013-02-11 15:56:26 -05:00
Benoit Girard
10b8dadaf9 Bug 823236 - ImageContainerParent should not release shmem which is retained by child. r=nical 2013-02-07 11:15:16 -05:00
Kartikaya Gupta
61377e6e55 Bug 832508 - When resuming Fennec and re-recreating the surface, force a first-paint notification from the compositor. r=Cwiiis 2013-02-04 15:13:17 -05:00
Benoit Girard
de78f0320c Backed out changeset 3c4205be7191 (bug 823236) for M2 failures 2013-02-04 14:11:02 -05:00
Benoit Girard
2fc2a2eca5 Bug 823236 - Assert that the image is valid before inserting into the image pool. r=nical 2013-02-01 19:02:42 -05:00
Paul Adenot
7712541f3b Bug 804875 - Reset media element when loading a new src. r=kinetik 2012-12-27 16:21:30 +01:00
Mounir Lamouri
533781786b Bug 833009 - Remove "nsContentUtils.h" inclusions from headers in gfx/. r=Ms2ger 2013-01-24 14:05:18 +00:00
Nicholas Cameron
0ad7a5b129 Bug 836058; remove UseTiledThebes; r=BenWa 2013-01-29 14:38:46 +13:00
Randell Jesup
dbcf164ddf bug 804875: backout due to regressions of various uses of .src/mozSrcObject (bugs 836011/835705) rs=kinetik 2013-01-29 18:07:29 -05:00
Chris Jones
06cffadc9b Bug 792966: Don't try to gralloc small buffers. r=kanru 2013-01-28 23:49:38 -08:00
Benoit Jacob
7f759366c7 Bug 827170 - Clamp intermediate surface's framebuffer dimensions to what is supported by the GL - r=BenWa
Without this, we have assertion failures as we fail to create our textures and subsequently
we have incomplete framebuffers. The present patch is a short-term compromise: to avoid
asserting, we just clamp texture sizes. That can result in fuzzy rendering. Ideally
(with some suitable tiling) we wouldn't have to do that.
2013-01-25 13:40:38 -05:00
Benoit Jacob
f801627b1e Bug 827170 - back out a920571903da to see if it is what caused SVG reftests (android R4) to fail - no review, bustage on a CLOSED TREE 2013-01-25 17:50:29 -05:00
Benoit Jacob
f8931fa873 Bug 827170 - Clamp intermediate surface's framebuffer dimensions to what is supported by the GL - r=BenWa
Without this, we have assertion failures as we fail to create our textures and subsequently
we have incomplete framebuffers. The present patch is a short-term compromise: to avoid
asserting, we just clamp texture sizes. That can result in fuzzy rendering. Ideally
(with some suitable tiling) we wouldn't have to do that.
2013-01-25 13:40:38 -05:00
Chris Jones
145c5400e6 Bug 834470: Release AsyncPanZoomController and friends. r=roc 2013-01-24 19:59:10 -08:00
Paul Adenot
e375707db6 Bug 804875 - Reset media element when loading a new src. r=kinetik 2013-01-24 20:28:48 +01:00
Avi Halachmi
c9c4089bfb Bug 826383: cyclic array for frames recording to support concurrent users. r=jmuizelaar,khuey 2013-01-23 20:47:44 +02:00
Anthony Jones
9acfd2c3f3 Bug 831973 - Remove extra scroll compensation code; r=roc 2013-01-22 17:04:41 +13:00
Oleg Romashin
dd8c5cae44 Bug 824642 - PlanarYCbCrImage::GetAsSurface does not create surface optimized for platform. r=joe, r=nsilva 2013-01-23 18:08:16 -05:00
samuel.gallacier@innes.fr
6c1b505b0e Bug 831791: Memory leak with array of TransformFunction : was not deleted. r=dzbarsky a=not-libxul 2013-01-21 17:14:13 +01:00
Oleg Romashin
e02d7ce64e Bug 830926 - AZPC TrackTouch x/y displacement should not be rounded to int. r=ajones,drs 2013-01-19 15:33:09 -08:00
Paul Adenot
cefaa46d67 Bug 825325 - ImageContainer::NotifyPaintedImage is not called on android. r=nical 2013-01-18 16:57:17 +01:00
Chris Jones
a3873d5e48 Bug 832117: Check that the referent root is nonnull. r=roc a=blocking-b2g 2013-01-17 18:34:44 -08:00
Jeff Muizelaar
b944107090 Bug 830256. Ensure that scrollable rect is as big as the drawable area. r=cjones,ajones
If the scrollable rect is not as at least as big as the drawable area we end up
clamping the displayport to a smaller size than we should be.
2013-01-16 16:53:10 -05:00
Ed Morley
f91b0cbc29 Backout b3a8618f901c (bug 829042), 34a9ef8f929d (bug 822933), 4c1215cefbab (bug 826349), 70bb7f775178 (bug 825325), e9c8447fb197 (bug 828713), eb6ebf01eafe (bug 828901), f1f3ef647920 (bug 825329), f9d7b5722d4f (bug 825329), 5add564d4546 (bug 819377), 55e93d1fa972 (bug 804875), f14639a3461e (bug 804875), 23456fc21052 (bug 814308) for Windows pgo-only mochitest-1 media test timeouts on a CLOSED TREE 2013-01-16 15:16:23 +00:00
Daniel Holbert
2a155710d2 Bug 831023: Remove unused non-mac-platform version of MakeIOSurfaceTexture. r=BenWa 2013-01-15 18:16:47 -08:00
Paul Adenot
64fa5465dd Bug 825325 - ImageContainer::NotifyPaintedImage is not called on android. r=nical 2013-01-15 19:57:04 +01:00
Paul Adenot
d5687c284b Bug 804875 - Reset media element when loading a new src. r=kinetik 2013-01-15 19:57:03 +01:00
Mats Palmgren
6c53161814 Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Oleg Romashin
5b19e14034 Bug 824428 - Add Environment option which would allow to use Tiled Thebes Layers. r=bgirard 2013-01-14 20:21:02 -08:00
Sotaro Ikeda
5646bb17ed Bug 826829 - Change ImageContainerChild::DispatchSetIdle() to synchronous SetIdle(). r=kanru 2013-01-14 20:15:03 -05:00
Sotaro Ikeda
763138cc5d Bug 826829 - Change PImageContainer::Flush() to synchronous to prevent abort. r=kanru 2013-01-14 20:15:03 -05:00
Nicholas Cameron
203f746f12 Bug 827715; correct fling friction implmentation. r=cjones; a=blocking-basecamp 2013-01-14 13:02:41 -08:00
Marco Bonardo
7f4f2d35a7 Backout 66c886b7d927 (bug 827715),2c7287304555 (bug 829679) for bustage 2013-01-14 22:53:34 +01:00
Nicholas Cameron
22f27ae6ec Bug 827715; correct fling friction implmentation. r=cjones; a=blocking-basecamp 2013-01-14 13:02:41 -08:00
Anthony Jones
3c191a8ead Bug 825808 - Fix animations by marking transforms as not fixed. r=roc 2013-01-12 15:48:55 -05:00
Anthony Jones
8edb03d1df Bug 818482 - Remove rounding of scroll compensation in AZPC. r=roc 2013-01-12 15:24:14 -05:00
Trevor Saunders
10701d89a1 no bug - mark several classes final to avoid warnings about deleting objects of polymorphic type 2013-01-11 04:43:29 -05:00
Nicholas Cameron
d358963738 Bug 827715; Skip some checking for touch events from the gesture listener. r=cjones 2013-01-10 17:10:23 +01:00
Shih-Chiang Chien
a87cb5f80a Bug 828367 - APZC should not perform scrolling if BES detects panning distance is too small. r=cjones. 2013-01-11 11:02:02 +01:00
L. David Baron
7f995ece9b Bug 827717: Change record of CSS animation start to be before delay so that dynamic changes to animation-delay are honored. r=bzbarsky
This matches the CSS Working Group consensus recorded in
http://lists.w3.org/Archives/Public/www-style/2012Nov/0261.html , though
the spec hasn't yet been updated.
2013-01-10 21:14:51 -08:00
Matt Woodrow
f887c4c968 Bug 818575 - Make TransformShadowTree transform all descendant scrollable layers instead of just the first. r=roc 2013-01-10 22:10:20 +13:00
Chris Lord
82d0c50def Bug 828249 - Fix fixed layer positioning when zoomed out beyond page bounds. r=kats
width/height parameters in CompositorParent got mixed up at some point.
2013-01-10 17:32:43 +00:00
Chris Lord
cf7e552096 Bug 827844 - Fix flickering when layout changes on Firefox/android. r=kats,bgirard
Fix flickering that can occur when the surface size changes due to a layout
change (such as the virtual keyboard appearing/disappearing) on Android.
2013-01-10 17:32:43 +00:00
Nicholas Cameron
a59793e4b2 Backout bug 818575
--HG--
extra : rebase_source : 0a06e4594a98b17befff7d58cd68faa693f3fd91
2013-01-09 18:06:35 +01:00
Kartikaya Gupta
a752c5511f Bug 826300 - Don't block on waiting for a valid surface when trying to resume the compositor; allow resuming to fail gracefully. r=snorp,BenWa 2013-01-10 11:21:10 -05:00
Jeff Muizelaar
0b0dfdfd7a Bug 818575 - Only sync viewport for primary layer. r=cjones
--HG--
extra : rebase_source : 3221f8a45c9fce9cc51d5f59a19ee50886ff892f
2013-01-09 16:49:48 +01:00
Matt Woodrow
6b54cf1a5a Bug 818575 - Make TransformShadowTree transform all descendant scrollable layers instead of just the first. r=roc
--HG--
extra : rebase_source : 2befc9553af0be20643940e8bf71c0f71d13403e
2013-01-10 22:10:20 +13:00
Ed Morley
9da1e1ea9b Backout 645bf43f8f14 (bug 818575) for crashes on Android on a CLOSED TREE 2013-01-10 13:17:12 +00:00
Matt Woodrow
65e2792915 Bug 818575 - Make TransformShadowTree transform all descendant scrollable layers instead of just the first. r=roc 2013-01-10 22:10:20 +13:00
Diego Wilson
105835da4b Bug 810501: Get buffer offset from ThebesLayer when composing with hwc. r=cjones a=blocking-basecamp 2013-01-10 11:51:43 +01:00
Robert O'Callahan
8ec734119f Bug 828207: Wallpaper over not being able to find a layer manager on the main thread when initializing a remote render frame. That's OK, we'll find one on the compositor thread. r=cjones 2013-01-10 11:02:21 +01:00
Oleg Romashin
3e9961bf3c Bug 826489 - Fixed missing review comment sorry to all. r=drs 2013-01-09 22:13:24 -08:00
Oleg Romashin
9a7f8ed729 Bug 826489 - Add preference based settings to AsyncZoomPanController. r=drs 2013-01-09 22:11:25 -08:00
Nicholas Cameron
3ad3f5b421 Bug 824454; use the resolution scale in OMTA transforms. r=cjones; a=blocking-basecamp
--HG--
extra : rebase_source : 8f045dd319418b771c5f31ca2f3477ab5673a5ad
2013-01-08 10:39:12 +01:00
Oleg Romashin
4163eba659 Bug 827918 - Fix unitiaialized variables in AZPC. r=drs 2013-01-08 14:25:07 -08:00
Ehsan Akhgari
2be7cfce19 Merge mozilla-central into mozilla-inbound 2013-01-05 16:00:35 -05:00
Chris Peterson ext:(%2C%20Shih-Chiang%20Chien%20%3Cschien%40mozilla.com%3E%20and%20Chris%20Jones%20%3Cjones.chris.g%40gmail.com%3E)
3309ddaa45 Gecko work for bug 823619: Dispatch spec-compliant mouse events when touch events are available. r=cjones,jlebar,schien,vingtetun a=blocking-basecamp
This is a rollowup of the following patches
Bug 823619, part 1: Make TabChild dispatch spec-compliant compat mouse events. r=mwu
Bug 823619, part 2: Use touch event for scrolling if available. r=cjones,schien,vingtetun a=blocking-basecamp
2013-01-05 15:53:16 +01:00
Oleg Romashin
55f91aa6d0 Bug 825556 - RequestContentRepaint frequency should be possible to limit with some timeout. r=drs 2013-01-04 19:24:15 -08:00
Kan-Ru Chen (陳侃如)
63c704f38d Bug 826628 - Release the texture after unbind it. r=jgilbert 2013-01-05 11:20:50 +08:00
Avi Halachmi
aadca4ba87 Bug 820167 - Tab open/close animation prints performance data to error console when enabled. r=jmuizelaar,dao 2013-01-03 21:53:15 -05:00
Oleg Romashin
aaacd73314 Bug 825809 - mWaitingForContentToPaint should be true after mPaintThrottler.TaskComplete post new task. r=ajones 2013-01-03 11:58:15 -08:00
Oleg Romashin
70c8f25dc7 Bug 825002 - We should not start compositor thread if it is already started. r=nsilva 2012-12-30 18:07:11 -08:00
Robert O'Callahan
3c9a572fb4 Bug 663776. Part 3: Refactor layer transform snapping to distinguish translation-snapping from rect-snapping, and don't snap translation+scale transforms when we don't know all four edges of the rect that needs to be snapped. r=mattwoodrow
This separates SnapTransform into SnapTransformTranslation, which just snaps translations
and nothing else, and SnapTransform, which snaps translation+scale of rectangles.
2012-12-07 12:58:13 +13:00
Benjamin Chen
9bb6871b30 Bug 805746 - Send CustomScroll domevent to browser.js. r=cjones 2012-12-25 14:09:34 +08:00
Anthony Jones
d5a5ad8082 Bug 811950 - Refactoring to use gfxPoint and gfxSize more. r=cjones 2012-12-23 10:51:39 -05:00
Anthony Jones
4712e1ff04 Bug 811950 - Fix async scrolling of position:fixed. r=cjones 2012-12-23 10:50:04 -05:00
Anthony Jones
0a019ca139 Bug 811950 - Remove fixed position environment variable. r=roc 2012-12-23 10:47:16 -05:00
Ms2ger
2fb65093c8 Bug 805939 followup: include Hal.h correctly. 2012-12-23 14:48:07 +01:00
David Zbarsky
4fa35a184b Fix initializer order warning, no bug 2012-12-22 23:54:23 -05:00
Chiajung Hung
cb2c3eaf66 Bug 805939: Wait for shadow trees to update orientation before recompositing. r=cjones 2012-11-22 10:40:57 +08:00
Mark Hammond
014d7213d5 Backout cf585138ff25 (bug 805939) for Windows build bustage on a CLOSED TREE 2012-12-21 15:30:02 +11:00
Chiajung Hung
f1e80feb7a Bug 805939: Wait for shadow trees to update orientation before recompositing. r=cjones 2012-11-22 10:40:57 +08:00
Oleg Romashin
a8e1a54334 Bug 823066 - Provide API for CompositorParent to use custom AsyncPanZoomController. r=drs
--HG--
extra : rebase_source : b2bfaa468261d0a270719215c2bf89c361d0145e
2012-12-20 14:37:20 -08:00
Oleg Romashin
a24ab17713 Bug 822115 - nglayout.debug.widget_update_flashing pref cache is not thread safe. r=mattwoodrow 2012-12-16 11:25:04 -08:00
Chris Jones
2e3484e3be Back out bug 814252. 2012-12-18 16:19:54 -08:00
Benoit Jacob
741c97f6b0 Bug 819248 - avoid adding null Layers into the output of SortLayersBy3DZOrder - r=mattwoodrow 2012-12-17 16:12:55 -05:00
Ed Morley
4b9183ba5d Backout 9864a836aa35 (bug 820167) for crashes 2012-12-18 15:36:07 +00:00
Avi Halachmi
1db1f190b1 Bug 820167: Enable performance measurement of tab animation. r=jmuizelaar,dao 2012-12-18 09:31:01 -05:00
Dão Gottwald
8074dbee73 Backed out changeset e14c7409ede7 2012-12-18 01:04:30 +01:00
Avi Halachmi
a22a349cdd Bug 820167: Enable performance measurement of tab animation. r=jmuizelaar 2012-12-17 18:48:01 -05:00
Julian Seward
b2c7b70731 Bug 821395 - Uninitialised value use in gfxUtils::GetYCbCrToRGBDestFormatAndSize r=nical 2012-12-17 12:21:56 +01:00
Kartikaya Gupta
51d1e3218d Bug 818060 - Add a memory reporter for graphics textures. r=BenWa,njn 2012-12-16 19:16:26 -05:00
Jeff Walden
7146c23e80 Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger 2012-12-14 18:58:45 -05:00
Ed Morley
d6f5564918 Backout 09d66d9ccb2e (bug 818060) for build failures on Windows 2012-12-13 17:17:12 +00:00
Kartikaya Gupta
39f41efede Bug 818060 - Add a memory reporter for graphics textures. r=njn,BenWa 2012-12-13 11:38:37 -05:00
Edwin Flores
283f1651ad Bug 803394 - Add image type for RGB images in shared memory r=nical
--HG--
extra : rebase_source : 3be9bbbcf827c0796d7b0a39724f3372ac080632
2012-12-13 11:47:28 +13:00
Robert O'Callahan
bb1dcd8d55 Bug 663776. Part 0.5: Mark layers that could have their transforms changed via off-main-thread animations or empty transactions, and treat all ThebesLayerOGL descendants of such layers as potentially resampled so that their buffers are put into the correct state and size. r=mattwoodrow
--HG--
extra : rebase_source : d3c78cc61f1a3d5f12dedb57180371b41b1647f6
2012-12-12 18:21:23 +13:00
Shih-Chiang Chien
7e9adbd060 Bug 814252 - use touch event for scrolling if available. r=cjones. 2012-11-28 13:51:50 +08:00
Benoit Jacob
d95f4d2833 Bug 814716 - correct the way that we tweak max sizes - r=jgilbert 2012-12-11 16:57:30 -05:00
Nicholas Cameron
04002c184f Bug 780692; throttle OMTA (rollup patch). r=dbaron,bz
--HG--
extra : rebase_source : 1207275df5c509ac1974e2b9333c738b995f9d5e
2012-12-12 10:12:43 +13:00
Anthony Jones
d448b6b02b Bug 799401 - Throttle APZC paint requests. r=cjones 2012-12-10 08:50:24 -05:00
pchang@mozilla.com
28ce01a44f Bug 796722 - Send screen update when there is only rotation changed event happened. r=roc 2012-11-06 17:11:43 +08:00
Ed Morley
e987323650 Backout 55d5f3cd5c85, d89ae7f40549 & 270391fca858 (bug 663776) for assertions 2012-12-07 12:37:36 +00:00
Robert O'Callahan
3c9cac31fa Bug 663776. Part 3: Refactor layer transform snapping to distinguish translation-snapping from rect-snapping, and don't snap translation+scale transforms when we don't know all four edges of the rect that needs to be snapped. r=mattwoodrow
This separates SnapTransform into SnapTransformTranslation, which just snaps translations
and nothing else, and SnapTransform, which snaps translation+scale of rectangles.
2012-12-07 12:58:13 +13:00
Matt Woodrow
d79e024902 Bug 791644 - Refactor nsDisplayTransform::GetResultingTransformMatrix into two functions with less optional parameters. r=roc 2012-09-18 10:34:21 +12:00
Chris Lord
f157f692e5 Bug 818169 - Add a pref to configure resolution of low precision buffer. r=bgirard 2012-12-05 17:10:41 +00:00
Nicolas Silva
5e6401deba b=811730 - Take skip into account when copying video frames into shared memory. r=cpeterson 2012-12-04 11:36:33 +01:00
Ryan VanderMeulen
73f2cb97af Backed out changeset 65f06a1e7b1b (bug 799401) for Windows build bustage. 2012-12-04 21:43:52 -05:00
Anthony Jones
d4d4a663f1 Bug 799401 - Throttle APZC paint requests. r=cjones 2012-12-04 21:00:38 -05:00
Chris Lord
36d127329a Bug 818025 - Fix BasicTiledThebesLayer fast path. r=bgirard
When disabling low precision and progressive rendering, BasicTiledThebesLayer
takes a fast path that avoids a lot of region operations, transformation and
iterations. Unfortunately, it also forgets to check if the mask layer exists
before trying to draw it, which causes an immediate crash in most cases.
2012-12-04 15:24:24 +00:00
Mats Palmgren
60ccae9fe3 Bug 817574 - Replace NS_ABS with std::abs. r=roc 2012-12-04 13:33:33 +01:00
Chris Jones
22e24dcf2b Bug 813372: Guard against TiledTextureImage with dimensions of 0. r=mattwoodrow a=blocking-basecamp 2012-12-04 00:39:21 -08:00
Chris Jones
09dfcb2bb1 Bug 813356: Skip subtrees with null roots during resolution. r=roc a=blocking-basecamp 2012-12-03 12:45:42 -08:00
Anthony Jones
f9f890b7d6 Bug 798194 - Fix problem with resizing the composition bounds. r=roc 2012-12-02 20:33:53 -05:00
Chris Lord
77c6546972 Bug 814437 - Address review comments that were missed. r=bgirard
In my haste, I forgot to address review comments before pushing. This
corrects indentation in PanningPerf.java, moves GetValidLowPrecisionRegion from
Layer to TiledLayerComposer and corrects checkerboard measurement when there
isn't a low precision buffer and when the display ports don't cover the screen.
2012-11-30 23:11:37 +00:00
Ehsan Akhgari
48c687113c Backed out changeset 5368aced79b3 (bug 814437) because it breaks Android builds 2012-11-30 15:41:08 -05:00
Chris Lord
b2b8133657 Bug 814437 - Address review comments that were missed. r=bgirard
In my haste, I forgot to address review comments before pushing. This
corrects indentation in PanningPerf.java, moves GetValidLowPrecisionRegion from
Layer to TiledLayerComposer and corrects checkerboard measurement when there
isn't a low precision buffer and when the display ports don't cover the screen.
2012-11-30 19:52:17 +00:00
Daniel Holbert
c5a90eaf89 Bug 816885: Guard GetDisplayportCoverage() in LayerManagerOGL.cpp with #ifdef MOZ_ANDROID_OMTC, since it's only used in #ifdef-guarded code. r=Cwiiis 2012-11-30 09:59:00 -08:00
Michael Wu
be51825214 Bug 774458 - Only send clicks on confirmed single taps, r=cjones 2012-11-29 21:26:11 -05:00
Matt Woodrow
56ba57d515 Bug 810302 - Don't try to draw layers with a singular transform on BasicLayers. r=roc 2012-11-30 11:11:04 +13:00
Boris Zbarsky
53f339800c Bug 815671 part 4. Remove some array copying in gfx code. r=roc 2012-11-29 11:14:13 -05:00
Chris Lord
c03d30e218 Bug 814864 - Reconcile frame resolution difference in layer rendering. r=bgirard
Reconcile the difference when rendering a buffer that has a different frame
resolution to the primary buffer. This is handy for low precision buffers that
are updated at a different rate to primary buffers.
2012-11-29 13:08:41 +00:00
Chris Lord
7e85fd7d95 Bug 814864 - Do high precision updates before low precision updates. r=bgirard
Rather than interleaving high and low precision updates, do low after high.
This patch also refactors the code somewhat so that we don't needlessly
recalculate the values required for repeated transactions.
2012-11-29 13:08:40 +00:00
Chris Lord
0997087f82 Bug 814437 - Fix checkerboard measurement when using a critical displayport. r=bgirard
The checkerboard measurement depended on the displayport coverage of the
viewport, which was calculated in LayerRenderer. When using a critical
displayport, this value changes, but this was not being accounted for.

We have all the context we need for this Gecko-side, so move this code into
LayerManagerOGL::ComputeRenderIntegrity and account for displayport coverage
correctly.
2012-11-29 12:03:38 +00:00
Chris Lord
3d5740023e Bug 814437 - Count low precision rendering 0.5x towards checkerboarding. r=bgirard 2012-11-29 12:03:27 +00:00
Benjamin Chen
4bc6260040 Bug 804985 - [browser] don't try to zoom out wider than the page width r=cjones
1. bring the zoom factor into BrowserElementScrollng.js
2. fix the zoom ratio in AsyncPanZoomController::ZoomToRect
3. fix the relation between _isRectZoomedIn and AsyncPanZoomController::ZoomToRect
4. zoom it out if the rect reach the device maximal zoom ratio
2012-11-28 17:18:12 +08:00
Cervantes Yu
f436443f50 Bug 806596 - Don't fire double tap if the delayed task to timeout the 1st tap fails to run in time. r=roc 2012-11-28 22:46:50 -05:00
Jeff Gilbert
5ea164ca57 Bug 811958 - Fix and move ShateType type - r=bgirard 2012-11-26 14:23:27 -08:00
Jeff Gilbert
9c9ac2fca3 Bug 811958 - Pull GLContext out of Cocoa stuff - r=bgirard 2012-11-26 14:23:27 -08:00
Jeff Gilbert
144687e59c Backed out csets 807f2c3df974, 1637c39b4ed6, ec29e09a270e (bug 811958) for burning android 2012-11-26 13:48:20 -08:00
Jeff Gilbert
6db824094c Bug 811958 - Fix and move ShareType type - r=bgirard 2012-11-26 12:51:57 -08:00
Jeff Gilbert
7cf8b80673 Bug 811958 - Pull GLContext out of Cocoa stuff - r=bgirard 2012-11-26 12:51:57 -08:00
Oleg Romashin
962c7d9b70 Bug 814979 - Fennec build fails with Mer SDK: invalid inclusion of GLXLibrary.h. r=glandium,mattwoodrow 2012-11-26 00:08:22 -08:00
Chris Pearce
27142adde4 Bug 814541 - Silence warnings in gfx/layers/d3d9/Nv3DVUtils.cpp. r=Bas 2012-11-23 15:21:20 +13:00
David Zbarsky ext:(%2C%20David%20Baron%20%3Cdbaron%40dbaron.org%3E%2C%20Chris%20Jones%20%3Cjones.chris.g%40gmail.com%3E)
a8ed311e40 Bug 788409: When the compositor runs past the end of an animation, just fill forwards until the main thread catches up. r=dbaron a=blocking-basecamp 2012-11-22 15:49:06 -08:00
Andrea Marchesini
7791d789d4 Bug 808266 - Add memory reporter for GrallocBufferActor. r=cjones 2012-11-22 08:39:56 -05:00