Граф коммитов

23196 Коммитов

Автор SHA1 Сообщение Дата
Jonathan Kew ac04ca7f48 Bug 1296740 - Fix the parameter list for the gfxDWriteFontFamily implementation of ReadFaceNames. r=jrmuizel 2016-08-22 21:38:50 +01:00
George Wright 4010a63cb8 Bug 1296524 - Don't add Skia to the allowable canvas types unless USE_SKIA is defined r=mchang 2016-08-22 13:50:48 -04:00
Andrew Comminos 68b11e8613 Bug 1296911 - Use a separate X display on the GLX VSync thread. r=lsalzman
This reverts commit cce8e136869d313e999fdd0b98c88dfa3603c3de.

--HG--
extra : rebase_source : 4ef007395dc7eeae2287ef6ab119cadc3e896f20
2016-08-22 14:44:54 -04:00
Andi-Bogdan Postelnicu d8d092b0c3 Bug 1296258 - prevent memory leak in ScaledFontBase::GetGlyphDesignMetrics. r=jrmuizel
MozReview-Commit-ID: J3iaMWeVAQ7

--HG--
extra : rebase_source : cdefcb9a1c774bb8fa8f543f7180469de9da952a
2016-08-18 14:46:12 +03:00
Boris Chiou 302c927139 Bug 1049975 - Part 5: Move timing related code into AnimationEffectReadOnly. r=birtles
Move the mTiming, mAnimation, and the implementaion of timing into
AnimationEffectReadOnly.

MozReview-Commit-ID: EZhlbphVvCo

--HG--
extra : rebase_source : 4aa4821304671a8dfc6feb047ab20b26ef2d6b11
2016-07-25 18:27:33 +08:00
Hiroyuki Ikezoe 2445bd484f Bug 1279071 - Change GetOpacity to GetAnimationOpacity to return opacity value applied by animation. r=birtles,mstange
MozReview-Commit-ID: 6rMUlnppOeK

--HG--
extra : rebase_source : 94fa5d812764f8426d57ebc93bbcb4f286ffea26
2016-08-25 09:07:56 +09:00
Wes Kocher 50954c6f31 Merge m-c to autoland, a=merge 2016-08-25 17:15:05 -07:00
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
Nicolas Silva 39f5573d6f Bug 1291190 - Don't crash when push/pop clips are not balanced correctly. r=Bas 2016-08-24 11:06:45 +02:00
Nicolas Silva 112a3d5168 Bug 1296613 - Warning fix in gfx::StoredPattern. r=Bas 2016-08-24 11:06:41 +02:00
Kan-Ru Chen b6d880aca1 Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
The patch is generated from following command:

  rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,

MozReview-Commit-ID: AtLcWApZfES


--HG--
rename : mfbt/unused.h => mfbt/Unused.h
2016-08-24 14:47:04 +08:00
Phil Ringnalda 62d1bf1089 Merge m-c to a CLOSED TREE m-i 2016-08-23 22:57:10 -07:00
Jim Chen d1a77173ac Bug 1294481 - Implement new frame available callbacks; r=snorp
Implement a new OnFrameAvailableListener callback system for
AndroidSurfaceTexture using native methods. Each AndroidSurfaceTexture
creates its own SurfaceTextureListener object and uses it to forward
OnFrameAvailableListener callbacks to the corresponding nsIRunnable.
2016-08-23 18:52:30 -04:00
Jim Chen abb40676c0 Bug 1294481 - Rip out old Java code for AndroidSurfaceTexture; r=snorp
Rip out the old GeckoAppShell methods that implemented a
OnFrameAvailableListener callback system for AndroidSurfaceTexture.
2016-08-23 18:52:30 -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
kearwood e5a5a99d23 Bug 1284357 - Part 2: Implement Navigator.activeVRDisplays,r=gw280
- WebVR 1.0 includes a new property added to Navigator,
  activeVRDisplays
- Please apply the patchset in Bug 1250244 first.

MozReview-Commit-ID: 6wffkwvKllW

