Граф коммитов

2297 Коммитов

Автор SHA1 Сообщение Дата
Sebastian Hengst 5c15da1f08 merge mozilla-inbound to mozilla-central. r=merge a=merge
--HG--
rename : testing/talos/tests/__init__.py => testing/talos/talos/unittests/__init__.py
rename : testing/talos/tests/browser_output.ts.txt => testing/talos/talos/unittests/browser_output.ts.txt
rename : testing/talos/tests/browser_output.tsvg.txt => testing/talos/talos/unittests/browser_output.tsvg.txt
rename : testing/talos/tests/profile.tgz => testing/talos/talos/unittests/profile.tgz
rename : testing/talos/tests/ps-Acj.out => testing/talos/talos/unittests/ps-Acj.out
rename : testing/talos/tests/test_talosconfig_browser_config.json => testing/talos/talos/unittests/test_talosconfig_browser_config.json
rename : testing/talos/tests/test_talosconfig_test_config.json => testing/talos/talos/unittests/test_talosconfig_test_config.json
rename : testing/talos/tests/xrestop_output.txt => testing/talos/talos/unittests/xrestop_output.txt
2017-10-27 12:45:34 +03:00
Jeff Gilbert 1f167472bf Bug 1404536 - Use mat3s to transform tex coords in GLBlitHelper. - r=daoshengmu
MozReview-Commit-ID: 9LxsSJF1ggN
2017-10-26 18:43:24 -07:00
Andrew McCreight 298aa82710 Bug 1412125, part 2 - Fix dom/ mode lines. r=qdot
This was automatically generated by the script modeline.py.

MozReview-Commit-ID: BgulzkGteAL

--HG--
extra : rebase_source : a4b9d16a4c06c4e85d7d85f485221b1e4ebdfede
2017-10-26 15:08:41 -07:00
Jonathan Kew 793b63713b Bug 1408612 - patch 1 - Use single-precision floats more consistently for glyph position computations when drawing text. r=jrmuizel 2017-10-24 09:59:09 +01:00
Joel Maher a89ccf49cd Bug 1410306 - Disable dom/canvas/test/webgl-conf/generated/test_2_conformance__glsl__misc__shader-uniform-packing-restrictions.html on win7/debug for frequent failures. r=me, a=testonly 2017-10-24 12:37:25 -04:00
Emilio Cobos Álvarez 8181ee70ac Bug 1410396: Skip test_conformance__glsl__misc__shader-uniform-packing-restrictions.html on Linux debug too. rpending=jgilbert
Since it's timing out very frequently on central, and apparently the culprit is
bug 1409088, which just added a relatively expensive assertion in layout.

Since that assertion has caught at least two bugs already since it landed, I
really don't want to remove it...

MozReview-Commit-ID: JVeAVKZe1PE
2017-10-20 21:44:35 +02:00
Emilio Cobos Álvarez 48762a8de7 Bug 1406448 - Skip test_conformance__glsl__misc__shader-uniform-packing-restrictions.html on Win7 debug for frequent failures. r=RyanVM 2017-10-19 20:02:35 -04:00
Sebastian Hengst 32f7c8fec3 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 1h3kZyrtqSt
2017-10-17 11:45:16 +02:00
Phil Ringnalda 838e056c79 Backed out 4 changesets (bug 1395497) for Linux failures in test_conformance__textures__misc__texture-npot-video.html
Backed out changeset c99dadd2df7d (bug 1395497)
Backed out changeset 4e3dd1e01908 (bug 1395497)
Backed out changeset c9fbcd8bd4cb (bug 1395497)
Backed out changeset a8503893cc85 (bug 1395497)

MozReview-Commit-ID: C324dGFTpLb
2017-10-16 19:13:56 -07:00
Jeff Gilbert ca2f5c0f17 Bug 1395497 - Use mat3s to transform tex coords in GLBlitHelper. - r=daoshengmu
MozReview-Commit-ID: 9AjnrOY4Rrc
2017-10-16 19:33:39 -05:00
Cameron McCormack 64d0481dfd Bug 1408312 - Part 3: Replace nsCSSParser/nsRuleNode usage for color computation in Servo styled documents. r=xidorn
MozReview-Commit-ID: LuB0izWz7nk

--HG--
extra : rebase_source : 0fd4e9a3b62c668ab0a6925e70006646a3273e62
2017-10-16 09:06:39 +08:00
Kris Maglione 60d080b412 Bug 1404198: Part 2i - Switch to NS_NewTimer* in dom. r=njn
MozReview-Commit-ID: 8Oei6TuXNbu

--HG--
extra : rebase_source : 31c583c699790cbcf302064146d313ee8126ef0c
2017-10-15 23:15:40 -07:00
Chung-Sheng Fu 6eb3e9c2c9 Bug 967895 - Ask for placeholder data when image extraction is not allowed (Tor 6253). r=jrmuizel
MozReview-Commit-ID: AJ5F6M5S83U

--HG--
extra : rebase_source : 894b16575ebbccc26c5b639d7526cb473501d9d2
2017-08-22 14:23:41 +08:00
Sebastian Hengst 1c1a5cef77 Merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 5oI3jfNbQVt
2017-10-13 11:12:47 +02:00
Christoph Diehl cff3f0e02e Bug 1349067 - Add crashtest. r=me 2017-10-12 22:41:15 -04:00
Jeff Gilbert ced2e5986f Bug 1406015 - Enable SH_INITIALIZE_UNINITIALIZED_LOCALS. - r=Lenzak
MozReview-Commit-ID: GZTk80QyVfA

