Noemi Erli
5d9588e156
Backed out 3 changesets (bug 1452080) for bustage in /builds/worker/workspace/build/src/layout/base/nsCSSFrameConstructor.cpp on a CLOSED TREE
...
Backed out changeset 7f5104c7a242 (bug 1452080)
Backed out changeset 806a9c95a243 (bug 1452080)
Backed out changeset bffebe8aa254 (bug 1452080)
2018-04-09 11:18:12 +03:00
Emilio Cobos Álvarez
2a427429ff
Bug 1452080: Remove ComputedStyle::PresContext usage from layout and canvas code. r=xidorn
...
Couldn't find an easy way of splitting these up :(
MozReview-Commit-ID: 2kTZ5McREUT
2018-04-09 09:57:55 +02:00
Kartikaya Gupta
2eefaf54ec
Bug 1344350 - Mark reftests passing with webrender on Windows. r=jrmuizel
...
This covers all the reftests that have lower fuzz (or zero fuzz) and
were producing an UNEXPECTED-PASS result with webrender on windows. In
many cases I just adjusted the lower bound of the existing webrender
fuzz. In other cases existing fails-if conditions had to be tweaked to
exclude webrender.
MozReview-Commit-ID: 49LvS0vuYWR
--HG--
extra : rebase_source : d194e24affb87fe4560a127ff4016f9c38f414fd
2018-04-06 11:58:44 -04:00
Boris Zbarsky
a0b6e32bba
Bug 1449631 part 12. Remove the Nullable smuggling from nsIDOMEventTarget. r=smaug
...
MozReview-Commit-ID: 73qhRSCpr3S
2018-04-05 13:42:42 -04:00
Boris Zbarsky
4292bca4ee
Bug 1449631 part 6. Remove nsIDOMEventTarget::DispatchEvent. r=smaug
...
MozReview-Commit-ID: 8YMgmMwZkAL
2018-04-05 13:42:41 -04:00
Jeff Gilbert
1a31f408ad
Bug 1449264 - Handle texStorage3D's `levels` better. - r=kvark
...
MozReview-Commit-ID: G6ubd4iR67s
2018-04-03 16:28:41 -07:00
Jeff Gilbert
ad64b41497
Bug 1450148 - Generic TF Buffer slot moved to Context from TFO. - r=kvark
...
MozReview-Commit-ID: C2YkjedeFTy
2018-04-03 16:25:21 -07:00
Jeff Gilbert
e4dc10addd
Bug 1446548 - Treat all GLSL versions >=450 as 450. - r=kvark
...
MozReview-Commit-ID: 4i5IAvWNZb
2018-04-03 16:19:09 -07:00
Cosmin Sabou
8b072224cb
Bug 1362248 - Disable dom/canvas/test/reftest/webgl-color-test.html?native-gl == dom/canvas/test/reftest/wrapper.html?colors-no-alpha.png for frequent failures. r=jmaher
2018-04-03 17:48:22 +02:00
shindli
3bfd0c07fd
Merge inbound to mozilla-central. a=merge
2018-03-30 12:56:21 +03:00
Jeff Gilbert
2cfd3869cf
Bug 1446412 - Forbid implicit construction of WebGLFBAttachPoint. - r=kvark
...
MozReview-Commit-ID: AM7xfXwJxkV
2018-03-29 18:11:08 -07:00
Jeff Gilbert
b21ff75bef
Bug 1446412 - Don't query GL for RED_BITS and friends queries. - r=kvark
...
There's no reason to ask GL since we should know the answers.
Also GL is tricky on how it handles these semi-deprecated queries.
Official GL stance is "don't ask questions you know the answer to".
MozReview-Commit-ID: F7p73eSTrYw
2018-03-29 18:11:05 -07:00
Tom Ritter
9e3a59a98a
Bug 1337157 Disable WEBGL_debug_renderer_info when Resist Fingerprinting is active r=jgilbert
...
MozReview-Commit-ID: F7LCweFIPtM
--HG--
extra : rebase_source : 35d2e1560ae131f66867a816196c4e96f4b7fe41
2018-03-26 23:48:35 -05:00
Xidorn Quan
4cf9aed667
Bug 1449400 part 5 - Remove StyleSetHandle. r=emilio
...
This patch basically does:
* remove StyleSetHandle and its corresponding files
* revisit #includes of related header files and change correspondingly
* change nsIPresShell::mStyleSet to be UniquePtr<ServoStyleSet>
* change the creating path of ServoStyleSet to pass UniquePtr
* change other mentions of StyleSetHandle to ServoStyleSet*
* remove AsServo() calls on ServoStyleSet
Some unfortunate bits:
* some methods of (Servo)StyleSet only accepts ServoStyleSheet while
many places call into the methods with StyleSheet, so there are many
->AsServo() added to sheets
MozReview-Commit-ID: K4zYnuhOurA
--HG--
extra : rebase_source : 459e8efeb171adad089d94272e143e8c244bd279
extra : source : 65ba2f174fcf7dba4e59c00ee8908b1bd0820a48
2018-03-29 22:15:46 +11:00
Jonathan Watt
68e78b291f
Bug 1449321 - Remove the IsServo and IsGecko methods from the style system code. r=emilio
...
--HG--
extra : source : 763277b299e42d8ee7eafede027ee690b66a7a2a
2018-03-23 16:01:34 +00:00
Tim Nguyen
5a60cbae7c
Bug 1412961 - Make extension principals bypass canvas permission checks. r=ckerschb,johannh
...
MozReview-Commit-ID: 5vSW4zR3f36
--HG--
extra : rebase_source : 5b1942b221dd1470b853e3aca3c51c5e1a45e809
2018-03-27 11:23:59 +00:00
Jeff Gilbert
e4e4683663
Bug 1445980 - TexStorage should validate both highest and lowest levels. - r=kvark
...
MozReview-Commit-ID: 3MtNEAtuadY
2018-03-26 20:37:13 -07:00
Jonathan Watt
82ebebe276
Bug 1448714 - Fix up comments referring to 'style context' after the rename of nsStyleContext. r=emilio
2018-03-23 13:49:21 +00:00
Jonathan Watt
a50cb762aa
Bug 1448702 - Remove ComputedStyle::AsServo(). r=emilio
2018-03-25 13:23:00 +03:00
Emilio Cobos Álvarez
e341b20ec4
Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt on a CLOSED TREE
...
MozReview-Commit-ID: JPopq0LudD
2018-03-22 20:06:24 +01:00
Emilio Cobos Álvarez
5dd797f154
Back out changeset b683bb3f22a1 (Bug 1447483) for not landing with all the files. r=me on a CLOSED TREE
...
This reverts commit 1808914126bb9f9e4a82d2c3d7ac961885fe7d62.
MozReview-Commit-ID: 5skESBseEvo
2018-03-22 20:05:22 +01:00
Emilio Cobos Álvarez
ca5ac79cca
Bug 1447483: Merge nsStyleContext and ServoStyleContext, rename to ComputedStyle. r=jwatt
...
MozReview-Commit-ID: JPopq0LudD
2018-03-22 19:48:42 +01:00
arthur.iakab
abcb47d8cc
Merge inbound to mozilla-central. a=merge
2018-03-21 21:13:11 +02:00
Miko Mynttinen
65c6bee9d6
Bug 1445302 - Replace TArray.RemoveElementAt(TArray.Length() - 1) pattern with TArray.RemoveLastElement() or TArray.PopLastElement() r=froydnj
...
MozReview-Commit-ID: rGjabnP2iz
--HG--
extra : rebase_source : 1ef6c5ce028ac9ebd9f3176d57835c43fe46bada
2018-03-13 14:51:33 +01:00
sotaro
57a55d1c2d
Bug 1411481- Enable SkiaGL canvas usage on Mac r=jrmuizel
2018-03-21 08:59:38 +09:00
Sylvestre Ledru
659b380e97
Bug 1446809 - Remove some b2g leftover in some webgl tests r=jgilbert
...
MozReview-Commit-ID: Etx3KYygQgl
--HG--
extra : rebase_source : 6483c7541ae2b4a26a1bcdbe26440bb64d599af5
extra : source : 643d30faeef8a451f23a5c66fc726120da21f213
2018-03-18 19:32:02 +01:00
Emilio Cobos Álvarez
f7522ae728
Bug 1447358: Unifdef the old style system code. r=jwatt
...
Summary:
This has been automatically generated using:
http://dotat.at/prog/unifdef/
And:
find $OBJDIR -type f -name '*.h' |
while read FILE; do
echo "$FILE"
unifdef -m -DMOZ_STYLO -UMOZ_OLD_STYLE "$FILE";
done
find $OBJDIR -type f -name '*.cpp' |
while read FILE; do
echo "$FILE"
unifdef -m -DMOZ_STYLO -UMOZ_OLD_STYLE "$FILE";
done
MozReview-Commit-ID: I4NdKqbMXzJ
Reviewers: jwatt
Bug #: 1447358
Differential Revision: https://phabricator.services.mozilla.com/D779
2018-03-21 10:20:34 +01:00
Csoregi Natalia
fc0283f66c
Backed out 10 changesets (bug 1446809) for failing on jsat/test_content_integration.html . CLOSED TREE
...
Backed out changeset 42146f3856d0 (bug 1446809)
Backed out changeset e6b888d19add (bug 1446809)
Backed out changeset 2293192557ef (bug 1446809)
Backed out changeset 643d30faeef8 (bug 1446809)
Backed out changeset 73639fbb3a61 (bug 1446809)
Backed out changeset df179cf0797d (bug 1446809)
Backed out changeset 04c46f107d24 (bug 1446809)
Backed out changeset 9b98c5aad44c (bug 1446809)
Backed out changeset 347d7259df0f (bug 1446809)
Backed out changeset 2a350e323713 (bug 1446809)
2018-03-21 11:17:38 +02:00
Sylvestre Ledru
bbfb87fdfa
Bug 1446809 - Remove some b2g leftover in some webgl tests r=jgilbert
...
MozReview-Commit-ID: Etx3KYygQgl
--HG--
extra : rebase_source : e7e2e24478fc74bb10251d6dca0f226e4a56141a
extra : histedit_source : 436d7e38b0fbc8cb03c212963c6c3fec2ade1ace
2018-03-18 19:32:02 +01:00
Emilio Cobos Álvarez
48957d62c0
Bug 1446954: Cleanup !stylo and styloVsGecko test expectations. r=xidorn
...
MozReview-Commit-ID: J2glxiCWBVn
2018-03-20 11:29:51 +01:00
sotaro
04da311500
Bug 1443671 - Add crashtest r=nical
2018-03-19 18:54:05 +09:00
Jeff Gilbert
2d543d4bc6
Bug 1444563 - Update stencil front/back mismatch validation. - r=kvark
...
Also update corresponding test to have a stencil buffer and enable
STENCIL_TEST.
MozReview-Commit-ID: GyCpJ0a1F9H
2018-03-16 13:35:03 -07:00
Sylvestre Ledru
fa45a3c670
Bug 1443080 - Use the static call for static methods (not instance) r=Ehsan
...
MozReview-Commit-ID: JwHh4bzxuTR
--HG--
extra : rebase_source : 5f5e37517aa80c2e7b5933962178d761074886e7
2018-03-16 14:29:15 +01:00
Jeff Gilbert
027c306ce3
Bug 1445577 - Fix -Wmicrosoft-unqualified-friend in WebGLProgram.h. - r=kvark
...
"unqualified friend declaration referring to type outside of the nearest enclosing
namespace is a Microsoft extension; add a nested name specifier
[-Wmicrosoft-unqualified-friend]"
2018-03-15 22:35:50 -07:00
Brindusan Cristian
cd3d3ade3d
Backed out changeset 586d0eef1de5 (bug 1444563) for webgl failures on test_2_conformance__misc__webgl-specific.html CLOSED TREE
2018-03-15 23:22:10 +02:00
Jeff Gilbert
41d36258a3
Bug 1444563 - Update stencil front/back mismatch validation. - r=kvark
...
MozReview-Commit-ID: GyCpJ0a1F9H
2018-03-15 13:39:12 -07:00
Andrea Marchesini
a1747f6179
Bug 1445590 - ImageBitmap cannot be cloned/transferred if already closed, r=smaug
2018-03-14 17:37:34 +01:00
Lee Salzman
d3709cc4e9
Bug 1444506 - part 6 - fuzz for Skia m66 update. r=jrmuizel
2018-03-12 16:37:10 -04:00
Lee Salzman
88d1ad9491
Bug 1444506 - part 5 - don't attempt to draw an invalid video source in canvas. r=jrmuizel
2018-03-12 16:37:10 -04:00
Jeff Gilbert
3e66c7d171
Bug 1444252 - Check if program is linked in GetActiveUniforms. - r=kvark
...
MozReview-Commit-ID: EBbgWlzdC3A
2018-03-09 14:56:52 -08:00
Andreea Pavel
218233521a
Backed out changeset 40063d96ba8e (bug 1444252)for build bustages at /builds/worker/workspace/build/src/dom/canvas/WebGL2ContextUniforms.cpp on a CLOSED TREE
2018-03-09 23:38:32 +02:00
Jeff Gilbert
4633478b0a
Bug 1444252 - Check if program is linked in GetActiveUniforms. - r=kvark
...
MozReview-Commit-ID: EBbgWlzdC3A
2018-03-09 13:21:36 -08:00
Jeff Gilbert
f7054fb683
Bug 1442502 - Require event loop roundtrip for WebGLSync. - r=kvark
...
MozReview-Commit-ID: 6h6j2LvJdXm
2018-03-07 12:16:16 -08:00
Christian Holler
a7aaab24d3
Bug 1440402 - Handle several unsafe accesses in dom/ipc gracefully for fuzzing. r=baku
2018-02-23 14:51:26 +01:00
Jeff Gilbert
7908c68484
Bug 1442504 - Disable disjoint timer queries. r=milan
...
MozReview-Commit-ID: IurPcGHzAoQ
2018-03-03 00:50:10 +02:00
Jeff Gilbert
1e31676d61
Bug 1440849 - Mark Tests.
...
MozReview-Commit-ID: 3KpyQ51LzEO
2018-03-02 13:42:27 -08:00
Jeff Gilbert
d7f00b4cb7
Bug 1440849 - Gecko changes due to Angle update. - r=jrmuizel
...
MozReview-Commit-ID: LJhesu56ORJ
2018-03-02 13:42:20 -08:00
Adrian Wielgosik
c3a7bce436
Bug 1441270 - Remove nsIDOMWebGLRenderingContext. r=jgilbert
...
It's now empty and unused.
MozReview-Commit-ID: KvhdDp3dqU3
--HG--
extra : rebase_source : f017bb78250d62189105918dda2708ed01ca1aec
2018-02-26 20:36:04 +01:00
Adrian Wielgosik
d61c7fbed5
Bug 1441270 - Remove unused WebGL parameter getters. r=jgilbert
...
MozReview-Commit-ID: 7PqaPG2STUs
--HG--
extra : rebase_source : e24d7534964d15c54c1f8706ad01e17a4e31dd8c
2018-02-26 20:35:12 +01:00
Emilio Cobos Álvarez
43bc808859
Bug 1441613: Fixup crashtest so that it actually removes the reftest-wait class. r=me on a CLOSED TREE
...
MozReview-Commit-ID: AtiurGZd5xR
2018-03-01 00:51:26 +01:00
Xidorn Quan
6f629d6b15
Bug 1441613: Crashtest. r=emilio
...
MozReview-Commit-ID: 9v6NLvn9PpB
2018-02-28 23:15:36 +01:00
Emilio Cobos Álvarez
8a789ce429
Bug 1441613: Properly check for shell destruction instead of just nonsensically assert. r=hiro
...
GetStyleContext can flush. As such, that flush can kill the pres shell, and the
return value could be null. I have no idea why that code was asserting it didn't
happen, but that assert is completely bogus.
Throw instead, just like GetFontParentStyleContext used to do for Gecko.
MozReview-Commit-ID: 5RxDratKumZ
--HG--
extra : rebase_source : 9ffb1f58888504d92915ecd4254847ae2e3f053b
2018-02-28 11:51:27 +01:00
Tom Ritter
f98bfacba8
Bug 1376865 Automatically decline the canvas permission if it is not in response to user input r=baku
...
The canvas prompt is extremely annoying. It happens everyone, automatically. And in
99.9% (not scientific) of cases it is not triggered by user input, but my automatic
tracking scripts.
This commit will automatically decline the canvas read if it was not triggered by
user input.
Just in case this breaks something irrepairably, we have a cutoff pref.
We don't intend to keep this pref forever, and have asked anyone who sets it to
tell us why.
MozReview-Commit-ID: CxNkuraRWpV
--HG--
extra : rebase_source : 12cfc94cecbd378c0859ae50066c6338bcaa6692
2018-02-17 13:53:05 -06:00
Emilio Cobos Álvarez
dd24e9bc5f
Bug 1441009: Use a bit less dangerous error handling in CanvasUtils. r=smaug
...
MozReview-Commit-ID: BiboyvEt0St
2018-02-26 00:32:44 +01:00
Emilio Cobos Álvarez
0ad7abf15e
Bug 1441009: Don't null-check OwnerDoc. r=smaug
...
Can't return null.
MozReview-Commit-ID: JzcNwmsCxIu
2018-02-26 00:31:42 +01:00
Emilio Cobos Álvarez
21a36fad95
Bug 1440961: Make canvas style-related code interact a bit better with Shadow DOM. r=smaug
...
The only relevant spec reference unfortunately is for color parsing[1], which
mentions:
> Otherwise, set color to the computed value of the 'color' property of element.
Using IsInComposedDoc there should be fine, since the computed style of an
element is well defined there.
The rest look like implementation limitations, for which should not be an issue
to extend the check for the composed doc.
[1]: https://html.spec.whatwg.org/#parsed-as-a-css-color-value
MozReview-Commit-ID: ADnVPNqf3X1
--HG--
extra : rebase_source : ea72f695afe86820d2d04c2b8eca1d17bc356a71
2018-02-25 02:37:44 +01:00
Emilio Cobos Álvarez
7dffe29d8f
Bug 1432490: Make nsComputedDOMStyle::GetStyleContext / GetStyleContextNoFlush not take a presShell. r=bz
...
Everyone calls them with the shell of the current composed document, and this
allows the multi-presShell stuff to just be in UpdateCurrentStyleSources /
DoGetStyleContextNoFlush.
The only reason we need to use OwnerDoc()->GetShell() instead of the composed
doc in GetStyleContext / GetStyleContextNoFlush is Element::GetBindingURL, which
does expect to get the binding URL for stuff outside of the composed doc (and
changing that gave me a useless browser).
That's technically a behavior change on the cases that used to pass nullptr, but
I think all callers are fine with that. I could also just add a special function
for that particular case, it may be worth it.
MozReview-Commit-ID: 2XlnkgdgDCK
2018-02-25 02:23:59 +01:00
Joel Maher
3cbccc44be
Bug 1438638 - global-alpha.html reftest failures on windows 10 new hardware, add fuzzy-if. r=gbrown
2018-02-23 11:20:20 -05:00
Adrian Wielgosik
ed00cb8c4e
Bug 1440039 - Remove nsIDOMCanvasRenderingContext2D. r=qdot
...
MozReview-Commit-ID: GY3DdHAfQK2
--HG--
extra : rebase_source : 1fe021831984cb64cedd8c7eba486a0d29f7d66a
2018-02-21 20:49:07 +01:00
Dorel Luca
f41b03eca9
Backed out changeset 38577c007450 (bug 1424371) for Marionett test failure on testing/marionette/harness/marionette_harness/tests/unit/test_window_maximize.py. CLOSED TREE
2018-02-19 22:15:23 +02:00
Milan Sreckovic
7571df7e7c
Bug 1424371: Use BaseRect access methods instead of member variables in dom/ r=qdot
...
MozReview-Commit-ID: HXWhggOMIEK
--HG--
extra : rebase_source : 9c9eacf80d2b7f78faa82a1549170b98d12cdaa8
2018-02-19 12:56:10 -05:00
Narcis Beleuzu
2d9816273c
Merge inbound to mozilla-central. a=merge
2018-02-16 11:49:59 +02:00
Jeff Muizelaar
96c7a33c31
Bug 1438425. Delete DocumentRenderer. r=jesup
...
It is unused.
2018-02-15 16:28:02 -05:00
Timothy Nikkel
ab2056b146
Bug 1414825. Clear mDataWrapper on ImageBitmap::Close because it holds gfx resources alive. r=nical
2018-02-06 02:53:21 -06:00
Andrea Marchesini
8cdf705535
Bug 1435174 - Remove the renaming 'using namespace workers', r=bkelly
2018-02-05 19:55:07 +01:00
Florian Quèze
2b1c8dccb6
Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop.
2018-02-01 20:45:22 +01:00
Cameron McCormack
d02e54b79b
Bug 1430014 - Part 5: Stop building old style system classes when MOZ_OLD_STYLE is not defined. r=xidorn
...
MozReview-Commit-ID: CIHyPdF7Exl
--HG--
extra : source : 78a2fc781eead47af3923efcde58569c5d882ab1
2018-02-01 15:04:04 +11:00
Cameron McCormack
cc7db5c40c
Bug 1430014 - Part 4: #ifdef out unnecessary code when the old style system is not built. r=xidorn
...
MozReview-Commit-ID: 1FZ9VzjcPzN
--HG--
extra : source : de22d220635f8c059834b76f769d5215ab1a8b5b
2018-02-01 15:04:04 +11:00
Emilio Cobos Álvarez
0bc20b0d9b
Bug 1420026: followup: Enable Servo CSS color parsing in canvas. r=xidorn
...
MozReview-Commit-ID: 9vMlQB7139F
2018-02-01 11:00:12 +11:00
Andrea Marchesini
26352bfee1
Bug 1432963 - Fixing workers headers - part 17 - no LIBS=[workers] in moz.build files, r=smaug
2018-01-31 08:25:30 +01:00
Andrea Marchesini
2c7c69af24
Bug 1432963 - Fixing workers headers - part 14 - WorkerPrivate without workers namespace, r=smaug
2018-01-31 08:24:08 +01:00
Andrea Marchesini
063723a1f0
Bug 1432963 - Fixing workers headers - part 13 - WorkerHolder without workers namespace, r=smaug
2018-01-31 08:23:44 +01:00
Timothy Nikkel
3af81f80fc
Bug 1414825. Use a shutdown observer to release the gfx resources of ImageBitmaps. r=kaku,nical
2018-01-22 21:38:45 -06:00
Kyle Machulis
9e159ac69d
Bug 1407040 - Change HTMLMediaElement XPCOM Enums to WebIDL Enums; r=bz
...
MozReview-Commit-ID: 55GnbaL2HKl
--HG--
extra : rebase_source : 5bb6c927443bf6adcfe594e69bd70c3b597b9ea4
2018-02-14 19:23:32 -08:00
Mike Hommey
dbd4c4810a
Bug 1428608 - Forbid / or !/ in LOCAL_INCLUDES. r=froydnj
...
And remove the two cases that currently set that, without actually using
it. The webrtc gtest one never relied on it, and the gfx one was added
in bug 1427668 for a single header, and the corresponding #includes were
changed in bug 1428678.
--HG--
extra : rebase_source : ebb3aed6ff8e3438d4a2f011725cf1a15986fee6
2018-01-17 17:10:20 +09:00
Kartikaya Gupta
8903b49768
Bug 1429951 - Propagate the non-premultiplied flag for textures to WR. r=sotaro
...
MozReview-Commit-ID: Vd5n5e7XuW
--HG--
extra : rebase_source : ebd563dd785d99a9623906554dfe8ccd507930b4
2018-01-17 12:55:40 -05:00
Cosmin Sabou
1f9b4f0f06
Merge inbound to mozilla-central. a=merge
2018-01-17 11:46:53 +02:00
Jeff Gilbert
08ae128863
Bug 1429754 - Update test failures.
...
MozReview-Commit-ID: IrYeC06gNFb
2018-01-16 16:46:43 -08:00
Jeff Gilbert
d9815e3cac
Bug 1429754 - Trust the driver about floating point support. - r=daoshengmu
...
Remove the probe, and remove the cached value check.
Also remove dead code which relies on this sometimes-clamping glGet query.
MozReview-Commit-ID: JA1VgH8fLRB
2018-01-16 15:06:49 -08:00
Chris Peterson
37efe4d0e6
Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj
...
MozReview-Commit-ID: DCPTnyBooIe
--HG--
extra : rebase_source : cfec2d96faeb11656d86d760a34e0a04cacddb13
extra : intermediate-source : 6176724d63788b0fe8caa3f91607c2d93dbaa7ec
extra : source : eebbb0600447f9b64aae3bcd47b4be66c02a51ea
2017-11-05 19:37:28 -08:00
Mike Hommey
2e235e5651
Bug 1429995 - Mark test_WEBGL_compressed_texture_s3tc.html as not failing on Linux anymore. r=jgilbert
...
And trigger a new Ubuntu 16.04 docker image with a different hash to get
the latest version of the GL drivers that were updated to llvmpipe 5
recently. Those new drivers make Firefox enabled
WEBGL_compressed_texture_s3tc, making the test pass.
--HG--
extra : rebase_source : 09a8995829f985aef29a8919fecaefaf90791584
2018-01-17 11:09:09 +09:00
Andrew Osmond
89c5ff6db9
Bug 1429413 - Ensure Factory::CreateDataSourceSurface allocation failures are gracefully handled. r=bas
2018-01-11 08:26:42 -05:00
Jeff Gilbert
f4cfe8596a
Bug 1428898 - Add TlsScope to reduce fIsCurrent calls. - r=daoshengmu
...
MozReview-Commit-ID: Kyi8dcO7nAu
2018-01-09 18:43:35 -08:00
Lorena Diaconescu
51d9787b8e
Bug 1364552 - Deleted unused RGB24Copy function, and corresponding macros and tests. r=lsalzman
...
MozReview-Commit-ID: FhWnJIf61o8
--HG--
extra : rebase_source : 6b1a7aa3a0db732fbad8ba844dac29c748e5122d
2017-09-07 11:16:45 -04:00
Edmund Wong
03877052c1
Bug 1428678 - Include MozFramebuffer.h instead of gfx/gl/MozFramebuffer.h to work around Thunderbird builtbot problem. r=jgilbert a=thunderbird-bustagefix
2018-01-07 19:35:00 +02:00
Andrea Marchesini
53cbde0f48
Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 15 - Offscreen Canvas enabled, r=asuth
2018-01-08 14:05:05 +01:00
Andrea Marchesini
9a25904cf8
Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 2 - image bitmap, r=asuth
2018-01-08 14:05:03 +01:00
Jeff Gilbert
f106df25cd
Bug 1427668 - Flush on mac after EndTransformFeedback. - r=daoshengmu
...
MozReview-Commit-ID: A0Tbk2pIng
2018-01-05 15:28:01 -08:00
Jeff Gilbert
68be900a6c
Bug 1427668 - Require frag_color_float for color_buffer_*float extensions. - r=daoshengmu
...
Add probe for faulty frag_color_float implementations.
MozReview-Commit-ID: E2I0mrDuicV
2018-01-05 15:27:59 -08:00
Jeff Gilbert
db4f0399df
Bug 1427668 - Fixes and spew. - r=daoshengmu
...
MozReview-Commit-ID: 9NPkWsh2rxE
2018-01-05 15:27:56 -08:00
Jeff Gilbert
8ab9a9aa21
Bug 1427668 - Assert that no-alpha backbuffers have 0xff alpha. - r=daoshengmu
...
MozReview-Commit-ID: 5UJdoud0f2C
2018-01-05 15:27:51 -08:00
Jeff Gilbert
7edc1cd1d7
Bug 1427668 - Lose context if EnsureDefaultFB fails. - r=daoshengmu
...
MozReview-Commit-ID: 8OqXYXpUv4I
2018-01-05 15:27:48 -08:00
Jeff Gilbert
182a604cde
Bug 1427668 - Special-case lazy glEnable caps. - r=daoshengmu
...
MozReview-Commit-ID: KD5N2y1U804
2018-01-05 15:27:43 -08:00
Jeff Gilbert
fad02050d8
Bug 1427668 - Use shadows instead of calling into GL. - r=daoshengmu
...
MozReview-Commit-ID: 1ZFwDNboet3
2018-01-05 15:27:41 -08:00
Jeff Gilbert
768a9730e5
Bug 1427668 - InvalidateFB should accept incomplete FBs, but just skip them for now. - r=daoshengmu
...
MozReview-Commit-ID: LZtVwzZ1HK8
2018-01-05 15:27:38 -08:00
Jeff Gilbert
9e26c20b7f
Bug 1427668 - ColorMask(0xf) for backbuffer resolve. - r=daoshengmu
...
MozReview-Commit-ID: KZJZ0Lc0vbC
2018-01-05 15:27:36 -08:00
Jeff Gilbert
df8e8db803
Bug 1427668 - Move the webgl backbuffer into webgl. - r=daoshengmu
...
MozReview-Commit-ID: 2WpG7mfMRQ8
2018-01-05 15:27:30 -08:00
Jamie Nicol
59e9b39045
Bug 1421481 - Post-review follow-up for webgl context initialization. r=jgilbert
...
MozReview-Commit-ID: Ja3t0gcWHZS
2018-01-04 13:38:47 +00:00
Chung-Sheng Fu
cae5668a08
Bug 1413780 - Change permission name from canvas/extractData to canvas. r=johannh
...
MozReview-Commit-ID: 40mesFLeRWU
--HG--
extra : rebase_source : d6dcab54875a8a557a75d63f25fc1b7844f54d21
2017-12-14 15:59:57 -06:00
Jeff Gilbert
93dacf53b5
Bug 1425488 - Reset last fenceId on write to buffers. - r=lenzak
...
MozReview-Commit-ID: HwPpGWKNA9W
2017-12-20 18:15:12 -08:00
Jeff Gilbert
14856e7b50
Bug 1426289 - Add test for vertexAttrib4f updates.
...
MozReview-Commit-ID: E2BqeuyafUg
2017-12-19 22:56:25 -08:00
Jeff Gilbert
ff584c03d1
Bug 1426280 - Remove explicit MakeCurrents from WebGL now that we use implicit MakeCurrent. - r=lenzak
...
MozReview-Commit-ID: HxWWPmD1Yzu
2017-12-19 22:28:49 -08:00
Jeff Gilbert
7c24606044
Bug 1425488 - Warn when ill-advised readbacks will cause pipeline stalls. - r=daoshengmu
...
MozReview-Commit-ID: KXZIxzqNTc2
2017-12-18 18:34:14 -08:00
Csoregi Natalia
3ec05888ca
Merge inbound to mozilla-central r=merge a=merge
2017-12-16 11:37:48 +02:00
Chih-Yi Leu
87688fa85a
Bug 1422714 - Make return value of WebGLQuery::GetQueryParameter conformant to WebGL2 Spec r=jgilbert
...
MozReview-Commit-ID: FYgoGOPrGZs
--HG--
extra : rebase_source : e12a16007412b8042d70eb536534ea881c973672
2017-12-15 10:50:31 -06:00
Jeff Gilbert
76aeb80f35
Bug 1425369 - Treat Draw* as Draw*Instanced(1). - r=daoshengmu
...
MozReview-Commit-ID: KZKNQtCSG4V
2017-12-15 11:43:50 -08:00
Samathy Barratt
d8ba79a56b
Bug 1351447 - Rename imagelib's DrawResult to ImgDrawResult r+tnikkel r=tnikkel
...
Renamed to imgDrawResult
MozReview-Commit-ID: 5ESSgIhhU41
--HG--
rename : image/DrawResult.h => image/ImgDrawResult.h
extra : rebase_source : dbf645574aff7eefe65fa81809d6c07cb5800ec6
2017-12-11 15:37:59 +00:00
Ciure Andrei
b8d4330b53
Backed out changeset 8e33d0ce108c (bug 1351447) for failing /builds/worker/workspace/build/src/widget/cocoa/nsCocoaUtils on OS X r=backout a=backout on a CLOSED TREE
...
--HG--
rename : image/ImgDrawResult.h => image/DrawResult.h
2017-12-12 09:49:59 +02:00
Samathy Barratt
0749baf2d8
Bug 1351447 - Rename imagelib's DrawResult to ImgDrawResult r=tnikkel
...
Renamed to imgDrawResult
MozReview-Commit-ID: 5ESSgIhhU41
--HG--
rename : image/DrawResult.h => image/ImgDrawResult.h
extra : rebase_source : 4fba109b84ef456126d50e0d5e525f29f944a46d
2017-12-11 15:37:59 +00:00
Sylvestre Ledru
a9961096c0
Bug 1394734 - Simplify various corner cases r=glandium
...
MozReview-Commit-ID: 4s4JdXZPvmv
--HG--
extra : rebase_source : c8f663c99442d41db5f81ac5fe1aa1f47fd5ed82
2017-12-07 22:10:19 +01:00
Sylvestre Ledru
4591d82b23
Bug 1394734 - Replace CONFIG['CLANG*'] by CONFIG['CC_TYPE'] r=glandium
...
MozReview-Commit-ID: HbF5oT5HW6f
--HG--
extra : rebase_source : eca479b6ae4bff7f600d1cdb39e11ac2057e4e79
2017-12-07 22:09:38 +01:00
Sylvestre Ledru
9bfe27d903
Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium
...
MozReview-Commit-ID: 7duJk2gSd4m
--HG--
extra : rebase_source : 7312fe276e561e8c034a5f6749774ae812727f9c
2017-12-07 22:09:15 +01:00
Emilio Cobos Álvarez
33db0fe1e3
Bug 1420026: Disable this code path for now for permafailure. r=me
...
It's permafailing devtools/client/webconsole/test/browser_webconsole_bug_595934_message_categories.js |
MozReview-Commit-ID: 2aolifj0asm
2017-12-05 19:59:54 +01:00
Boris Chiou
570057e075
Bug 1408303 - Part 3: Move several Servo parsers into ServoCSSParser helper class. r=heycam
...
We have ServoCSSParser class, and I think it's better to move those
Servo FFI into this class to avoid including ServoBindings.h everywhere.
MozReview-Commit-ID: 6orXtddp9ZU
--HG--
extra : rebase_source : 6da4158c4fec606aaee49fddee3192f94d6c85a3
2017-12-01 17:35:47 +08:00
Cameron McCormack
9993c9819d
Bug 1420026 - Part 3: Report canvas color parsing errors to the console. r=TYLin
...
MozReview-Commit-ID: BcWat5wfGJJ
--HG--
extra : rebase_source : 6ac8d7e8db6c2c08fb23670bbb0b3486b59a938d
2017-12-04 12:53:57 +08:00
Cameron McCormack
040ca098ab
Bug 1420026 - Part 2: Replace one more use of nsCSSParser::ParseColor with ServoCSSParser::ComputeColor. r=TYLin
...
MozReview-Commit-ID: FIqhPFKS1IR
--HG--
extra : rebase_source : 551e9a9a7effe1bf447b58495560aba0b8a06594
2017-11-24 11:30:02 +08:00
Jamie Nicol
501b6f7440
Bug 1421481 - Increase allowed number of webgl contexts on mobile. r=snorp
...
This was previously limited to 2 per principal and 4 total on
mobile. Mobile GPU drivers have progressed a lot since the limit was
put in place, and the strict limit is causing webcompat issues on
google maps.
Increase to 8 per principal and 16 in total, bringing us
closer in line with Chrome. Make these limits contrallable via a pref
so that if there are any problems it is easy to change.
MozReview-Commit-ID: 8Tsbrjr4KCE
--HG--
extra : rebase_source : 8efd43265a665237a8bfcb689f5fc758466bcd71
2017-11-30 11:40:57 +00:00
Cameron McCormack
98bddd976d
Bug 1422676 - Fix small CSS error in test_2d.fill.pattern.imageSmoothingEnabled.html. r=TYLin
...
MozReview-Commit-ID: JEBm4hNrnfw
--HG--
extra : rebase_source : a6722cd4add5d3a55f5da8f8f12ea779d8c2d628
2017-12-04 14:57:53 +08:00
Dorel Luca
79499f4044
Merge mozilla-central to autoland r=merge on a CLOSED TREE
2017-11-29 12:31:25 +02:00
Jeff Gilbert
41f0a05667
Bug 1390386 - Add GLContext::mImplicitMakeCurrent. - r=jrmuizel
...
MozReview-Commit-ID: 5iyGHNzoCpd
2017-11-28 17:12:48 -08:00
Andrea Marchesini
3316d7de4d
Bug 1420223 - createImageBitmap must work with nsIAsyncInputStream - part 3 - ImageBitmap must use imgITools::decodeImageAsync, r=aosmond
2017-11-27 17:05:57 +01:00
Daosheng Mu
e3f511fffd
Bug 1413269 - Apply REQUIRE_COMPAT_PROFILE flag for WebGL 1 on Intel HD Grahpics 3000 on OSX. - r=jgilbert
...
MozReview-Commit-ID: FZzZpaU9uiv
--HG--
extra : rebase_source : 83dbb20a1106c6280793abedfa7520c198d3cafa
2017-11-24 16:51:37 +08:00
Nika Layzell
f1ac9bf744
Bug 1419597 - Part 18: Remove IsInnerWindow and IsOuterWindow methods, r=smaug
...
MozReview-Commit-ID: DAAm6tLubhJ
2017-11-23 13:12:13 -05:00
Gerald Squelart
f666a49c31
Bug 1259291 - Remove -wd4312, as the issue was fixed in bug 1259291 - r=JamesCheng
...
MozReview-Commit-ID: 92cuZgyfXgz
--HG--
extra : rebase_source : b7b23d5f095e66d28be1aaeb4ff2d0243b0b865b
2017-11-29 15:15:51 +11:00
Daosheng Mu
e60d6db954
Bug 1409677 - Adjust kCommonAliasedLineWidthRangeMax to 1 in WebGL resistFingerprint mode; r=cfu,jgilbert
...
MozReview-Commit-ID: 4gusUhU9VMI
--HG--
extra : rebase_source : fb478a56f0eaa5794d562e3e669d320174017a80
2017-11-20 17:19:22 +08:00
Jon Coppeard
a06421a289
Bug 1417123 - Remove or replace inclusion of js/GCAPI.h r=mccr8
2017-11-16 12:21:08 +00:00
Tooru Fujisawa
4ac42f3d2f
Bug 1416250 - Remove conditional catch consumers in dom/. r=billm
2017-11-18 22:57:17 +09:00
Noemi Erli
c7026c5a77
Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE
...
--HG--
rename : devtools/client/responsive.html/components/DprSelector.js => devtools/client/responsive.html/components/DevicePixelRatioSelector.js
rename : third_party/python/pyasn1/test/__init__.py => third_party/python/pyasn1/pyasn1/codec/native/__init__.py
rename : third_party/python/pyasn1/test/__init__.py => third_party/python/pyasn1/tests/__init__.py
rename : third_party/python/pyasn1/test/__init__.py => third_party/python/pyasn1/tests/codec/__init__.py
rename : third_party/python/pyasn1/test/__init__.py => third_party/python/pyasn1/tests/codec/ber/__init__.py
rename : third_party/python/pyasn1/test/__init__.py => third_party/python/pyasn1/tests/codec/cer/__init__.py
rename : third_party/python/pyasn1/test/__init__.py => third_party/python/pyasn1/tests/codec/der/__init__.py
rename : third_party/python/pyasn1/test/__init__.py => third_party/python/pyasn1/tests/codec/native/__init__.py
rename : third_party/python/pyasn1/test/__init__.py => third_party/python/pyasn1/tests/compat/__init__.py
rename : third_party/python/pyasn1/test/__init__.py => third_party/python/pyasn1/tests/type/__init__.py
extra : rebase_source : d9b683c2142cb0edada8891c1c3539fd2f3593ee
2017-11-18 00:33:17 +02:00
Jeff Gilbert
0343981d98
Bug 1417312 - Adjust visibility of some CacheMap.h members. - r=daoshengmu
...
MozReview-Commit-ID: fTsP6xbrMU
2017-11-17 13:06:20 -08:00
Jeff Gilbert
257e273541
Bug 1417312 - Use copy instead of reference to avoid UAF in ASSERT. - r=daoshengmu
...
MozReview-Commit-ID: BWr9rkVhIHG
2017-11-17 13:06:17 -08:00
Csoregi Natalia
635fe8c86f
Backed out 4 changesets (bug 1417123) for failing Spidermonkey builds js/src/jspubtd.h:100 r=backout
...
Backed out changeset 5af31f9f6bb5 (bug 1417123)
Backed out changeset f287a77b84c2 (bug 1417123)
Backed out changeset 57be86412a37 (bug 1417123)
Backed out changeset 14a6856d7361 (bug 1417123)
2017-11-16 15:05:54 +02:00
Jon Coppeard
853c90510c
Bug 1417123 - Remove or replace inclusion of js/GCAPI.h r=mccr8
2017-11-16 12:21:08 +00:00
sotaro
222b1d574f
Bug 1411472 - Add support of PersistentBufferProviderShared r=nical
2017-11-16 14:47:26 +09:00
Daosheng Mu
f42cd09455
Bug 1405600 - Part 2: Add WebGL2 uniform block crash test case; r=jgilbert
...
MozReview-Commit-ID: DLDcXz2iLKR
--HG--
extra : rebase_source : be656886723ccbe541eb714e348a80d129722057
2017-11-09 14:01:07 +08:00
Joel Maher
fd50e2131c
Bug 1388624 - Disable TEST-UNEXPECTED-TIMEOUT | dom/canvas/test/webgl-mochitest/test_capture.html on windows/debug for frequent failures. r=me, a=testonly
2017-11-13 12:20:02 -05:00
Kartikaya Gupta
00ef028ed3
Bug 1416267 - Update gfxContext matrix functions to avoid flip-flopping between float and double matrices. r=jrmuizel
...
The core of this change is in gfxContext.*:
- change gfxContext::CurrentMatrix() and gfxContext::SetMatrix() to
return and take a Matrix respectively, instead of converting to
and from a gfxMatrix (which uses doubles). These functions therefore
will now match the native representation of the transform in gfxContext.
- add two new functions CurrentMatrixDouble() and SetMatrixDouble() that
do what the old CurrentMatrix() and SetMatrix() used to do, i.e.
convert between the float matrix and the double matrix.
The rest of the change is just updating the call sites to avoid round-
tripping between floats and doubles where possible. Call sites that are
hard to fix are migrated to the new XXXDouble functions which preserves
the existing behaviour.
MozReview-Commit-ID: 5sbBpLUus3U
2017-11-10 21:14:09 -05:00
Nika Layzell
c223b9ff2d
Bug 1414974 - Part 6: Change WebIDL bindings to refer to nsGlobalWindowInner rather than nsGlobalWindow, r=bz
...
MozReview-Commit-ID: KbCpDFoWyTe
2017-11-09 10:44:49 -05:00
Nika Layzell
3409141758
Bug 1414974 - Part 2: Switch many consumers to nsGlobalWindow{Inner,Outer}, r=smaug
...
This is a large patch which tries to switch many of the external consumers of
nsGlobalWindow to instead use the new Inner or Outer variants.
MozReview-Commit-ID: 99648Lm46T5
2017-11-09 10:44:47 -05:00
David Anderson
9365817b45
Fix DataSourceSurface mapping in ImageUtils.cpp. (bug 1405390 part 5, r=bas)
...
--HG--
extra : rebase_source : 691738a68b679b9a4abaf7e538d0499d5f61fe0a
2017-11-09 00:43:31 -08:00
David Anderson
9575a22267
Remove trivial calls to DataSourceSurface::Stride. (bug 1405390 part 3, r=bas)
...
--HG--
extra : rebase_source : 7700599ef497a2abadc7970af5ea26b48061966e
2017-11-09 00:43:30 -08:00
David Anderson
3f697bb27d
Fix canvas and GL uses of DataSourceSurface::GetData. (bug 1405390 part 2, r=jgilbert)
...
--HG--
extra : rebase_source : eb4dcdfe9374e317a3a1e426bf35999ea50b074d
2017-11-09 00:43:30 -08:00
Jesse Ruderman
e6a0333b3c
Bug 844280 - Add crashtest. r=me
2017-11-08 08:47:08 -05:00
Jeff Gilbert
da2b4b335a
Bug 1414977 - Skip DrawElements if !indexCount, not !lastVert. - r=daoshengmu
...
MozReview-Commit-ID: KaGFV374G5
2017-11-06 19:46:42 -08:00
Jeff Gilbert
95abd6e7a0
Bug 1414977 - Add test for drawing without index validation. - r=daoshengmu
...
MozReview-Commit-ID: 530Qj4dumIR
2017-11-06 19:46:39 -08:00
Jeff Gilbert
573afa08c2
Bug 1414977 - Allow webgl.force-index-validation:-1 to disable index validation for testing. - r=daoshengmu
...
MozReview-Commit-ID: Drw9LsIo1Qt
2017-11-06 19:46:37 -08:00
sotaro
e1d5eb970c
Bug 1411472 - Backout because of test failures
2017-11-07 11:34:13 +09:00
Sebastian Hengst
af670f4147
merge mozilla-central to mozilla-inbound. r=merge a=merge
2017-11-07 02:47:30 +02:00
sotaro
4243be10df
Bug 1411472 - Add support of PersistentBufferProviderShared r=nical
2017-11-07 09:31:58 +09:00
Sylvestre Ledru
9e8cac125b
Bug 1408383 - Dead code in GetSurfaceSnapshot r=jgilbert
...
MozReview-Commit-ID: 2AS1OwFdiMq
--HG--
extra : rebase_source : 826f6da807f9f97a7e74cc8ba146d705ff1e3200
2017-10-13 15:32:22 +02:00
Jeff Gilbert
50176e1665
Bug 1404196 - Update test failures.
...
MozReview-Commit-ID: H3EFU9jnm3V
2017-11-01 15:18:31 -07:00
Jeff Gilbert
d6af1e81ba
Bug 1404196 - Simplify and repair vertex fetch. - r=daoshengmu
...
MozReview-Commit-ID: FL7uibuv4VY
2017-11-01 15:18:27 -07:00
Jeff Gilbert
cebb6665ed
Bug 1404196 - Add CacheMap for simplifying complex cache dependency invalidation. - r=daoshengmu
...
MozReview-Commit-ID: IhzkHf9bhTv
2017-11-01 15:18:23 -07:00
Jeff Gilbert
41c89bf561
Bug 1404196 - Add profiling labels for WebGL draw commands. - r=daoshengmu
...
MozReview-Commit-ID: 5TUvfVxsfXg
2017-11-01 15:18:19 -07:00
Nika Layzell
b5701b1266
Bug 1401379 - Part 2: Add more cycle collector edges for nsDocShell, r=smaug
...
MozReview-Commit-ID: 3j9jfLv7MO2
2017-11-01 11:06:26 -04:00
sotaro
23069babc9
Bug 1401609 - Add UpdateWebRenderCanvasData() to handle CanvasRenderer re-creation r=jrmuizel,mstange
2017-10-28 19:07:27 +09:00
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