Commit Graph

490 Commits

Author SHA1 Message Date
Milan Sreckovic
fb6470697b Bug 1328932: Back out the diagnostic patch from bug 1318283. r=gw280
MozReview-Commit-ID: KRyhWLBuHWM
2017-01-17 16:58:02 -05:00
George Wright
2f9fe069dc Bug 1329777 - Don't bail early from SwitchRenderingMode unless there's also no buffer provider r=Bas 2017-01-10 21:12:40 -05:00
Cameron McCormack
5f9911da79 Bug 1328832 - Part 2: Rename mozFlushType to mozilla::FlushType and make it an enum class. r=bzbarsky
MozReview-Commit-ID: D3fIngSHSsl
2017-01-05 15:31:56 +08:00
cku
45e5563bae Bug 1323912 - Part 2. Pass opacity down to imgIContainer::Draw. r=mstange
Each concrete class of imgIContainer is able to handle opacity already. All we
need to do is pass opacity value to them.

MozReview-Commit-ID: EMkLnG3YXA1
2017-01-03 13:53:22 +08:00
Iris Hsiao
f05dc61a9f Backed out changeset c868ab532766 (bug 1323912) 2017-01-04 21:47:12 -05:00
cku
f1ffeaa1c2 Bug 1323912 - Part 2. Pass opacity down to imgIContainer::Draw. r=mstange
Each concrete class of imgIContainer is able to handle opacity already. All we
need to do is pass opacity value to them.

MozReview-Commit-ID: EMkLnG3YXA1
2017-01-03 13:53:22 +08:00
Phil Ringnalda
1c41e66307 Merge m-c to m-i
MozReview-Commit-ID: JYNBUrs2zC5
2017-01-03 18:46:43 -08:00
Olli Pettay
3898f7d882 Bug 1326507, remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS, r=mccr8 2017-01-03 21:47:55 +02:00
Milan Sreckovic
2257cb024d Bug 1318283: UpdateFilter can sometimes invalidate the draw target. Back out the previous speculative patch. r=mstange
MozReview-Commit-ID: 8u2sjS9dyLu
2017-01-03 12:01:11 -05:00
Milan Sreckovic
82deeb7579 Bug 1318283: Temporarily disable an optimization from bug 1289975 and do not keep the buffer when SetDimension is called with the same value. r=mstange
MozReview-Commit-ID: BRYxmuEz7fk
2016-12-15 16:33:36 -05:00
Jonathan Kew
cd1a5e3ba0 Bug 1319668 - Check for null context before trying to draw canvas text. r=mats 2016-12-03 14:49:46 +00:00
Edwin Flores
ece59d2f27 Bug 1318283 - Debug patch - r=milan 2016-11-28 19:32:49 +00:00
Ethan Lin
5046c9b9cd Bug 1319362 - Use area but not just dimension to check SkiaGL minimum size. r=lsalzman 2016-11-22 19:52:00 +01:00
Nicolas Silva
b5ac574480 Bug 1300121 - Make PersistentBufferProviderShared::BorrowDrawTarget more robust agaist bad edge cases and if all fails, fallback to the basic provider. r=Bas 2016-10-11 13:23:11 +02:00
Nicolas Silva
de8fc53398 Bug 1300121 - Make switching between canvas buffer providers a tad more robust. r=Bas 2016-11-24 15:08:10 +01:00
Milan Sreckovic
addf36772d Bug 1313884: Part 2. Additional nullptr test and nightly/aurora crash if bad things happen. r=gw280 2016-11-15 12:56:16 -05:00
Phil Ringnalda
6129f9d8e4 Backed out changeset bb4879b87c17 (bug 1313884) because bad things happen @mozilla::dom::CanvasRenderingContext2D::DrawImage all the time
CLOSED TREE
2016-11-10 23:28:02 -08:00
Milan Sreckovic
c08eb04494 Bug 1313884 - Part 2: Additional nullptr test and nightly/aurora crash if bad things happen. r=gw280 2016-11-10 10:26:00 -05:00
Phil Ringnalda
0eacb5b6ab Merge m-c to autoland 2016-11-03 20:02:24 -07:00
Milan Sreckovic
f48a8a817b Bug 1309913: Pass the compositor type to canvas on creation. r=dvander
MozReview-Commit-ID: 81HtvWPdLQa
2016-11-03 10:57:33 -04:00
Ryan Hunt
d05ca8ae35 Bug 1313884 - Check if mTarget is null in CanvasRenderingContext2D::DrawImage 2016-11-01 13:56:55 -05:00
Xidorn Quan
6d9ed7b946 Bug 1294299 part 8 - Refactor interface provided by css::Declaration. r=heycam
The main targets of this refactor are:
1. Move most of the logic of distinguishing properties and custom
   properties from nsDOMCSSDeclaration into css::Declaration, which
   gives ServoDeclarationBlock more flexibility to implement.
2. Rename those methods of css::Declaration to provide a clear interface
   which makes sense for implementing in ServoDeclarationBlock, and also
   avoid method overload, which can impede the forward macro, on them.

