Граф коммитов

233 Коммитов

Автор SHA1 Сообщение Дата
Wes Kocher 3483bcf612 Backed out changeset 85099e5d1e2a (bug 1374548) for being the likely cause of the spike in crashes from bug 1370089 a=backout 2017-06-30 10:45:51 -07:00
JerryShih 56f5339e5a Bug 1374548 - Implement the frame selection in BasicImageLayer. r=mattwoodrow
The BasicImageLayer always picks the first frame in image container which is not desired for video playback.

MozReview-Commit-ID: q4QkBT2a7w

--HG--
extra : rebase_source : 732f61eb5ca64a051fc928a1e22706011800d8fb
2017-06-22 21:03:00 +02:00
Bill McCloskey f115503a0b Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Jean-Yves Avenard 00153b34ec Bug 1223270: P2. Add D3D11YCbCrImage type. r=mattwoodrow,nical
And related methods.

Will allow to directly upload a YUV420 buffer into a D3D11 texture.

MozReview-Commit-ID: FugfJB3818Y

--HG--
extra : rebase_source : faaf2667236699513923aaf76ccc462840182aa6
2017-05-03 23:23:45 +02:00
Carsten "Tomcat" Book 98bb30bdec Backed out changeset 5d4f3028f48e (bug 1223270) 2017-06-20 09:41:41 +02:00
Jean-Yves Avenard 4027661343 Bug 1223270: P2. Add D3D11YCbCrImage type. r=nical
And related methods.

Will allow to directly upload a YUV420 buffer into a D3D11 texture.

MozReview-Commit-ID: FugfJB3818Y

--HG--
extra : rebase_source : 75e77c9a5bec64c9e10d335c06d22f6988dec7d7
2017-05-03 23:23:45 +02:00
Bill McCloskey f9aca3eae6 Bug 1365099 - Convert NS_GetCurrentThread uses in gfx (r=dvander)
MozReview-Commit-ID: 9I4eXsBl2s8
2017-06-12 20:20:08 -07:00
Jeff Gilbert 326703ec04 Bug 1355763 - Add gfxAlphaType for specifying opaque/premult/non-premult. - r=daoshengmu
MozReview-Commit-ID: Jzr8aPYlEcO
2017-04-13 09:14:34 -07:00
Iris Hsiao bf9a6182a2 Backed out changeset f97fd860c168 (bug 1355763) 2017-04-13 14:46:43 +08:00
Jeff Gilbert 95c5ba8077 Bug 1355763 - Add gfxAlphaType for specifying opaque/premult/non-premult. - r=daoshengmu
MozReview-Commit-ID: Jzr8aPYlEcO
2017-04-12 22:03:43 -07:00
JerryShih a02136ffc6 Bug 1336362 - Remove PCompositable, PLayer and PImageContainer related def. r=dvander
MozReview-Commit-ID: IzxHU1SRh2t
2017-02-03 01:06:00 -05:00
David Anderson 34bb55e427 Keep trying async video until PImageBridge is alive again. (bug 1331548 part 2, r=mattwoodrow) 2017-02-01 23:51:51 -08:00
David Anderson c74b40959d Replace async image container IDs with a typed struct. (bug 1323957 part 1, r=mattwoodrow)
--HG--
extra : rebase_source : 4ff77f95ef818f59edb3d3b167548d84773a416f
2017-01-17 18:47:05 -08:00
sotaro 9c5080bd64 Bug 1329432 - Add ImageContainerListener r=nical 2017-01-14 07:51:40 +09:00
Ryan VanderMeulen 6ec8510ea7 Backed out 6 changesets (bug 1323957) for intermittent GPU process leaks on a CLOSED TREE.
Backed out changeset 8fe93d5f82a8 (bug 1323957)
Backed out changeset 5d1615317a36 (bug 1323957)
Backed out changeset 1ec74a022e80 (bug 1323957)
Backed out changeset 0a97bbdd54d5 (bug 1323957)
Backed out changeset 70fab4f6d367 (bug 1323957)
Backed out changeset c5ca5b7fcacd (bug 1323957)
2017-01-11 23:09:14 -05:00
David Anderson 69835ac44e Replace async image container IDs with a typed struct. (bug 1323957 part 1, r=mattwoodrow) 2017-01-11 09:20:53 -08:00
David Anderson 61c82e108f Remove PImageContainer. (bug 1325784 part 5, r=nical) 2017-01-04 10:19:30 -05:00
David Anderson 944e8cc055 Use async compositable IDs for image composite notifications. (bug 1325784 part 4, r=nical) 2017-01-04 10:19:30 -05:00
Sotaro Ikeda 92926a0f41 Bug 1317656 - Cleanup more gonk/b2g dependent code r=nical 2016-11-15 22:01:30 -08:00
Matt Woodrow 4d0b10822d Bug 1308363 - Remove GONK specific code from gfx/. r=jrmuizel,sotaro 2016-10-27 13:17:10 +13:00
Sotaro Ikeda 1d3ceeff04 Bug 1306521 - Handle VP9 colorspace BT.709 on BasicCompositor r=nical,jwwang,jya,jrmuizel 2016-10-11 19:46:28 -07:00
Matt Woodrow 50bff87cb2 Bug 1305361 - Rebuild IPDL actors on ImageContainer once we've recovered from a GPU process crash. r=dvander 2016-10-03 21:20:42 +13:00
Matt Woodrow 55f506db9f Bug 1281456 - Decouple TextureForwarder and CompositableForwarder. r=gw280 2016-09-27 16:22:20 +13:00
Matt Woodrow f8671565f8 Bug 1303897 - Part 1: Use TextureForwarder for Image::GetTextureClient. r=nical 2016-09-23 09:43:11 +12:00
David Anderson 7d3f5ed5b4 Simplify ImageContainerChild memory management. (bug 1299621 part 2, r=nical) 2016-09-06 15:20:41 -07:00
David Anderson 54ea410375 Move ImageContainerChild to its own file. (bug 1299621 part 1, r=nical) 2016-09-06 15:19:35 -07:00
David Anderson 1c2785873c Refactor CompositableClient memory management. (bug 1299375 part 2, r=nical) 2016-09-02 16:08:49 -07:00
Munro Mengjue Chiang 66b4d655fb Bug 1272877 - Allow access to derived Image classes; r=sotaro
MozReview-Commit-ID: 3fXjwaDN5KV

