Commit Graph

17802 Commits

Author SHA1 Message Date
Jonathan Watt
da852fb016 Bug 1083079 - Prevent the size of TiledDrawTarget from being zero due to its tiles having negative offsets. r=mattwoodrow 2014-12-05 03:00:24 -08:00
Dan Glastonbury
dd19bb1f83 Bug 1097416 - [WebGL2] Enable WebGL 2 if all required features are available. r=jgilbert
--HG--
extra : rebase_source : 696e99670b8184593ea8ca9aa4becb1c4d86cad6
extra : source : e2ff0e2bcf21067b6a121e50e4f290227aedc6c6
2014-10-27 09:36:26 +10:00
Bas Schouten
3eaeba266b 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
Bas Schouten
76753982e0 Bug 1107299: Only block shared surface usage when that is broken. r=jrmuizel
Currently when the usage of surface sharing is broken on certain drivers, be block D3D11 entirely and fall back to Basic composition. There's no real benefit in this case from disabling D3D11 entirely, and we might as well just use it with software composition like we do when we don't have Direct2D, and in addition to that disable texture sharing for webGL, falling back to slow WebGL which again is no worse than the situation when using Basic or D3D9 composition.
2014-12-06 00:02:18 +00:00
Bas Schouten
184e84297b Bug 1107297: Only recomposite the damaged rect with D3D11. r=jrmuizel
This patch makes us behave similarly to when we're using the BasicCompositor, essentially we will clip all drawing to the final display to the area that was labeled as invalid. When DXGI 1.2 is available we will then also report the damaged area to the Present call so that can then be used to minimize the amount of bits that actually need to be blitted to the screen. Since we're no longer recompositing the whole screen this means we should also only clear the damaged area of the window.
2014-12-06 00:02:18 +00:00
Kartikaya Gupta
b087bbd3b4 Bug 1107606 - Allow smooth-scroll triggering on the same transaction as the creation of a new APZC. r=botond,kip 2014-12-05 00:04:36 -08:00
Milan Sreckovic
e181f2a9bf Bug 1100530 - Clean up OS X version constants. f=jgilbert, r=mstange 2014-11-28 17:28:59 -05:00
Jeff Muizelaar
94f253f798 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
Jonathan Watt
e13b0d19cd Bug 1107417 - Remove gfxContext::Polygon(). r=Bas
--HG--
extra : rebase_source : ec3568087fc1e3d60613853262921e9114cd9fc3
2014-12-02 14:37:11 -08:00
Jonathan Watt
8f47bfb387 Bug 1107414 - Get rid of gfxContext::FillWithOpacity. r=mattwoodrow
--HG--
extra : rebase_source : d64412c46d72a4d08be8edf1913c83bb12387b49
2014-12-02 14:29:44 -08:00
Jeff Muizelaar
c3a9dd35ed Bug 1094097. Fix building ANGLE without D3D11. r=jrmuizel
--HG--
extra : rebase_source : 0a1bfad2cdd76ddf26565d664f3b0e1c5a208cba
2014-12-02 17:46:32 -08:00
Jeff Muizelaar
5b4a6569a5 Bug 1049138. Add more crashing to PadDrawTargetOutFromRegion. r=BenWa
try: -b do -p all -u all -t none
Hopefully, this will give us a better idea of what the problem is.