MozReview-Commit-ID: 2cCqF855TVK
2016-11-03 14:41:02 +11:00
Markus Stange
be35c3893f Bug 1308859 - Back out the instrumentation because I think I know what the problem is now.
MozReview-Commit-ID: 7XdGDR950df
2016-10-25 14:00:21 -04:00
Phil Ringnalda
770d92a74f Merge autoland to m-c, a=merge
MozReview-Commit-ID: 3nuTAHtJkkD
2016-10-19 18:25:54 -07:00
Markus Stange
0f4425b023 Bug 1307740 - Properly handle filter input tainting with CSS filters and multiple filters. r=jwatt
MozReview-Commit-ID: HwOJ8SFhkUq
2016-10-19 11:32:02 -04:00
Markus Stange
e96a0658eb Bug 1308859 - Add some instrumentation to help debugging the crash. r=gw280
MozReview-Commit-ID: Dq04qFrEdHx
2016-10-18 13:15:28 -04:00
George Wright
fc52e265e5 Bug 1307749 - Ensure that we still set filterSourceGraphicTainted and an empty filter when updating our filter in CanvasRenderingContext2D r=mstange 2016-10-12 13:06:02 -04:00
Carsten "Tomcat" Book
4b9350d45c merge mozilla-inbound to mozilla-central a=merge 2016-10-06 11:59:54 +02:00
Thomas Wisniewski
de43be2a03 Bug 931389 - remove CanvasRenderingContext2D.mozDash/mozDashOffset. r=gw280, r=baku 2016-10-04 11:53:57 -04:00
Milan Sreckovic
0db5b55c43 Bug 1294812: Clean up SkiaGL canvas logic, making sure we only take it for OpenGL layers. Rename a function for clarity. r=BenWa,dvander
MozReview-Commit-ID: OTUXNNYdnJ
2016-09-30 13:54:22 -04:00
Ethan Lin
75436f64f4 Bug 1305963 - Add EnsureTarget for GetMozCurrentTransform and GetMozCurrentTransformInverse. r=nical 2016-10-02 23:55:00 -04:00
Tooru Fujisawa
66c78bee62 Bug 1289050 - Part 5.1: Use ASCII variants of JS_ReportWarning in dom/canvas. r=jwalden,jgilbert 2016-09-30 12:34:45 +09:00
Ethan Lin
fe1902bbea Bug 1304539 - Use AdjustedDrawTarget to draw text. r=mstange 2016-09-23 18:37:00 +02:00
Wes Kocher
0931953f89 Backed out 2 changesets (bug 1304539) for Windows unaccelerated reftest failures a=backout
Backed out changeset fbfe71842bb7 (bug 1304539)
Backed out changeset f205f28cbcf3 (bug 1304539)
2016-09-29 11:55:08 -07:00
Ethan Lin
b646bb097a Bug 1304539 - Use AdjustedDrawTarget to draw text. r=mstange 2016-09-23 18:37:00 +02:00
Carsten "Tomcat" Book
a4f6123bde Merge mozilla-central to autoland 2016-09-28 16:52:13 +02:00
Lee Salzman
003406c284 Bug 1305312 - write putImageData pixels as opaque for opaque canvas. r=jrmuizel
MozReview-Commit-ID: 5mVzeNwY28u
2016-09-27 17:31:13 -04:00
James Cheng
42e8029df1 Bug 1300654 Part1-Remove MOZ_EME from code base. r=cpearce,smaug
MozReview-Commit-ID: JboGO0w4tcE
2016-09-08 18:06:20 +08:00
Jonathan Kew
2c72842225 Bug 1304353 - part 1 - Set up the DrawOptions appropriately when painting canvas text for FILL, not only for STROKE. r=bas 2016-09-23 13:38:06 +01:00
Markus Stange
1ef6489f67 Bug 1298552 - Call UpdateFilter whenever the canvas's IsWriteOnly state changes. r=jrmuizel
MozReview-Commit-ID: 2CqWhmyzUZc
2016-08-26 20:21:34 -04:00
Sebastian Hengst
8aeb7b82f6 Backed out changeset e0d755ab4cbd (bug 1302380) for timeouts reftest with e10s invariable-declaration-XX.html on Linux 32 bit. r=backout 2016-09-16 18:55:44 +02:00
Ethan Lin
289b323000 Bug 1301551 - Remove unnecessary debug lines. r=nical 2016-09-16 10:33:26 +02:00
Nicolas Silva
7decc7e609 Bug 1302380 - Report canvas memory usage through the buffer provider. r=gw280 2016-09-16 10:13:19 +02:00
Ethan Lin
0a9c1b4900 Bug 1301551 - Don't do anti-alias if 'imageSmoothingEnabled' is false. r=bas 2016-09-09 03:04:00 -04:00
Milan Sreckovic
1240930501 Bug 1299164: Part 2. Use BufferSizeFromDimensions method, as well as some of the others that check for valid size. r=bas 2016-09-15 10:36:21 -04:00
kaku@mozilla.com
788fd469db Bug 1299718 part 3 - call MarkAsContentSource() at where using video element as a source; r=gerald,kamidphish,mtseng
MozReview-Commit-ID: Kg6UpcsCi0P
2016-09-14 15:50:29 +10:00
George Wright
5225e905e5 Bug 1241865 - Disable canvas-2d-pixels memory reporter as it currently reports inaccurate values. r=nical 2016-09-13 23:03:09 -04:00
Nicolas Silva
c85520fa47 Bug 1298373 - Clear the transform when resetting the canvas target state. r=Bas 2016-09-12 16:47:13 +02:00
Nicolas Silva
fdb7ab259e Bug 1301027 - Remove the matrix * point operator and replace it with TransformPoint methods. r=Bas 2016-09-08 18:26:03 +02:00
Nicolas Silva
0a03d8b265 Bug 1298345 - Dead code warning fix. r=njn 2016-09-06 13:19:11 +02:00