Commit Graph

24108 Commits

Author SHA1 Message Date
Ethan Lin
0b1384e9e5 Bug 1322079 - Set CreateBorderLayer to pure virtual function and let nsDisplayBorder return LAYER_ACTIVE. r=mattwoodrow
MozReview-Commit-ID: 6zGq7ymIkO0
2016-12-27 11:40:40 +08:00
Jeff Gilbert
cc9ce2e970 Bug 1325483 - Query DRAW_BUFFER0 from GLScreenBuffer. - r=daoshengmu
MozReview-Commit-ID: KjhbQM9B8EZ
2016-12-25 13:44:42 -08:00
Jeff Gilbert
6091cfeb6e Bug 1312865 - ClearBuffer and similar funcs should mirror Clear's behavior. - r=daoshengmu
MozReview-Commit-ID: 4Gm5aNZ1PXX
2016-12-25 13:44:26 -08:00
Phil Ringnalda
b94a0cbd73 Merge m-i to m-c, a=merge 2016-12-24 16:51:17 -08:00
Hiroyuki Ikezoe
01f0291ee5 Bug 1311620 - Part 3: Incorporate null_t in Animatable. r=birtles
We couldn't tell the difference between a null StyleAnimationValue and
transform:none on the compositor. This was not a problem before, since we didn't
need the null StyleAnimationValue on the compositor, because the null
StyleAnimationValue have to be passed with composite:add flag, and in the case of
composite:add we just used the underlying value, i.e. we didn't use the null
value at all.
But for normal additive animations, we have to check the null StyleAnimationValue
to tell whether we are processing a missing keyframe or not.
So in this patch, Animatable can be null_t to represent the null
StyleAnimationValue, and as a result of this change, we can drop
BaseAnimationStyle.

MozReview-Commit-ID: Au41ujHgPpU

--HG--
extra : rebase_source : 71eafcf729e278d2576b9a66bb194c2a7b972f1c
2016-12-24 17:27:18 +09:00
Hiroyuki Ikezoe
8e7be87392 Bug 1311620 - Part 2: Don't call StyleAnimationValue::GetUnit() against uninitialized values, use IsNull() instead. r=birtles
MozReview-Commit-ID: JAcHqsgpdDB

--HG--
extra : rebase_source : 4ec9924cd7f22406a7ecd8ba2c95feeba3a0dd28
2016-12-24 17:26:50 +09:00
Carsten "Tomcat" Book
0aed7a4ac5 Merge mozilla-central to mozilla-inbound
--HG--
rename : testing/docker/base-build/HASH => taskcluster/docker/base-build/HASH
rename : testing/docker/base-test/HASH => taskcluster/docker/base-test/HASH
rename : testing/docker/centos6-build-upd/HASH => taskcluster/docker/centos6-build-upd/HASH
rename : testing/docker/centos6-build/HASH => taskcluster/docker/centos6-build/HASH
rename : testing/docker/decision/HASH => taskcluster/docker/decision/HASH
rename : testing/docker/image_builder/HASH => taskcluster/docker/image_builder/HASH
rename : testing/docker/recipes/tooltool.py => taskcluster/docker/recipes/tooltool.py
rename : testing/docker/tester/HASH => taskcluster/docker/tester/HASH
2016-12-22 16:25:35 +01:00
Masatoshi Kimura
0b4ad7bfb1 Bug 1317569 - Stop testing d3dcompiler_43.dll during EGL initialization. r=jrmuizel
MozReview-Commit-ID: BDtgOD4Elba

--HG--
extra : rebase_source : cea0c8f56084822a03972bca61ae9a6f3566ad54
extra : source : 18477e73fc758633d7a87bfe57d951a87525eede
2016-11-15 07:02:49 +09:00
Masatoshi Kimura
a654e25d18 Bug 1317569 - Unship d3dcompiler_43.dll. r=glandium
MozReview-Commit-ID: DSOOKc94wNV

