Commit Graph

2114 Commits

Author SHA1 Message Date
Kyle Machulis
6a4d37f8bb Bug 1403819 - Remove nsIDOMHTMLCanvasElement; r=bz
Removes the XPCOM interface for nsIDOMHTMLCanvasElement, replacing it
with binding class usage.

MozReview-Commit-ID: DQJhqGlY8U6
2017-10-06 10:49:26 -07:00
Sebastian Hengst
b4bb2df7c7 Backed out changeset 472a419a8d65 (bug 1371190) for build bustage, at least on Windows Static. r=backout on a CLOSED TREE 2017-10-06 15:30:44 +02:00
Sebastian Hengst
d55953a69b Backed out changeset b8930cdc9357 (bug 1371190) 2017-10-06 15:29:40 +02:00
Sebastian Hengst
bc16594d0d Backed out changeset 85a3dd1433e2 (bug 1371190) 2017-10-06 15:29:34 +02:00
Sebastian Hengst
b0ddb6bf3c Backed out changeset c20b4b61163f (bug 1371190) 2017-10-06 15:29:29 +02:00
Chih-Yi Leu
1f4020f961 Bug 1371190 - Part 6: Update array-length-side-effects.html conformance test. r=jgilbert
MozReview-Commit-ID: JfbBom0hDUX

--HG--
extra : rebase_source : 8af3c71652996b9f1847a72724586b1a44b8453e
2017-10-02 16:50:08 +08:00
Chih-Yi Leu
4e70a461c8 Bug 1371190 - Part 5: Force enable alpha channel to prevent ANGLE from using incompatible backbuffer format. r=jgilbert
MozReview-Commit-ID: JtbKebUiroM

--HG--
extra : rebase_source : 1bd127749ae2e30b9526c319b49c51887f6cc3f8
2017-09-06 10:50:14 +08:00
Chih-Yi Leu
1a73cba56e Bug 1371190 - Part 4: Update mochitest-errata. r=jgilbert
--HG--
extra : rebase_source : e385ea2c45279e3cb40d196cae72e9509003d7af
2017-08-04 09:52:04 +08:00
Chih-Yi Leu
99a304878d Bug 1371190 - Part 1: Modify gecko to be compatible to newer ANGLE. r=jgilbert
MozReview-Commit-ID: 5iK1L4ioVFK

--HG--
extra : rebase_source : 8aff17309936e70441c890f90a48b8c009e19f55
2017-05-24 15:20:02 +08:00
Jonathan Watt
54bad67928 Bug 1405785, part 2 - Document and rename nsSVGRenderingObserver::DoUpdate to OnRenderingChange. r=longsonr
MozReview-Commit-ID: 76ImwCiBeX6
2017-09-15 10:01:34 +01:00
Kearwood "Kip" Gilbert
6f85ed3a79 Bug 1400407 - Part 3: Remove IsMirror concept, as it is no longer used by WebVR,r=jgilbert
- This patch is the same as one from Bug 1382104 (Remove IsMirror concept
  in favor of checking forwarder).
- It is safe to uplift this patch without the rest of Bug 1382104 as long
  as the remaining Bug 1381084 is also uplifted.

MozReview-Commit-ID: 21YZObeSUa3

--HG--
extra : rebase_source : 8d543fe69f4ac9df5ccdc42d3ce47bb37eea4396
2017-08-28 14:50:14 -07:00
Kearwood "Kip" Gilbert
7f6e715fdf Bug 1400407 - Part 2: Cleanup DOM Canvas mirroring dead code,r=jgilbert
- Refactored out Canvas layer mirror specialization, no longer needed
  as we are no longer implementing a TextureForwarder to submit VR frames.

MozReview-Commit-ID: ArZO6M9kNLg