--HG--
extra : rebase_source : 79c960b206c14b8380786000fcbc2da52bc3bdab
2016-07-04 15:52:21 -07:00
Lee Salzman 5a843ae70c Bug 1294337 - prefer default shader procs over special-cases in SkBitmapProcState. r=mchang
MozReview-Commit-ID: FlaGXKyYvDX
2016-08-23 13:37:44 -04:00
Lee Salzman 0519f8e461 Bug 1294337 - add DrawSurface fast path for DrawTargetSkia::FillRect. r=mchang
MozReview-Commit-ID: LSEvJKmKi2n
2016-08-23 13:36:45 -04: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
Jeff Muizelaar 8987909d57 Bug 1292628. Make sure our surface is good before locking it. r=mstange
This should fix a crash in ssse3_fetch_bilinear_cover.
2016-08-21 12:27:07 +02:00
David Anderson f0ab54253c Add feature level to D3D11DeviceStatus. (bug 1294988 part 6, r=mattwoodrow) 2016-08-20 20:59:11 -07:00
David Anderson 2e46480cbf Communicate GPU process device information across processes. (bug 1294988 part 5, r=mattwoodrow) 2016-08-20 20:59:11 -07:00
David Anderson 396d5d1191 Refactor cross-process acceleration controls. (bug 1294988 part 4, r=mattwoodrow) 2016-08-20 20:59:11 -07:00
David Anderson 7df82d4b70 Enable Direct3D 11 in the GPU process. (bug 1294988 part 3, r=mattwoodrow) 2016-08-20 20:59:10 -07:00
David Anderson e30ff6d169 Split device initialization into separate per-process steps. (bug 1294988 part 2, r=mattwoodrow) 2016-08-20 20:59:10 -07:00
David Anderson febbb3a624 Factor out d3d11.dll handling. (bug 1294988 part 1, r=mattwoodrow) 2016-08-20 20:59:10 -07:00
David Anderson 7a8adea3b0 Rename DeviceManagerD3D11 helpers. (bug 1294988 part 0, r=mattwoodrow) 2016-08-20 20:59:09 -07:00
David Anderson 567a7e0d65 Fix DirectX shutdown ordering issues. (bug 1296749, r=mattwoodrow) 2016-08-20 18:25:03 -07:00
Sebastian Hengst f1445a15e2 Backed out changeset 1ba19d1f07da (bug 1292628) for failing to create surface in reftests on Windows 7 VM. r=backout 2016-08-20 12:31:00 +02:00
Wes Kocher 431cc3777c Merge m-c to inbound a=merge 2016-08-19 18:39:52 -07:00
Wes Kocher bb22cc4067 Merge inbound to central, a=merge 2016-08-19 18:16:20 -07:00
Jeff Muizelaar 5df785429a Bug 1292628. Make sure our surface is good before locking it. r=mstange
This should fix a crash in ssse3_fetch_bilinear_cover.
2016-08-19 19:03:25 -04:00
Bill McCloskey 3a7ee5574b Bug 1279086 - Allow painting for tab switch when JS is running (r=dvander,mconley,mrbkap) 2016-08-19 14:41:26 -07:00
Jim Chen 3bd8918fcf Bug 1294479 - Remove ANativeWindow methods from AndroidBridge; r=snorp
The ANativeWindow methods in AndroidBridge are just wrappers around
ANativeWindow calls in the NDK. We should just use those calls instead
of going through the wrappers.
2016-08-19 17:17:24 -04:00
Jim Chen 39e01a1284 Bug 1294479 - Remove presentation methods from nsWindow/AndroidBridge; r=snorp
Remove the presentation methods from nsWindow/AndroidBridge now that
they are not used. This also eliminates gGeckoViewWindow from nsWindow.
NS_PRESENTATION_WINDOW and NS_PRESENTATION_SURFACE constants are added
for GetNativeData/SetNativeData to provide replacements that support
multiple GeckoViews/nsWindows.
2016-08-19 17:17:24 -04:00
Randall Barker 6db3f09efd Bug 1294998 - In Fennec only show overscroll effect for root content r=botond 2016-08-19 13:41:30 -07:00
Wes Kocher 3a31be9c17 Backed out 2 changesets (bug 1279086) for failures in browser_menu_item_01.js a=backout
Backed out changeset 00bb53b58e96 (bug 1279086)
Backed out changeset cff59fe2b933 (bug 1279086)
2016-08-19 12:31:55 -07:00
Bill McCloskey 3799faa926 Bug 1279086 - Allow painting for tab switch when JS is running (r=dvander,mconley,mrbkap) 2016-08-19 09:59:40 -07:00
Ryan VanderMeulen ce55e7b71a Merge m-c to inbound. a=merge 2016-08-19 09:59:49 -04:00
Ryan VanderMeulen 01c4e8cc1b Merge inbound to m-c. a=merge 2016-08-19 09:52:53 -04:00
Sotaro Ikeda 5d8ae5cfad Bug 1295927 - Disable libyuv SIMD scaling on 64bit win r=jrmuizel 2016-08-19 06:18:08 -07:00
Kartikaya Gupta 14a899b828 Bug 1217715 - Don't limit the system scroll override to the root content. r=botond,masayuki
MozReview-Commit-ID: EH94OR5rEsX
2016-08-19 06:52:25 -04:00
Nicolas Silva 0923b0fd39 Bug 1294351 - Avoid removing and re-applying the drawing states with PersistentBufferProviderBasic. r=Bas 2016-08-19 12:00:26 +02:00
Jonathan Kew 4196f4e014 Bug 1228799 - Part 2 - If AddFontMemResourceEx rejects a downloaded font that we tried to activate, check if its Microsoft cmap subtable is tagged as symbol-encoded, and if so fix it up and re-try the font activation. r=emk 2016-08-18 17:22:45 +01:00
Jonathan Kew 17a2101b23 Bug 1228799 - Part 1 - Move GetTableFromFontData to gfxFontUtils as a static function, and expose FindTableDirEntry helper method. r=emk 2016-08-19 13:57:05 +01:00
Mats Palmgren ddef8b6119 Bug 1280887 - patch 4 - Remove (unused) class gfxTextRun::ClusterIterator. r=jfkthame 2016-08-19 13:14:45 +01:00
Jonathan Kew 95a82f84cc Bug 1280887 - patch 2 - Make gfxTextRun refcounted, replace usage of UniquePtr<> with RefPtr<> for textruns, and make nsTextFrame hold a strong reference to its run(s). r=mats 2016-08-19 13:14:22 +01:00
Jeremy Chen 037578d1bd Bug 1293210 - get cap height from GDI backend. r=jfkthame
MozReview-Commit-ID: 6EIgsJnzZz4