--HG--
extra : rebase_source : 007a4c974ba16f2dc6e77e4b78e919769e0af8d1
extra : source : b448674d91482b214fb2a6c4e83d2e86638f28ef
2016-11-15 06:56:01 +09:00
Randall Barker
7173b111bb Bug 1321644 - part 2, Remove AndroidBridge::PostTaskToUiThread from RemoteContentController.cpp r=botond 2016-12-23 09:08:39 -08:00
Randall Barker
1101ff0a36 Bug 1321644 - part 1, Remove android specific message loop code from APZThreadUtils.cpp r=botond 2016-12-23 09:08:37 -08:00
karo
00b8886839 Bug 1321076 - Added util functions to help with YUVA to BGRA conversion. r=jya
MozReview-Commit-ID: JZDdbM2gt0g

--HG--
extra : rebase_source : 572dbf59e8a3b41e6c7366d1579a28e365062260
2016-12-21 15:00:46 +13:00
Ting-Yu Chou
3b76c1d27b Bug 1322465 part 5 - Use explicit/MOZ_IMPLICIT for the unary constructors in gfx/. r=Ehsan
MozReview-Commit-ID: 5sdclirTQCV

--HG--
extra : rebase_source : 65b8fe4357ee19e858d3ee406495a1c2c3046c90
2016-12-16 15:54:32 +08:00
Ting-Yu Chou
76cef3b73d Bug 1322460 - Don't addref/release on the return value of prohibited functions. r=aklotz,Ehsan
MozReview-Commit-ID: B0mAMZp5sll

--HG--
extra : rebase_source : fb5e25352089e26172189b9c4f2be8c5553fa5a8
2016-12-14 14:34:26 +08:00
Cameron McCormack
d4d8ba1d5f Bug 1324624 - stylo: Mark currently failing crashtests with asserts-if(stylo,...). r=xidorn
MozReview-Commit-ID: 7iiwRwiQ8s4
2016-12-21 15:42:36 +08:00
Wes Kocher
b5f33578be Merge m-c to inbound, a=merge 2016-12-20 11:47:17 -08:00
Wes Kocher
584a2f0f62 Merge inbound to central, a=merge
MozReview-Commit-ID: Cr9L1dhIzP2
2016-12-20 11:41:57 -08:00
Lee Salzman
d9d2ea27be Bug 1323821 - only replace texture-backed SkImage on success in SourceSurfaceSkia::GetData. r=jrmuizel
MozReview-Commit-ID: FbySOGcLhwt
2016-12-20 12:37:19 -05:00
Jonathan Kew
2a3c8294aa Bug 1322989 - Preserve accent on Greek disjunctive eta (ή) when applying text-transform:uppercase. r=m_kato 2016-12-20 10:06:51 +00:00
Carsten "Tomcat" Book
fc4bd848dd Backed out changeset 422af49b7ae8 (bug 1322989) for bustage 2016-12-20 11:35:57 +01:00
Jonathan Kew
60ef0df121 Bug 1322989 - Preserve accent on Greek disjunctive eta (ή) when applying text-transform:uppercase. r=m_kato 2016-12-20 10:06:51 +00:00
peter chang
ea69eeb193 Bug 1323837 - Draw nothing if there are no color stops for gradient effect, r=bas
MozReview-Commit-ID: BnZlh2NhdHX

--HG--
extra : rebase_source : e221cebdb64e55926c63fd105df0a55635b28e19
2016-12-16 13:55:22 +08:00
Lee Salzman
731702eb1c Bug 1324422 - initialize mPermitSubpixelAA for all tiles in DrawTargetTiled. r=sotaro
MozReview-Commit-ID: AM0OxyhLrzJ
2016-12-19 21:12:07 -05:00
Wes Kocher
b427632e5a Merge m-c to inbound, a=merge 2016-12-19 16:48:34 -08:00
Jeff Gilbert
4fe7340dc2 Bug 1309643 - Only enable primitive restart index on OSX for DrawElements. - r=ethlin 2016-12-19 15:24:30 -08:00
Nicholas Nethercote
3af5047314 Bug 1299335 (part 8) - Streamline nsIWidget::Enable. r=mstange.
This patch changes it from |NS_IMETHOD| to |virtual void| because every
implementation of these functions always returns |NS_OK|.

