Commit Graph

5598 Commits

Author SHA1 Message Date
Xidorn Quan
74d7d74ae8 Bug 1275059 followup - Use MOZ_ASSERT for methods of gfxTestRun. r=jfkthame
MozReview-Commit-ID: 9etLeUprAic

--HG--
extra : source : 109f6c2cdf31850a36f8c0cc251e9bbc2bb48606
2016-05-25 09:54:37 +10:00
Jonathan Watt
c7d766dbc7 Bug 1275266 - Fix broken merge conflict. r=orange on CLOSED TREE 2016-05-19 14:01:31 +01:00
Jonathan Watt
de83a13903 Bug 1275266 - Rename imgLoader::Singleton and imgLoader::PBSingleton to something less misleading, and document them. r=tnikkel 2016-05-19 13:31:15 +01:00
Jeff Muizelaar
2418bd8394 Bug 1271657. Redo gfxConfig support for HW D3D11 ANGLE. r=dvander 2016-05-24 14:24:03 -04:00
David Anderson
ecf249bd9a Add GPUProcessManager to manage access to CompositorBridgeParent. (bug 1274149 part 1, r=mattwoodrow) 2016-05-23 00:27:01 -07:00
Wes Kocher
2299744a78 Backed out 5 changesets (bug 1274149) for intermittent failures in apz tests CLOSED TREE
Backed out changeset 1117598ac875 (bug 1274149)
Backed out changeset 540cb6d10745 (bug 1274149)
Backed out changeset 057223823e5d (bug 1274149)
Backed out changeset 9932689ab717 (bug 1274149)
Backed out changeset a22a53c503a6 (bug 1274149)
2016-05-23 13:01:22 -07:00
Andi-Bogdan Postelnicu
5ddeb9e636 Bug 1273409 - add assert for mFontEntry. r=jrmuizel
MozReview-Commit-ID: 645INbJtJFq

--HG--
extra : rebase_source : 6beea5fcd4ade24f7d45eb704334f6e0aa5f7f00
2016-05-17 12:05:23 +03:00
David Anderson
ba1f071a23 Add GPUProcessManager to manage access to CompositorBridgeParent. (bug 1274149 part 1, r=mattwoodrow) 2016-05-23 00:27:01 -07:00
Nicholas Nethercote
c4c868a370 Bug 1139252 - Fix D3D texture memory reporters. r=jrmuizel.
This patch makes the names and reporter paths more consistent. It also removes
sD3D9MemoryUsed, which was unused.

--HG--
extra : rebase_source : f209636a938630e464d529078cfa116eb06339ba
2016-05-18 17:10:37 +10:00
Jonathan Kew
c985e0ecb5 Bug 1273154 - Avoid breaking a font run at U+202F (NNBSP) if possible, because Mongolian shaping depends on the text run continuing across it. r=jrmuizel 2016-05-21 12:28:21 +01:00
Benoit Girard
e97acb68fb Bug 1002857 - stop disabling GL layers for 10.6.2 and below. r=mstange
MozReview-Commit-ID: ITqcQNdolQ

--HG--
extra : rebase_source : 82914a72a267e6aff7ac1234d92d813bb9efdc0b
2016-05-18 18:10:04 -04:00
Sebastian Hengst
e5d11edbeb Backed out changeset 07c833b5d64d (bug 1273154) for reftest failure in 1273154-1.html on Windows 8. r=backout 2016-05-19 10:37:16 +02:00
Jonathan Kew
841ebee93a Bug 1273154 - Avoid breaking a font run at U+202F (NNBSP) if possible, because Mongolian shaping depends on the text run continuing across it. r=jrmuizel 2016-05-19 07:01:56 +01:00
Jonathan Kew
67ee2ed03b Bug 1260825 - Check for surrogate pairs when processing clusters in graphite-shaped text. r=jrmuizel 2016-03-31 09:48:01 -06:00
David Anderson
e34cf523cf Fix force-enabling Direct2D crashing when acceleration is disabled. (bug 1116540, r=milan) 2016-05-17 13:46:25 -07:00
Ryan VanderMeulen
591aa16396 Backed out changeset cdb8f29d1ec7 (bug 1116540) for breaking WinXP hardware acceleration. 2016-05-17 21:36:12 -04:00
David Anderson
6ad5c3d287 Fix force-enabling Direct2D crashing when acceleration is disabled. (bug 1116540, r?=milan) 2016-05-17 13:46:25 -07:00
Milan Sreckovic
17dda1461b Bug 1272767: More graphics MOZ_CRASH-es getting GFX prefix. Also, follow up on bug 1270180 comments. r=mchang
MozReview-Commit-ID: 1rlHdDG4Cbw

