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

2297 Коммитов

Автор SHA1 Сообщение Дата
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