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
Lee Salzman
043dcd2ed3
Bug 1299485 - fix USE_SKIA_GPU ifdefs. r=mchang
2016-09-01 21:10:39 -04:00
Nicolas Silva
5b205ec89b
Bug 1298345 - Refactor CanvasRenderingContext2D's texture allocation code. r=Bas
2016-09-01 15:51:09 +02:00
Ethan Lin
3eb01a7603
Bug 1299062 - Check if drawtarget valid. r=nical
2016-08-31 22:43:47 -04:00
Milan Sreckovic
593298d24d
Bug 1287316 - Release assert or deal with empty arrays. r=mstange
2016-08-30 18:38:30 -04:00
Nicolas Silva
879962b32e
Bug 1294351 - Move restoring the canvas clip stack to its own method and early return form EnsureTarget. r=Bas
2016-08-26 14:31:58 +02:00
Ryan VanderMeulen
7049259c8a
Merge m-c to inbound. a=merge
2016-08-25 08:27:17 -04:00
Ryan VanderMeulen
79935a96ec
Merge inbound to m-c. a=merge
2016-08-25 08:10:52 -04:00
Andi-Bogdan Postelnicu
8a84b1e325
Bug 1297054 - remove null check in CanvasRenderingContext2D::InitializeWithDrawTarget. r=jrmuizel
...
MozReview-Commit-ID: GA3PntlpxBU
2016-08-23 11:41:21 +03:00
Nicholas Nethercote
1009bf0056
Bug 1297658 - Avoid unnecessary checking in memory reporters. r=erahm.
...
This patch removes checking of all the callback calls in memory reporter
CollectReport() functions, because it's not useful.
The patch also does some associated clean-up.
- Replaces some uses of nsIMemoryReporterCallback with the preferred
nsIHandleReportCallback typedef.
- Replaces aCallback/aCb/aClosure with aHandleRepor/aData for CollectReports()
parameter names, for consistency.
- Adds MOZ_MUST_USE/[must_use] in a few places in nsIMemoryReporter.idl.
- Uses the MOZ_COLLECT_REPORT macro in all suitable places.
Overall the patch reduces code size by ~300 lines and reduces the size of
libxul by about 37 KiB on my Linux64 builds.
2016-08-24 15:23:45 +10:00
Milan Sreckovic
a982747c96
Bug 1297181: More information when accelerated canvas creation fails. r=mchang
...
MozReview-Commit-ID: AjhVkngSkHK
2016-08-22 17:47:54 -04:00
Ryan VanderMeulen
65e0550627
Merge m-c to inbound. a=merge
2016-08-24 09:09:05 -04:00
Kan-Ru Chen
a9b19d0584
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
2016-08-24 14:47:04 +08:00
Ethan Lin
c716fbb2ca
Bug 1296166 - Avoid calling EnsureTarget in CanvasRenderingContext2D::GetImageData. r=nical
2016-08-22 18:58:00 -04:00