--HG--
extra : rebase_source : 6490db176730170b4bdbbdbcf5c8005829b1b27e
2016-08-18 17:43:54 +08:00
Jeremy Chen 5459f4df5a Bug 1293210 - get cap height from FT2 backend. r=jfkthame
MozReview-Commit-ID: 7EnaxRYpwJU

--HG--
extra : rebase_source : 043d0f5601d261adb122c5ffe408daa07965fd4b
2016-08-18 17:43:54 +08:00
Jeremy Chen 16b102d35e Bug 1293210 - get cap height from DirectWrite backend. r=jfkthame
MozReview-Commit-ID: KC45V4pZZU1

--HG--
extra : rebase_source : 8f4716d2ddb308f37450c400cdfdd5fdf018e6e9
2016-08-18 17:43:54 +08:00
Jeremy Chen c0c0bf1903 Bug 1293210 - get cap height from platform APIs for non-sfnt fonts on Mac. r=jfkthame
MozReview-Commit-ID: IiHQQoIvQ3f

--HG--
extra : rebase_source : bc585b776f1712333fc841df66700771d6d2af87
2016-08-18 17:43:54 +08:00
Jeremy Chen 7fe92af520 Bug 1293210 - add cap height support to nsFontMetrics. r=jfkthame
MozReview-Commit-ID: 8EXWUtbuN3s

--HG--
extra : rebase_source : 120cc3476faae7d63f2e96f2973ea9e6d9a93c16
2016-08-18 17:43:54 +08:00
Nicholas Nethercote cc993d1772 Bug 1293596 (part 4) - Tweak nsIWidget::Create. r=mstange.
They don't need to be NS_IMETHOD, but they should be MOZ_MUST_USE. Adding the
latter catches a few missing checks, which the patch adds.

The patch also gives PuppetWidget an InfallibleCreate() function, which makes
the infallibility of PuppetWidget creation clear.
2016-08-19 09:03:17 +10:00
Nicholas Nethercote 67af4817e9 Bug 1293596 (part 2) - Rework nsIWidget bounds getters. r=mstange.
This patch makes GetBounds(), GetScreenBounds() and GetClientBounds() more
obviously infallible, like existing functions such as GetNaturalBounds() and
GetClientSize(). This results in clearer behaviour in nsCocoaWindow.mm if
Objective C exceptions occur. Along the way, the patch removes some useless
failure checks for these functions.