--HG--
extra : rebase_source : f95550094f88ecef66c0ba681b423be0741f3486
2017-10-11 13:02:56 -07:00
Ryan VanderMeulen 7d6e25bbc3 Bug 989628 - Add crashtest. r=me
--HG--
extra : rebase_source : 45c516cfeff3c051fbcc7c29516c8b1d724edd8b
2017-10-11 11:52:40 -04:00
Ryan VanderMeulen cd891905a9 Bug 1305850 - Add crashtest. r=me
--HG--
extra : rebase_source : 79871d178c2a32b3bae8362e62100329a2c56aae
2017-10-11 11:52:39 -04:00
Joel Maher 75e1e12eb6 Bug 1302199 - Disable dom/canvas/test/webgl-mochitest/test_pixel_pack_buffer.html on windows for frequent failures. r=me, a=test-only 2017-10-11 08:45:08 -04:00
Sebastian Hengst 3c466b2f77 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-10-11 11:54:59 +02:00
Sebastian Hengst ed86a2c11f merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: AgDEPuT8DNK
2017-10-11 11:41:04 +02:00
Jonathan Watt 60fa0649f2 Bug 1406819 - Remove various bits of dead code from dom/. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D109
2017-10-11 10:09:13 +01:00
Hiroyuki Ikezoe a5c66d4d97 Bug 1407463 - Drop unused pseudo atom argument from ResolveStyleLazily and ResolveStyleLazilyInternal. r=heycam
MozReview-Commit-ID: Lmjqbr7QsTU

--HG--
extra : rebase_source : dc1587cd9058bf279f21116a843928289b2602f2
2017-10-11 10:00:28 +09:00
Chih-Yi Leu 91f9365e55 Bug 1371190 - Part 6: Update array-length-side-effects.html conformance test. r=jgilbert
MozReview-Commit-ID: JfbBom0hDUX

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

--HG--
extra : source : 85a3dd1433e229e29b71b420913a2348e5d01978
2017-09-06 10:50:14 +08:00
Chih-Yi Leu 617c06335a Bug 1371190 - Part 4: Update mochitest-errata. r=jgilbert
--HG--
extra : source : b8930cdc935710d396ef743c694a49ae85e78aa2
2017-08-04 09:52:04 +08:00
Lee Salzman 807fcbf2b1 Bug 1348976 - let OffscreenCanvas::TransferToImageBitmap report its error. r=mtseng, r=ehsan
MozReview-Commit-ID: 8x5i4ukIWe5
2017-10-12 14:14:54 -04:00
Chih-Yi Leu 96abdd1366 Bug 1371190 - Part 1: Modify gecko to be compatible to newer ANGLE. r=jgilbert
MozReview-Commit-ID: 5iK1L4ioVFK

--HG--
extra : source : 472a419a8d65f888ebc5d64ae90c59881cef4d73
2017-05-24 15:20:02 +08:00
Jeff Gilbert da2ce929ea Bug 1394265 - Set MAX_COMBINED_TEXTURE_IMAGE_UNITS to 0 if GetIntegeriv fails. r=daoshengmu
MozReview-Commit-ID: 6VDKmtVPrVO
2017-10-09 14:28:39 -04:00
Nicholas Nethercote d225f7151b Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro.
(Path is actually r=froydnj.)

Bug 1400459 devirtualized nsIAtom so that it is no longer a subclass of
nsISupports. This means that nsAtom is now a better name for it than nsIAtom.

MozReview-Commit-ID: 91U22X2NydP

--HG--
rename : xpcom/ds/nsIAtom.h => xpcom/ds/nsAtom.h
extra : rebase_source : ac3e904a21b8b48e74534fff964f1623ee937c67
2017-10-03 09:05:19 +11:00
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
Sebastian Hengst 821bac9381 Backed out changeset f13bc708c440 (bug 1408312) 2017-10-16 16:15:34 +02:00
Cameron McCormack cd60976c07 Bug 1408312 - Part 3: Replace nsCSSParser/nsRuleNode usage for color computation in Servo styled documents. r=xidorn
MozReview-Commit-ID: LuB0izWz7nk

--HG--
extra : rebase_source : c6bb1ce19b432e6a07db7c342e54a708f63d0c4b
2017-10-16 09:06:39 +08:00
Daosheng Mu bcda0089e4 Bug 1349067 - Make gl as current at WebGL2 ReadBuffer(); r=ethlin,jgilbert
MozReview-Commit-ID: 5yrsuhilb1N

--HG--
extra : rebase_source : e22d5bf358ac1e73f4073d39f99ae795d6ce65a2
2017-03-28 00:05:37 +08: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
Jeff Gilbert d0d2a623db Bug 1322746 - Disable webgl reftest on Android. - r=dvander
WebGL isn't starting on Android slaves, likely since we made vertex_array_object mandatory in this bug.

MozReview-Commit-ID: ILFGnxWDBWn
2017-09-02 21:52:30 -07:00
Jeff Gilbert 8a890b29aa Bug 1322746 - Support PLANAR_YCBCR, GPU_VIDEO, and D3D11_YCBCR_IMAGE in GLBlitHelper. - r=jerry
MozReview-Commit-ID: FNsmq0RPvYB
2017-09-02 21:52:16 -07:00
Chih-Yi Leu 92a212a53b Bug 1319160 - Remove redundant webgl disjoint timer extension mochitest r=jgilbert
MozReview-Commit-ID: GCUNxcIiF8F

--HG--
extra : rebase_source : e6d7386320d14d6b87eb27b7f0010eace0fd6be5
2017-09-01 11:41:47 +08:00
Andrew McCreight 78807d8776 Bug 1391005 - Eliminate NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED. r=peterv
Replace it with NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION, because it
has been the same for a while.

MozReview-Commit-ID: 5agRGFyUry1

--HG--
extra : rebase_source : 5388c56b2f6905c6ef969150f0c5b77bf247624d
2017-08-29 16:02:48 -07:00
Wes Kocher 4ea67d0e07 Backed out changeset e774700fe070 (bug 1392787) for build bustage a=backout CLOSED TREE
MozReview-Commit-ID: FRRUDa6rIuS
2017-08-24 13:58:52 -07:00
Andrew Halberstadt cae249f833 Bug 1392787 - Disable manifestparser tests using 'disabled' key instead of comment, r=jmaher
MozReview-Commit-ID: IQL7hWxQX9F

