Commit Graph

438 Commits

Author SHA1 Message Date
Matt Woodrow
3b4d158ee3 Bug 1314189 - Only create a RemoteVideoDecoder if the current LayerManager is using the GPU process. r=dvander 2016-11-03 09:57:15 +13:00
Matt Woodrow
56b15734eb Bug 1313281 - Part 4: Remove Fence parameter from TextureData::Lock. r=sotaro 2016-10-27 21:02:09 +13:00
Sotaro Ikeda
a514bb26e8 Bug 1310405 - Set DXGIYCbCrTexture YUVColorSpace to BT601 r=mattwoodrow 2016-10-24 18:17:39 -07:00
GuanWen-Chen
b8e5996416 Bug 1292273 - Add logs to record the failure of compositor creation. r=dvander 2016-10-22 20:28:00 -04:00
GuanWen-Chen
9c8aa23da3 Bug 1292273 - Skip CompositorD3D11::EndFrame when device-removed happened and add some logs for tracking the behavior. r=dvander 2016-10-22 20:27:00 -04:00
Sotaro Ikeda
5a134d6b42 Bug 1210357 - Handle VP9 colorspace BT.709 r=mattwoodrow,bas.schouten 2016-10-18 10:09:00 -07:00
Sebastian Hengst
6b5c3baeae 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
f35d8f724b Bug 1210357 - Handle VP9 colorspace BT.709 r=mattwoodrow,bas.schouten 2016-10-13 23:48:39 -07:00
Matt Woodrow
11cd1c4662 Bug 1292923 - Don't upload to textures during creation on Intel cards as it frequently crashes. r=dvander 2016-10-06 14:32:55 +02:00
Carsten "Tomcat" Book
7822855f50 Backed out changeset 3855dd4690ab (bug 1292923) for conflicts with m-c
--HG--
extra : rebase_source : 158207ae257965fbdffe51934d5c540188175859
2016-10-06 15:18:20 +02:00
Matt Woodrow
d59abae49f Bug 1292923 - Don't upload to textures during creation on Intel cards as it frequently crashes. r=dvander 2016-09-28 13:28:47 +13:00
Matt Woodrow
2980c56cf9 Backout d35d695f921d for causing compile failures. 2016-10-06 19:13:30 +13:00
Matt Woodrow
0dfc4f3bfa Bug 1292923 - Don't upload to textures during creation on Intel cards as it frequently crashes. r=dvander
--HG--
extra : rebase_source : 403e604c6496b95e6f8e2f9320e918d4cdafe0f8
2016-09-28 13:28:47 +13:00
Matt Woodrow
55f506db9f Bug 1281456 - Decouple TextureForwarder and CompositableForwarder. r=gw280 2016-09-27 16:22:20 +13:00
Matt Woodrow
2b82a4295e Bug 1302918 - Remove old Compositor sharing code. r=nical 2016-09-23 09:44:46 +12:00
Matt Woodrow
356ce39110 Bug 1288618 - Part 8: Add Compositor API to create a TextureSource from a layers::Image. r=nical 2016-09-21 21:24:43 +12:00
Carsten "Tomcat" Book
f918af64da 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
2cb0c77257 Bug 1288618 - Part 8: Add Compositor API to create a TextureSource from a layers::Image. r=nical
--HG--
extra : rebase_source : 7498abba1e4e364e9a299ee55b44070c6a65f55a
2016-09-21 15:36:09 +12:00
Carsten "Tomcat" Book
b3103bcc88 Backed out changeset da04776fc1bd (bug 1288618) 2016-09-15 16:34:07 +02:00
Matt Woodrow
5c29dcbfd9 Bug 1288618 - Part 8: Add Compositor API to create a TextureSource from a layers::Image. r=nical 2016-09-15 23:17:59 +12:00
JerryShih
1ea51c8a63 Bug 1298058 - Use different lock/unlock function for WebVR composition path. r=milan 2016-09-05 01:17:00 -04:00
Sotaro Ikeda
1ff245b181 Bug 1259571 - Reduce tearing with basic layers on Windows r=dvander
--HG--
rename : gfx/thebes/DeviceManagerD3D11.cpp => gfx/thebes/DeviceManagerDx.cpp
rename : gfx/thebes/DeviceManagerD3D11.h => gfx/thebes/DeviceManagerDx.h
2016-08-23 15:18:55 -07:00
Benoit Girard
ef65c57e34 Bug 1296381 - Remove FEATURE_FAILURE_D3D11_VR_BUFFER which was not removed. r=me
MozReview-Commit-ID: EdtB0o3XD8y
2016-08-18 14:36:56 -04:00
JerryShih
3f3f8a21ec Bug 1292774 - Turn to use gfxCriticalNote for mismatched d3d11 device in CompositorD3D11::HandleError(). r=dvander
--HG--
extra : rebase_source : 5e7d7e39f03a3680833815ce099e8bb6938e7deb
2016-08-09 01:29:00 -04:00
David Anderson
e12140216e Don't use nsIGfxInfo in CompositorD3D11. (bug 1294339, r=mattwoodrow) 2016-08-13 12:12:51 -07:00
Kearwood (Kip) Gilbert
434f167559 Bug 1250244 - Part 7: Implement WebVR 1.0 API,r=bz
MozReview-Commit-ID: JTOmaWePlJq
2016-02-24 15:54:50 -08:00
Kearwood (Kip) Gilbert
2c3a6a5f88 Bug 1250244 - Part 2: Remove old VR rendering paths,r=gw280
MozReview-Commit-ID: 8H7spQggI2w
2016-05-27 13:49:04 -07: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
Nicolas Silva
569564c271 Bug 1291163 - Make sure TextureHosts are read-unlock'ed if Compositor::EndFrame is not called. r=sotaro 2016-08-09 18:19:01 +02:00
Carsten "Tomcat" Book
90f6c2d3fd Backed out changeset 02d76f158f3d (bug 1259571) for talos xperf regressions
--HG--
rename : gfx/thebes/DeviceManagerDx.cpp => gfx/thebes/DeviceManagerD3D11.cpp
rename : gfx/thebes/DeviceManagerDx.h => gfx/thebes/DeviceManagerD3D11.h
2016-08-08 11:53:51 +02:00
Sotaro Ikeda
41a9daf725 Bug 1259571 - Try tearing-free drawing with GDI r=dvander,mattwoodrow
--HG--
rename : gfx/thebes/DeviceManagerD3D11.cpp => gfx/thebes/DeviceManagerDx.cpp
rename : gfx/thebes/DeviceManagerD3D11.h => gfx/thebes/DeviceManagerDx.h
2016-08-07 23:54:12 -07:00
Matt Woodrow
2c65f7fdb0 Bug 1289640 - Part 4: Make SourceSurfaceImage::GetTextureClient use the threadsafe upload with D3D11 so that we no longer rely on having a separate device. r=nical
--HG--
extra : rebase_source : aa63efd52e1b013251392e3bd4ec29af0e1286f0
2016-08-02 17:57:41 +12:00
Matt Woodrow
cd24a38c5a Bug 1289640 - Part 3: Add a new constructor for D3D11TextureData that does threadsafe uploading. r=Bas
--HG--
extra : rebase_source : 5a57cf9addc68025cdaa13458c10ade3686bbec4
2016-08-02 17:55:44 +12:00
David Anderson
334f06fca3 Fix D3D11 mix-blending when the source alpha is 0. (bug 1281593 part 1, r=mstange)
--HG--
extra : rebase_source : bec9c0b07e07200e3b770a15f0b120d5d62dbbd7
2016-08-02 11:43:15 -07:00
Iris Hsiao
6d48efa876 Backed out changeset d55d65c8fb73 (bug 1289640) 2016-08-02 16:51:30 +08:00
Iris Hsiao
bcf0cac2bd Backed out changeset 2e93b1e3adf0 (bug 1289640) 2016-08-02 16:51:24 +08:00
Matt Woodrow
8a78323b3b Bug 1289640 - Part 4: Make SourceSurfaceImage::GetTextureClient use the threadsafe upload with D3D11 so that we no longer rely on having a separate device. r=nical 2016-08-02 17:57:41 +12:00
Matt Woodrow
c4533b81ff Bug 1289640 - Part 3: Add a new constructor for D3D11TextureData that does threadsafe uploading. r=Bas 2016-08-02 17:55:44 +12:00
Nicolas Silva
95f6fa7521 Bug 1290498 - Process deferred texture ReadUnlock after compositor swap instead of before. r=sotaro 2016-08-01 14:47:57 +02:00
David Anderson
b7855c4ee9 Add DeviceManagerD3D11 as a wrapper around gfxWindowsPlatform. (bug 1282364 part 1, r=mattwoodrow)
--HG--
extra : rebase_source : 3ea710ffdaabf737374958e80f6235c1c8861237
2016-07-26 12:50:30 -07:00
Mason Chang
259933fb0b Bug 1279063. Part 2: Use RGBA instead of RGBX surface format for DXVA video. r=bas 2016-07-25 16:36:36 -07:00
eyim
731d8bd1c6 Bug 1002846 - Add telemetry to OpenGL compositor r=BenWa
MozReview-Commit-ID: 1HA0dmX0SmN