--HG--
extra : rebase_source : 07ee29c514bf35b97d7195c53bb5b9220d1ef961
2016-12-19 20:54:16 +11:00
Nicholas Nethercote
a28c8f38b2 Bug 1299335 (part 7) - Streamline nsIWidget::{Move,Resize}. r=mstange.
This patch changes them from |NS_IMETHOD| to |virtual void| because every
implementation of these functions always returns |NS_OK|.

--HG--
extra : rebase_source : 6207df5a46aeb6b8aaa0f697447a51bc6a6dc366
2016-12-19 20:54:03 +11:00
Milan Sreckovic
6fcbf9169d Bug 1323625: The callers are using Factory::CheckSurfaceSize to guard against zero sized surfaces, so we'll remove the warning. r=rhunt
MozReview-Commit-ID: DzFUjTlXfeT

--HG--
extra : rebase_source : 683250aecffa1e738e5f4963c677b4e169debdfd
2016-12-15 10:32:10 -05:00
Milan Sreckovic
010d912f51 Bug 795627: Allow Skia canvas with accelerated Windows. r=gw280
MozReview-Commit-ID: DKyKC7n3OEM

--HG--
extra : rebase_source : 67d8b897d0e2bf520d92b3a617f01ae0fa0bf45d
2016-12-14 19:10:27 -05:00
Daosheng Mu
370aa4a0c8 Bug 1315896 - Part 3: Remove MOZ_GAMEPAD in VR module; r=kip
MozReview-Commit-ID: I9vJvxgFgIh

--HG--
extra : rebase_source : 270e971ace44b00d9877a67f68f349bbd9b550c1
2016-12-08 13:01:11 -10:00
Phil Ringnalda
3abfe370ac Merge m-i to m-c, a=merge
MozReview-Commit-ID: 3TWj1elRxgV
2016-12-17 14:00:48 -08:00
Chris Peterson
78f7bd1dd7 Bug 1323923 - Part 2: Suppress more clang warnings and unify CLANG_CXX/CLANG_CL warning flags in gfx/cairo. r=lsalzman
gfx/cairo/cairo/src/cairo-image-surface.c:1225:35 [-Wabsolute-value] using floating point absolute value function 'fabs' when argument is of integer type
gfx/cairo/cairo/src/cairo-image-surface.c:1227:35 [-Wabsolute-value] using floating point absolute value function 'fabs' when argument is of integer type
gfx/cairo/cairo/src/cairo-quartz-surface.c:1919:12 [-Wunreachable-code] code will never be executed
gfx/cairo/cairo/src/cairo-quartz-surface.c:1920:6 [-Wunreachable-code] code will never be executed
gfx/cairo/cairo/src/cairo-quartz-surface.c:3530:18 [-Wunused-variable] unused variable 'i'
gfx/cairo/cairo/src/cairo-version.c:39:9 [-Wmacro-redefined] 'CAIRO_VERSION_H' macro redefined
2016-12-15 23:59:12 -08:00
Chris Peterson
a2deb2ec60 Bug 1323923 - Part 1: Fix -Wunknown-warning-option clang warning in gfx/cairo. r=lsalzman
warning: unknown warning option '-Wno-unused-but-set-variable'; did you mean '-Wno-unused-const-variable'? [-Wunknown-warning-option]
2016-12-15 23:58:57 -08:00
Mason Chang
5902ea8a82 Bug 1323587 Part 1: Use correct gamma and contrast for dwrite fonts. r=lsalzman 2016-12-16 08:04:45 -08:00
Jonathan Watt
e3366cf656 Bug 1322729 - Have gfxContext always use DrawTarget::PushLayer/PopLayer. r=lsalzman 2016-12-16 11:02:04 -05:00
Lee Salzman
90fe07ab69 Bug 1322729 - fix DrawTargetSkia::BorrowCGContext to work with PushLayer. r=mchang
MozReview-Commit-ID: Hl2t9gxIdYI
2016-12-16 11:02:04 -05:00
Lee Salzman
a3ecdc5084 Bug 1322729 - fix DrawTargetTiled to forward SetPermitSubpixelAA. r=mchang
MozReview-Commit-ID: 7aicn9Crru9
2016-12-16 11:02:04 -05:00
Lee Salzman
a55eee6d3f Bug 1322729 - fix DrawTargetTiled::PushLayer to properly handle clipping. r=mchang
MozReview-Commit-ID: 2otVOl9J4pZ
2016-12-16 11:02:04 -05:00
Carsten "Tomcat" Book
a244c7fb4a merge mozilla-inbound to mozilla-central a=merge 2016-12-16 16:04:50 +01:00
Cameron McCormack
366f6eb24d Bug 1323892 - Disable currently crashing stylo crashtests. r=xidorn
MozReview-Commit-ID: 2BNjdBWdT5V
2016-12-16 18:54:41 +08:00
Ting-Yu Chou
4f285bd583 Bug 1322458 - Fix kungFuDeathGrip errors that clang plugin reports on Windows. r=aklotz,Ehsan
MozReview-Commit-ID: FLTLZSg2yh9