--HG--
extra : rebase_source : d907a5b2192687d86e3291a936c943948ed6793f
2017-08-22 16:56:02 -04:00
Chung-Sheng Fu 875538a46b Bug 1217290 - Add test cases for WebGL fingerprinting resistance r=daoshengmu,jgilbert
MozReview-Commit-ID: LeEJ4V7iYto

--HG--
extra : rebase_source : 483dd5c76be7daa1f0bff09abbe9094fcb0561db
2017-07-27 15:54:36 +08:00
Chung-Sheng Fu 2077ced147 Bug 1217290 - Refactor WebGL max & min attribute constants for WebGL fingerprinting r=arthuredelstein,daoshengmu,jgilbert
MozReview-Commit-ID: 5fxOdV8euJ0

--HG--
extra : rebase_source : 6c961a6e1bb0bea22ee464b8e166994224170b03
2017-07-27 15:49:46 +08:00
Chung-Sheng Fu 886fe4b600 Bug 1217290 - Refine WebGLContext members r=daoshengmu,jgilbert
MozReview-Commit-ID: BjZCM1ygZ4k

--HG--
extra : rebase_source : eec6bbad8c6e27cb2e2c270194e6f1d50e83d16a
2017-07-27 15:49:21 +08:00
Chung-Sheng Fu e99b682659 Bug 1217290 - Remove WebGLContext impl members r=daoshengmu,jgilbert
MozReview-Commit-ID: DPrjaf9QHfP

--HG--
extra : rebase_source : 903236ca4a0e0cf76a631188dfa58dc28d7641e4
2017-07-27 15:48:58 +08:00
Chung-Sheng Fu d361e812da Bug 1217290 - Remove WebGLContext::MinCapabilityMode r=daoshengmu,jgilbert
MozReview-Commit-ID: 8Ggsjm8ReeR

--HG--
extra : rebase_source : f614706333c6ae5b01eab45926f7a949bfddfbe5
2017-07-27 15:48:35 +08:00
JerryShih 77bd26b1bd Bug 1379995 - test case for webgl drawArray() call. r=jgilbert
Test drawArray() after calling deleteBuffer() for the binded buffer.

MozReview-Commit-ID: 306tsklZK4L

--HG--
extra : rebase_source : 9ae4b33accc57406695ad6ee8f3d71fdf4d58442
2017-08-23 17:23:05 +08:00
JerryShih 8f4560dc72 Bug 1379995 - reset the mBufferFetchingIsVerified flag after the webgl deleteBuffer call. r=jgilbert
If the buffer status was changed, we should do the ValidateBufferFetching() again.

MozReview-Commit-ID: 7czQFT3qauE

--HG--
extra : rebase_source : ee2635289d0d3e7c115b2a9d9f52c3ae876830d5
2017-08-23 16:57:41 +08:00
Wes Kocher fb8abb94c7 Merge inbound to central, a=merge
MozReview-Commit-ID: 1mWKzfX4kl
2017-08-23 18:07:24 -07:00
Nathan Froyd c25b06189d Bug 1378474 - part 2 - label WebGLQuery's AvailableRunnable; r=jgilbert,billm
If we have an associated canvas element, the query should go in the
queue of the associated document.
2017-08-23 10:39:40 -04:00
Nathan Froyd f3703c9934 Bug 1378474 - part 1 - centralize AvailableRunnable dispatching; r=jgilbert
This change will make labeling AvailableRunnable simpler, as we'll only
have to modify one location.
2017-08-23 10:39:40 -04:00
Jeff Gilbert 2e973d35a6 Bug 1330433 - OES_texture_float_linear+WebGL2 should make R32F and RG32F filterable. - r=daoshengmu
MozReview-Commit-ID: LFv8Daa6Taj
2017-08-23 01:55:30 -07:00
Kevin Chen 9fa0238d13 Bug 1362321 - Do not crash in gfxPlatform:Init if there is a TDR happening; r=bas
MozReview-Commit-ID: 9gJCErHosg1

--HG--
extra : rebase_source : 6fc0e95b18ee795f2571d82ca81f3a72970142b3
2017-08-09 18:00:01 +08:00
Ethan Lin d592c08612 Bug 1387994 - Ensure the draw target when initializing the canvas context. r=nical
MozReview-Commit-ID: DxqoywKaSbE

--HG--
extra : rebase_source : 142dea1433db50600fa73d5b0ed3d2eb9c584732
2017-08-10 15:04:42 +08:00
Sylvestre Ledru 4aaec5e153 Bug 1387569 - Also enable -Wno-implicit-fallthrough for gcc in dom/canvas (exists from gcc 7) r=jgilbert
MozReview-Commit-ID: IABJ8UM2ItU

--HG--
extra : rebase_source : 4307f2b77d6e59bdebc9092e92257b782c2bc3c2
2017-08-04 21:37:03 +02:00
Phil Ringnalda 1ca83fd296 Backed out 5 changesets (bug 1387569) for Windows static build bustage
Backed out changeset eeda521ba0ad (bug 1387569)
Backed out changeset 8d23caf2ccc7 (bug 1387569)
Backed out changeset b5f969313f81 (bug 1387569)
Backed out changeset f642bc883aa5 (bug 1387569)
Backed out changeset 20151eabffea (bug 1387569)

MozReview-Commit-ID: IH0XXePvhiL
2017-08-19 12:20:26 -07:00
Sylvestre Ledru 286b0eabd0 Bug 1387569 - Also enable -Wno-implicit-fallthrough for gcc in dom/canvas (exists from gcc 7) r=jgilbert
MozReview-Commit-ID: IABJ8UM2ItU

--HG--
extra : rebase_source : 4307f2b77d6e59bdebc9092e92257b782c2bc3c2
2017-08-04 21:37:03 +02:00
Sebastian Hengst d89b7feb2e Backed out changeset f210c7c8d115 (bug 1387569) for build bustage in crashreporter on Windows. r=backout 2017-08-19 20:23:11 +02:00
Sylvestre Ledru f57efef2ca Bug 1387569 - Also enable -Wno-implicit-fallthrough for gcc in dom/canvas (exists from gcc 7) r=jgilbert
MozReview-Commit-ID: IABJ8UM2ItU