--HG--
extra : rebase_source : 2447bfb61b6575f0c6bdaf35ecd4656e7cfb762f
2017-09-15 15:06:56 -07:00
Wes Kocher
83fd890d27 Merge m-c to autoland, a=merge CLOSED TREE
MozReview-Commit-ID: HeJwJwwTzhQ
2017-10-02 16:26:42 -07:00
Wes Kocher
382a7d90d6 Merge inbound to central, a=merge
MozReview-Commit-ID: CvJ9hmTQBcR
2017-10-02 16:22:37 -07:00
Sebastian Hengst
4d183e475c Backed out changeset 9b5b03b2114d (bug 1401379) 2017-10-02 19:57:33 +02:00
Nika Layzell
484b697044 Bug 1401379 - Part 2: Add more cycle collector edges for nsDocShell, r=smaug
MozReview-Commit-ID: 3j9jfLv7MO2
2017-10-02 11:58:01 -04:00
Andrea Marchesini
9067ec472c Bug 1404845 - Renaming BlobImpl::GetInternalStream to BlobImpl::CreateInputStream, r=smaug 2017-10-02 13:53:12 +02:00
Andreas Pehrson
f421080879 Bug 1380346 - Let CaptureStreamTestHelper2D.drawColor draw squares wherever you want. r=jib
It was supporting a simpler case of only drawing in the upper left corner of
the input canvas. This supports that by default still, but also allows the
caller to exactly specify coordinates and size of the rectangle to draw.

MozReview-Commit-ID: GVQh0HqejqU

--HG--
extra : rebase_source : fb48fd1681f0545c53b5cb49b2791f42270ca83c
2017-09-14 19:00:20 +02:00
Andreas Pehrson
f9cccebd1e Bug 1380346 - CaptureStreamTestHelper shouldn't need a full-size canvas to extract a pixel. r=jib
Our previous strategy was to draw the *entire* video we wanted a pixel from to
a canvas, then extract the pixel we wanted from that. This was all right for
most of our cases where the video was sufficiently small.

However, drawImage is more powerful than that -- we really just need a 1x1
canvas and draw the pixel we want to look at straight in.

MozReview-Commit-ID: ATdFVY3YBUv

--HG--
extra : rebase_source : 47ce69d7d9fd6505d2991895d4484fcc1f746543
2017-09-14 18:57:12 +02:00
Jeff Gilbert
ecdd005bbd Bug 1403798 - Update sRGB expectation to "pass" on Windows.
MozReview-Commit-ID: 6pjoWF4DMyE
2017-09-28 13:28:21 -07:00
Kearwood "Kip" Gilbert
c5a2279e20 Bug 1400457 - Isolate VR Rendering from Compositor r=daoshengmu,jgilbert
- WebVR is no longer dependent on PTexture, TextureParent,
  TextureHost, and TextureChild.  It continues to use TextureClient
  for pooling and coordinating locks with other Gecko code.
- PreserveDrawingBuffer now behaving correctly for 2d display mirroring
- Preparation for separating to VR process
MozReview-Commit-ID: 2RGOulCInSu

--HG--
extra : rebase_source : 3542b804c3def36fa74541be32d0e7cbc9698641
2017-07-21 17:30:34 -07:00
Jeff Gilbert
c05dfaa988 Bug 1403798 - Fix EXT_sRGB activation, particularly on Windows+ANGLE+ES2. - r=daoshengmu
MozReview-Commit-ID: 9gC3B1jsX5I
2017-09-28 10:29:01 -07:00
Jeff Gilbert
28ad7c4030 Bug 1403413 - Remove deprecated MOZ_ extension prefix aliases. - r=daoshengmu
MozReview-Commit-ID: JM5pVKW8po7
2017-09-27 17:46:25 -07:00
Nicholas Nethercote
dfd3b7e7aa Bug 1400459 (part 2) - Devirtualize nsIAtom. r=heycam.
This patch merges nsAtom into nsIAtom. For the moment, both names can be used
interchangeably due to a typedef. The patch also devirtualizes nsIAtom, by
making it not inherit from nsISupports, removing NS_DECL_NSIATOM, and dropping
the use of NS_IMETHOD_. It also removes nsIAtom's IIDs.

These changes trigger knock-on changes throughout the codebase, changing the
types of lots of things as follows.

- nsCOMPtr<nsIAtom> --> RefPtr<nsIAtom>

- nsCOMArray<nsIAtom> --> nsTArray<RefPtr<nsIAtom>>
  - Count() --> Length()
  - ObjectAt() --> ElementAt()
  - AppendObject() --> AppendElement()
  - RemoveObjectAt() --> RemoveElementAt()

- ns*Hashtable<nsISupportsHashKey, ...> -->
  ns*Hashtable<nsRefPtrHashKey<nsIAtom>, ...>