--HG--
extra : rebase_source : e8aad8f35cffb3312e043a4fcec6296371baf432
2016-12-14 16:34:12 +08:00
Lee Salzman
b79dc7d5f9 Bug 1323284 - don't enable GL compositor by default on Linux nightly. r=milan
MozReview-Commit-ID: GbX38FNiBn5
2016-12-15 11:44:19 -05:00
Mason Chang
49715dce65 Bug 1321901 - Use IDWriteFontFace::GetRecommendedRenderingMode for font rendering mode in Skia. r=lsalzman 2016-12-15 08:33:43 -08:00
Carsten "Tomcat" Book
4a9a623faf Merge mozilla-central to mozilla-inbound 2016-12-15 14:24:41 +01:00
Bob Owen
ca714c62ab Bug 1321522: Add null check and logging on fontResource in RecordedScaledFontCreation::PlayEvent. r=milan
MozReview-Commit-ID: 3nM28xgGLPO
2016-12-15 10:55:10 +00:00
Botond Ballo
2e3caa982c Bug 1321412 - Add support for partial prerendering to ShouldPrerenderTransformedContent(). r=mattwoodrow
This is behind a pref and not enabled by default yet.

MozReview-Commit-ID: HKbP02PkdI9

--HG--
extra : rebase_source : 3f724f12d467dfb6e3ac1c44841e8e452a7d4b7e
2016-12-14 14:31:20 -05:00
Botond Ballo
d806f521fb Bug 1321412 - Allow controlling the size of the prerendered area via prefs. r=birtles,flod,mattwoodrow
Note that the default values of the prefs are chosen so as to preserve
existing behaviour.

The patch also updates a user-visible warning message, which was
already out of date as of bug 1274991.

MozReview-Commit-ID: AqBBoIucShT

--HG--
extra : rebase_source : 010aa55255d49e4875cb6870f309649a9ca762d5
2016-12-09 20:23:42 -05:00
Botond Ballo
315932fa35 Bug 1321412 - Add an operator<< to BaseSize. r=kats
MozReview-Commit-ID: 4zVkyafxtfG

--HG--
extra : rebase_source : 4a5a3f09ab0008d7e736cedb817505e6e45b054c
2016-11-25 20:46:58 -05:00
Botond Ballo
ea351be0c0 Bug 1321412 - Add Min() and Max() functions to BaseSize. r=kats
MozReview-Commit-ID: 6GTzkpwwDNu

--HG--
extra : rebase_source : 1d8e888649c10f8f044f475095cb592538992946
2016-11-23 19:27:27 -05:00
Botond Ballo
7a4cb0cf48 Bug 1321412 - Fix a bug in the definition of SizeTyped. r=kats
A second template parameter 'F' was previously added to SizeTyped, but was
not correspondingly added to the argument passed for the 'Sub' parameter
of BaseSize.

MozReview-Commit-ID: 2pRQXeWMJpP

--HG--
extra : rebase_source : c1e71b18fdb303f9684d0c9c26dca2462fa0f62d
2016-11-23 19:26:55 -05:00