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
Ethan Lin
5ac7550c92
Bug 1293970 - Avoid copy in CanvasRenderingContext2D::PutImageData and DrawWindow. r=nical
2016-08-16 20:18:00 -04:00
Jonathan Kew
d7e485fc9c
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
Nicolas Silva
03f0472ae2
Bug 1294351 - Avoid removing and re-applying the drawing states with PersistentBufferProviderBasic. r=Bas
2016-08-19 12:00:26 +02:00
Sebastian Hengst
b56a099076
Backed out changeset 775fa3ede160 (bug 1294351) for failing in crashtest 647480.html. r=backout
2016-08-18 12:50:56 +02:00
Nicolas Silva
effbceef63
Bug 1294351 - Avoid removing and re-applying the drawing states with PersistentBufferProviderBasic. r=Bas
2016-08-17 14:39:03 +02:00
Edwin Flores
dc1a131b8d
Bug 1272123 - Limit the size of CanvasRenderingContext2D::mStyleStack - r=mstange
2016-08-17 09:26:11 +01:00
Ethan Lin
5e03ee3d5c
Bug 1294607 - Remove unnecessary EnsureTarget in CanvasRenderingContext2D. r=nical
2016-08-15 23:54:00 -04:00
Phil Ringnalda
ef4280ad5b
Back out 6493296521fb (bug 1294607) for crashtest crashes in 1246775-1.html
2016-08-15 20:54:50 -07:00
Ethan Lin
dca0d3a56e
Bug 1294607 - Remove unnecessary EnsureTarget in CanvasRenderingContext2D. r=nical
2016-08-11 20:26:00 -04:00
Jonathan Chan
23ccd0531f
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
2016-08-09 16:28:19 -07:00
Ethan Lin
bb319d6d44
Bug 1293968 - Avoid calling EnsureTarget in CanvasRenderingContext2D::GetImageBuffer. r=nical
2016-08-11 23:46:00 -04:00
Jan de Mooij
bfe36450fc
Bug 1292892 part 5 - Replace most nsContentUtils::RootingCx calls with dom::RootingCx. r=bz,terrence
2016-08-11 14:39:23 +02:00
Nicolas Silva
cc81e0fb88
Bug 1292545 - Don't skip clearing the canvas because of W(1) failures on Mac.
2016-08-10 17:00:25 +02:00
Nicolas Silva
31bac6594f
Bug 1292870 - Record/replay clips and transforms properly in CanvasRenderingContext2D. r=Bas
2016-08-10 14:30:51 +02:00
Nicolas Silva
315834969a
Bug 1292545 - Don't optimize away the canvas copy if clips are applied. r=ethlin
2016-08-10 14:30:48 +02:00
Nicolas Silva
9f6e21a7dd
Bug 1293693 - FillRect covering the entire canvas can skip copying the previous frame if the composite op is SOURCE, but not DEST_OUT. r=ethlin
2016-08-10 14:30:45 +02:00
Nicolas Silva
6ed0d169af
Bug 1292192 - Simplify CanvasRenderingContext2D::SwitchRenderingMode. r=gw280
2016-08-09 18:18:58 +02:00
Ethan Lin
b7af421b38
Bug 1289975 - Reuse canvas buffer when setting the same dimension. r=nical
2016-08-02 23:00:00 +02:00