- nsInterfaceHashtable<T, nsIAtom> --> nsRefPtrHashtable<T, nsIAtom>
  - This requires adding a Get() method to nsRefPtrHashtable that it lacks but
    nsInterfaceHashtable has.

- nsCOMPtr<nsIMutableArray> --> nsTArray<RefPtr<nsIAtom>>
  - nsArrayBase::Create() --> nsTArray()
  - GetLength() --> Length()
  - do_QueryElementAt() --> operator[]

The patch also has some changes to Rust code that manipulates nsIAtom.

MozReview-Commit-ID: DykOl8aEnUJ

--HG--
extra : rebase_source : 254404e318e94b4c93ec8d4081ff0f0fda8aa7d1
2017-09-26 08:33:21 +10:00
Wes Kocher
a341b32d06 Merge autoland to central, a=merge
MozReview-Commit-ID: 8B7y2ULc04
2017-09-26 17:11:14 -07:00
Wes Kocher
22a72df7fe Merge inbound to m-c a=merge
MozReview-Commit-ID: 6viJ4wRxLa8
2017-09-26 15:54:51 -07:00
Daosheng Mu
71e33503a5 Bug 1398436 - Skip-if test_2_conformance__extensions__webgl-compressed-texture-size-limit.html in Win 7; r=jgilbert
MozReview-Commit-ID: JJBAvcLZPUZ

--HG--
extra : rebase_source : c40e4090edd066ea2cf8266415e792bba68efce2
2017-09-18 16:17:07 +08:00
sotaro
8c6ed26316 Bug 1402767 - Enable accleleration of GLScreenBuffer when WebRender is enabled r=jgilbert 2017-09-26 13:15:36 +09:00
Ethan Lin
9486c23d02 Bug 1296410 - Add crashtest for the bug about NULL pointer read when opening a canvas html. r=mstange
MozReview-Commit-ID: I1kqQcYFxtU

--HG--
extra : rebase_source : c0b508a7504aaeb8095db5471b8c2b7fbd6bdd53
2017-09-26 01:16:27 +08:00
Andreas Pehrson
78a302848f Bug 1296531 - Let waitForPixel and friends take a cancelPromise. r=jib
MozReview-Commit-ID: 42hT181wkvq

--HG--
extra : rebase_source : 430d7ea6156bddf98893c4b8b3d0db70c3c54831
2017-05-29 16:27:45 +02:00
Jonathan Watt
341ea5e4f1 Bug 1401356, part 2 - Rename nsSVGEffects to SVGObserverUtils. r=longsonr 2017-08-30 15:58:31 +01:00
Jonathan Watt
0e4feb75d3 Bug 1401356, part 1 - Rename nsSVGEffects.h/.cpp to SVGObserverUtils.h/.cpp. r=longsonr
--HG--
rename : layout/svg/nsSVGEffects.cpp => layout/svg/SVGObserverUtils.cpp
rename : layout/svg/nsSVGEffects.h => layout/svg/SVGObserverUtils.h
2017-08-30 14:14:46 +01:00
Andrew Halberstadt
7527e600f0 Bug 1392787 - Disable manifestparser tests using 'disabled' key instead of comment, r=jmaher
MozReview-Commit-ID: IQL7hWxQX9F

--HG--
extra : rebase_source : b78cbf7913fc1b0a27dfa085c38957e2bc2467d0
2017-08-22 16:56:02 -04:00
Jeff Gilbert
4efa5737b0 Bug 1400073 - Hide MOZ_debug from getSupportedExtensions. - r=daoshengmu
MozReview-Commit-ID: LFTrUOGLh36
2017-09-14 19:26:49 -07:00
Daosheng Mu
6eef084a6c Bug 1398404 - Make current context when updating max draw buffers; r=jgilbert
MozReview-Commit-ID: 1OSjjMwCpBb

--HG--
extra : rebase_source : 24f82404dcc4372f8b05e9778efa1d335ad786ad
2017-09-11 10:30:48 +08:00
Jon Coppeard
a3c0357907 Bug 1399141 - Attribute malloc memory when creating reflector object r=baku 2017-09-13 11:21:12 +01:00
Jon Coppeard
a4fe4cbe3c Bug 1301863 - Tell the JS engine how much memory blob reflectors hold alive r=baku 2017-09-12 10:46:51 +01:00
Jean-Yves Avenard
cd0b3c1b7a Bug 1392143 - P4. Change test expectations now that it passes. r=mattwoodrow
MozReview-Commit-ID: moLdQoJnQw