The patch also removes the NS_IMETHOD from GetRestoredBounds and makes that
function MOZ_MUST_USE.
2016-08-19 09:03:04 +10:00
Wes Kocher a58f8b89a0 Merge m-c to inbound, a=merge 2016-08-18 16:32:58 -07:00
Jeff Gilbert 6a596c0e80 Bug 1287653 - Spew VENDOR/RENDERER. - r=mtseng
MozReview-Commit-ID: AVeY7hyqmgV
2016-08-18 14:07:03 -07:00
Jeff Gilbert ccacf66a5e Bug 1287653 - Blacklist dx_interop2. - r=milan
MozReview-Commit-ID: GYyUIXYvcp1
2016-08-18 14:06:57 -07:00
Jeff Gilbert 0ded0eabcd Bug 1287653 - Minor fixes in D3D11Checks. - r=mattwoodrow
MozReview-Commit-ID: l8VkUewdhA
2016-08-18 14:06:47 -07:00
Jeff Gilbert ac277e5603 Bug 1287653 - Remove context sharing from WGL. - r=mtseng
MozReview-Commit-ID: 2CJovqWwAGB
2016-08-18 14:06:44 -07:00
Jeff Gilbert 4808331e32 Bug 1287653 - Cleanup GLContextProviderWGL. - r=mtseng
MozReview-Commit-ID: KTM77i36mN
2016-08-18 14:06:41 -07:00
Jeff Gilbert 32e52cc2e1 Bug 1287653 - AMD associates DXOpenDevice with the current GL context. - r=mtseng
MozReview-Commit-ID: 7Rv7HbOxLil
2016-08-18 14:06:38 -07:00
Jeff Gilbert 20ce5436dc Bug 1287653 - Use std::string::c_str instead of &std::string[0] to get a c-string. - r=mtseng
MozReview-Commit-ID: AsBaqtyQ8Ca
2016-08-18 14:06:34 -07:00
Jeff Gilbert cd95c17d9a Bug 1287653 - Strip EOL whitespace from gfx/thebes/gfxWindowsPlatform.cpp.
MozReview-Commit-ID: BEi4lo83HAK
2016-08-18 14:06:31 -07:00
Jeff Gilbert 477cad8749 Bug 1285692 - Remove unnecessary KeyedMutex usage with DX_interop. - r=jrmuizel
While we've been doing AcquireSync()+LockObject() previously, this doesn't
seem to be required. It makes sense that LockObject would AcquireSync (or
in-driver equivalent) when given a KeyedMutex'd D3D11Texture, given the
wording of the spec that (Un)LockObject synchronizes GL with D3D.
Unfortunately, the extension spec doesn't explicitly state this.

MozReview-Commit-ID: 3FgNl1npO34
2016-08-18 14:06:28 -07:00
Jeff Gilbert ea2b2ee099 Bug 1285692 - Acquire surface to allow FB completeness. - r=jrmuizel
MozReview-Commit-ID: H9IidhUqqw9
2016-08-18 14:06:26 -07:00
Jeff Gilbert 2f6562f729 Bug 1285692 - Add IsProducerAcquired(). - r=mtseng
MozReview-Commit-ID: 81Y5DAXtgeo
2016-08-18 14:06:23 -07:00
Randall Barker a9be905342 Bug 1294857 - Compositor uses page's background color to clear in Fennec r=kats 2016-08-18 14:03:26 -07:00
Wes Kocher 66098b3d43 Merge m-c to autoland, a=merge 2016-08-17 17:25:57 -07:00
Wes Kocher b7ea1393f2 Backed out 3 changesets (bug 1286476) for frequent windows wpt failures in phases-and-states.html CLOSED TREE
Backed out changeset 53bbfa02d45d (bug 1286476)
Backed out changeset 3947ab570883 (bug 1286476)
Backed out changeset ffd8c37eb695 (bug 1286476)
2016-08-17 10:41:46 -07:00
Ryan Hunt ababbe26a1 Bug 1296021 - Forward DeallocateLayerTreeId to GPU process if there is one. r=dvander
MozReview-Commit-ID: 12JtwGqLyy4

--HG--
extra : rebase_source : d4382aed4c0ce85ae1aa263cf978690d04cfb5dd
2016-08-17 09:11:00 -07:00
Edwin Flores d4e78a4c4f Bug 1293560 - Fix debug output in ScaledFontWin::GetFontFileData - r=jfkthame 2016-08-17 09:26:11 +01:00
Edwin Flores 4650e9bcec Bug 1292402 - Zero uninitialised padding in FilterNodeSoftware.cpp - r=mstange 2016-08-17 09:26:11 +01:00
Chris Peterson 4e032df4b1 Bug 1295083 - Replace PR_snprintf and s[n]printf calls with SprintfLiteral in gfx/. r=Bas 2016-08-16 15:41:12 -07:00
Benoit Girard 61b954044b Bug 1287182 - Don't clobber the angle platform failureId. r=jrmuizel
MozReview-Commit-ID: Dj0PNznZ7BS
2016-08-03 17:28:26 -04: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
Lee Salzman 1c19e4af27 Bug 1296301 - use getClipDeviceBounds instead of getClipBounds in DrawTargetSkia. r=jrmuizel
MozReview-Commit-ID: BEIAGS0hLzB
2016-08-18 11:25:38 -04:00
John Paul Adrian Glaubitz c6b39f0f90 Bug 972945 - Add autoconf test to enable AltiVec on supported targets only. r=glandium
Currently, the build scripts enable AltiVec unconditionally on all ppc*
targets. However, there some ppc* targets which do not support AltiVec
instruction set extensions, these are often embedded systems like the
PowerPC e500 or similar which have their own type of instruction set
extensions like SPE. Trying to enable Altivec support on these targets
results in a compiler error, hence we need to add an autoconf test for
AltiVec support before trying to enable it on ppc* targets.

Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>