--HG--
extra : rebase_source : 8bf84d2b1c4cc5bc48821b1eadbadf8edc6ce1ba
2016-05-13 16:34:41 -04:00
Sotaro Ikeda
bf89cf3e57 Bug 1273056 - Remove redundant ConvertYCbCrToRGB() r=nical 2016-05-16 19:45:12 -07:00
Milan Sreckovic
fffc6307a8 Bug 1273148: Make name and default methods public, and remove gfxWindowsPlatform as gfxPref's friend. r=dvander
MozReview-Commit-ID: DNqGGDl1Fpy

--HG--
extra : rebase_source : 01ff42cc1a0335bba82b45eaf9018f1273f0e6d5
2016-05-16 10:22:20 -04:00
Edwin Flores
662e4f47a3 Bug 1272277 - Force content process device reset when the compositor is updated - r=nical 2016-05-16 12:55:02 +01:00
David Anderson
800882adb1 Move CompositorBridgeParent::IsInCompositorThread to CompositorThreadHolder. (bug 1273017 part 3, r=mattwoodrow) 2016-05-15 23:40:13 -07:00
David Anderson
a6d9f5b888 Move CompositorThreadHolder into its own file. (bug 1273017 part 1, r=mattwoodrow) 2016-05-15 23:38:34 -07:00
Nicholas Nethercote
98af1a5331 Bug 1271164 - Add a missing null check in user font memory reporting. r=jfkthame.
--HG--
extra : rebase_source : 139652b681a50b3a38c0d3e99578db9ae32b8195
2016-05-09 11:57:44 +10:00
Chris Peterson
8a9e2d2bd4 Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium 2016-05-14 00:54:55 -07:00
Jean-Yves Avenard
6e2b718e6a Bug 1271491: P2. Allow initialization of WMFPlatformDecoderModule from any threads. r=mattwoodrow
This is a very rough and lame attempt at making some parts of gfx thread-safe, however some parts rely on Preferences::AddBoolCache which isn't thread-safe.
Must still be called once gfx has been initialized.

MozReview-Commit-ID: BSpr9cp6USR

--HG--
extra : rebase_source : 395ac23cafeb1509f89b72deda5fccdc7726c1bb
2016-05-12 19:24:43 +10:00
Jean-Yves Avenard
e926d54268 Bug 1206637: P1. Add MediaPrefs convenience class. r=cpearce
Almost identical to gfxPrefs, with the exception that preferences can't be set (as it doesn't work with e10s anyway). The generated code size is tiny enough that we don't have to bother about having duplicates.

MozReview-Commit-ID: 5SZyscvIzzS

--HG--
extra : rebase_source : 1a2577bbe24d2d6644c3f1f5d0c47850b67fdea0
2016-05-09 14:59:02 +10:00
Karl Tomlinson
294a905269 bug 1271893 add a 1.5 pixel-scaling step r=acomminos
The only change in behaviour introduced here is that dpi values in the
range [144,168) will now use pixel scaling of 1.5 instead of 2.

MozReview-Commit-ID: JD6FcZGLYtI

--HG--
extra : rebase_source : ebddf46ba6e9b8a478fb2fffabc7cf1ca8ed8c81
2016-05-11 09:21:13 +12:00
Jonathan Kew
dfac8a19b4 Bug 1271536 - Don't try to use GDI table access for bundled fonts when running with the DWrite backend. r=bas 2016-05-10 23:16:05 +01:00
Jonathan Kew
b4581e4e52 Bug 1270878 - Factory method that creates a BundledFontEnumerator needs to ensure it is AddRef'd before being returned to the caller. r=bas 2016-05-09 18:02:45 +01:00
Bob Owen
979a6fb7b7 Bug 1271348: Only use LOGPIXELSY for calculating internal printing surface size on Windows. r=jimm
MozReview-Commit-ID: 9KUVyI0Oy07

