Bas Schouten
66a872a296
Bug 1102499: Use WARP by default when D3D11 is available. r=BenWa
...
This will cause us to use WARP for composition on systems with Direct3D 11 when hardware acceleration is blacklisted or we're unable to find a powerful enough graphics card. It also allows us to force WARP on, in that situation WARP will also be used for Direct2D content rendering if Direct2D is enabled. Essentially this will ensure all systems running Windows 7 or higher always use D3D11 as their composition backend.
2014-12-06 00:02:19 +00:00
Jeff Muizelaar
4ccd862efa
Bug 1097321. Reduce the amount of dual AMD/intel blacklisting. r=Bas
...
Instead detect the broken shared surfaces and only black list then.
--HG--
extra : rebase_source : 8ea9b50bd1329132574de88860c694cdedccc069
2014-12-04 23:03:31 -08:00
Jacek Caban
fa07b549d1
Bug 1102804 - Fixed -Wparentheses warnings found in mingw build (gfx and widget part). r=jmathies
2014-11-27 10:58:41 +01:00
Jacek Caban
eabe22d66f
Bug 1026893 - mingw fixup.
2014-11-27 10:58:26 +01:00
neil@parkwaycc.co.uk
27492d72c1
Bug 1103868 - "'SupportsD2D1' : is not a member of 'mozilla::gfx::Factory'". r=bas
2014-11-26 01:33:00 +01:00
Bas Schouten
a4160bd481
Bug 1026893 - Followup: Address review comment. r=me
2014-11-24 21:11:24 +00:00
Bas Schouten
5979d48779
Bug 1026893 - Catch exceptions during D3D11 initialization. r=jmuizelaar
2014-11-24 15:40:29 -05:00
Bas Schouten
a1c3f897af
Bug 1103176: Block Direct2D when D3D11 layers is blacklisted. r=BenWa
...
When the D3D11 compositor is blocked through blacklisting, we have no way of using Direct2D in a fast manner and do not want it to be used in any situation.
2014-11-24 19:44:52 +00:00
Jonathan Watt
63ffb25058
Bug 1100448 - Protect against null cairo_surface_t when getting the underlying surface from DrawTargetCairo. r=Bas
2014-11-17 21:41:41 +00:00
Jeff Muizelaar
2e91f43b73
Bug 1092260. Use PREVENT_INTERNAL_THREADING_OPTIMIZATIONS with D3D11. r=bas
...
Using this seems to avoid the AMD frame delay bug.
--HG--
extra : rebase_source : 1b867ebfef30d1c1a426c7510591770f362d2b28
2014-11-18 17:29:57 -05:00
Jeff Muizelaar
6514be6291
Bug 1088414. Backout "Use a single synchronized texture for d3d11"
...
https://hg.mozilla.org/mozilla-central/rev/e2efedec2d60
2014-11-17 14:20:05 -05:00
Matt Woodrow
a543eacc24
Bug 1088414. Use a single synchronized texture for d3d11. r=bas,f=jrmuizel
...
Calling AcquireSync on textures created with
D3D11_RESOURCE_MISC_SHARED_KEYEDMUTEX appears to be really slow, this really
bites us with the number of textures involved when tiling.
I've also tested using ID3D11Query to check when work is completed, this also
appears to be pretty slow.
This instead just uses a single texture with a keyedmutex, and makes sure we
draw to it last and lock it first. It's pretty hacky, but seems to work really
well so far.
--HG--
extra : rebase_source : bf5f56751f993e507fcd1e5c386fb1fc9a3f73af
2014-10-22 15:37:00 +13:00
Bas Schouten
ffc65e20a8
Bug 1097803: Report succesful Direct2D 1.1 usage. r=jrmuizel
2014-11-12 18:44:31 +00:00
Benoit Jacob
fc6fa1ba2e
Bug 1095575 - DoesD3D11DeviceWork() should be overridable by force-enable prefs - r=bas
2014-11-12 11:48:01 -05:00
Michael Wu
b1eff34262
Bug 1082827: Allow D2D 1.1 to be selected for the canvas backend. r=bas
2014-11-12 15:05:14 +00:00
Jonathan Watt
60cc7c1240
Bug 1093806 - Convert DCFromContext to DCFromDrawTarget. r=Bas
2014-11-10 21:41:40 +00:00
Jeff Muizelaar
62c082d454
Bug 1021265. Fix DisplayLink version expansion code. r=Bas,a=lawrence
...
GFX_DRIVER_VERSION(8,6,..) expands to 8.0006....
but ParseVersion(8.6,...) gives 8.5000...
This was an unfortunate error. Having better static typing
of versions would have helped here.
--HG--
extra : rebase_source : 8eb9fc7d337a017b350e6ef1935f99fd4383114d
2014-11-10 16:11:42 -05:00
Wes Kocher
28083a633b
Backed out changeset dc2e15a7df8d (bug 1096535) for bustage on a CLOSED TREE
2014-11-10 12:53:34 -08:00
Jeff Muizelaar
30949640a4
Bug 1096535. Add more DisplayLink logging. r=bas
...
--HG--
extra : rebase_source : 6569641159d6e89abcbf677b38df449333714db3
2014-11-10 15:18:10 -05:00
Benoit Jacob
ace8bc5c38
Bug 1093863 - Blacklist D3D on dual Intel/AMD not advertised as such in the registry - r=jrmuizel CLOSED TREE
2014-11-05 17:43:33 -05:00
Benoit Jacob
655a37a8b5
Bug 1021265 - Add AppNotes about blacklisting DisplayLink - r=jrmuizel
2014-11-04 18:17:11 -05:00
Benoit Jacob
83e8f4aa9c
Bug 1021265 - Fix bustage - no review on a CLOSED TREE
2014-11-04 14:47:15 -05:00
Benoit Jacob
1de8627850
Bug 1021265 - regard d3d11 as broken with displaylink on versions <= 8.6.1.36484, and fall back to basic layers - r=jrmuizel
2014-11-03 17:55:00 -05:00
Benoit Jacob
afdef4dd16
Bug 1089413 - Only test resource sharing on d3d feature level >= 10. r=jmuizelaar, a=sledru
2014-10-27 10:36:00 -04:00
Benoit Jacob
f5615284a4
Bug 1083071 - Avoid touching D3D11 at all, even to test if it works, if D3D11 layers are blacklisted. r=Bas, r=jmuizelaar
2014-10-26 18:46:09 -04:00
Ryan VanderMeulen
a1c483ddd9
Backed out changeset 4d4abe4bee7f (bug 1083071) for bustage.
2014-10-26 18:44:40 -04:00
Benoit Jacob
718ce6f277
Bug 1083071 - Avoid touching D3D11 at all, even to test if it works, if D3D11 layers are blacklisted. r=Bas, r=jmuizelaar
2014-10-26 08:01:00 -04:00
Jeff Muizelaar
ee753b9268
Bug 1083071 - Disable D3D11 and D3D9 layers on broken drivers. r=bjacob
...
This will hopefully prevent black screen problems that people are seeing.
2014-10-23 00:15:22 -04:00
Ryan VanderMeulen
fedaf93339
Backed out changeset 2b05d4e71d11 (bug 1083071) for Win7 mochitest-1 leaks.
2014-10-23 12:53:13 -04:00
Jeff Muizelaar
0712bcef0e
Bug 1083071. Disable D3D11 and D3D9 layers on broken drivers.
...
This will hopefully prevent black screen problems that people are seeing.
--HG--
extra : rebase_source : 8ba080a4a9a81a1124020cd5ed5395bf262c5d4a
2014-10-22 21:38:18 -04:00
Vladimir Vukicevic
6714de3f8e
Bug 912196. Add support for ANGLE D3D11 path. r=jgilbert
...
There are currently problems with the color format chosen
which breaks MSAA resolution. But we might as well land this
now.
--HG--
extra : rebase_source : 1287e5c059e263d03b0d612ce5cf17e93bc5b033
2014-04-03 13:29:22 +08:00
Jonathan Kew
1b4072d000
Bug 1064737 pt 2 - Support for WOFF2 as a webfont format. r=jdaggett
2014-10-04 11:36:05 +01:00
Bas Schouten
b7069da61a
Bug 1074272: Use exception mode 0 for our D3D11 devices. r=jrmuizel
2014-09-30 17:51:09 +02:00
Jonathan Kew
21d25f9507
Bug 727276 - Use emoji-style variation selector to help GetCommonFallbackFonts make an appropriate choice. r=roc
2014-09-30 07:27:55 +01:00
Bas Schouten
e225e93649
Bug 1072404: Firefox may crash when the D3D device is removed while rendering. r=mattwoodrow
2014-09-24 17:12:10 +00:00
Robert Longson
919cdd6467
Bug 1068590 - gfxWindowsPlatform does not build on WinXP. r=bas
2014-09-17 18:35:00 +01:00
Jonathan Kew
08babb6a11
bug 1066043 - split gfxFont.cpp and .h into more manageably-sized pieces. r=jdaggett
...
--HG--
rename : gfx/thebes/gfxFont.cpp => gfx/thebes/gfxFontEntry.cpp
rename : gfx/thebes/gfxFont.h => gfx/thebes/gfxFontEntry.h
rename : gfx/thebes/gfxFont.cpp => gfx/thebes/gfxGlyphExtents.cpp
rename : gfx/thebes/gfxFont.h => gfx/thebes/gfxGlyphExtents.h
rename : gfx/thebes/gfxFont.cpp => gfx/thebes/gfxTextRun.cpp
rename : gfx/thebes/gfxFont.h => gfx/thebes/gfxTextRun.h
2014-09-16 10:58:12 +01:00
Matt Woodrow
b14244ee9a
Bug 1046550 - Part 3: Use Direct2D 1.1 when preffed on. r=bas
2014-09-14 23:51:27 +02:00
Bas Schouten
019c0468a9
Bug 1046550 - Part 1: Add content device to gfxWindowsPlatform. r=mattwoodrow
2014-09-14 23:51:27 +02:00
John Daggett
6a628f87a7
Bug 1062058 part 1 - avoid passing around proxy font entry object. r=heycam
2014-09-08 16:23:19 +09:00
John Daggett
100e7f2947
Bug 1059691. Cleanup tabs in gfx/thebes source files. r=mkato
2014-08-29 13:18:28 +09:00
Nicholas Nethercote
8c60d14a1a
Bug 1050009 - Initialize pldhash tables with a length, not a capacity. r=roc.
...
* * *
imported patch rm-dummy-params
--HG--
extra : rebase_source : c25987eb11bae197218d5fc53b77def19afa36ac
2014-08-06 06:31:21 -07:00
Bas Schouten
2b9855ad33
Bug 947781 - Part 2: Add the ability to readback texture data to TextureClient. r=nical
2014-07-30 15:38:46 +02:00
Ed Morley
fbefd28529
Backed out changeset c4ecea1452e9 (bug 947781)
2014-07-30 14:54:08 +01:00
Bas Schouten
9a0677f6e4
Bug 947781 - Part 2: Add the ability to readback texture data to TextureClient. r=nical
2014-07-30 15:38:46 +02:00
Ehsan Akhgari
b3192c77f0
Bug 1040038 - Give GfxD2DSurfaceReporter a private destructor; r=bjacob
...
--HG--
extra : rebase_source : caa4478e14cd1d526978700e3d0cfe28a3af0068
2014-07-17 16:47:19 -04:00
Ehsan Akhgari
07bd0a646b
Bug 1038156 - Give GPUAdapterReporter a private destructor; r=bjacob
2014-07-15 16:41:50 -04:00
Ehsan Akhgari
9a0fcc2002
Bug 1038155 - Give GfxD2DVramReporter a private destructor; r=bjacob
2014-07-14 21:49:53 -04:00
Jonathan Watt
699556edfb
Bug 1034702 - Remove gfxPlatform::GetThebesSurfaceForDrawTarget(). r=Bas
2014-07-10 10:58:09 +01:00
Walter Litwinczyk
324cfd1c23
Bug 701948 - Rename nsIGfxInfo::FEATURE_NO_INFO to nsIGfxInfo::FEATURE_STATUS_OK. r=jgilbert
2014-07-01 14:44:09 -07:00