Commit Graph

2104 Commits

Author SHA1 Message Date
Matt Woodrow
546d90da40 Bug 862556 - Make nsChildView.mm::DrawWindowOverlay thread safe. r=nrc 2013-04-22 14:40:51 +12:00
Ms2ger
7c1ae1ff7c Merge m-c to m-i. 2013-04-21 09:54:41 +02:00
Ms2ger
4ca0edf654 Bug 846634 - Followup: remove straggler EXPORT definitions; r=mshal 2013-04-21 08:41:06 +02:00
Ed Morley
922c71bb84 Backed out changeset faf24511d2c6 (bug 861636) for Android mochitest-2 failures 2013-04-19 11:57:48 +01:00
Nicholas Cameron
5ea08038e0 Bug 861636. Add some null checking to the ensure texture path. r=nical 2013-04-19 19:33:02 +12:00
Kartikaya Gupta
4bbf34e342 Bug 833964 - Don't keep a dangling pointer to a task that is about to get deleted. r=drs 2013-04-18 15:43:17 -04:00
Daniel Holbert
bd8e8a6aa7 Bug 863043: Move CompositorOGL::Initialize's helper-nsRunnable from function-scope to class-scope to fix build warning about ignored visibility attribute. r=Bas 2013-04-17 15:34:26 -07:00
Kartikaya Gupta
97ba87bdf2 Bug 860613 - Add an API to bind an APZC instance to a Layer. r=BenWa 2013-04-17 17:39:13 -04:00
Kartikaya Gupta
76b18fccfa Bug 860613 - Remove CompositorParent::GetDefaultPanZoomController (patch from romaxa/tatiana). r=BenWa 2013-04-17 17:39:12 -04:00
Benoit Jacob
aa9c15c097 Bug 860441 - trivial compile fix on non-gonk - no review, CLOSED TREE 2013-04-17 17:18:15 -04:00
Benoit Jacob
44f85252bd Bug 860441 - Camera preview update is not smooth on gonk - r=nsilva 2013-04-17 16:56:03 -04:00
Daniel Holbert
287b430a79 Bug 862621: Remove unused variable 'shmType' from SharedPlanarYCbCrImage::Allocate. r=Bas 2013-04-17 10:08:39 -07:00
Nicholas Cameron
b1c1f32e3f Bug 862236, check we have a compositable before using it as a mask layer. r=mattwoodrow 2013-04-17 17:10:50 +12:00
Matt Woodrow
6dd001de36 Bug 860615 - Remove MacIOSurfaceImage. r=BenWa 2013-04-17 14:21:07 +12:00
Matt Woodrow
f0f4c96842 Bug 860615 - Add SharedTextureHandle support to ImageLayerOGL. r=BenWa 2013-04-17 14:21:06 +12:00
Matt Woodrow
0b2d2c65a4 Bug 844693 - Remove MacIOSurfaceImage::SetUpdateCallback. r=BenWa 2013-04-17 14:21:06 +12:00
Nicholas Cameron
7e34b182d7 Bug 862106. Use Create*Client directly. r=nical
--HG--
extra : rebase_source : d903db2fcb68bbccff9548dfbcd215d9a25ba41c
2013-04-17 09:36:06 +12:00
Nicholas Cameron
35cf82d17b Bug 862064; use PCompositable for tiled layers and add TiledContentClient. r=nical
--HG--
extra : rebase_source : b0055e13b661f78bc0e7168c0df8c6082cfdb34e
2013-04-17 09:36:06 +12:00
Nicholas Cameron
89e6b263d4 Bug 861490, fix crash in MaybeDrawRoundedBottomCorners with OMTC. r=mattwoodrow
--HG--
extra : rebase_source : 849e63417a94cd260e6722c83018f9937c0cb339
2013-04-17 09:35:57 +12:00
Mike Shal
24b4056720 Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Benoit Jacob
70367196cb Bug 863397 - Trim ImageLayerOGL from B2G paths (it's no longer used on B2G) - r=Bas 2013-04-20 10:08:18 -04:00
Ehsan Akhgari
8d166b4851 Backed out changeset 4440571ee8fb (bug 805406) because of Windows reftest failures 2013-04-19 16:05:00 -04:00
Bas Schouten
c914753c7c Bug 805406: Reduce memory usage by removing GDI_COMPATIBLE flag. r=jrmuizel 2013-04-19 18:47:40 +02:00
Nicholas Cameron
0068a648e9 Bug 861099, remove mBufferIsOpaque. r=mattwoodrow
--HG--
extra : rebase_source : 89b98f9a1d73bc549fe718e52882e71c42dd6d67
2013-04-16 11:43:22 +12:00
Nicholas Cameron
110472cb05 Bug 861731, remove redundent Connect, Attach call. r=nical
--HG--
extra : rebase_source : af4a88fd5ddd8cecfceea49e88eebb37bf833517
2013-04-16 09:40:47 +12:00
Jonathan Watt
0c743dcdbd Bug 861805 - Stop layers from snapping transforms for SVG content. r=roc 2013-04-15 13:30:28 +01:00
Chris Lord
1f8698bb32 Bug 856932 - Fix async scrolling of auto-positioned fixed position elements. r=nrc
Layers representing auto-positioned fixed position elements should not be
offset by the fixed layer margins.
2013-04-15 09:31:48 +01:00
Nicholas Cameron
dbf706c7b5 Bug 861127, refactor ContentClientRemote::CreateBuffer. r=Bas 2013-04-15 13:25:14 +12:00
Chris Lord
a49464c86a Bug 861246 - Fix async scrolling of fixed layer margins. r=nrc
Make sure the fixed margins are sent over IPC to shadow layers.

--HG--
extra : rebase_source : ab26359f1ebf2ea130ee65d37249d43d1fd82aec
2013-04-13 10:41:18 +12:00
Sotaro Ikeda
00e3c7f5b2 Bug 860892 - IPC failure handling in CompositorChild and ShadowLayers. r=jmuizelaar 2013-04-12 16:25:04 -04:00
Frédéric Wang
7215a312f1 Bug 825928 - Fix a compilation error with old compilers. r=bas 2013-04-12 08:20:31 -04:00
Nicholas Cameron
a46c367128 Bug 844928, smarten up content client/host texture creation. r=nical
--HG--
extra : rebase_source : 2b15c0d233c45fc13b2bdfb155255e480fb3a947
2013-04-12 19:29:08 +12:00
Nicholas Cameron
0318648f5d Bug 844928, remove PTexture. r=nical
--HG--
extra : rebase_source : c6588d7381fc468068eb7e393f52afafb9586253
2013-04-12 19:28:55 +12:00
Nicholas Cameron
ea9bee332f No bug. Remove .orig files, r=njn, DONTBUILD 2013-04-12 17:09:58 +12:00
Joshua Cranmer
8be511955c Bug 856108 - Port static analyses to clang, part 2d: use MOZ_STACK_CLASS in gfx. r=roc 2013-04-11 22:20:37 -05:00
Nicolas Silva
9dcaa414c9 bug 861003 - Always use BasicTextureImage for YCbCr texture uploads. r=bas 2013-04-12 01:08:23 -04:00
Jeff Muizelaar
1db5439ea7 Bug 860442. Delete the gralloc buffer even when we don't have a PBufferParent. r=nical
We can allocate surfaces on the child and the parent so we should be able to
delete them both.

--HG--
extra : rebase_source : 6af5316f44905360d83e871a0e0f92c526fed0ec
2013-04-11 19:57:28 -04:00
Jeff Muizelaar
8607e08ec3 Bug 860466: Properly deal with SharedTextureHostOGL. r=nical
There were a number of issues with the current implementation. It couldn't deal
with NULL mSharedHandles. Additionally it was binding things to the wrong
samplers. Finally it was not properly setting the texture transform (which
defaults to all 0). Finally in a debug build an assert would be hit upon client
shutdown due to it not clearing mDescriptor.

This patch fixes all of those issues which makes flash work again.

--HG--
extra : rebase_source : 733f242d2cd82c145ef6e3af9584f832af3c1f5d
2013-04-11 19:42:26 -04:00
Nicholas Cameron
72eff27caa No bug, removed commented code, r=nical, DONTBUILD
--HG--
extra : rebase_source : 62b59cd127bec362a9564b2a445006c145a24e2f
2013-04-11 14:33:44 +12:00
Jeff Muizelaar
459c9eaf5b Bug 860446: Properly readback from WebGL with B2G. r=bjacob
--HG--
extra : rebase_source : ed6f0374cbc5912bcde84680eccfaa2da6c9d1d5
2013-04-11 12:37:07 -04:00
Nicolas Silva
cb1c471b32 Bug 860463 - Ensure that we propagate Destroy() in the shadow layer tree on CompositorParent::ActorDestroy. r=nrc 2013-04-11 06:14:29 -04:00
Sotaro Ikeda
7a5a9aa203 Bug 851667 - Handle SendPGrallocBufferConstructor() failure. r=jmuizelaar 2013-04-11 07:48:09 -04:00
Jim Mathies
1a4ecc4553 Bug 859077 - Annotate crash reports with hresult failure codes when layer manager fails to initialize. r=bbondy
DONTBUILD
2013-04-10 09:02:44 -05:00
Ryan VanderMeulen
690bd5cc48 Backed out changeset b37f8a4ef976 (bug 859077) for landing with the wrong bug number. 2013-04-10 10:22:56 -04:00
Jim Mathies
da2f68af98 Bug 859007 - Annotate crash reports with hresult failure codes when layer manager fails to initialize. r=bbondy 2013-04-10 09:02:44 -05:00
Chris Lord
07ba1920e8 Bug 858550 - Don't transform fixed layer descendents multiple times. r=nrc
Once the transform for async scrolling has been applied to a fixed layer, it
need not be applied to its descendents. Make sure to return after applying
the transform.
2013-04-10 10:54:58 +01:00
Bas Schouten
7d182a2102 Bug 825928: Land layers refactoring. r=jrmuizel,bas,nical,mattwoodrow,roc,nrc,benwa,bjacob,jgilbert,kchen CLOSED TREE
Please contact Bas Schouten <bschouten@mozilla.com>, Nicolas Silva <nsilva@mozilla.com> or Nicholas Cameron <ncameron@mozilla.com> with general questions. Below is a rough list of authors to contact with specific questions.

Authors:
gfx/layers/Compositor.* gfx/layers/Effects.h - Compositor Interface - bas,nrc,nical
gfx/layers/d3d* - D3D9/D3D10 - bas
gfx/layers/ThebesLayer* - ThebesLayers - nrc,bas
gfx/layers/composite/* - CompositeLayers - nrc,nical
gfx/layers/client/* - Client - nrc,nical,bas
gfx/layers/*Image* - nical
gfx/layers/ipc ipc - IPC - nical
gfx/layers/opengl - CompositorOGL - nrc,nical
gfx/2d - bas,nrc
gfx/gl - GLContext - bjacob
dom/* layout/* - DOM - mattwoodrow
2013-04-10 09:20:52 +00:00
Christophe Mouraud
9b7a46bcc2 Bug 856080 - Fix a ComputedTimingFunction leak in Layers. r=jrmuizel 2013-04-08 14:31:10 -04:00
Kartikaya Gupta
1334700038 Bug 859939 - Make AsyncPanZoomController::mLastEventTime unsigned to avoid overflowing. r=kentuckyfriedtakahe 2013-04-09 22:17:54 -04:00
Kartikaya Gupta
1b919ecf6e Bug 859935 - Make AsyncPanZoomController not assume the controller thread has a message loop. r=kentuckyfriedtakahe 2013-04-09 22:17:54 -04:00
Bas Schouten
040e4ed63e Bug 630197: Check for a removed device before presenting. r=jrmuizel 2013-04-09 17:37:56 +00:00
Daniel Holbert
1a333474ec Bug 859517: Move LayerManagerOGL::Initialize's helper-nsRunnable from function-scope to class-scope to fix build warning about ignored visibility attribute. r=BenWa 2013-04-08 15:06:28 -07:00
Ivaylo Dimitrov
88e05a2484 b=854539 - Implement AllocateAndGetNewBuffer for SharedPlanarYCbCrImage. r=nical 2013-04-05 19:24:58 +02:00
Ryan VanderMeulen
8a2621fb4d Backed out changeset 8a6cacf047a1 (bug 833795)to fix bug 856083. 2013-04-05 07:55:25 -04:00
Ms2ger
d73b4fb2c0 Revert to changeset 4c45dbd81a32 to fix mochitest-chrome orange. 2013-04-05 09:40:13 +02:00
Anthony Jones
9e329a687d Backout 8a6cacf047a1 (bug 833795) to fix bug 856083 2013-04-05 18:19:08 +13:00
Vasil Dimov
0e0ead0bbc 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
f5e3aadf0b Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
d2b6e6e01a 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
5663b98bc5 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
0520dc29b0 Bug 855586 - Patch in bug 824642 has wrong logic. r=nical.bugzilla 2013-03-29 11:13:00 -07:00
Robert O'Callahan
ac81085391 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
447d9965d6 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
8addb81404 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
4d258d24a3 Bug 850566 - Part 2: Render gralloc buffer by using image size. r=roc 2013-03-28 09:59:48 -04:00
Sotaro Ikeda
acdad56971 Bug 850566 - Part 1: Add image size to SurfaceDescriptorGralloc. r=nical 2013-03-28 09:59:47 -04:00
Diego Wilson
3d04d5956e Bug 846236 - Verify the buffer descriptor is a shared texture. r=ncameron 2013-03-25 17:22:10 -07:00
Benoit Girard
65b1d02183 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
6ed333dbb5 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
bbe4c3065e Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : f76accc3d3dd86c75cb3e9750734f23ec9c29941
2013-03-16 00:47:02 -04:00
Daniel Holbert
8eca34943b 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
c5cc1a2876 Bug 829747 - Update WebGL canvases asynchronously r=bgirard,jgilbert 2013-03-22 15:22:20 -04:00
Ed Morley
260f849645 Backed out changeset b43bbab312e7 (bug 829747) for ABORTs on Android 2.2; CLOSED TREE 2013-03-22 19:10:24 +00:00
James Willcox
7f1add90db Bug 829747 - Update WebGL canvases asynchronously r=bgirard,jgilbert
--HG--
extra : rebase_source : ba0f95badd9b5d7e537b3c83e0057665bd5ced86
2013-03-22 12:13:21 -04:00
Matt Woodrow
be7f863146 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
fe7ee40bd2 Bug 833795 - Use screen relative co-ordinates for gestures; r=drs 2013-03-21 15:08:15 +13:00
Robert O'Callahan
2149a71033 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
ea1d9b8ba7 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Ed Morley
4a0f5f39ca Backed out changeset c75481a07302 (bug 851611) 2013-03-18 14:10:35 +00:00
Ed Morley
47bc17c5f5 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
90f13c7e56 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
95a5b4c35f Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : 3032aaf7e50cdf9c350da688ec34e50a695fc7ca
2013-03-16 00:47:02 -04:00
Ms2ger
69401c3aeb Bug 845374 - Part s: Stop including nsTArray.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:16 +01:00
Ms2ger
ecaff4e0d2 Bug 845374 - Part r: Stop including nsTArray.h in nsReadableUtils.h; r=khuey 2013-03-17 08:55:16 +01:00
Alessandro Decina
e91a9e993c Bug 761018 - GStreamer video buffer handling optimization; r=cdouble 2013-03-13 16:11:15 -04:00
Chris Lord
f6386d803e 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
59e9a3888e 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
000d820503 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 (陳侃如)
13e3d9561c Bug 839981 - Adding Unagi pixels constants and color conversion. r=edwin 2013-03-12 08:38:42 -04:00
Benjamin Chen
c62f7d437f 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
9417e2eb83 Back out Bug 848078 for orange. 2013-03-07 21:34:01 -08:00
Matt Woodrow
6c74aeb4d4 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
7a726c03f8 Bug 848078 - Remove shadowed variable in ContainerLayerD3D9. r=Bas 2013-03-08 15:15:48 +13:00
Jeff Gilbert
0ba5e1b160 Bug 848023 - Backout 123989 for mistaken push on r- 2013-03-07 14:13:09 -08:00
Nicholas Cameron
9b252f936b Bug 842389 - return the right thing from ProgressiveUpdate; r=cwiiis 2013-03-07 15:02:06 +00:00
Chris Lord
b6dedb7d38 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
a20f8323fe 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
8cf664a621 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
0e27eb596a Bug 848023 - Use the same adjusted max texture size everywhere. r=bjacob 2013-03-05 13:56:27 -05:00
Chris Lord
bc3cb980a1 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
695bae5cc3 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
c2fdef508a 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
72eca3f9c1 Bug 835542 - Implement mozilla::Abs. r=Ms2ger
--HG--
extra : rebase_source : a3e62ff76365d27cc4cb10e4fee942ddb8b10b79
2013-02-15 19:55:36 -08:00
Ed Morley
caab8e796b Backed out changeset cacb9f3ee44d (bug 840693) 2013-03-04 14:37:43 +00:00
Anthony Jones
bce8f8e813 Bug 840693 - Change to using gfx:: types in AsyncPanZoomController; r=cjones 2013-03-04 13:25:26 +13:00
Ryan VanderMeulen
75acd49b0e 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
fa6c4dbff3 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
077631a00a 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
51e455e2ac Bug 845571 - Turn on console debug logging when running in Metro. r=jimm 2013-02-28 16:10:17 -05:00
Ms2ger
2801c25ab8 Merge m-c to b-s. 2013-02-26 19:09:25 +01:00
Gregory Szorc
16f0413b0c 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
0f0c587cec Bug 784841 - Part 18o: Convert /gfx; r=jrmuizel f=Ms2ger 2013-02-25 12:47:21 -08:00
Matt Woodrow
112a58adca 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
e15294782b Bug 840721 - Add a PostDelayedTask method to the GeckoContentController interface. r=cjones 2013-02-25 15:50:49 -05:00
Nicholas Cameron
445321c3bc Bug 843940; Initialise Transaction::mRotationChanged. r=roc 2013-02-26 18:18:20 +13:00
Benoit Girard
c18fb440d3 Bug 767231 - Part 2: Add a sample TiledLayerBuffer test. r=ted,bjacob 2013-02-22 16:25:58 -05:00
Tatiana Meshkova
5b69b09056 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
35297ef120 backout 9f044f9e981a (Bug 842389) due to page correctness regression bug 843997. 2013-02-22 13:32:58 -05:00
Jeff Gilbert
78f00c0f31 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
23a70898de Backed out changeset 82747d694e7a (bug 716859) for android reftest-2 timeouts 2013-02-21 19:54:25 +00:00
Jeff Gilbert
197c718e7b 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
b891b80fa0 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
2187525c49 Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad 2013-02-13 15:26:24 -08:00
Nicholas Cameron
87d332a258 Bug 842389 - return the right thing from ProgressiveUpdate; r=BenWa,cwiiis 2013-02-20 09:01:34 +13:00
Chris Jones
2bc9fd31dd 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
9b48150611 Bug 840856 - Check component alpha surface for allocation failure. r=mattwoodrow 2013-02-12 23:37:08 -05:00
Chris Jones
6c35700be5 Bug 840372: Don't let valid regions grow beyond 8 rects. r=roc 2013-02-12 13:13:16 -08:00
Nicholas Cameron
4dcee2ea37 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
62864255be 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
b7c72ddf7e Bug 823236 - ImageContainerParent should not release shmem which is retained by child. r=nical 2013-02-07 11:15:16 -05:00
Kartikaya Gupta
6faae5c500 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
ee4759886e Backed out changeset 3c4205be7191 (bug 823236) for M2 failures 2013-02-04 14:11:02 -05:00
Benoit Girard
3ce730b206 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
179f2a3ed4 Bug 804875 - Reset media element when loading a new src. r=kinetik 2012-12-27 16:21:30 +01:00
Mounir Lamouri
9f6e4099c4 Bug 833009 - Remove "nsContentUtils.h" inclusions from headers in gfx/. r=Ms2ger 2013-01-24 14:05:18 +00:00
Nicholas Cameron
c1b2e92063 Bug 836058; remove UseTiledThebes; r=BenWa 2013-01-29 14:38:46 +13:00
Randell Jesup
6fd94f18ed 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
739aae6070 Bug 792966: Don't try to gralloc small buffers. r=kanru 2013-01-28 23:49:38 -08:00
Benoit Jacob
beff7250b6 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
48fa248cf2 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
58af92e2d3 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
7fe289fbe6 Bug 834470: Release AsyncPanZoomController and friends. r=roc 2013-01-24 19:59:10 -08:00
Paul Adenot
2c42e0e1e8 Bug 804875 - Reset media element when loading a new src. r=kinetik 2013-01-24 20:28:48 +01:00
Avi Halachmi
c3ea912316 Bug 826383: cyclic array for frames recording to support concurrent users. r=jmuizelaar,khuey 2013-01-23 20:47:44 +02:00
Anthony Jones
f506fe3c49 Bug 831973 - Remove extra scroll compensation code; r=roc 2013-01-22 17:04:41 +13:00
Oleg Romashin
d496a1e052 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
2e8dac39d1 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
73d1b0005d 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
63641e4448 Bug 825325 - ImageContainer::NotifyPaintedImage is not called on android. r=nical 2013-01-18 16:57:17 +01:00
Chris Jones
048d0104e4 Bug 832117: Check that the referent root is nonnull. r=roc a=blocking-b2g 2013-01-17 18:34:44 -08:00
Jeff Muizelaar
9edf8a15f3 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
3de1bf91c3 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
49f26e46ec Bug 831023: Remove unused non-mac-platform version of MakeIOSurfaceTexture. r=BenWa 2013-01-15 18:16:47 -08:00
Paul Adenot
66b6a9aeda Bug 825325 - ImageContainer::NotifyPaintedImage is not called on android. r=nical 2013-01-15 19:57:04 +01:00
Paul Adenot
2998641c5b Bug 804875 - Reset media element when loading a new src. r=kinetik 2013-01-15 19:57:03 +01:00
Mats Palmgren
d5826be6d7 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
dd18565bbe 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
e216905926 Bug 826829 - Change ImageContainerChild::DispatchSetIdle() to synchronous SetIdle(). r=kanru 2013-01-14 20:15:03 -05:00
Sotaro Ikeda
5d6e8f550f Bug 826829 - Change PImageContainer::Flush() to synchronous to prevent abort. r=kanru 2013-01-14 20:15:03 -05:00
Nicholas Cameron
57c11d132e Bug 827715; correct fling friction implmentation. r=cjones; a=blocking-basecamp 2013-01-14 13:02:41 -08:00
Marco Bonardo
1f5998f297 Backout 66c886b7d927 (bug 827715),2c7287304555 (bug 829679) for bustage 2013-01-14 22:53:34 +01:00
Nicholas Cameron
435f9b33ca Bug 827715; correct fling friction implmentation. r=cjones; a=blocking-basecamp 2013-01-14 13:02:41 -08:00
Anthony Jones
7cc38ffb42 Bug 825808 - Fix animations by marking transforms as not fixed. r=roc 2013-01-12 15:48:55 -05:00
Anthony Jones
6008b7f562 Bug 818482 - Remove rounding of scroll compensation in AZPC. r=roc 2013-01-12 15:24:14 -05:00
Trevor Saunders
a6e1ca0693 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
47a1d545ea 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
2c527faa56 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
848bcb296f 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
31f7da49a1 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
3c6477ca95 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
d0161b544c 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
8662f6daf0 Backout bug 818575
--HG--
extra : rebase_source : 0a06e4594a98b17befff7d58cd68faa693f3fd91
2013-01-09 18:06:35 +01:00
Kartikaya Gupta
ef869e5ac5 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
63509dd58b 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
da205af9e7 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
9b9d97a54a Backout 645bf43f8f14 (bug 818575) for crashes on Android on a CLOSED TREE 2013-01-10 13:17:12 +00:00
Matt Woodrow
7f172bf755 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
0e864b60c7 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
16b3473563 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
593fe8efd7 Bug 826489 - Fixed missing review comment sorry to all. r=drs 2013-01-09 22:13:24 -08:00
Oleg Romashin
4374698ca6 Bug 826489 - Add preference based settings to AsyncZoomPanController. r=drs 2013-01-09 22:11:25 -08:00
Nicholas Cameron
70fc748166 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
ffbbfb2a69 Bug 827918 - Fix unitiaialized variables in AZPC. r=drs 2013-01-08 14:25:07 -08:00
Ehsan Akhgari
b7608f387d 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)
4189d101cf 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
2320faae9c 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 (陳侃如)
8438acbbc4 Bug 826628 - Release the texture after unbind it. r=jgilbert 2013-01-05 11:20:50 +08:00
Avi Halachmi
35a21b9441 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
40b1f4a086 Bug 825809 - mWaitingForContentToPaint should be true after mPaintThrottler.TaskComplete post new task. r=ajones 2013-01-03 11:58:15 -08:00
Oleg Romashin
f833af3b00 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
f8012aaeca 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
a78cacbcff Bug 805746 - Send CustomScroll domevent to browser.js. r=cjones 2012-12-25 14:09:34 +08:00
Anthony Jones
166067157f Bug 811950 - Refactoring to use gfxPoint and gfxSize more. r=cjones 2012-12-23 10:51:39 -05:00
Anthony Jones
f7f85c6761 Bug 811950 - Fix async scrolling of position:fixed. r=cjones 2012-12-23 10:50:04 -05:00
Anthony Jones
d5b66e53dd Bug 811950 - Remove fixed position environment variable. r=roc 2012-12-23 10:47:16 -05:00
Ms2ger
aea685a0e8 Bug 805939 followup: include Hal.h correctly. 2012-12-23 14:48:07 +01:00
David Zbarsky
2ea24f71ee Fix initializer order warning, no bug 2012-12-22 23:54:23 -05:00
Chiajung Hung
34d6df648e Bug 805939: Wait for shadow trees to update orientation before recompositing. r=cjones 2012-11-22 10:40:57 +08:00
Mark Hammond
a2e03cff14 Backout cf585138ff25 (bug 805939) for Windows build bustage on a CLOSED TREE 2012-12-21 15:30:02 +11:00
Chiajung Hung
9c8179f70a Bug 805939: Wait for shadow trees to update orientation before recompositing. r=cjones 2012-11-22 10:40:57 +08:00