Commit Graph

386 Commits

Author SHA1 Message Date
Milan Sreckovic
103353b61b Bug 1088300: Diagnosting patch - MOZ_CRASH if we can't get an actor, instead of a nullptr crash. r=nical
MozReview-Commit-ID: GooHFBvbcTA

--HG--
extra : rebase_source : 876e397c18a8e622323918cd4af3626dfc8c4dfc
2016-08-24 12:59:28 -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
David Anderson
2b23d07c29 Move the DeviceManagerD3D9 singleton out of gfxPlatform. (bug 1297182 part 1, r=mattwoodrow)
--HG--
extra : rebase_source : 2ddbac1ce59cad17b9074a85d7ab11862d9b805d
2016-08-22 17:23:38 -07:00
Ryan VanderMeulen
1130d9b73e Backed out changeset 9b4c4fd433a9 (bug 1293908) for blowing up Linux64 tests. 2016-08-21 21:30:11 -04:00
George Wright
fefcfec2ff Bug 1293908 - Specify the LayersBackend to be used when creating Textures r=nical 2016-08-21 17:44:25 -04:00
Mason Chang
1dba66163c Bug 1293759. Memset RGBX surfaces with basic layers and a skia backend. r=lsalzman 2016-08-11 07:53:07 -07:00
Nicolas Silva
34d30ff986 Bug 1293772 - Check that the TextureClient is not internally shut down in Lock, Unlock and BorrowDrawTarget. r=jnicol 2016-08-10 14:30:42 +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
Iris Hsiao
bcf0cac2bd Backed out changeset 2e93b1e3adf0 (bug 1289640) 2016-08-02 16:51:24 +08:00
Iris Hsiao
3c82adc54e Backed out changeset 5ce69082c2fb (bug 1289640) 2016-08-02 16:51:16 +08:00
Matt Woodrow
8a4439734f Bug 1289640 - Fix non-Windows build bustage 2016-08-02 18:15:01 +12: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
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
Nicolas Silva
b62eea13f0 Bug 1284384 - Don't crash if TextureClient::Destroy is called between Lock and Unlock. r=sotaro 2016-07-26 12:56:38 +02:00
Carsten "Tomcat" Book
eec8b2656e Merge mozilla-central to autoland 2016-07-02 11:16:11 +02:00
Sotaro Ikeda
6fca51b4aa Bug 1283818 - Clean up BufferTextureData YCbCr format handling r=nical 2016-07-01 09:06:57 -07:00
Nicolas Silva
6837c5c2f2 Bug 1167235 - Part 4 - Forward the shutdown notification to CanvasRenderingContext2D. r=Bas 2016-07-01 10:58:18 +02:00
Nicolas Silva
10809f5f78 Bug 1167235 - Part 2 - Detach DrawTarget snapshots before unlocking TextureClient. r=Bas 2016-07-01 10:58:13 +02:00
Kearwood (Kip) Gilbert
c1ee67da2e Bug 1276811 - Enable TextureClient to be used without CompositableForwarder,r=nical
- Refactoring to make TextureClient use the higher-level
  TextureForwarder interface.

MozReview-Commit-ID: EMpsT2exGMf

--HG--
extra : rebase_source : 09d9110ad3fdffabe9e54eed13ef827893e568f4
2016-05-27 13:49:30 -07:00
Sotaro Ikeda
774306bc97 Bug 1280839 - Recycle SharedPlanarYCbCrImage r=nical 2016-06-29 19:12:31 -07:00
Nicolas Silva
93024c0a86 Bug 1281780 - Forward ShadowLayerForwarder texture-related methods to CompositorBridgeChild. r=gw280 2016-06-29 11:18:30 +02:00
Sebastian Hengst
9627074d03 Backed out changeset a901563fd181 (bug 1281780) for OS X 10.10 debug for assertion in TextureClient.cpp during R(C) 1246775-1.html. r=backout 2016-06-28 20:28:23 +02:00
Sebastian Hengst
1e83040b43 Backed out changeset b67548cc946e (bug 1167235) 2016-06-28 20:28:23 +02:00
Sebastian Hengst
7f0473d085 Backed out changeset f534fcb785c9 (bug 1167235) 2016-06-28 20:28:22 +02:00
Nicolas Silva
f8343772b9 Bug 1167235 - Part 4 - Forward the shutdown notification to CanvasRenderingContext2D. r=Bas 2016-06-28 14:07:00 +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
Nicolas Silva
d3e9d5d23c Bug 1281780 - forward ShadowLayerForwarder texture-related methods to CompositorBridgeChild. r=gw280 2016-06-28 14:06:46 +02:00
Markus Stange
53778de528 Bug 1261166 - Add the ability to use IOSurface instead of texture upload on OS X. r=nical,mattwoodrow
Initial patch by Markus Stange, additional fixes by Kartikaya Gupta. The code
to use IOSurface is guarded by a pref that is disabled by default.

