Ryan VanderMeulen
4272b0bfcf
Backed out changeset ddf944cc292d (bug 863324) for Android bustage on a CLOSED TREE.
...
--HG--
rename : gfx/layers/ipc/PLayerTransaction.ipdl => gfx/layers/ipc/PLayers.ipdl
rename : gfx/layers/ipc/LayerTransactionChild.cpp => gfx/layers/ipc/ShadowLayersChild.cpp
rename : gfx/layers/ipc/LayerTransactionChild.h => gfx/layers/ipc/ShadowLayersChild.h
rename : gfx/layers/ipc/LayerTransactionParent.cpp => gfx/layers/ipc/ShadowLayersParent.cpp
rename : gfx/layers/ipc/LayerTransactionParent.h => gfx/layers/ipc/ShadowLayersParent.h
2013-04-22 14:47:16 -04:00
Nicolas Silva
b00da928b1
Bug 863324 - Rename PLayers into PLayerTransaction, r=jrmuizel
...
--HG--
rename : gfx/layers/ipc/ShadowLayersChild.cpp => gfx/layers/ipc/LayerTransactionChild.cpp
rename : gfx/layers/ipc/ShadowLayersChild.h => gfx/layers/ipc/LayerTransactionChild.h
rename : gfx/layers/ipc/ShadowLayersParent.cpp => gfx/layers/ipc/LayerTransactionParent.cpp
rename : gfx/layers/ipc/ShadowLayersParent.h => gfx/layers/ipc/LayerTransactionParent.h
rename : gfx/layers/ipc/PLayers.ipdl => gfx/layers/ipc/PLayerTransaction.ipdl
2013-04-22 18:07:48 -04:00
Matt Woodrow
cb24939c8e
Bug 809273 - Remove unused BasicShadowContainerLayer. r=nrc
2013-04-22 14:40:53 +12:00
Matt Woodrow
da99ed271a
Bug 809273 - Make mUseIntermediateSurface and mSupportsComponentAlpha on BasicShadowableContainerLayers match the compositor. r=roc
2013-04-22 14:40:52 +12:00
Matt Woodrow
7fe2ff7276
Bug 809273 - Add code handling dual buffers in ThebesLayerBuffer. r=roc
2013-04-22 14:40:52 +12:00
Matt Woodrow
9c71a945d5
Bug 809273 - Add code for handling dual buffers in ContentHost. r=nrc
2013-04-22 14:40:52 +12:00
Matt Woodrow
31f175216a
Bug 809273 - Remove old buffer provider code. r=nrc
2013-04-22 14:40:52 +12:00
Matt Woodrow
d3988fdc9d
Bug 809273 - Let ContentHost create an EffectComponentAlpha if necessary. r=nrc
2013-04-22 14:40:52 +12:00
Matt Woodrow
72ba1cbdff
Bug 809273 - Add AutoLockTextureHost and use it to avoid needing to manually unlock. r=nrc
2013-04-22 14:40:52 +12:00
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