--HG--
extra : rebase_source : 4307f2b77d6e59bdebc9092e92257b782c2bc3c2
2017-08-04 21:37:03 +02:00
Eric Rahm 9732475fe0 Bug 1389598 - Part 3: Remove gonk references from dom/ r=bkelly
--HG--
extra : rebase_source : 94a2b34b21cfde0c0ebda1045e9d30c6b88a1557
2017-08-11 17:42:11 -07:00
Morris Tseng 2ad398aebc Bug 1391136 - Handle context lost in layers-free mode. r=jgilbert
MozReview-Commit-ID: 1J0EggRmM4i
2017-08-18 15:13:29 +08:00
Phil Ringnalda 525ef4d843 Backed out 7 changesets (bug 1390386) for Android crashes in testSettingsPages
Backed out changeset 22b11f9aedd3 (bug 1390386)
Backed out changeset caffdbefd427 (bug 1390386)
Backed out changeset 3364e6589731 (bug 1390386)
Backed out changeset ed6857bdc17b (bug 1390386)
Backed out changeset 1314405cf812 (bug 1390386)
Backed out changeset 9d16670edeb5 (bug 1390386)
Backed out changeset d1286d0d2c79 (bug 1390386)

MozReview-Commit-ID: 3V3ZFwrNaGE
2017-08-17 21:06:05 -07:00
Jeff Gilbert 365866b9f5 Bug 1390386 - Add GLContext::mImplicitMakeCurrent. - r=jrmuizel
MozReview-Commit-ID: 5iyGHNzoCpd
2017-08-17 16:15:48 -07:00
Bevis Tseng 4d83a58f38 Bug 1390080 - Label ImageCache. 2017-08-15 10:51:54 +08:00
Jeff Gilbert a5518f73d7 Bug 1388565 - Mark Mac+Intel as handling no-array draw-elements well.
MozReview-Commit-ID: A2wq3h7y4Q8
2017-08-15 16:52:45 -07:00
Jeff Gilbert 36a76f19b6 Bug 1388565 - Improve driver-info.js. - r=daoshengmu
MozReview-Commit-ID: AJRnrFW5tUk
2017-08-15 16:52:43 -07:00
Jeff Gilbert 59982493b5 Bug 1388565 - Mark tests.
MozReview-Commit-ID: AXJx9p9JCaz
2017-08-15 16:52:40 -07:00
Jeff Gilbert cfccc12f18 Bug 1388565 - Fix WEBGL_compressed_texture_s3tc_srgb driver requirements. - r=daoshengmu
MozReview-Commit-ID: 5k7m1ebzlCx
2017-08-15 16:52:35 -07:00
Jeff Gilbert 62b3bdf68b Bug 1388565 - Use GLFeature::draw_buffers for WEBGL_draw_buffers IsSupported. - r=daoshengmu
MozReview-Commit-ID: 7HU2YHtjehs
2017-08-15 16:52:32 -07:00
Jeff Gilbert d333d35042 Bug 1388565 - Add webgl.1.allow-core-profiles, enabled for osx. - r=daoshengmu
MozReview-Commit-ID: 2PM6jkswzRU
2017-08-15 16:52:29 -07:00
Wes Kocher 5a4357c768 Merge inbound to central, a=merge
MozReview-Commit-ID: GArkKmOFIVH
2017-08-11 13:15:33 -07:00
Jonathan Kew 6710df5af9 Bug 1387912 - Add missing #include to dom/canvas/ImageBitmap.h, to avoid build fragility (unified-compilation dependency. r=jrmuizel a=stability
MozReview-Commit-ID: 3ptkeF67jB2

--HG--
extra : amend_source : 81ecd6836ffed785617bc1f0c6a427c3148d586d
extra : transplant_source : %22sO%3DK%602S%F6%E9%BA%1BO%F9%BD6%E4%A77%12
2017-08-11 11:12:12 +01:00
Jonathan Kew 8e8d4fdf49 Bug 1387912 - Add missing #include to dom/canvas/ImageBitmap.h, to avoid build fragility (unified-compilation dependency. r=jrmuizel 2017-08-11 11:12:12 +01:00
Sylvestre Ledru d2ed1163fe Bug 1387002 - Replace .size() by .empty() when applicable in domv/canvas/WebGL* r=kvark
MozReview-Commit-ID: 3lebYmRI8TS

--HG--
extra : rebase_source : f61511c96a43342f9c53b3d90cd958bd7b926fcb
2017-08-03 12:01:38 +02:00
Masatoshi Kimura 8b713b2b0f Bug 1375125 - Stop using nsILocalFile in the tree. r=froydnj
This mechanically replaces nsILocalFile with nsIFile in
*.js, *.jsm, *.sjs, *.html, *.xul, *.xml, and *.py.

MozReview-Commit-ID: 4ecl3RZhOwC

--HG--
extra : rebase_source : 412880ea27766118c38498d021331a3df6bccc70
2017-08-04 17:49:22 +09:00
Cameron McCormack 32d1c2df59 Bug 1384824 - Part 0: Consolidate lazy style resolution entrypoints. r=bholley
MozReview-Commit-ID: HPdviA570N1
2017-08-04 19:26:03 +10:00
Michael Smith f0a3973e54 Bug 1373739 - Disable WebGL in headless mode. r=bdahl
MozReview-Commit-ID: LWe9hRh7zXX