--HG--
extra : rebase_source : 1fcbeebff29e1a0cfd77ac5abf5914bb7031cd86
2016-05-10 15:17:56 +01:00
David Anderson
e7361fa662 Add instrumentation to debug bug 1116540. r=milan 2016-05-09 13:22:19 -07:00
Jeff Muizelaar
e1beb97b75 Bug 1269387. Port D3D11 ANGLE configuration to gfxConfig. r=dvander 2016-05-09 15:57:29 -04:00
Benoit Girard
70acc7f3f9 Bug 1262008 - Add WebGL failure causes to telemetry ping. r=dvander
MozReview-Commit-ID: 9IVhVNGmaAP

--HG--
extra : rebase_source : bfa8d247c331c216c048fb696fbfb4302c5b8d52
2016-05-09 13:44:21 -04:00
David Anderson
bfbc7d0ba3 Use gfxConfig for D3D9 preferences. (bug 1270650, r=jrmuizel) 2016-05-06 19:01:58 -07:00
Milan Sreckovic
e0f647f55d Bug 1270180: More instances of MOZ_CRASH converted to gfxDevCrash and getting GFX prefix. r=jgilbert
MozReview-Commit-ID: BFUu2JG9Tk2

--HG--
extra : rebase_source : 146e8b8dc49dce7735f961df3ddfa3c9130fee32
2016-05-06 10:19:31 -04:00
David Anderson
86cb20fdbf Add blocklist reasons to the gfxConfig/about:support decision log. (bug 1270404, r=milan) 2016-05-05 14:42:12 -04:00
Mason Chang
d3acfd8069 Bug 1266933. Pass image extend mode to prescale and tile drawable on OS X. r=jrmuizel 2016-05-05 07:59:30 -07:00
Kyle Huey
941ab1f522 Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-05-05 01:45:00 -07:00
Kyle Huey
44cee0989e Bug 1268313: Part 6 - Replace NewRunnableMethod with NS_NewRunnableMethod. r=froydnj 2016-05-05 01:45:00 -07:00
Kyle Huey
156b8c1933 Bug 1268313: Part 4 - Replace NewCancelableRunnableMethod with NS_NewCancelableRunnableMethod. r=froydnj 2016-05-05 01:44:59 -07:00
Kyle Huey
63a71e96b0 Bug 1268313: Part 1 - Be explicit about which NewRunnableMethod callers want to be able to cancel. r=froydnj 2016-05-05 01:44:59 -07:00
Jeff Muizelaar
4e45e68439 Bug 1262427. Don't try D3D11 harder. r=dvander
If we know D3D11 isn't going to work we shouldn't bother
using it for ANGLE.
2016-05-04 11:34:01 -04:00
Nicolas Silva
165b183a1e Bug 1270079 - Shut PCompositorBridge down before PImageBridge for the parent process. r=Bas 2016-05-04 15:22:45 +02:00
Jonathan Kew
9e554db122 Bug 1269187 - Accept a Unicode-platform 'cmap' subtable if there's no MS-platform subtable in the font. r=emk 2016-05-03 16:48:48 +01:00
Jonathan Kew
fb5e0a3be3 Bug 1268021 - Implement memory reporting for the user-font cache. r=njn 2016-05-03 12:14:34 +01:00
David Anderson
0499cd8b51 Fix assertion failure in gfxConfig. (bug 1269565, r=milan)
--HG--
extra : rebase_source : 699112ba0801ea3418b1582b59524f55af21d5cd
2016-05-03 14:53:52 -04:00
Jonathan Kew
1be69b60f6 Backout 86bea1a981f9 (bug 1268021) for causing Windows crashes on a CLOSED TREE. 2016-05-03 13:36:28 +01:00
Jonathan Kew
a4e2a6456b Bug 1268878 - Include various of gfxFontEntry's sub-objects in memory reporting. r=njn 2016-05-03 12:14:35 +01:00
Jonathan Kew
11b4815d30 Bug 1268951 - Reallocate sanitized user font data into an appropriately-sized block, to reduce ongoing RAM footprint. r=jrmuizel 2016-05-03 12:14:34 +01:00