Commit Graph

292 Commits

Author SHA1 Message Date
sotaro
8305f0b97e Bug 1356944 - Fix external image id allocation of WebRenderTextureHost r=nical 2017-04-20 10:24:13 +09:00
sotaro
40ad1d8199 Bug 1356960 - Avoid to allocate WebRenderTextureHost for TextureHost of VideoBridgeParent and VRManagerParent r=jerry 2017-04-17 22:08:43 +09:00
JerryShih
c4868e40ce Bug 1347062 - P4: create RenderBufferTextureHost and RenderMacIOSurfaceTextureHostOGL. r=nical,sotaro
1) make RenderTextureHost into a abstract base class for all RenderXXXTextureHost.
2) create a base class RenderTextureHostOGL for all texture handle base texture.
3) create RenderBufferTextureHost for buffer texture at render thread.
4) create RenderMacIOSurfaceTextureHostOGL for MacIOSurface at render thread.
2017-03-31 22:29:14 +08:00
David Anderson
f9963c08b4 Replace TextureHost compositor access with TextureSourceProvider. (bug 1343814 part 3.1, r=mattwoodrow) 2017-03-21 20:32:54 -07:00
David Anderson
6e57f3f879 Change TextureSource::SetCompositor to use TextureSourceProvider. (bug 1343814 part 2, r=mattwoodrow) 2017-03-21 20:32:53 -07:00
David Anderson
7989aa5d01 Factor texture methods out of Compositor into a TextureSourceProvider class. (bug 1343814 part 1, r=mattwoodrow) 2017-03-21 20:32:53 -07:00
Kartikaya Gupta
fc7c5d7c88 Merge m-c to graphics
MozReview-Commit-ID: QN682uyISF
2017-03-09 10:42:57 -05:00
sotaro
e4aa155f04 Bug 1343764 - Add ExternalBuffer handling r=nical 2017-03-07 19:37:28 +09:00
Matt Woodrow
f8409228f1 Bug 1340117 - Batch ReadLock intializer into a separate IDPL message to avoid hitting the file descriptor limit. r=dvander 2017-02-27 16:12:12 +13:00
David Anderson
80fa3494e1 Remove references to the Direct3D9 compositor. (bug 1318558 part 1, r=mattwoodrow) 2017-03-08 00:17:36 -08:00
Matt Woodrow
491e9420ca Bug 1328797 - Part 1: Don't use a sync transaction for RemoveTexture. r=nical 2017-02-16 11:28:24 +13:00
Kartikaya Gupta
c72106b831 Merge m-c to graphics
MozReview-Commit-ID: HGa7QgtJVwu
2017-01-06 11:24:57 -05:00
sotaro
f218c79e98 Bug 1321183 - Deliver TextureFactoryIdentifier r=nical 2016-12-01 12:02:37 +09:00
sotaro
a5606cbbac Bug 1307809 - Add IsOwnedBy() check r=nical 2017-01-06 10:16:24 +09:00
Kan-Ru Chen
1b9dd22e2d Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm
We will use the new type for the generated IPDL message handler
prototype to make sure correct error handling method is called.

MozReview-Commit-ID: AzVbApxFGZ0
2016-11-15 04:26:00 +01:00
Matt Woodrow
3c78aeff18 Bug 1313281 - Part 3: Remove Fence from TimedTexture. r=sotaro 2016-10-27 21:00:20 +13:00
Matt Woodrow
b4e0f72e10 Bug 1313281 - Part 2: Remove DeliverFence. r=sotaro 2016-10-27 20:59:50 +13:00
Matt Woodrow
16f8a8bdeb Bug 1308363 - Remove GONK specific code from gfx/. r=jrmuizel,sotaro 2016-10-27 13:17:10 +13:00
Sotaro Ikeda
1e67b0bbc2 Bug 1210357 - Handle VP9 colorspace BT.709 r=mattwoodrow,bas.schouten 2016-10-18 10:09:00 -07:00
Sebastian Hengst
156046f00e Backed out changeset c544bfb79ca0 (bug 1210357) for unexpected pass of layout/reftests/ogg-video/encoded-aspect-ratio-1.html on Windows XP. r=backout a=backout
MozReview-Commit-ID: 4s31c2d2fv1
2016-10-15 11:07:47 +02:00
Sotaro Ikeda
f0f1842ef8 Bug 1210357 - Handle VP9 colorspace BT.709 r=mattwoodrow,bas.schouten 2016-10-13 23:48:39 -07:00
Sotaro Ikeda
5343c84d72 Bug 1309443 - Add more updating mNeedsFullUpdate r=nical 2016-10-12 22:19:32 -07:00
Sotaro Ikeda
6a88402176 Bug 1285757 - Update mNeedsFullUpdate in BufferTextureHost::PrepareTextureSource() r=nical 2016-10-06 21:13:56 -07:00
Matt Woodrow
aeb39ca844 Bug 1288618 - Part 9: Add a new SurfaceDescriptor type for video decoding in the GPU process. r=nical 2016-09-21 21:24:44 +12:00
Carsten "Tomcat" Book
e2adb4a537 Backed out 16 changesets (bug 1288618) for bustage on a CLOSED TREE
Backed out changeset 06187d250f7a (bug 1288618)
Backed out changeset 2a47f8ea1d89 (bug 1288618)
Backed out changeset e179c8e8265d (bug 1288618)
Backed out changeset 25396a1af922 (bug 1288618)
Backed out changeset e98f835c6ee5 (bug 1288618)
Backed out changeset 24df0e89b273 (bug 1288618)
Backed out changeset f8bbdabdb6da (bug 1288618)
Backed out changeset 8b0adeab93df (bug 1288618)
Backed out changeset 95f23366de82 (bug 1288618)
Backed out changeset 63a9c689e1d5 (bug 1288618)
Backed out changeset 8f67443dccb8 (bug 1288618)
Backed out changeset 4e7fe69d5f45 (bug 1288618)
Backed out changeset 53b113acee42 (bug 1288618)
Backed out changeset 2583ae4e2e3b (bug 1288618)
Backed out changeset 75a61d0e71b7 (bug 1288618)
Backed out changeset da740b4fd484 (bug 1288618)
2016-09-21 08:44:11 +02:00
Matt Woodrow
b23ef021d9 Bug 1288618 - Part 9: Add a new SurfaceDescriptor type for video decoding in the GPU process. r=nical 2016-09-21 15:36:10 +12:00
David Anderson
58edf69c66 Remove PCompositable::DestroySync. (bug 1301780 part 2, r=nical) 2016-09-15 23:57:32 -07:00
Carsten "Tomcat" Book
86331b2aaf Backed out changeset 7ac458ce1e64 (bug 1288618) 2016-09-15 16:34:06 +02:00
Matt Woodrow
edc84a3547 Bug 1288618 - Part 9: Add a new SurfaceDescriptor type for video decoding in the GPU process. r=nical 2016-09-15 23:17:59 +12:00
Nicholas Nethercote
887efe04d5 Bug 1299727 - Rename NS_WARN_IF_FALSE as NS_WARNING_ASSERTION. r=erahm.
The new name makes the sense of the condition much clearer. E.g. compare:

  NS_WARN_IF_FALSE(!rv.Failed());