--HG--
extra : rebase_source : 6c4df813d97d95046fd2269c876313ce7591c5cf
2016-08-16 05:17:00 -04:00
David Anderson 47faa17e03 Don't initialize DirectX in the UI process, when the GPU process is enabled. (bug 1294986 part 2, r=mattwoodrow) 2016-08-16 11:03:29 -07:00
David Anderson 4198f82d06 Disable the GPU process when not using Electrolysis. (bug 1294986 part 1, r=mattwoodrow) 2016-08-16 11:00:01 -07:00
Wes Kocher c84ec3b3f3 Merge m-c to inbound, a=merge 2016-08-16 22:06:58 -07:00
Jonathan Chan 4b87f11bd9 Bug 1293739 - Part 1: Rename nsCSSProperty to nsCSSPropertyID. r=dholbert
This patch is generated by the following commands (note: if you're running
using OS X's sed, which accepts slightly different flags, you'll have to
specify an actual backup suffix in -i, or use gsed from Homebrew):

  hg stat -c \
  | cut -c 3-  \
  | tr '\n' '\0' \
  | xargs -0 -P 8 gsed --follow-symlinks 's/\bnsCSSProperty\b/nsCSSPropertyID/g' -i''

Then:

  hg mv layout/style/nsCSSProperty.h layout/style/nsCSSPropertyID.h

... and finally, manually renaming nsCSSProperty in the include guard in
nsCSSProperty.h.

MozReview-Commit-ID: ZV6jyvmLfA

--HG--
rename : layout/style/nsCSSProperty.h => layout/style/nsCSSPropertyID.h
2016-08-16 18:37:48 -07:00
Gregory Szorc 1794619188 Backed out changesets dcdb85fc5517, 702bca0deee2, 9cKX8gC1ATA (bug 1293739) for build bustage; a=bustage
The merge from inbound to central conflicted with the merge from
autoland to central, it appears. Per tree rules, the commit from the
autoland repo wins and the inbound commit gets backed out.

CLOSED TREE

--HG--
extra : amend_source : 927e1cdfa8e55ccbd873d404d905caf6871c8c4f
extra : histedit_source : 07095868c3f767258e1d7d2645193bf4811b13bb%2Ca49ae5a28bf6e67298b6208ee9254c25a2539712
2016-08-16 17:50:40 -07:00
Wes Kocher 48b8d407c8 Merge inbound to central, a=merge
a=release to get around the webidl hook for a comment-only change

--HG--
extra : amend_source : f7e57101e1a25d3cf3536a256898ec2a21c54b38
2016-08-16 17:05:30 -07:00
Mason Chang 6478db3b8a Bug 1294121 - Backed out changeset 635d266614ad for windows build failures. r=me. CLOSED TREE 2016-08-16 09:17:25 -07:00
Mason Chang 423fb81bd4 Bug 1294121 - Develop a continuous paint mode for Firefox. r=mattwoodrow 2016-08-16 08:46:13 -07:00
Nicolas Silva 7eadba0012 Bug 1294969 - Path flattening should not skip the first inflection point if it is at t=0.0. r=Bas 2016-08-16 15:42:57 +02:00
Alexandre Lissy f9e595bea3 Bug 1295274 - Fix gfxVars namespace r=nical
MozReview-Commit-ID: HcWxi7rDm8b
2016-08-16 13:07:24 +02:00
Mason Chang e7ead846af Backed out changeset aaaab9a073a4 for build failures. r=me 2016-08-15 20:38:40 -07:00
Mason Chang 8c9fb35901 Bug 1294121 - Develop a continuous paint mode for Firefox. r=mattwoodrow 2016-08-15 19:59:26 -07:00
Seth Fowler 69a8ca2b79 Bug 1293449 (Followup) - Remove unnecessary SurfaceCache.h #include from gfxWindowsPlatform. r=me 2016-08-15 19:38:43 -07:00
Sotaro Ikeda 64b45af818 Bug 1254010 - Scaling during RGB -> YUV conversion with BasicCompositor if possible. basic_compositor_video improved on windows. r=jrmuizel 2016-08-15 18:54:17 -07:00
Jonathan Chan 9c62a2c11c Bug 1293739 - Part 1: Rename nsCSSProperty to nsCSSPropertyID. r=dholbert
This patch is generated by the following commands (note: if you're running
using OS X's sed, which accepts slightly different flags, you'll have to
specify an actual backup suffix in -i, or use gsed from Homebrew):

  hg stat -c \
  | cut -c 3-  \
  | tr '\n' '\0' \
  | xargs -0 -P 8 gsed --follow-symlinks 's/\bnsCSSProperty\b/nsCSSPropertyID/g' -i''