MozReview-Commit-ID: LbhsYu4zMRV
2016-06-27 11:25:13 -04:00
Sotaro Ikeda
20a765bfb9 Bug 1281169 - Temporarily disable gonk fence handling r=nical 2016-06-23 19:06:40 -07:00
George Wright
e69fbec6a5 Bug 1176011 - Move TextureClientPool to CompositorBridgeChild r=nical 2016-06-18 03:35:10 +01:00
Kartikaya Gupta
3877e9861b 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
f731d220ed Bug 1252835 - Make TextureHost recycling implicit r=nical 2016-06-15 04:28:10 -07:00
Phil Ringnalda
6102ffe8a1 Back out changeset c3d167fbd0e4 (bug 1176011) for frequent crashes @mozilla::layers::FixedSizeSmallShmemSectionAllocator::ShrinkShmemSectionHeap() 2016-06-10 19:05:25 -07:00
George Wright
29e2a97139 Bug 1176011 - Move TextureClientPool to CompositorBridgeChild r=nical 2016-06-10 14:57:20 -04:00
Wes Kocher
900af5349d Backed out changeset a85da8081c68 (bug 1176011) of OSX failures 2016-06-08 11:44:29 -07:00
George Wright
4a2717ba01 Bug 1176011 - Move TextureClientPool to CompositorBridgeChild r=nical 2016-06-08 12:23:41 -04:00
George Wright
20caba9bab Revert "Bug 1176011 - Move TextureClientPool to CompositorBridgeChild r=nical" on a CLOSED TREE
This reverts commit 5e29613bb6bc66d13bc63c4fab3a0130e801a058.
2016-06-07 17:37:59 -04:00
George Wright
7eeaa7b6cd Bug 1176011 - Move TextureClientPool to CompositorBridgeChild r=nical 2016-06-07 14:33:23 -04:00
Nicolas Silva
aeec29dd87 Bug 1272600 - Part 8 - Simplify the textures ReadLock on the content side. r=sotaro 2016-06-02 11:00:36 +02:00
Nicolas Silva
bdb76dfbb8 Bug 1272600 - Part 7 - Add some documentation to TextureReadLock. r=sotaro 2016-06-02 11:00:33 +02:00
Nicolas Silva
1d7c8451c8 Bug 1272600 - Part 3 - Move the ReadUnlock logic from compositable to texture. r=sotaro 2016-06-02 11:00:21 +02:00
Nicolas Silva
0a313355f8 Bug 1272600 - Part 2 - Store TextureReadLock into TextureClient/Host. r=sotaro 2016-06-02 11:00:17 +02:00
Nicolas Silva
e81b585b53 Bug 1272600 - Part 1 - Preliminary cleanups for the ReadLock patch queue. r=sotaro 2016-06-02 11:00:12 +02:00
Nicolas Silva
15c05c673a Bug 1273854 - Temporarily disable the TextureChild's mutex if not using ImageBridge. r=bas 2016-05-31 18:04:58 +02:00
Nicolas Silva
6f18e1035a Bug 1273854 - Document the locking patterns in TextureChild that don't play well with tsan. r=bas, jseward 2016-05-31 18:03:51 +02:00
Botond Ballo
ee8e0b9c30 Bug 1273227 - Fix an assertion in TextureClient::Unlock(). r=nical
MozReview-Commit-ID: JwWPe4F0NCq

--HG--
extra : rebase_source : 82262bd0a1ca7a0aa32e7007578b5b00e8139f0f
2016-05-25 13:16:25 -04:00
Sotaro Ikeda
9e1b71d4c8 Bug 1272114 - Suppress error log r=nical 2016-05-12 05:58:13 -07:00
Matt Woodrow
56561ae673 Bug 1260611 - Part 1: Opt-in to waiting for compositor recycling for TextureClientRecycleAllocator. r=sotaro
--HG--
extra : rebase_source : 1035ebcfaa2bd67a259b0f177ed4b9fef92a5792
2016-04-22 15:39:56 +12:00