Commit Graph

187 Commits

Author SHA1 Message Date
sotaro
9be589ac3c Bug 1387352 - Avoids falling into the fallback codepath for async ImageContainers in layers-free mode r=kats 2017-08-07 11:09:50 +09:00
Nathan Froyd
e1013bf46d Bug 1347963 - part 7 - make ImageContainer use RecursiveMutex; r=kats
Making ImageContainer slightly faster with RecursiveMutex is a good thing.
We need to fix up some cargo-culting of includes along the way, though.
2017-07-04 13:47:42 -04:00
Andrew Osmond
b306aa3fb2 Bug 1380716 - Reinitialize ImageContainer::mImageClient if its parent ImageBridgeChild was also reinitialized. r=sotaro 2017-07-15 07:52:02 -04:00
JerryShih
309a5411d4 Bug 1374548 - Implement the frame selection in BasicImageLayer. r=mattwoodrow a=relanding
The BasicImageLayer always picks the first frame in image container which is not desired for video playback.

MozReview-Commit-ID: q4QkBT2a7w
2017-06-30 11:57:14 -07:00
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