Then:

  hg mv layout/style/nsCSSProperty.h layout/style/nsCSSPropertyID.h

... and finally, manually renaming nsCSSProperty in the include guard in
nsCSSProperty.h.

MozReview-Commit-ID: ZV6jyvmLfA

--HG--
rename : layout/style/nsCSSProperty.h => layout/style/nsCSSPropertyID.h
2016-08-09 16:28:19 -07:00
Wes Kocher 2253eb9510 Merge m-c to inbound, a=merge 2016-08-15 14:53:49 -07:00
Wes Kocher d602abb016 Merge inbound to central, a=merge 2016-08-15 14:20:38 -07:00
vincentliu 6b56ae4268 Bug 1286458 - Check SkScalarIsFinite for SkVector::DotProduct(). r=lsalzman
---
 gfx/skia/skia/src/core/SkGeometry.cpp | 3 +++
 1 file changed, 3 insertions(+)
2016-08-15 16:00:31 +08:00
Igor 175543fda8 Bug 1293384 - Part 2: Rename Snprintf.h header to Sprintf.h. r=froydnj 2016-08-14 23:43:21 -07:00
Igor a57972337d Bug 1293384 - Part 1: Rename snprintf_literal to SprintfLiteral. r=froydnj 2016-08-14 23:44:00 -07:00
Sebastian Hengst d5866d2b77 Backed out changeset 9ba0dd5271fe (bug 1286653) for permafailing xpcshell test test_TelemetryEnvironment.js | test_checkEnvironment on Windows 8 x64 debug. r=backout 2016-08-13 10:58:06 +02:00
Ryan Hunt aa229473b7 Bug 1294588 - Remove UseProgressivePaint from gfxPlatform and use gfxPrefs instead. r=dvander
MozReview-Commit-ID: 1A9bFY2HS2z

--HG--
extra : rebase_source : 3347b9920be525f24c8d627260947b136ac36930
2016-08-11 14:21:17 -07:00
Ryan Hunt 92206266e3 Bug 1294586 - Remove dependency on gfxPlatform from CreateDrawTargetFromData. r=dvander
MozReview-Commit-ID: A355fBJKWP6

--HG--
extra : rebase_source : 85ffd4b9d5f9708a1666bbc8e229ba576cc97680
2016-08-11 14:54:08 -07:00
Wes Kocher 4aec37ca6e Merge m-c to autoland, a=merge 2016-08-12 16:30:03 -07:00
Bas Schouten d6b8fc4152 Bug 943626 - Part 3: Implement GetGlyphMetrics API for ScaledFontBase with Cairo r=jrmuizel 2016-08-11 15:47:32 -04:00
Bas Schouten e0031c0160 Bug 943626 - Part 2: Implement GetGlyphMetrics API for DirectWrite r=jrmuizel 2016-08-11 15:47:32 -04:00
Bas Schouten 3547be617f Bug 943626 - Part 1: Add GetGlyphDesign/RasterizationMetric API to Moz2D r=jrmuizel 2016-08-11 15:47:32 -04:00
Jonathan Kew c3be9496a6 Bug 1294448 followup - Cosmetic fixes to code style, no functional change. r=jrmuizel 2016-08-11 20:08:42 +01:00
Jonathan Kew 55b297ca39 Bug 1294448 - Fix handling of platform ID in gfxFontUtils::ReadNames, so that fallback to Windows-platform names on Mac works as intended. r=jrmuizel 2016-08-11 20:08:42 +01:00
Lee Salzman 1d7feaf99c Bug 1294455 - disable slow debug validation in Skia. r=mchang
MozReview-Commit-ID: 2vbnbuJARh3
2016-08-11 11:34:44 -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
Nicholas Nethercote bab6d17ebf Bug 1293117 (part 4) - Change many NS_IMETHODIMP occurrences to NS_IMETHOD. r=froydnj.
This patch makes the following changes on many in-class methods.

- NS_IMETHODIMP F() override;      --> NS_IMETHOD F() override;
- NS_IMETHODIMP F() override {...} --> NS_IMETHOD F() override {...}
- NS_IMETHODIMP F() final;         --> NS_IMETHOD F() final;
- NS_IMETHODIMP F() final {...}    --> NS_IMETHOD F() final {...}

Using NS_IMETHOD is the preferred way of marking in-class virtual methods.
Although these transformations add an explicit |virtual|, they are safe --
there's an implicit |virtual| anyway because |override| and |final| only work
with virtual methods.

--HG--
extra : rebase_source : 386ee4e4ea2ecd8d5001efabc3ac87b4d6c0659f
2016-08-08 10:54:47 +10:00
eyim f6feed92b7 Bug 1286653 - Re-run blacklist on DXGI adapter used for device creation r=BenWa,dvander
MozReview-Commit-ID: 9QV8QFu5WYR