--HG--
extra : rebase_source : 545c5e48c25428c5fb4736e3a3d9f25280805472
2016-07-05 15:41:21 -04:00
Nicolas Silva
10809f5f78 Bug 1167235 - Part 2 - Detach DrawTarget snapshots before unlocking TextureClient. r=Bas 2016-07-01 10:58:13 +02:00
David Anderson
3f0ea0572d Rename CompositorWidgetProxy files to CompositorWidget. (bug 1281998 part 2, r=jimm)
--HG--
rename : widget/CompositorWidgetProxy.cpp => widget/CompositorWidget.cpp
rename : widget/CompositorWidgetProxy.h => widget/CompositorWidget.h
rename : widget/windows/WinCompositorWidgetProxy.cpp => widget/windows/WinCompositorWidget.cpp
rename : widget/windows/WinCompositorWidgetProxy.h => widget/windows/WinCompositorWidget.h
2016-07-01 01:15:16 -07:00
Phil Ringnalda
0d0d24bccc Back out 7 changesets (bug 1281998) for Windows Marionette crashes
Backed out changeset d806fac2c856 (bug 1281998)
Backed out changeset b8d4fedfd7eb (bug 1281998)
Backed out changeset a72929c0c3ec (bug 1281998)
Backed out changeset 74198f88fa37 (bug 1281998)
Backed out changeset 54a0e73f6906 (bug 1281998)
Backed out changeset 99d1da1293b7 (bug 1281998)
Backed out changeset a5a9585754b1 (bug 1281998)