--HG--
extra : rebase_source : 4f048b2501bb13edc4e257aa561bce87ea3137fd
2014-11-26 17:57:20 -05:00
Jeff Muizelaar
76435865a2 Bug 1105015. Make the UnboundnessFixer more readable. r=milan
--HG--
extra : rebase_source : f584762adbf2afbbdccc563f2a198ac069ef0106
2014-11-25 17:20:33 -05:00
Nicolas Silva
09a19cc46c Bug 1104008 - Make sure the D3D11 swapchain's textures are cleared before resizing. r=Bas. 2014-12-02 14:28:19 +01:00
Dan Glastonbury
baf3f4332f Bug 1048724 - [WebGL2] Transform Feedback. r=jgilbert,smaug
--HG--
extra : rebase_source : 40fe3ec66b091ced40f5a773fdc23d06bf6abc11
2014-11-26 12:00:06 +10:00
Benoit Girard
4828cf4930 Bug 1097941 - Properly disable paint-will-resample on b2g. r=jmuizel 2014-11-28 18:42:20 -05:00
Kartikaya Gupta
1f58b3cb37 Bug 1105836 - Automatically confirm the target APZC for an input block that arrives during fast-motion. r=botond 2014-11-28 12:25:41 -05:00
Kartikaya Gupta
8050e8e61a Bug 1105836 - Add more logging to the APZ code. r=botond 2014-11-28 12:25:41 -05:00
Seth Fowler
659ab90036 Bug 1104622 (Part 1) - Remove DiscardTracker. r=tn 2014-11-27 19:55:57 -08:00
Andreas Pehrson
ebcef0c606 Bug 1089214 - Avoid using null query in D3D9SurfaceImage::EnsureSynchronized. r=nical 2014-11-27 17:56:00 -08:00
Jacek Caban
d07ffd53a9 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
b565b9b163 Bug 1026893 - mingw fixup. 2014-11-27 10:58:26 +01:00
Jonathan Kew
644149da01 Bug 1102406 - Ensure conversion factor for font units is set up before trying to read vertical metrics. r=jdaggett 2014-11-27 09:31:15 +00:00
neil@parkwaycc.co.uk
bece8444a3 Bug 1103868 - "'SupportsD2D1' : is not a member of 'mozilla::gfx::Factory'". r=bas 2014-11-26 01:33:00 +01:00
Ryan VanderMeulen
9e581b1d56 Merge m-c to inbound. a=merge 2014-11-26 21:43:23 -05:00
Ryan VanderMeulen
b3ebe654a9 Merge b2g-inbound to m-c. a=merge 2014-11-26 21:39:08 -05:00
Ryan VanderMeulen
7f46616db0 Backed out changesets 258ac2909d6e and 55252aebf52d (bug 1099437) for bustage.
CLOSED TREE
2014-11-26 14:14:16 -05:00
Kartikaya Gupta
f0cd002422 Bug 1085404 - When interacting with a fast-moving APZC, don't send the events to content. r=botond 2014-11-26 12:41:06 -05:00
Kartikaya Gupta
9ad226a883 Bug 1105295 - Stop using scrollinfo layers when event regions are enabled. r=botond 2014-11-26 12:40:55 -05:00
Milan Sreckovic
f9a7013c29 Bug 1099437 - Part 2: Clean up int vs uint usage. r=nical 2014-11-20 15:23:41 -05:00
Milan Sreckovic
411c282565 Bug 1099437 - Part 1: Protect against negative sizes and overflow. r=nical 2014-11-20 15:07:22 -05:00
Carsten "Tomcat" Book
23ce0dc648 Backed out changeset c70381132ccf (bug 1060869) 2014-11-26 11:57:06 +01:00
Seth Fowler
573fc1be58 Bug 1060869 (Part 3) - Make the SurfaceCache free only a fraction of its data on memory pressure. r=dholbert 2014-11-26 01:37:56 -08:00
James Willcox
4baca31f84 Bug 1097116 - More build bustage r=me
--HG--
extra : rebase_source : 74dce437c198a17280d1fdf459d4e87a64808b21
2014-11-26 16:22:41 -06:00
Nicolas Silva
5b9e4409a2 Bug 1036682 - Prevent LayerTransactionChild from sending messages after it has been destroyed. r=jrmuizel 2014-11-26 14:11:11 -08:00
Nicolas Silva
01dc7cd769 Bug 1086670 - Add more gfxCriticalError logging in the D2D backend. r=jrmuizel 2014-11-26 21:05:01 +01:00
James Willcox
e0e268d8b1 Bug 1097116 - Followup for non-unified build breakage r=me CLOSED TREE
--HG--
extra : rebase_source : 697dc2f8d1661196ac8bb169fc4797b59af61fa3
extra : amend_source : 2aa014a0dec495466b854aebd5b19d1b5de4279e
2014-11-26 15:43:57 -06:00
James Willcox
54b19cef89 Bug 1097116 - Fix readback for EGLImageImage r=jgilbert
--HG--
extra : rebase_source : 038ddc25801541512a4e8231e4a6b586ed02c02b
2014-11-26 15:16:08 -06:00
James Willcox
fe1117609c Bug 1097116 - Copy the decoded SurfaceTexture into an EGLImage to allow accurate presentation r=jgilbert
--HG--
extra : rebase_source : d3165eb2d9534f82c84e3399e744e0c31b64c2dd
2014-11-26 15:16:07 -06:00
James Willcox
ff5ac4a822 Bug 1097116 - Add fencing and better lifetime management for EGLImage Images r=jgilbert
--HG--
extra : rebase_source : 8da8c1e9e5ded06c8735ee5d30f8333f829064c5
2014-11-26 15:16:07 -06:00
Seth Fowler
841625f805 Bug 1060869 (Part 3) - Make the SurfaceCache free only a fraction of its data on memory pressure. r=dholbert 2014-11-26 13:22:10 -08:00
Nicolas Silva
fb73844f4c Bug 1101636 - Cleanup the CompositorType enum. r=jrmuizel 2014-11-26 02:00:34 +01:00
Nicolas Silva
49d7294bfb Bug 1102917 - Remove the TextureInfo member from client compositables. r=sotaro 2014-11-25 20:19:13 +01:00
Nicolas Silva
a491a3acfe Bug 1102895 - Remove unused TextureFlags. r=sotaro 2014-11-25 20:19:04 +01:00
Milan Sreckovic
f03d959dfa Bug 1104837: Add warnings and assertions when our assumptions about tile pools fail. r=nical 2014-11-25 14:54:29 -05:00
Sotaro Ikeda
9cdf93e85c Bug 1103213 - Do not compose when layer does not exist r=nical 2014-11-25 06:40:30 -08:00
Kartikaya Gupta
1219436c71 Bug 1104282 - Add missing include. r=botond 2014-11-25 08:45:57 -05:00
Kartikaya Gupta
3b921e945e Bug 1104266 - Add logging of nsDisplayLayerEventRegions fields in the display list dump. r=mattwoodrow 2014-11-25 08:45:20 -05:00
Carsten "Tomcat" Book
8a491969a5 Backed out changeset a5d577ebb3d0 (bug 1060869) 2014-11-25 14:13:55 +01:00
Seth Fowler
54a6933009 Bug 1060869 (Part 3) - Make the SurfaceCache free only a fraction of its data on memory pressure. r=dholbert
--HG--
extra : rebase_source : 432056ddc161ca128aabfa7adeef763a3250a070
2014-11-25 00:10:11 -08:00