Birunthan Mohanathas
a29151dc87
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Robert O'Callahan
1bebcba55f
Bug 1143575. Route ImageCompositeNotifications to ImageContainers. r=nical
...
For frame statistics to work properly, we have to notify an ImageContainer
when it has been composited. This requires a few changes, which have
been lumped together in this patch:
-- Create PImageContainer and ImageContainerParent/ImageContainerChild.
-- Add mFrameID and mProducerID everywhere we're passing around images.
-- Route composition notifications from the compositor back to
ImageContainerChild.
2015-07-06 15:02:26 +12:00
Robert O'Callahan
c88d9dbed3
Bug 1143575. Extend IPDL OpUseTexture to support multiple timestamped images. r=nical
2015-05-04 22:59:02 +12:00
Robert O'Callahan
c894f75130
Bug 1143575. Pass a picture rect with OpUseOverlaySource and OpUseTexture, and eliminate OpUpdatePictureRect. r=nical
...
The picture rect logically belongs with the texture, and later patches will
make OpUseTexture take multiple textures, each of which needs its own
picture rect.
2015-07-04 10:52:42 +12:00
Nicolas Silva
fb6854370b
Bug 1170189 - Remove the TiledLayerComposer interface. r=BenWa
2015-07-01 13:51:03 +02:00
Nathan Froyd
92a8124fef
Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan
...
This conversion was done with the script:
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl' | \
egrep -v 'cairo-win32-refptr.h|RefPtr.h|TestRefPtr.cpp' | \
xargs sed -i -e 's/mozilla::TemporaryRef</already_AddRefed</g' \
-e 's/TemporaryRef</already_AddRefed</g'
Manual fixups were performed in the following instances:
- We handled mfbt/RefPtr.h manually so as to not convert TemporaryRef itself
into already_AddRefed.
- The following files had explicit Move() calls added to make up for the lack
of a copy constructor on already_AddRefed:
dom/base/ImageEncoder.cpp
dom/media/MediaTaskQueue.{h,cpp}
dom/media/webaudio/PannerNode.cpp
- A redundant overload for MediaTaskQueue::Dispatch was deleted.
- A few manual fixups were required in mfbt/tests/TestRefPtr.cpp.
- Comments, using declarations, and forward declarations relating to
TemporaryRef in dom/canvas/ and gfx/layers/ were changed to refer to
already_AddRefed.
2015-06-17 10:00:52 -04:00
Andrea Marchesini
b8630baa2d
Bug 1156632 - Remove unused forward class declarations - patch 6 - the rest of the tree, r=ehsan
2015-04-22 08:29:24 +02:00
Nicolas Silva
d73f54cb00
Bug 1155621 - Make nsIntRect and nsIntPoint typedefs of mozilla::gfx::IntRect and mozilla::gfx::IntPoint. r=Bas
2015-04-21 17:04:57 +02:00
JerryShih
e547f2e759
Bug 1148718 - init TextureSource for current TextureHost when attach. r=nical, r=sotaro
2015-04-02 09:40:00 -04:00
Ehsan Akhgari
ea41d8de48
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Benoit Girard
caff1329d4
Bug 1135857 - Remove ContentClientIncremental. r=mattwoodrow
2015-02-23 18:22:06 -05:00
Boris Chiou
6c0c142c14
Bug 1108449 - Add nullptr check in ImageHost and CompositableHost. r=nical
2014-12-20 23:16:00 +01:00
Benoit Girard
d15b0b76fd
Bug 1111258 - Bustage fix. r=mstange
2014-12-16 21:32:58 -05:00
Matt Woodrow
c2fda24877
Bug 1097441 - Followup bustage fix on a CLOSED TREE
2014-11-14 17:30:02 +13:00
Matt Woodrow
cfc49c30ba
Bug 1097441 - Initialize mSize on BufferTextureHost. r=nical
2014-11-13 10:44:42 +13:00
Nicolas Silva
6ea204e520
Bug 1077301 - Simplify the gralloc texture code. r=sotaro
2014-10-16 19:08:32 +02:00
Ryan VanderMeulen
2211ee6ae4
Backed out changeset 5ff4c7dded93 (bug 1077301) for making bug 1084118 return with a near perma-fail vengeance.
2014-10-24 14:25:25 -04:00
Nicolas Silva
0de37868e9
Bug 1077301 - Simplify the gralloc texture code. r=sotaro
2014-10-16 19:08:32 +02:00
L. David Baron
93b8d0608e
Back out changeset 197317c196cf (bug 1077301) for apparently breaking component alpha on some Windows variants (perhaps those without accelerated layers backends).
2014-10-20 00:23:46 -04:00
Nicolas Silva
a2cb98c27c
Bug 1077301 - Simplify the gralloc texture code. r=sotaro
2014-10-16 19:08:32 +02:00
Ryan VanderMeulen
7a57c1a082
Backed out changeset d16adf321576 (bug 1077301) for B2G bustage.
...
CLOSED TREE
2014-10-16 14:38:29 -04:00
Nicolas Silva
1619f4f6ab
Bug 1077301 - Simplify the gralloc texture code. r=sotaro
2014-10-16 19:08:32 +02:00
Sotaro Ikeda
88543b81f5
Bug 1082986 - Use RefPtr to hold Compositor r=nical
2014-10-16 06:48:29 -07:00
Sotaro Ikeda
a9bf07a253
Bug 1017351 - Handle Sharing GrallocTextureHostOGL among ImageHosts r=nical
2014-09-26 04:30:11 -07:00
chiajung hung
bcd394f716
Bug 1002823 - [Stingray] Add a new kind of image layer without graphic buffer for overlaying video input. r=nical
2014-08-18 22:14:00 -04:00
Ehsan Akhgari
6ad78acff0
Bug 1050609 - Fix more bad implicit constructors in gfx/layers; r=roc
2014-08-20 00:55:14 -04:00
Matt Woodrow
1fb6dcecf7
Bug 1048110 - Expand complex visible regions if we're going to be resampling when using tiling. r=Bas
2014-08-04 15:29:55 +12:00
Sotaro Ikeda
e9f22928b0
Bug 1039883 - release Tiled layer's gralloc when an application is background r=nical
2014-07-19 05:33:12 -07:00
Wes Kocher
a38cfddcd3
Backed out changeset 9b764e12796d (bug 1039883) for b2g m7 failures
2014-07-18 14:21:44 -07:00
Sotaro Ikeda
010ff9062f
Bug 1039883 - release Tiled layer's gralloc when an application is background r=nical
2014-07-18 12:40:35 -07:00
Carsten "Tomcat" Book
dbc1e7e9d8
Backed out changeset 79d65a1bbb01 (bug 1039883) for assertion failures on a CLOSED TREE
2014-07-18 16:09:15 +02:00
Sotaro Ikeda
493aa8441b
Bug 1039883 - release Tiled layer's gralloc when an application is background r=nical
2014-07-18 06:21:24 -07:00
Boris Chiou
5203a8f909
Bug 975346 - Part 1: General functions for Effects. r=dglastonbury
...
1. Support GenEffectChain() for LayerComposite.
Each layer can use this API to gen the
EffectChain (only primary effect now)
2. Support GenEffect() for CompositableHost.
3. Move AutoLock to compositeHost.
2014-06-22 19:06:00 +02:00
Benoit Girard
c36e97ca50
Bug 1027496 - Stream display list and layers dump. r=mattwoodrow
2014-06-19 18:36:25 -04:00
Sotaro Ikeda
272c9282a9
Bug 1006957 - Handle buffer ownership between SurfaceStream and CanvasClient r=nical
2014-05-24 09:14:45 -07:00
Steve Fink
278d129227
Backed out changeset 171edffe0641 (bug 1006957) for crash at BaseAutoLock<mozilla::Mutex>::BaseAutoLock(mozilla::Mutex&) from layers::AsyncTransactionTrackersHolder::ClearAllAsyncTransactionTrackers on a CLOSED TREE
2014-05-23 21:16:02 -07:00
Sotaro Ikeda
e3ea215fb9
Bug 1006957 - Handle buffer ownership between SurfaceStream and CanvasClient r=nical
2014-05-23 17:52:43 -07:00
Benoit Girard
961dcf3395
Bug 1005328 - Layers.dump output should be consistent with newlines. r=bottond
2014-05-02 17:29:29 -04:00
Nicolas Silva
ec14ee1a8f
Bug 997699 - fixup some #includes of ipdl actors in layers. r=bjacob
2014-04-28 13:29:13 +02:00
Nicolas Silva
3bf3125c26
Bug 997699 - Move CompositableParent to the .cpp. r=bjacob
2014-04-25 17:15:58 +02:00
Benoit Jacob
8e8324131a
Bug 999697 - Make CreatedIncrementalTexture fail gracefully and return bool - r=nical
2014-04-23 10:46:02 -04:00
Kyle Huey
78f6f38554
Bug 991812: Remove uses of RefCounted<T> that live in Gecko. r=ehsan
2014-04-14 12:04:24 -07:00
Ryan VanderMeulen
5aa07e1977
Backed out changesets ddbac34527fe and fa82f32d0c39 (bug 991812) for B2G bustage.
...
CLOSED TREE
2014-04-14 16:16:18 -04:00
Kyle Huey
613b19edaa
Bug 991812: Remove uses of RefCounted<T> that live in Gecko. r=ehsan
2014-04-14 12:04:24 -07:00
Kyle Huey
4948238a71
Back out bug 991812 for bustage on a CLOSED TREE. r=me
2014-04-08 17:26:33 -07:00
Kyle Huey
e165611799
Bug 991812: Remove uses of RefCounted in code that lives solely in Gecko. r=ehsan
2014-04-08 16:37:05 -07:00
Nicolas Silva
6fe09cdc9a
Bug 989904 - Remove the remaining deprecated textures code. r=mattwoodrow
2014-04-03 14:04:04 +08:00
Matt Woodrow
7d451acdc0
Bug 990437 - Rename the Incremental texture created function. r=nical
2014-04-02 14:45:01 +08:00
Nicolas Silva
7ce54ab24d
Bug 989904 - Remove some of the deprecated backend-independent textures. r=mattwoodrow
2014-04-01 14:28:23 +08:00
Nicolas Silva
74681a5e4a
Bug 984338 - Add a pref to flash layer borders when they are created. r=jrmuizel
2014-03-25 17:54:39 +01:00