--HG--
rename : widget/CompositorWidget.cpp => widget/CompositorWidgetProxy.cpp
rename : widget/CompositorWidget.h => widget/CompositorWidgetProxy.h
rename : widget/windows/WinCompositorWidget.cpp => widget/windows/WinCompositorWidgetProxy.cpp
rename : widget/windows/WinCompositorWidget.h => widget/windows/WinCompositorWidgetProxy.h
2016-06-29 19:35:24 -07:00
David Anderson
804c1ee06f Rename CompositorWidgetProxy files to CompositorWidget. (bug 1281998 part 2, r=jimm)
--HG--
rename : widget/CompositorWidgetProxy.cpp => widget/CompositorWidget.cpp
rename : widget/CompositorWidgetProxy.h => widget/CompositorWidget.h
rename : widget/windows/WinCompositorWidgetProxy.cpp => widget/windows/WinCompositorWidget.cpp
rename : widget/windows/WinCompositorWidgetProxy.h => widget/windows/WinCompositorWidget.h
extra : rebase_source : 8ecf59ad6039f0d0d2a51008aef53ef37aa2ce0e
2016-06-29 16:47:22 -04:00
Sebastian Hengst
1e83040b43 Backed out changeset b67548cc946e (bug 1167235) 2016-06-28 20:28:23 +02:00
Nicolas Silva
24410dac99 Bug 1167235 - Part 2 - Detach DrawTarget snapshots before unlocking TextureClient. r=Bas 2016-06-28 14:06:55 +02:00
Milan Sreckovic
0cb5bffb6c Bug 1239188: Get the information if the sync is ever abandoned, rather than just timed out. r=jrmuizel
MozReview-Commit-ID: 6mzezs2PZLI

--HG--
extra : rebase_source : 7529af1fc23cbac493cdcd0930aa285c05bc383a
2016-06-24 12:38:36 -04:00
Sotaro Ikeda
f731d220ed Bug 1252835 - Make TextureHost recycling implicit r=nical 2016-06-15 04:28:10 -07:00