with:

  NS_WARNING_ASSERTION(!rv.Failed());

The new name also makes it clearer that it only has effect in debug builds,
because that's standard for assertions.
2016-09-01 15:01:16 +10:00
Kan-Ru Chen
a9b19d0584 Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
The patch is generated from following command:

  rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,

MozReview-Commit-ID: AtLcWApZfES
2016-08-24 14:47:04 +08:00
Sotaro Ikeda
51ac1827bf Bug 1254011 - Avoid allocating RGB buffer for YUV data everytime r=nical 2016-07-08 18:59:59 -07:00
Nicolas Silva
09ee6489a7 Bug 1279973 - Better handle video frames with varrying/inconsistent plane sizes and formats in the compositor. r=sotaro 2016-07-01 10:49:40 +02:00
Nicolas Silva
32b1cabd0b Bug 1280762 - ReadUnlock the TextureHost when its IPDL actor dies. r=sotaro 2016-06-21 18:06:34 +02:00
Kartikaya Gupta
0f90e1c211 Bug 1280297 - Add refcount logging support for AtomicRefCountedWithFinalize. r=nical,froydnj
MozReview-Commit-ID: JC6zq3Mit97
2016-06-16 23:27:08 +01:00
Sotaro Ikeda
cc18201e0b Bug 1252835 - Make TextureHost recycling implicit r=nical 2016-06-15 04:28:10 -07:00
Nicolas Silva
ea1a0f7cc4 Bug 1272600 - Part 7 - Add some documentation to TextureReadLock. r=sotaro 2016-06-02 11:00:33 +02:00
Nicolas Silva
64d4500cb3 Bug 1272600 - Part 6 - ReadUnlock BufferTextureHost as soon as its data is available. r=sotaro 2016-06-02 11:00:29 +02:00
Nicolas Silva
24337b0bf5 Bug 1272600 - Part 3 - Move the ReadUnlock logic from compositable to texture. r=sotaro 2016-06-02 11:00:21 +02:00
Nicolas Silva
6596fe57e0 Bug 1272600 - Part 2 - Store TextureReadLock into TextureClient/Host. r=sotaro 2016-06-02 11:00:17 +02:00
Jeff Muizelaar
638de2d11d Bug 1266491. Add a RGB_FROM_YCBCR texture flag. r=nical
We only use the SSSE3 scaler when this texture flag is set. This avoids using
it for compositing things other than video.
2016-05-28 10:12:11 -04:00
Sotaro Ikeda
2fd574c62e Bug 1274145 - Add HostIPCAllocator r=nical 2016-05-19 06:04:14 -07:00
George Wright
a71c0ca8cc Bug 1264764 - Move PTexture under PCompositorBridge r=nical,dvander 2016-05-13 12:52:19 -04:00
Milan Sreckovic
38e2649dca Bug 1270180: More instances of MOZ_CRASH converted to gfxDevCrash and getting GFX prefix. r=jgilbert
MozReview-Commit-ID: BFUu2JG9Tk2
2016-05-06 10:19:31 -04:00
Matt Woodrow
7d2c81f2bf Bug 1265468 - Update the compositor pointer on all TextureSources in the list when recycling in ImageHost. r=nical 2016-04-27 09:03:37 +12:00
JerryShih
d70c41656f Bug 1252237 - Remove the TextureHost shmem mapping failed assert. r=milan 2016-04-11 10:23:00 -04:00
Nicolas Silva
8a95dce6b6 Bug 1245813 - Make TextureHost bullet-proof against changing its compositor. r=dvander 2016-03-22 15:28:27 +01:00
Carsten "Tomcat" Book
3151649f4b Backed out changeset 38aa13f30b92 (bug 1245813) for bc7 crashes on a CLOSED TREE 2016-03-22 17:11:21 +01:00
Nicolas Silva
425f016193 Bug 1245813 - Make TextureHost bullet-proof against changing its compositor. r=dvander 2016-03-22 15:28:27 +01:00
Nicolas Silva
329b5544c1 Bug 1256693 - ISurfaceAllocator cleanup. r=sotaro 2016-03-17 14:58:58 +01:00