--HG--
extra : rebase_source : f787fb0669d3cc0426383e5689ee4cd319ed355a
2017-09-07 17:52:49 +02:00
Wes Kocher
4d3b3a806c Backed out 6 changesets (bug 1392143) for lint failures in SanityTest.js a=backout
Backed out changeset 5e167360b1f9 (bug 1392143)
Backed out changeset c1fcfceeefae (bug 1392143)
Backed out changeset 5220b19f1fc0 (bug 1392143)
Backed out changeset ff3a335e7111 (bug 1392143)
Backed out changeset b1627a3a5d77 (bug 1392143)
Backed out changeset 40e16e34df00 (bug 1392143)

MozReview-Commit-ID: KWifvOL8d9s
2017-09-07 16:17:11 -07:00
Jean-Yves Avenard
cad4fd8f64 Bug 1392143 - P4. Change test expectations now that it passes. r=mattwoodrow
MozReview-Commit-ID: moLdQoJnQw

--HG--
extra : rebase_source : 260e99812d5d52426fb52088a43b096ffa460d63
2017-09-07 17:52:49 +02:00
Daosheng Mu
cbc71c63a8 Bug 1359055 - Part 3: Fail-if webgl-compressed-texture-size-limit tests on Win 7; r=jgilbert
MozReview-Commit-ID: 8lS9W6ju0Lv

--HG--
extra : rebase_source : 4f7aafbc5a9ab50cbb0a86977dfe422c5b07db45
2017-08-31 03:31:42 +08:00
Daosheng Mu
0129bbc1cb Bug 1359055 - Part 2: Enable compressed texture unpack buffer tests; r=jgilbert
MozReview-Commit-ID: Dvdf8ORrGtg

--HG--
extra : rebase_source : f28e88731c64327b73b4947507081f529ca58d50
2017-08-31 03:02:28 +08:00
dmu@mozilla.com
280b27a0fb Bug 1359055 - Part 1: PBO offset for WebGL compressedTexImage; r=baku,jgilbert
MozReview-Commit-ID: LN2diy41A2Z

--HG--
extra : rebase_source : d77ee2b289348e0609bac248dfab670c72623fa0
2017-07-18 18:02:57 +00:00
Kris Maglione
04acc0aace Bug 1396449: Part 2 - Use atoms to test WebExtension permissions. r=krizsa
The extension policy services uses atoms internally for permission names, so
using them directly rather than strings is considerably cheaper.

MozReview-Commit-ID: Io8EuOXHKVy

--HG--
extra : rebase_source : 577b4bdf7f899729e4cf92961a8e9e25bf886a72
2017-09-03 18:51:02 -07:00
Jeff Gilbert
8ad8b56fea Bug 1322746 - Mark windows as passing video fast-upload tests.
MozReview-Commit-ID: EbAitGKID64
2017-09-02 21:52:50 -07:00
Jeff Gilbert
e0767b6b54 Bug 1322746 - Remove video->canvas2d fastpath for SkiaGL. - r=lsalzman
MozReview-Commit-ID: GjLnyS2lqDo
2017-09-02 21:52:47 -07:00
Jeff Gilbert
0086c87614 Bug 1322746 - SkiaGL should ask for a blit to OriginPos::BottomLeft. - r=lsalzman
MozReview-Commit-ID: Fu2VP0Va2Fk
2017-09-02 21:52:44 -07:00
Jeff Gilbert
29703124cf Bug 1322746 - Add common func addLoadEvent to mochi-to-testcase.py.
MozReview-Commit-ID: 2I7qdlZ6Po6
2017-09-02 21:52:42 -07:00
Jeff Gilbert
dc78acfe2b Bug 1322746 - No fast uploads for x/y/zOffset!=0 yet. - r=daoshengmu
MozReview-Commit-ID: CVq6TYhg9FP
2017-09-02 21:52:39 -07:00
Jeff Gilbert
2e54682899 Bug 1322746 - Mark mp4->webgl as fast on Mac.
MozReview-Commit-ID: FgnmIJZQyex
2017-09-02 21:52:36 -07:00