Andi-Bogdan Postelnicu
b7451091eb
Bug 1297054 - remove null check in CanvasRenderingContext2D::InitializeWithDrawTarget. r=jrmuizel
...
MozReview-Commit-ID: GA3PntlpxBU
--HG--
extra : rebase_source : ac822ae25b9d861da5a196734d09a8a507a16570
2016-08-23 11:41:21 +03:00
Milan Sreckovic
ee08a6629f
Bug 1297181: More information when accelerated canvas creation fails. r=mchang
...
MozReview-Commit-ID: AjhVkngSkHK
--HG--
extra : rebase_source : 728495351c705adee280c59042c5196cdc2bb2e4
2016-08-22 17:47:54 -04:00
Kearwood (Kip) Gilbert
199db0ebbc
Bug 1296745 - Clean up WebGLContext r=jgilbert
...
MozReview-Commit-ID: B6xazNgeJ9A
--HG--
extra : rebase_source : b011fed21cebb0c5b9bf5eea4e2b58b4a85e83b6
2016-08-19 14:44:37 -07:00
Ethan Lin
5a7af1a426
Bug 1293970 - Avoid copy in CanvasRenderingContext2D::PutImageData and DrawWindow. r=nical
2016-08-16 20:18:00 -04:00
Wes Kocher
4c4e51ded0
Merge m-c to inbound, a=merge
2016-08-19 10:18:01 -07:00
Geoff Brown
97d7d7a146
Bug 1296651 - Avoid Win7 timeout in test_conformance__extensions__oes-texture-float-with-video.html; r=jmaher,a=ryanvm
2016-08-19 10:54:12 -06:00
Geoff Brown
2f25ac86fa
Bug 1296644
- Allow test_2_conformance__canvas__rapid-resizing.html to pass on Win 7; r=jmaher,a=ryanvm
2016-08-19 10:54:11 -06: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
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
Sebastian Hengst
7ab46a480a
Backed out changeset 775fa3ede160 (bug 1294351) for failing in crashtest 647480.html. r=backout
2016-08-18 12:50:56 +02:00
Nicolas Silva
8173818111
Bug 1294351 - Avoid removing and re-applying the drawing states with PersistentBufferProviderBasic. r=Bas
2016-08-17 14:39:03 +02:00
Wes Kocher
07f8858bf6
Merge inbound to central, a=merge
2016-08-17 16:38:41 -07:00
Edwin Flores
29a30711a0
Bug 1272123 - Limit the size of CanvasRenderingContext2D::mStyleStack - r=mstange
2016-08-17 09:26:11 +01:00
Ethan Lin
18475abfbc
Bug 1294607 - Remove unnecessary EnsureTarget in CanvasRenderingContext2D. r=nical
2016-08-15 23:54:00 -04:00
Phil Ringnalda
54ad5f454e
Back out 6493296521fb (bug 1294607) for crashtest crashes in 1246775-1.html
2016-08-15 20:54:50 -07:00
Ethan Lin
93ca898ab6
Bug 1294607 - Remove unnecessary EnsureTarget in CanvasRenderingContext2D. r=nical
2016-08-11 20:26:00 -04:00
Towkir Ahmed
63867da04a
Bug 1284887 - Replaced references to mxr.mozilla.org in the codebase with dxr.mozilla.org r=dolske
...
a=release to get around a hook that's catching these comment-only idl changes
--HG--
extra : rebase_source : a7353680777fd2eeea24c9993f9937bbbcfb9e4f
2016-08-15 17:28:05 -07:00
Jeff Gilbert
ae6d979f8a
Bug 1293845 - Update tests to handle new webidl.
...
MozReview-Commit-ID: 7hcluLAw7gx
2016-08-15 16:42:31 -07:00
Jeff Gilbert
aed6c57564
Bug 1293845 - Handle zero-size TexSubImage. - r=mtseng
...
MozReview-Commit-ID: J4cT3oqPTLa
2016-08-15 16:42:28 -07:00
Jeff Gilbert
34aa7ab5f7
Bug 1293845 - Repair texture bindings->internals glue. - r=mtseng
...
MozReview-Commit-ID: CUDQGwhPTuU
2016-08-15 16:42:25 -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
Ethan Lin
b29de863bc
Bug 1293968 - Avoid calling EnsureTarget in CanvasRenderingContext2D::GetImageBuffer. r=nical
...
--HG--
extra : rebase_source : de0f1bb16639d0bc358b373636404d66a4eb7d1a
2016-08-11 23:46:00 -04:00
vincentliu
e73e0cf5da
Bug 1286458 - Add crashtest. r=lsalzman
...
---
dom/canvas/crashtests/1286458-1.html | 20 ++++++++++++++++++++
dom/canvas/crashtests/crashtests.list | 1 +
2 files changed, 21 insertions(+)
create mode 100644 dom/canvas/crashtests/1286458-1.html
2016-08-15 16:01:34 +08:00
vincentliu
1000cd88ac
Bug 1283113 - Add crashtest. r=milan
...
---
dom/canvas/crashtests/1283113-1.html | 25 +++++++++++++++++++++++++
dom/canvas/crashtests/crashtests.list | 1 +
2 files changed, 26 insertions(+)
create mode 100644 dom/canvas/crashtests/1283113-1.html
2016-08-15 15:07:42 +08:00
Wes Kocher
45575a7f86
Merge m-c to autoland, a=merge
...
a=release for the webidl hook for a comment-only change
--HG--
extra : amend_source : e590e515ab273d097f88b35be0e5c999502ebdf4
2016-08-16 22:07:30 -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
Sebastian Hengst
765223d123
Backed out changeset ca7b62d9efb7 (bug 1293845)
2016-08-13 12:38:25 +02:00
Sebastian Hengst
78c59974bb
Backed out changeset b2cad6d22d75 (bug 1293845)
2016-08-13 12:38:21 +02:00
Sebastian Hengst
d8a319fe07
Backed out changeset 2b9a31603e34 (bug 1293845)
2016-08-13 12:38:17 +02:00
Jeff Gilbert
6434d6daf4
Bug 1293845 - Update tests to handle new webidl.
...
MozReview-Commit-ID: 7hcluLAw7gx
2016-08-12 18:08:00 -07:00
Jeff Gilbert
70dfbdbec9
Bug 1293845 - Handle zero-size TexSubImage. - r=mtseng
...
MozReview-Commit-ID: J4cT3oqPTLa
2016-08-12 18:07:57 -07:00
Jeff Gilbert
fb75e3bc05
Bug 1293845 - Repair texture bindings->internals glue. - r=mtseng
...
MozReview-Commit-ID: CUDQGwhPTuU
2016-08-12 18:07:54 -07:00
Jeff Gilbert
7129a3b287
Bug 1290634 - Use idealUnpack with CopyTexImage, and always respec now that ZeroTextureData doesn't support respec. - r=mtseng
...
MozReview-Commit-ID: HYzTfzLxF3X
2016-08-12 17:48:14 -07:00
Jeff Gilbert
02edeadd27
Bug 1290634 - Remove unnecessary respecifyTexture arg from ZeroTextureData. - r=mtseng
...
MozReview-Commit-ID: 52VirsA4eCQ
2016-08-12 17:48:11 -07:00
Kearwood (Kip) Gilbert
434f167559
Bug 1250244 - Part 7: Implement WebVR 1.0 API,r=bz
...
MozReview-Commit-ID: JTOmaWePlJq
2016-02-24 15:54:50 -08:00
Jan de Mooij
c33bac8363
Bug 1292892 part 5 - Replace most nsContentUtils::RootingCx calls with dom::RootingCx. r=bz,terrence
2016-08-11 14:39:23 +02: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
Nicolas Silva
ed272011eb
Bug 1292545 - Don't skip clearing the canvas because of W(1) failures on Mac.
2016-08-10 17:00:25 +02:00
Thomas Wisniewski
1fbaa831cc
Bug 826619 - Remove Canvas mozFillRule. r=mrbkap r=bas
2016-08-04 15:05:50 -04:00
Nicolas Silva
be105fa438
Bug 1292870 - Record/replay clips and transforms properly in CanvasRenderingContext2D. r=Bas
2016-08-10 14:30:51 +02:00
Nicolas Silva
70353ca51d
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
bb3580a385
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
George Wright
288d758c6c
Bug 1272878 - Fuzz test_bitmaprenderer.html because of differences in our two codepaths with antialiasing r=Morris
2016-08-09 14:15:34 -04:00
Nicolas Silva
2f14332a8d
Bug 1292192 - Simplify CanvasRenderingContext2D::SwitchRenderingMode. r=gw280
2016-08-09 18:18:58 +02:00
Kaku Kuo
3d85eebfd7
Bug 1293878 part 1 - reject promise with InvalidStateError DOMException; r=smaug
...
MozReview-Commit-ID: 7c62WCJZWMz
--HG--
extra : rebase_source : c3f90b2a6e10557cc3c3f01e31aab8e70eca6a39
2016-08-16 11:52:58 +08:00
Carsten "Tomcat" Book
931e6d0f57
Backed out changeset c0b0e54e156e (bug 1290634) for webgl regressions
2016-08-05 11:00:13 +02:00
Carsten "Tomcat" Book
f40d4e1782
Backed out changeset 4b7cd5b39cca (bug 1290634)
2016-08-05 11:00:00 +02:00
Ethan Lin
51818f44f0
Bug 1289975 - Reuse canvas buffer when setting the same dimension. r=nical
2016-08-02 23:00:00 +02:00
Jeff Gilbert
b25f577275
Bug 1290634 - Use idealUnpack with CopyTexImage, and always respec now that ZeroTextureData doesn't support respec. - r=mtseng
...
MozReview-Commit-ID: HYzTfzLxF3X
2016-08-04 20:04:56 -07:00