--HG--
extra : rebase_source : b97091b65b22e616fa6b99b819216b5b3f9c5b66
2017-06-22 10:13:12 -07:00
Morris Tseng f3d4ff499f Bug 1379920 - Introduce CanvasRenderer and its derived classes. r=nical,jrmuizel
This patch move common canvas interfaces out of layer. So I create a
base class CanvasRenderer which move interfaces from CanvasLayer.
CopyableCanvasRenderer from CopyableCanvasLayer, ClientCanvasRenderer
from ClientCanvasLayer and WebRenderCanvasRenderer from
WebRenderCanvasLayer. And finally, WebRenderCanvasRendererSync for the
non layers free mode and WebRenderCanvasRendererAsync for the layers
free mode.

Summary all changes in this patch.
* Move class CanvasLayer::Data to CanvasRenderer.h and rename it to
CanvasInitializeData. Because this class not only use by layer but also
* Move BasicCanvasLayer::UpdateSurface to
CopyableCanvasRenderer::ReadbackSurface.
* CanvasClient::Update now accepts ShareableCanvasRenderer as parameter.
not CanvasLayer.
use by layers-free mode. Move it out of layer's class makes more sense.
* Add InitializeCanvasRenderer in the canvas related classes to
initialize CanvasRenderer without involved layer.
* All canvas layer has function "CreateCanvasRendererInternal" that
initialize corresponding CanvasRenderer.

* Description of all CanvasRenderer classes:
** CanvasRenderer: Based classes.
** CopyableCanvasRenderer: Can readback canvas content to a
SourceSurface. Use by BasicCanvasLayer.
** ShareableCanvasRenderer: Provide IPC capabilities that allow sending
canvas content over IPC. This is pure virtual class because the IPC handling is
different in different LayerManager.
** ClientCanvasRenderer: Implement IPC handling for ClientLayerManager.
Use by ClientCanvasLayer.
** WebRenderCanvasRenderer: Implement IPC handling for
WebRenderLayerManager.
** WebRenderCanvasRendererSync: Use by WebRenderCanvasLayer.
** WebRenderCanvasRendererAsync: Use by layers-free mode in WebRender.

class diagram shows below:

                      +--------------+
                      |CanvasRenderer|
                      +-------+------+
                              ^
                              |
                  +----------------------+
                  |CopyableCanvasRenderer|
                  +----------------------+
                              ^
                              |
                  +-----------+-----------+
                  |ShareableCanvasRenderer|
                  +-----+-----------------+
                        ^      ^
          +-------------+      +-------+
          |                            |
+--------------------+       +---------+-------------+
|ClientCanvasRenderer|       |WebRenderCanvasRenderer|
+--------------------+       +--------+--+-----------+
                                      ^  ^
              +-----------------------+  +----+
              |                               |
+-------------+-------------+   +-------------+--------------+
|WebRenderCanvasRendererSync|   |WebRenderCanvasRendererAsync|
+---------------------------+   +----------------------------+

MozReview-Commit-ID: 5hqQ19W169r
2017-08-03 13:55:14 +08:00
Andrea Marchesini 351d938b86 Bug 1128959 - Implement the WHATWG Streams spec - part 1 - WebIDL Bindings, r=bz 2017-08-10 18:04:54 -07:00
Nicholas Nethercote 581214bd8b Bug 1384835 (part 1, attempt 2) - Use nsA[C]String references instead of pointers for outparams of Get*String() pref functions. r=froydnj.
--HG--
extra : rebase_source : fe566945a55c281d8290634a5b55bed19415c839
2017-07-31 10:52:51 +10:00
J. Ryan Stinnett c79cb3fbb1 Bug 1380053 - Stylo reftest annotations for all OSes. r=manishearth
MozReview-Commit-ID: JNsNUOZfd2e

--HG--
extra : rebase_source : 05a71f9a0fe484c93931fb230cf0752a3b1b8b00
2017-07-20 22:02:00 -05:00
Bryce Van Dyk 0fc643f349 Bug 1382718 - Expose ImageUtils.h so utils can be used more widely. r=mattwoodrow
MozReview-Commit-ID: D5AyqzCCXaj

--HG--
extra : rebase_source : 2e7b2c339ee6b8242c50816ed248d0b0dbf4b8fb
2017-07-24 08:59:42 +12:00
Carsten "Tomcat" Book d360d49d2a merge mozilla-inbound to mozilla-central a=merge 2017-07-27 10:57:25 +02:00
Bevis Tseng 95b18d794e Bug 1382172 - Name nsITimerCallback instances in native implementation. r=billm
--HG--
extra : rebase_source : 84de1abfcc30a6964144c2e6718a508c71027b65
2017-07-27 02:18:20 +08:00
Kartikaya Gupta ba4b3b9101 Bug 1384233 - Remove SizePrintfMacros.h. r=froydnj
We have a minimum requirement of VS 2015 for Windows builds, which supports
the z length modifier for format specifiers. So we don't need SizePrintfMacros.h
any more, and can just use %zu and friends directly everywhere.

MozReview-Commit-ID: 6s78RvPFMzv

--HG--
extra : rebase_source : 009ea39eb4dac1c927aa03e4f97d8ab673de8a0e
2017-07-26 16:03:57 -04:00
Nicolas Silva 4c59337e27 Bug 1382185 - Check the status of GLContext::MakeCurrent in TexUnpackBlob.cpp. r=jgilber 2017-07-24 12:24:25 +02:00
Nicolas Silva 13f0f93675 Bug 13821850 - Check the status of GLContext::MakeCurrent in CanvasRenderingContext2D. r=Bas 2017-07-24 12:24:21 +02:00
Emilio Cobos Álvarez 2b7de51623 Bug 1381844: Be more explicit about the kind of style context we handle all the time. r=bholley
MozReview-Commit-ID: E0mdkhU3XBz
2017-07-22 18:02:57 +02:00
Sebastian Hengst f16a7f8371 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4EWdTlEncz7
2017-07-22 11:38:42 +02:00
Sylvestre Ledru 7c0ae251cd Bug 1381253 - Remove redundant control flow declarations rs=ehsan
MozReview-Commit-ID: FFxP4aMCbOL