--HG--
extra : rebase_source : 7da96726ab3f9664f3dc9efb9927e1cfc1337c40
2016-08-23 15:44:40 +08:00
Nicholas Nethercote e7f10a07fd Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm.
This patch makes most Run() declarations in subclasses of nsIRunnable have the
same form: |NS_IMETHOD Run() override|.

As a result of these changes, I had to add |override| to a couple of other
functions to satisfy clang's -Winconsistent-missing-override warning.

--HG--
extra : rebase_source : 815d0018b0b13329bb5698c410f500dddcc3ee12
2016-08-08 12:18:10 +10:00
Bob Owen b2b638175c Bug 1252877 Part 1: Allow ImageContainer to act as a proxy for another async ImageConatiner. r=mattwoodrow
MozReview-Commit-ID: BeUFWZOwkvh
2016-07-18 09:54:01 +01:00
Sotaro Ikeda f35a68e9f9 Bug 1282341 - Add ImageContainer::ClearCachedResources() r=nical 2016-06-27 18:25:01 -07:00
Kaku Kuo 802fc0f1d8 Bug 1141979 - part4 - Add NVImage; r=jrmuizel
MozReview-Commit-ID: 9kacGnqHVRH

--HG--
extra : transplant_source : %D2%95%C2%5E%F40%0D%86.%CD%F7%236%E8%D3%D8%7Frv%99
2016-03-10 10:35:27 +08:00
Sotaro Ikeda 1412ddf507 Bug 1274178 - Deliver picture origin r=nical 2016-05-22 17:37:43 -07:00
Kyle Huey c73656947b Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
Sotaro Ikeda 3b81e9dd7d Bug 1262278 - Rename PlanarYCbCrImage::SetData and PlanarYCbCrImage::SetDataNoCopy r=nical 2016-04-18 20:12:41 -07:00
William Chen 303bd1fd42 Bug 1259590 - Remove B2G ACL code. r=khuey 2016-04-07 09:50:01 -07:00
Nicolas Silva 9a91eca96b Bug 1243466 - Don't crash if DeallocPImageContainerChild is called prematurely. r=sotaro 2016-04-04 10:03:37 +02:00
Matt Woodrow 4dcfda62de Bug 1220082 - Assign frame ids to animated images so that they get invalidated correctly. r=seth 2016-01-12 17:14:09 +13:00
Sebastian Hengst 1e69d4c08b Backed out changeset a5d2e586777c (bug 1220082) for bustage. r=bustage on CLOSED TREE 2016-03-03 17:19:22 +01:00
Matt Woodrow 6350413d1b Bug 1220082 - Assign frame ids to animated images so that they get invalidated correctly. r=seth 2016-01-12 17:14:09 +13:00
Seth Fowler d66e629ca5 Bug 1251808 (Followup) - Mark the new SourceSurfaceImage constructor explicit. r=me 2016-02-26 21:25:08 -08:00
Seth Fowler 0b454da72c Bug 1251808 - Construct the SourceSurfaceImage with the correct size in RasterImage::GetCurrentImage(). r=seth 2016-02-26 21:01:50 -08:00
Birunthan Mohanathas d7371d07d0 Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
Phil Ringnalda d381b4bca6 Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
CLOSED TREE

Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas 373593275e Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-01-31 17:12:12 +02:00
Sotaro Ikeda 233ac65d1e Bug 1239893 - Add gonk SidebandStream handling to DOMHwMediaStream r=roc 2016-01-26 02:01:43 -08:00
Sotaro Ikeda f1adc19aeb Bug 1240668 - Duplicate GonkNativeHandle::NhObj in ImageClientSingle::UpdateImage() r=nical 2016-01-20 01:47:05 -08:00
Nicolas Silva 9a2dc00d43 Bug 1240708 - Various trivial coverity warning fixes. r=kats 2016-01-19 20:14:22 +01:00
Sotaro Ikeda 22854d8a96 Bug 1234472 - Add gonk sideband stream handling to gfx ipc r=nical 2016-01-05 20:50:39 -08:00
Sotaro Ikeda 6247e12af2 Bug 1205713 - Merge ImageHostOverlay/ImageClientOverlay to ImageHost/ImageClient r=nical 2015-12-29 01:07:33 -08:00
Morris Tseng ef261c0b38 Bug 1215438 - Part 4: Rename CairoImage to SourceSurfaceImage. r=roc
--HG--
extra : commitid : H9H2n8GsBOK
2015-12-18 14:52:16 +08:00
Morris Tseng f76ed9c612 Bug 1215438 - Part 3: CairoImage can use in any thread. r=roc
--HG--
extra : commitid : HbLlASdGESm
2015-12-18 14:52:16 +08:00
David Anderson f542a9de1b Remove CreateImage() from ImageContainer, ImageFactory, and ImageClient. (bug 1222910, r=roc) 2015-11-17 00:09:01 -08:00
David Anderson 8e086a182c Remove Gonk usage of ImageContainer::CreateImage. (bug 1222910, r=sotaro) 2015-11-17 00:09:01 -08:00
David Anderson 27bfc27d62 Decouple SharedRGBImage and PlanarYCbCrImage from ImageContainer. (bug 1222910, r=mattwoodrow) 2015-11-17 00:09:01 -08:00
David Anderson 7970ac45fd Decouple MacIOSurfaceImage from ImageContainer. (bug 1222910, r=mstange) 2015-11-17 00:09:00 -08:00
David Anderson ec187774dc Decouple SurfaceTextureImage from ImageContainer. (bug 1222910, r=snorp) 2015-11-17 00:09:00 -08:00
David Anderson cb88eed605 Decouple EGLImageImage from ImageContainer. (bug 1222910, r=snorp) 2015-11-17 00:09:00 -08:00
David Anderson 7e9cf5355c Decouple CairoImage from ImageContainer. (bug 1222910, r=roc) 2015-11-17 00:09:00 -08:00
Nathan Froyd 6fae252680 Bug 1216644 - part 3 - make BufferRecycleBin store UniquePtrs; r=jrmuizel
Changing mRecycledBuffers to store UniquePtrs instead of nsAutoArrayPtrs
opens up the possibility of a reasonable facsimile of ownership in
function signatures.
2015-10-20 13:16:04 -04:00
Jeff Muizelaar bcf6317ef4 Bug 1217080. Move recycling functionality into RecyclingPlanarYCbCrImage. r=nical
This makes PlanarYCbCrImage abstract and moves the recycling functionality
into RecyclingPlanarYCbCrImage. This decreases the size of
SharedPlanarYCbCrImage and makes it possible for us to do part 3 of bug
1216644.
2015-11-06 13:55:31 -05:00
Wes Kocher a6029c8941 Backed out changeset 722e121f6ce6 (bug 1217080) for b2g build failures
--HG--
extra : commitid : HdV0UNFbTFn
2015-11-04 15:39:35 -08:00
Jeff Muizelaar 83d63902a7 Bug 1217080. Move recycling functionality into RecyclingPlanarYCbCrImage. r=nical
This makes PlanarYCbCrImage abstract and moves the recycling functionality
into RecyclingPlanarYCbCrImage. This decreases the size of
SharedPlanarYCbCrImage and makes it possible for us to do part 3 of bug
1216644.
2015-11-04 17:40:02 -05:00
Nicolas Silva 1ebb1e2bb7 Bug 1219330 - Handle PlanaYCbCrImage::SetData failure. r=jya, jesup 2015-11-03 12:24:26 +01:00
Nathan Froyd 01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Nathan Froyd 583afa0965 Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan
This commit was generated using the following script, executed at the
top level of a typical source code checkout.

 # Don't modify select files in mfbt/ because it's not worth trying to
 # tease out the dependencies currently.
 #
 # Don't modify anything in media/gmp-clearkey/0.1/ because those files
 # use their own RefPtr, defined in their own RefCounted.h.
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    grep -v 'mfbt/RefPtr.h' | \
    grep -v 'mfbt/nsRefPtr.h' | \
    grep -v 'mfbt/RefCounted.h' | \
    grep -v 'media/gmp-clearkey/0.1/' | \
    xargs perl -p -i -e '
 s/mozilla::RefPtr/nsRefPtr/g; # handle declarations in headers
 s/\bRefPtr</nsRefPtr</g; # handle local variables in functions
 s#mozilla/RefPtr.h#mozilla/nsRefPtr.h#; # handle #includes
 s#mfbt/RefPtr.h#mfbt/nsRefPtr.h#;       # handle strange #includes
