Robert O'Callahan
04dc05db17
Bug 1143575. Pass a list of timestamped images to ImageContainer::SetCurrentImages. r=nical
...
--HG--
extra : commitid : 2JD9zKhyZMo
extra : rebase_source : f5276dee70345e932daca7a4d082f5917e09bf9e
2015-07-07 09:58:18 +12:00
Robert O'Callahan
68954a66d8
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.
--HG--
extra : commitid : 7atVkOgdEhG
extra : rebase_source : caaba6a708ed267368df44609fb047abde9c3ca1
2015-07-06 15:02:26 +12:00
Robert O'Callahan
6111862fcc
Bug 1143575. Make ImageClientSingle handle multiple textures. r=nical
...
--HG--
extra : commitid : IMpF8V8HNbk
extra : rebase_source : e7748b4daa61d031a092970c793edef38787f974
2015-07-03 22:37:03 +12:00
Robert O'Callahan
72fed74ae6
Bug 1143575. Replace ImageClientSingle::UpdateImage's use of Image serial numbers with ImageContainer state generation counters, and switch it to use ImageContainer::GetCurrentImages. r=nical
...
When ImageContainer and ImageClient are managing a list of images, the
individual Image serial numbers are no longer enough to detect whether the
state has changed.
--HG--
extra : commitid : 3EkV17zqHVt
extra : rebase_source : 92e7479b39bf499db0cc1db3534317c2fb8de68a
2015-05-12 12:56:09 +12:00
Robert O'Callahan
15642eb711
Bug 1143575. Replace ImageContainer Lock methods with simplified AutoLockImage. r=nical
...
--HG--
extra : commitid : B1BZNvKIQFf
extra : rebase_source : 927c9aa549a863aeba97c0e5a4cb6cf87194669a
2015-03-27 12:07:53 +13:00
Robert O'Callahan
d5d2cc4906
Bug 1143575. Fix typo in ImageContainer comment. r=nical
...
--HG--
extra : commitid : 17nmu85I7H7
extra : rebase_source : 951506bb60b87a4d61c843eb973e104d72414dbf
2015-03-16 23:23:50 +13:00
Robert O'Callahan
12ae793af5
Bug 1143575. Remove unused ImageContainer::ResetPaintCount. r=nical
...
--HG--
extra : commitid : HGiTU6g5Puk
extra : rebase_source : 5550d38a6d9a91e5be5885152885df37ddf3dfa5
2015-03-23 23:39:28 +13:00
Robert O'Callahan
c85ce2add1
Bug 1143575. Remove unused CompositionNotifySink. r=nical
...
--HG--
extra : commitid : KLg81j7yveG
extra : rebase_source : d2a2af5c722a81632fcf4644d429bb2995fcba1e
2015-03-22 01:02:25 +13:00
Robert O'Callahan
a8c934fc4b
Bug 1143575. Remove unused Image::IsSentToCompositor tracking. r=nical
...
--HG--
extra : commitid : 4lRVErELCKo
extra : rebase_source : 00787282ba967a306fb0862ef51dc70b37c9380b
2015-03-20 16:13:46 +13:00
Hamzata Diallo
3f61ec7708
Bug 1178513
- Export libxul symbols needed by ACL. r=mattwoodrow
...
--HG--
extra : rebase_source : 77ebb8e1195c0e2570dbf5dbee54edfa5ecdab28
2015-07-02 15:19:35 -07:00
Nathan Froyd
974d8120f2
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
Daosheng Mu
9751dfe073
Bug 987498 - Part 1 - Layers support OverlayImage. r=roc
2015-05-28 01:35:00 +02:00
Amanda Sambath
e5ab8210f6
Bug 1158120 - Edit include and comments that contained gfxIntSize and nsIntSize. r=nical
2015-05-29 17:01:46 +02:00
Nathan Froyd
c24f5f4e7c
Bug 1116905 - part 3 - remove dependence on implicit conversion from T* to TemporaryRef<T>, gfx changes; r=jrmuizel
2015-04-30 15:20:30 -04:00
Thibaud Backenstrass
f8d4cbad76
Bug 1158122 - Remove the remaining occurences of nsIntRect in gfx/layers. r=nical
2015-05-07 11:07:53 +02:00
Andrew McCreight
0c176ddcff
Bug 1062479 - Use static strings for WeakReference type names. r=ehsan
2015-04-24 09:43:01 -07:00
Andrea Marchesini
ade2831035
Bug 1156632 - Remove unused forward class declarations - patch 6 - the rest of the tree, r=ehsan
2015-04-22 08:29:24 +02:00
Ehsan Akhgari
883849ee32
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
Matt Woodrow
a426242c6b
Bug 1138967 - Part 1: Remove ISharedImage. r=nical
...
--HG--
extra : rebase_source : e8ddd7c6cd6d3bb76befb65fe32210ed65d22eeb
2015-03-19 10:15:38 +13:00
Matt Woodrow
def55ce594
Bug 1131638 - Discard video frames that fail to sync. r=cpearce
2015-03-12 22:13:23 +13:00
Matt Woodrow
3154f0f851
Back out bug 1131638 (changesets 78b34d0e414a and 1b55b99dc432) for causing various video regressions
2015-03-09 16:18:32 +13:00
Anthony Jones
b8da0abf2f
Bug 1131638 - Discard DXVA frames that don't complete YUV->RGB conversion. r=cpearce
2015-02-20 16:27:42 +13:00
Ehsan Akhgari
b447c92ece
Bug 1117263 - Mark virtual overridden functions as MOZ_OVERRIDE in graphics layers code; r=roc
2015-01-03 12:21:23 -05:00
Alfredo Yang
01779d04ac
Bug 938034 - Add GonkCameraImage format. r=roc
2014-12-17 23:42:00 -05:00
Wes Kocher
222bbef079
Backed out changeset bfe4f2eb91c5 (bug 938034) for non-unified bustage on a CLOSED TREE
2014-12-15 14:16:59 -08:00
Alfredo Yang
c623645cee
Bug 938034 - Add new GonkCameraImage image type. r=roc
2014-12-15 01:01:00 -05:00
Sotaro Ikeda
3fad6064bb
Bug 1091777 - Add TextureClient recycling to CairoImag r=nical
2014-11-13 07:53:49 -08:00
Ryan VanderMeulen
cae555594b
Backed out changeset 92295f515d2d (bug 1091777) for bustage.
2014-11-12 21:09:40 -05:00
Sotaro Ikeda
c076d14da1
Bug 1091777 - Add TextureClient recycling to CairoImag r=nical
2014-11-12 17:47:10 -08:00
Robert O'Callahan
f49b65148e
Bug 1072528. Part 2: Remove layers code. r=bas
2014-09-24 16:35:06 -04:00
Trevor Saunders
fd5e9d1fcc
bug 1047696 - mark a number of classes MOZ_FINAL to get compilers to devirtualize more r=froydnj
2014-08-05 13:33:55 -04:00
chiajung hung
d7c7e3a117
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
015ce11986
Bug 1050609 - Fix more bad implicit constructors in gfx/layers; r=roc
2014-08-20 00:55:14 -04:00
Cgg
fcef028f85
Bug 783043 - Restore original image factory after paint operations. r=nical
...
---
gfx/layers/ImageContainer.h | 5 +++++
gfx/layers/basic/BasicImageLayer.cpp | 7 +++++++
2 files changed, 12 insertions(+)
2014-06-21 14:32:30 +02:00
Nicolas Silva
8fea345008
Bug 783043 - Backed out changeset 29bc4fa125d9 (commit message). r=me
2014-06-21 19:51:07 +02:00
Cgg
8e2f872bc0
From d5e66ff9f47b4bbd59808c75ede6e30ad35a5cd4 Mon Sep 17 00:00:00 2001
...
Bug 783043 - Restore original image factory after paint operations. r=nical
---
gfx/layers/ImageContainer.h | 5 +++++
gfx/layers/basic/BasicImageLayer.cpp | 7 +++++++
2 files changed, 12 insertions(+)
2014-06-21 14:32:30 +02:00
Benoit Jacob
c957e59732
Bug 1027251 - Fix or whitelist dangerous public destructors in gfx/ - r=jrmuizel
2014-06-18 22:28:59 -04:00
Benoit Jacob
77278b2f09
Bug 989145 - Convert ImageContainer::mBackendData to be an EnumeratedArray - r=nical
2014-04-25 22:34:06 -04:00
Jonathan Watt
200e95e9eb
Bug 996901 - Remove lots of gfxASurface.h and gfxImageSurface.h includes and forward declarations that are no longer needed. r=mattwoodrow
2014-04-16 01:41:40 +01:00
Jonathan Watt
d54d6a8047
Bug 960524 - Get rid of Image::DeprecatedGetAsSurface (Moz2D migration). r=mattwoodrow
2014-04-10 09:49:53 +01:00
Daniel Holbert
b6bb05e33b
Bug 984786 part 8: Give NS_INLINE_DECL_*REFCOUNTING classes private destructor & MOZ_FINAL annotation where appropriate, in /gfx and /content/canvas. r=bjacob
2014-04-04 09:27:02 -07:00
Nicolas Silva
f1a6964fcb
Bug 989883 - Remove deprecated ImageClient/Host. r=mattwoodrow
2014-04-01 14:28:00 +08:00
Eric Rahm
6af5d95274
Bug 962154 - Use MallocSizeOf to report decoded-video memory. r=cpearce,njn
2014-03-19 14:33:12 -07:00
Jonathan Watt
7abcfeca0b
Bug 982395 - Remove ImageContainer::DeprecatedLockCurrentAsSurface. r=mattwoodrow
2014-03-11 23:50:59 +00:00
Ehsan Akhgari
f745bb2ae1
Bug 935778 - Part 0.8: Spray some more MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree
2014-03-08 12:14:32 -05:00
Michael Wu
d65ac2bc62
Bug 962670 - Store decoded images in VolatileBuffers, r=seth,jrmuizel
2014-02-24 22:37:51 -05:00
Ali Akhtarzada
f31bf7d111
Bug 972843 - Make Image::GetAsSourceSurface pure virtual. r=nical
2014-02-18 08:59:34 -05:00
Matt Woodrow
b0bbb6b406
Bug 889959 - Implement GetTextureClient for CairoImage. r=nical
2014-02-17 11:23:39 +13:00
Phil Ringnalda
45200f5d68
Backed out 3 changesets (bug 972703, bug 889959) for build failures and crashes
...
CLOSED TREE
Backed out changeset ef3d90780478 (bug 972703)
Backed out changeset 34c95e937671 (bug 889959)
Backed out changeset 5e25912d6696 (bug 889959)
2014-02-16 15:17:01 -08:00
Matt Woodrow
3626d00dae
Bug 889959 - Implement GetTextureClient for CairoImage. r=nical
2014-02-17 11:23:39 +13:00