--HG--
extra : amend_source : 3aec108430b11048f47ffe19d5da7ac5034770a9
2017-07-15 19:03:04 +02:00
Manish Goregaokar 08c6de8178 Bug 1382017 part 4 Gecko piece - Rename ServoComputedValues -> ServoComputedData; r=heycam
ServoComputedValues is confusing because ComputedValues is actually
ServoStyleContext on the C++ side.

MozReview-Commit-ID: IQNVdfREAMt
2017-07-20 21:44:02 -07:00
Nicholas Nethercote 6e6ae2ea9b Bug 1382099 - Remove MOZ_WIDGET_GONK from several dom/ subdirectories. r=mccr8,jdm.
As well as the obvious #ifdef stuff, the patch removes
TCPSocket::SetAppIdAndBrowser(), which means
{TCPSocketParent,TCPServerSocketParent}::{GetAppId,GetInIsolatedMozBrowser}()
can also be removed.
2017-07-21 10:52:44 +10:00
Jeff Gilbert 537fa49680 Bug 1382358 - Allow unusual/spurious glsl versions in non-DEBUG builds. - r=kvark
MozReview-Commit-ID: GbJb9ankCGl
2017-07-19 18:04:03 -07:00
Samuel Vargas df2c48e657 Bug 1377974 - WEBGL_debug_shaders extension should always be enabled. r=jgilbert
WEBGL_debug_shaders should be allowed if ShouldResistFingerprinting
is on. Mochitests updated to reflect that.

--HG--
extra : rebase_source : 3aa5f2c6f0b8dfd8c9d1e74f810e23922d679eaa
2017-07-18 14:41:00 -04:00
Boris Zbarsky e12283979d Bug 1382027. Allow using an SVGImageElement as a CanvasImageSource. r=mystor
--HG--
rename : testing/web-platform/tests/2dcontext/drawing-images-to-the-canvas/drawimage_html_image_1.html => testing/web-platform/tests/2dcontext/drawing-images-to-the-canvas/drawimage_svg_image_1.html
rename : testing/web-platform/tests/2dcontext/drawing-images-to-the-canvas/drawimage_html_image_1_ref.html => testing/web-platform/tests/2dcontext/drawing-images-to-the-canvas/drawimage_svg_image_1_ref.html
2017-07-19 11:48:49 -04:00
Sebastian Hengst 36e308b1fc Backed out changeset 6e571ab7b558 (bug 1382104) for asserting at dom/canvas/WebGLContextUtils.cpp:714 in browser-chrome tests and failing GTest's Gfx.CompositorSimpleTree. r=backout 2017-07-19 09:53:13 +02:00
Jeff Gilbert c8d4e41e8d Bug 1382104 - Remove internal-vs-user FB bindings. - r=daoshengmu
MozReview-Commit-ID: 1lZouQUnaDl
2017-07-18 22:52:25 -07:00
Samuel Vargas 94c5974444 Bug 1380891 - WebGL Conformance sdk/tests/conformance/state/gl-enable-enum-test.html. r=jgilbert
--HG--
extra : rebase_source : 38c64d4a50d8c4fc2e5275724d0bd08bb31f0e99
2017-07-13 17:27:00 -04:00
Ryan VanderMeulen a064d6dbfc Merge m-c to inbound. a=merge 2017-07-18 13:00:03 -04:00
Ryan VanderMeulen 366f48ad7e Merge inbound to m-c. a=merge 2017-07-18 12:14:50 -04:00
Samuel Vargas 107a8c4e5b Bug 1381610 - Check bindRenderbuffer called before framebufferRenderbuffer. r=jgilbert 2017-07-17 16:52:00 -04:00
Nicolas Silva f83cf1506c Bug 1360415 - Enable smoothing in canvas.drawImage when down-scaling, even with imageSmoothingEnabled=false. r=bzbarsky 2017-07-18 13:13:44 +02:00
Manish Goregaokar cdb73416fd Bug 1367904 - Part 14: stylo: Remove FFI calls for fetching style structs from ServoComputedValues; r=bholley
MozReview-Commit-ID: 2HrVZl9HZu1
2017-07-17 21:01:10 -07:00
Manish Goregaokar f33beecc59 Bug 1367904 - Part 10: stylo: Switch Gecko over to ServoStyleContext; r=bholley
MozReview-Commit-ID: EmopKVjEzlz
2017-07-17 21:00:46 -07:00
Samuel Vargas cf725b7488 Bug 1367613 - Track and spew synchronous/blocking GL call counts. r=jgilbert 2017-07-13 14:26:00 -04:00
Ryan VanderMeulen 992097f66b Bug 1373007 - More manifest fixups. a=me 2017-07-14 08:43:19 -04:00
Sebastian Hengst 22d024f800 Backed out changeset 020581c23b7d (bug 1367613) for gl error during test_conformance__extensions__webgl-debug-shaders.html. r=backout on a CLOSED TREE 2017-07-14 10:11:54 +02:00
Sebastian Hengst 4a3997ebd2 Backed out changeset 49ef9e17682e (bug 1377974) for gl error during test_conformance__extensions__webgl-debug-shaders.html. r=backout on a CLOSED TREE 2017-07-14 10:11:11 +02:00
Samuel Vargas 5f920739bc Bug 1373007 - WebGL 1.04 extensions/webgl-draw-buffers-framebuffer-unsupported. r=jgilbert
--HG--
extra : source : 730c95f8ee15de130a015ce6dcc94f0735c4293e
extra : histedit_source : c8ec1ffa8fe52a0670cfa342af13e1ea47281b3f%2Cd159115a0c8586a4668ea88c7cb80202c30c26e9
2017-06-22 14:45:11 -07:00
Samuel Vargas 3ca06f7de4 Bug 1376039 - Convert ValidateBlendFuncEnum to static func. r=jgilbert
--HG--
extra : rebase_source : 0f4603d54951436770388b79bcb6e5d4b7782f5e
2017-06-23 17:31:05 -07:00
Samuel Vargas d7f0c12cd3 Bug 1376039 - WebGL Conformance Failure: deqp/functional/gles3/integerstatequery.html. r=jgilbert
--HG--
extra : rebase_source : b8beba46757c7218d573367be82e162737e4a1c7
2017-06-23 16:19:49 -07:00
Samuel Vargas 9096e7b95d Bug 1377974 - WEBGL_debug_shaders extension should always be enabled. r=jgilbert 2017-07-03 16:52:00 -04:00
Samuel Vargas a6fd9e6994 Bug 1367613 - Track and spew synchronous/blocking GL call counts. r=jgilbert 2017-07-13 14:26:00 -04:00
Samuel Vargas f36d75726e Bug 1367919 - Add tracking for data allocation calls in WebGL. r=jgilbert 2017-06-22 14:32:00 -04:00
Yoshi Huang 8a943a7081 Bug 1373515 - Revert Bug 1363673. r=smaug
image with src set to data:image/png should be considered as same
origin, as we fixed in Bug 1373513.
So this reverts what we did in bug 1363673.
2017-07-26 18:44:19 +08:00
Josh Matthews e0c37f0ed3 Bug 1352669 - Hook up Stylo CSS parser to Gecko error reporter. r=emilio
MozReview-Commit-ID: 3r5Z6KiPgRM
2017-07-10 17:52:00 -04:00
Sylvestre Ledru 4e9cf83ee8 Bug 1378712 - Remove all trailing whitespaces r=Ehsan
MozReview-Commit-ID: Kdz2xtTF9EG