--HG--
extra : rebase_source : d0da9409b2818a1ebce1469daecc3ca436bfa33e
2016-08-11 18:20:21 -04:00
Wes Kocher 88bc8189f9 Merge m-c to autoland, a=merge 2016-08-15 14:54:25 -07:00
Jan Beich 610c9bd786 Bug 1294923 - Unbreak --enable-system-cairo build after bug 943626. r=bas.schouten
MozReview-Commit-ID: LofFWlXUVzd

--HG--
extra : rebase_source : 8629100a9ff411491222e66adfbcddf2f7d797ed
2016-08-13 02:32:09 +00:00
Brian Birtles eac25e3163 Bug 1286476 part 2 - Respect the playback rate when calculating phase boundaries; r=hiro
This implements the spec change in 21de090dac

The spec change refers to a binary 'animation direction' flag. Instead of that,
however, we just pass the playback rate along and use it inside
GetComputedTimingAt since this seems simpler.

Also, this patch moves the implementation of
KeyframeEffectReadOnly::GetComputedTiming from the header file into the .cpp
file. This is because with this change, GetComputedTiming needs to call
mAnimation->PlaybackRate() and so mozilla::dom::Animation needs to be a complete
type. However, simply including Animation.h doesn't work because of a cyclic
dependency between KeyframeEffect.h and Animation.h. We might be able to fix
this later but since yet-to-land bug 1049975 moves this code around a lot, I'd
rather not touch it too much just now.

MozReview-Commit-ID: 1h6XRh4xmfI
2016-08-17 08:28:41 +09:00
Randall Barker fcda0a5859 Bug 1291373 - [geckoview] part 5, Remove Layer and all derived classes r=snorp 2016-08-16 14:33:43 -07:00
Randall Barker 9a3fae864f Bug 1291373 - [geckoview] part 3, Remove MOZ_ANDROID_APZ r=botond,snorp 2016-08-16 14:33:43 -07:00
Mason Chang e21abc7248 Bug 1294121 - Develop a continuous paint mode for Firefox. r=mattwoodrow 2016-08-16 08:46:13 -07:00
Daniel Holbert 3112c6ac39 Bug 1292390 followup: add newline character at the end of Polygon/BSPTree files added in this bug, per coding style guide. (whitespace-only, no review)
DONTBUILD because whitespace-only.

MozReview-Commit-ID: 8QOAtwJ8G9z
2016-08-16 11:01:06 -07:00
Frédéric Wang a7fdab6ca8 Bug 1291217 - Update OTS to version 5.0.1. r=jfkthame
--HG--
extra : rebase_source : 85ea822044fbb0c2ffcec8a460d99e4b751dbff6
2016-08-02 06:32:00 -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
Miko Mynttinen 12062ceb2f Bug 1292390 - Add BSP tree implementation. r=jrmuizel, r=kip
MozReview-Commit-ID: BpGfAUS0MLj

--HG--
extra : transplant_source : %EB%EF%7D%5C%FA%B5h%CCj%C4A%F3%D7F%BB%F5%F9J%8D%D2
2016-08-10 14:30:29 -07:00
Miko Mynttinen 2123dc4b39 Bug 1292390 - Add Polygon data structure. r=jrmuizel, r=kip
MozReview-Commit-ID: HFgVFgLqB12

--HG--
extra : transplant_source : %5E-oo20%15%B3%D3%A3%AC%23%B9%19.%92%AE%2A%06%25
2016-08-09 11:24:18 -07:00
Joel Maher c89f909079 backout 4e8a67e61102 (bug 1289829) for performance regression
MozReview-Commit-ID: HELRLZmHY7n
2016-08-15 11:54:43 -04:00
Jonathan Kew 76f40e7bdc Bug 1280887 - patch 1 - Declare a bunch of gfxTextRun* variables as const pointers, for clarity. r=mats 2016-07-07 13:51:24 +01:00
Mason Chang 850f81d1c7 Bug 1292642 Default to skia if we have an invalid pref for a backend on OS X. r=milan 2016-08-10 17:36:25 -07:00
Wes Kocher a742ff6791 Merge m-c to inbound, a=merge 2016-08-10 16:55:15 -07:00
Wes Kocher fa1a1180c4 Merge autoland to central, a=merge 2016-08-10 16:29:26 -07:00
Carsten "Tomcat" Book 781af68024 Merge mozilla-central to autoland 2016-08-10 16:05:21 +02:00
Bob Owen 9e41d076ec Bug 1288194 Part 2: Fix incorrectly recorded argument in DrawTargetRecording::PushLayer. r=bas
MozReview-Commit-ID: HdvCaPGDqvk