'

 # |using mozilla::RefPtr;| is OK; |using nsRefPtr;| is invalid syntax.
find . -name '*.cpp' -o -name '*.mm' | xargs sed -i -e '/using nsRefPtr/d'

 # RefPtr.h used |byRef| for dealing with COM-style outparams.
 # nsRefPtr.h uses |getter_AddRefs|.
 # Fixup that mismatch.
find . -name '*.cpp' -o -name '*.h'| \
    xargs perl -p -i -e 's/byRef/getter_AddRefs/g'
2015-10-18 00:40:10 -04:00
Carsten "Tomcat" Book f08a248c9a Backed out changeset 446055bf8ee4 (bug 1199371) 2015-09-03 08:38:28 +02:00
Matt Woodrow c5f3ed703d Bug 1199371 - Don't create TextureClients for video when the video isn't visible. r=nical
--HG--
extra : rebase_source : 410c00d88d0601f5f2b1e02cf8b09f60a934e07a
2015-09-01 15:35:55 -04:00
Karl Tomlinson ea84d39947 bug 962719 use unsigned ints for FrameID and ProducerID for defined overflow behavior r=roc
--HG--
extra : rebase_source : 0375f04a60a548975547b80e60e5cf5dada2f86f
2015-08-12 11:02:41 +12:00
Robert O'Callahan 9fa98a0f8d Bug 1143575. Let ImageContainer::SetCurrentImages accept multiple images. r=nical
--HG--
extra : commitid : 4THtxHGR1j1
extra : rebase_source : b97186838e57bbe50599b9d1cc37f433994d3b00
2015-05-25 14:33:35 +12:00
Robert O'Callahan 691cbe2607 Bug 1143575. Let callers of ImageContainer::SetCurrentImages specify frame IDs. r=nical
--HG--
extra : commitid : DuR1A0ZlwdV
extra : rebase_source : 5f3c7c819038bd300ad34b90b830686448308039
2015-07-03 22:13:48 +12:00
Robert O'Callahan 478bb5668d Bug 1143575. Reimplement ImageContainer::GetPaintCount to be composition-aware. r=nical
--HG--
extra : commitid : EmOEK6v27UF
extra : rebase_source : 671c06aa942ad87716ab9a998dd55103b1270b66
2015-06-15 14:45:59 +12:00
Robert O'Callahan 8baa86248d Bug 1143575. Implement ImageContainer::GetDroppedCount. r=nical
--HG--
extra : commitid : 1ZcGFtkQYFJ
extra : rebase_source : 182e42bfd9b2f6ba152339bf45aee814296ced49
2015-05-11 14:07:07 +12:00
Robert O'Callahan 0dbe12e42f Bug 1143575. Clarify code by renaming method to ClearCurrentImageFromImageBridge. r=nical
We need to make it clear that ClearCurrentImage is really an internal method
of the ImageContainer implementation, not a method that ImageContainer users
should call.

--HG--
extra : commitid : 9404nMt3qhP
extra : rebase_source : 9e9edcea98f9f1dd4869806726606640ead2e855
2015-03-26 14:17:13 +13:00
Robert O'Callahan 84a4b59472 Bug 1143575. Remove ClearAllImagesExceptFront because it doesn't do anything. r=nical
ImageBridgeChild::FlushAllImages with aExceptFront==true does absolutely
nothing, so remove the parameter and remove all callers which pass true.

--HG--
extra : commitid : D7XjM7QaYjQ
extra : rebase_source : 6c8db683a98a2a340202a88d00d6d70f44a9f374
2015-03-26 14:08:30 +13:00
Robert O'Callahan dad7a2fa50 Bug 1143575. Implement ImageContainer::GetPaintDelay. r=nical
--HG--
extra : commitid : BnawQer3CoY
extra : rebase_source : 81937eb73d71cdb85b77c488f0a5e02ab4a4180b
2015-07-03 19:39:09 +12:00
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