--HG--
extra : rebase_source : 7235b3802f25bab29a8c6ba40a181a722f3df0ce
2017-07-06 14:00:35 +02:00
Wes Kocher a9eb08898f Backed out changeset f220d8060c14 (bug 1352669) for build bustage CLOSED TREE a=bustage
MozReview-Commit-ID: INYGT4WT1pO
2017-07-06 14:56:06 -07:00
Josh Matthews 723b20d420 Bug 1352669 - Hook up Stylo CSS parser to Gecko error reporter.
MozReview-Commit-ID: 3r5Z6KiPgRM
2017-07-06 13:15:08 -07:00
Kartikaya Gupta 4826f32d87 Bug 1377169 - Turn gfxRect into a typedef. r=jrmuizel
One thing to note here is that the Scale function on gfxRect has a
different implementation than that in gfx::Rect which is replacing it.
The former just scales the width/height directly whereas the latter
scales the XMost/YMost and recomputes the width/height.

MozReview-Commit-ID: 5FImdIaNfC3

--HG--
extra : rebase_source : 98662d2a52ff9652ec60b066641a07c6d5ee8e08
2017-07-05 11:22:00 -04:00
Kartikaya Gupta cad9534e69 Bug 1377090 - Turn gfxMatrix into a typedef for MatrixDouble. r=jrmuizel
Most of this patch is updating a few places that use gfxMatrix to use
the equivalent-but-differently-named functions on MatrixDouble:
- Translate/Rotate/Scale get turned into PreTranslate/PreRotate/PreScale
- Transform(Point) gets turned into TransformPoint(Point)
- gfxMatrix::TransformBounds(gfxRect) gets turned into
  gfxRect::TransformBoundsBy(gfxMatrix).
- gfxMatrix::Transform(gfxRect) gets turned into
  gfxRect::TransformBy(gfxMatrix).
The last two functions are added in this patch as convenience wrappers
to gfxRect instead of Matrix.h because we don't want Matrix.h to "know"
about gfxRect (to avoid adding gecko dependencies on Moz2D). Once we
turn gfxRect into a typedef for RectDouble these will be eliminated
anyway.

MozReview-Commit-ID: BnOjHzmOSKn

--HG--
extra : rebase_source : cf1692d1f0d44a4b05d684a66678739181a426d5
2017-07-05 11:18:49 -04:00
Jeff Gilbert 0b1caa2664 Bug 1377827 - Don't try to initialize texture data unless the texture is otherwise complete. - r=daoshengmu
MozReview-Commit-ID: 4alHrHS2vMJ
2017-07-03 15:39:59 -07:00
David Anderson bea091ec98 Add a reftest for bug 1377303. r=mattwoodrow
--HG--
extra : rebase_source : deb6c86702311b4af9326a6ddacebcb602dc124c
2017-06-30 15:36:13 -07:00
Carsten "Tomcat" Book 7918eeee02 merge mozilla-inbound to mozilla-central a=merge 2017-06-28 13:23:29 +02:00
Samuel Vargas 2bc96fc2e7 Bug 1372385 - Remove unexpected OSX mochitest pass from errata. r=jgilbert
--HG--
extra : rebase_source : 7f760ba69dcf55dbfb786a5f9f4296b4d7a7ed17
2017-06-23 18:01:00 -04:00
Samuel Vargas 69f9ce7cef Bug 1372385 - Fix premultiplication for LUMINANCE / LUMINANCE_ALPHA on WebGL2 conformance test. r=jgilbert
--HG--
extra : rebase_source : 6b81a5a3f6d1b5e0692813f7e8b9b3cb13e7a9c0
2017-06-15 15:29:00 -04:00
Kartikaya Gupta 66730bcc5b Bug 1376449 - Robustify startDrawing to prevent calling callback function after stop() has been called. r=pehrsons
MozReview-Commit-ID: 5vPtTHBGJhN

--HG--
extra : rebase_source : fc5ac99c261120c10d43616650c94bdbf63d3bbc
2017-06-27 13:55:45 -04:00
Carsten "Tomcat" Book 4e00eff077 merge mozilla-inbound to mozilla-central a=merge 2017-06-27 10:56:41 +02:00
Daosheng Mu 51833534e1 Bug 1368284 - Add SH_ADD_AND_TRUE_TO_LOOP_CONDITION shader compile work around for Intel drivers on MacOSX; r=jgilbert
MozReview-Commit-ID: JMHuZirH4L5