--HG--
extra : rebase_source : c1e938b2d8542eb5b8d4250162ccff11578317b6
2016-08-08 17:11:44 +01:00
Bob Owen ac545a9a00 Bug 1288194 Part 1: Implement PathBuilderRecording::Arc correctly. r=bas
MozReview-Commit-ID: Iz7Io8IxHvR

--HG--
extra : rebase_source : 77600450c62b7154a0c56875906e7e015aaf7842
2016-08-08 17:11:38 +01: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
Nicholas Nethercote 9dc11c1da2 Bug 1293603 (part 1) - Add |override| to CollectReports() declarations missing it. r=erahm.
--HG--
extra : rebase_source : 7ae41d24bacf4de4ca6193ad52517343806dbb2d
2016-08-08 11:04:11 +10:00
George Wright 617f4761d4 Bug 1289525 - Shrink the TextureClientPool to maximum size after a short delay, and clear the pool after a longer delay r=jrmuizel 2016-08-09 16:03:47 -04: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
Benoit Girard b1c543d280 Bug 1251615 - Add more safety checks for ComputeChange crash. r=mstange
MozReview-Commit-ID: 2zdycnmRA8u
2016-08-03 17:08:40 -04:00
Lee Salzman a695c40d38 Bug 1294207 - detect if FreeType supports lcd filtering in SkFontHost_cairo. r=gw280
MozReview-Commit-ID: AZkcZG4PegJ
2016-08-10 18:23:34 -04:00
Carsten "Tomcat" Book c4b39a49eb Merge mozilla-central to mozilla-inbound 2016-08-09 15:47:44 +02:00
Carsten "Tomcat" Book d9e0b4c565 merge mozilla-inbound to mozilla-central a=merge 2016-08-09 15:44:51 +02:00
Nicolas Silva 36eabd3917 Bug 1291296 - Make it possible to change a PersistentBufferProvider's Forwarder without crashing. r=ethlin 2016-08-09 14:42:15 +02:00
Matt Woodrow 27ae1b3c02 Bug 1292498 - Don't support D3D11 feature level 9_3 since it doesn't work with any of our use cases. r=Bas 2016-08-09 15:55:06 +12:00
Botond Ballo ddff23b206 Bug 1290823 - Introduce a helper APZCCallbackHelper::GetPresContextForContent(). r=rbarker
And use it in APZCCallbackHelper::GetRootContentDocumentPresShellForContent().

MozReview-Commit-ID: 9Gm8kgbqlHm

--HG--
extra : rebase_source : 5390ee705f4bee567bfc72578c551ccf898ebfef
2016-08-08 15:19:24 -04: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
Andrew Comminos 17217db998 Bug 594876 - Accelerate layers by default for nightlies on Linux. r=nical
MozReview-Commit-ID: FtGqib9SIFD

--HG--
extra : rebase_source : 84cd1054d4bdd47a7ce8b3c3ecc3047c169aa4f5
2016-06-24 17:56:26 -04:00
Andrew Comminos 2f39b03b30 Bug 594876 - Update test_acceleration.html to accomodate only taskcluster instances using layers acceleration. r=nical
MozReview-Commit-ID: 5ZVKSHn8POW

--HG--
extra : rebase_source : d7ca4951bc39f4b0d51298dcb745e81641d9aef7
2016-06-24 17:57:20 -04:00
Lee Salzman ca87957544 Bug 1200684 - revise Skia row blits to preserve color when blended against itself. r=mchang
MozReview-Commit-ID: Enz05s8vGuI
2016-08-05 19:50:49 -04:00
Mason Chang 197188c032 Bug 1292378 - VerifyRGBXFormat has an incorrect width calculation. r=lsalzman 2016-08-05 10:26:33 -07:00
Carsten "Tomcat" Book a826042a1d Merge mozilla-central to mozilla-inbound 2016-08-05 12:03:44 +02:00
Carsten "Tomcat" Book cf611bec79 merge mozilla-inboudn to mozilla-central a=merge 2016-08-05 12:01:14 +02:00
Andrew Comminos 6417a88066 Bug 1292326 - Let layers.acceleration.force-enabled apply to the OPENGL_COMPOSITING feature. r=jrmuizel
MozReview-Commit-ID: 2Lx4CVOao6S

--HG--
extra : rebase_source : b7d3ff19ab2e219ac78a681d7a7785f2f6b57abe
2016-08-04 16:15:20 -04:00
David Anderson cf5f37f7c3 Add BrowserTabsRemoteAutostart to gfxVars. (bug 1288259 part 6, r=jrmuizel)
--HG--
extra : rebase_source : 4e9dce46b658ecf7a13afaa2e9bb1ba35714c38f
2016-08-04 11:33:44 -07:00