--HG--
extra : rebase_source : b015176a20feba7a9032255323c0f2e4960a85d2
2017-06-26 08:39:30 -07:00
Bill McCloskey f115503a0b Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Jeff Gilbert 1f52f0ef2c Bug 1375721 - Use SH_SCALARIZE_VEC_AND_MAT_CONSTRUCTOR_ARGS on Intel+OGL. r=daoshengmu
MozReview-Commit-ID: AuXtjsY4IjQ

--HG--
extra : source : d5e61d70359afa2e24c444b94739bcf35f7460b2
extra : amend_source : 567166379cabc25106debfbd3c095f474ee58b6b
2017-06-22 18:54:16 -07:00
Carsten "Tomcat" Book dc54f8e362 Backed out changeset dfdccf4dc6a1 (Bug 1368284) to fix bustage a=me 2017-06-23 12:56:08 +02:00
Carsten "Tomcat" Book 35cd4f0c51 Bug 1365879 - Revert merge conflict resolution to fix bustage a=me
--HG--
extra : amend_source : 5b5c8fb8a5226c001eb0092c6d32624ac3f4b8df
2017-06-23 12:18:40 +02:00
Carsten "Tomcat" Book 5f51e5596e merge mozilla-inbound to mozilla-central a=merge 2017-06-23 11:28:19 +02:00
Phil Ringnalda a53a350cd6 Backed out changeset 91f89d105e2f (bug 1372385) for unexpected passes of test_2_conformance__textures__misc__tex-image-with-format-and-type.html on OS X
MozReview-Commit-ID: 5GpTjEQ8zjQ
2017-06-22 22:23:59 -07:00
Phil Ringnalda 3b305b4a7d Backed out 2 changesets (bug 1373007) for failing to mark the unexpected passes on OS X
Backed out changeset 667c5d2b3f77 (bug 1373007)
Backed out changeset 730c95f8ee15 (bug 1373007)

MozReview-Commit-ID: 4qbmDgXpmbJ
2017-06-22 21:32:38 -07:00
Jeff Gilbert ad01c14ec9 Bug 1375721 - Use SH_SCALARIZE_VEC_AND_MAT_CONSTRUCTOR_ARGS on Intel+OGL. - r=daoshengmu
MozReview-Commit-ID: AuXtjsY4IjQ
2017-06-22 20:03:11 -07:00
Jeff Gilbert 676a7d42b3 Bug 1373007 - Update test markings.
MozReview-Commit-ID: GqfGNu1T048
2017-06-22 14:45:57 -07:00
Samuel Vargas 39d0d66ae6 Bug 1373007 - WebGL 1.04 extensions/webgl-draw-buffers-framebuffer-unsupported - r=jgilbert 2017-06-22 14:06:08 -07:00
Samuel Vargas b2d3e3f7f6 Bug 1372385 - Fix premultiplication for LUMINANCE / LUMINANCE_ALPHA on WebGL2 conformance test - r=jgilbert 2017-06-22 14:03:45 -07:00
Daosheng Mu 54b342c455 Bug 1368284 - Add SH_ADD_AND_TRUE_TO_LOOP_CONDITION shader compile work around for Intel drivers on MacOSX; r=jgilbert
MozReview-Commit-ID: HmSUgaBIC4g

--HG--
extra : rebase_source : 673bef1c8b8ee02757bfcd71da228df03c715c26
2017-06-20 12:00:49 +08:00
Carsten "Tomcat" Book 4f3bc4dba8 merge mozilla-inbound to mozilla-central a=merge 2017-06-22 12:47:40 +02:00
Wes Kocher bb24138b9d Merge m-c to inbound, a=merge
MozReview-Commit-ID: CaSKFN9T7N4
2017-06-21 18:05:27 -07:00
Samuel Vargas 9b1cb12fb9 Bug 1372438 - STENCIL_INDEX is not a WebGL constant - r=jgilbert,qdot 2017-06-21 16:28:05 -07:00
Carsten "Tomcat" Book 8a1350b5a6 Backed out changeset 4f6302a98ae4 (bug 1372405)
--HG--
extra : rebase_source : 41632f3158e88e692809731394a683d065a73dfb
2017-06-21 13:59:26 +02:00
Xidorn Quan 54100abc9a Bug 1367306 part 2 - Adjust some test expectation based on whether stylo is being used. r=bholley
MozReview-Commit-ID: BDaiAO5kgaK

--HG--
extra : rebase_source : 4d7fd750b76bbf3ec5e42100048f557b835d957e
2017-06-21 15:25:41 +10:00
Jean-Yves Avenard 35422755f0 Bug 1223270: P6. Disable WebGL fast path tests on windows. r=jgilbert
fastpath is not implemented on windows machine when using either hardware decoding or D3D11.

MozReview-Commit-ID: GbJVk0nC4vp

--HG--
extra : rebase_source : de83627f7a82b5320d3c926c32cea0df5c0b96a0
2017-06-15 12:28:17 +02:00
Carsten "Tomcat" Book e082f0f91a Backed out changeset fc623f4ec820 (bug 1223270) 2017-06-20 09:41:34 +02:00
Carsten "Tomcat" Book ba27a964cb Backed out changeset 9e6dcb8ce801 (bug 1373229) 2017-06-20 09:41:30 +02:00
Jean-Yves Avenard 20ca0be63e Bug 1373229: P2. Update mochitest expectations. r=jgilbert
MozReview-Commit-ID: 37IluaeewKk

--HG--
extra : rebase_source : 3edd79d09ea55a197dbda66b7ccfe6fa8997c780
2017-06-18 16:14:05 +02:00
Jean-Yves Avenard 604ccc4959 Bug 1223270: P6. Disable WebGL fast path tests on windows. r=jgilbert
fastpath is not implemented on windows machine when using either hardware decoding or D3D11.

MozReview-Commit-ID: GbJVk0nC4vp

--HG--
extra : rebase_source : cc56e46107a672fd5bfc22e9fc450f9969b91c37
2017-06-15 12:28:17 +02:00
Bill McCloskey 6b3e84ed5f Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00