Commit Graph

2520 Commits

Author SHA1 Message Date
Jeff Gilbert
6fc6d8596f Bug 1290770 - Log bad tex upload calls and errors. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D20429

--HG--
extra : moz-landing-system : lando
2019-02-20 04:43:32 +00:00
Emilio Cobos Álvarez
d2cbf071d5 Bug 1528712 - Remove nsFont::featureValueLookup. r=jfkthame
It's a global object, it doesn't have to be stored in nsFont. Pass it from the
caller like the user font set and co.

Depends on D20141

Differential Revision: https://phabricator.services.mozilla.com/D20142
2019-02-19 14:54:04 +01:00
Ciure Andrei
965d533ca4 Backed out 2 changesets (bug 1528712) for Linux spcshell and reftest failures (test_ext_browserSettings.js, 1022481-1.html) CLOSED TREE
Backed out changeset 2d5c4e71e258 (bug 1528712)
Backed out changeset d981515b874b (bug 1528712)
2019-02-19 14:25:57 +02:00
Emilio Cobos Álvarez
f97a9f50a2 Bug 1528712 - Remove nsFont::featureValueLookup. r=jfkthame
It's a global object, it doesn't have to be stored in nsFont. Pass it from the
caller like the user font set and co.

Depends on D20141

Differential Revision: https://phabricator.services.mozilla.com/D20142

--HG--
extra : moz-landing-system : lando
2019-02-18 14:03:47 +00:00
Sylvestre Ledru
41d1d79094 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D19663

--HG--
extra : moz-landing-system : lando
2019-02-15 08:15:57 +00:00
Andrea Marchesini
cb1aa0d750 Bug 1518774 - Disable test_invalid_mime_type_blob.html on android. r=smaug
This test is extremely heavy and, often, on android, it timeouts.

Differential Revision: https://phabricator.services.mozilla.com/D19690

--HG--
extra : rebase_source : dc1649720f20af493341a1c5d7b5b23776997707
2019-02-13 17:59:40 +00:00
Andrea Marchesini
9e0663f555 Bug 1526218 - transferFromImageBitmap() should propage the origin-clean state to the canvas element, r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D19371

--HG--
extra : moz-landing-system : lando
2019-02-11 16:54:05 +00:00
Jeff Gilbert
efbea58a37 Bug 1524804 - Some webglsl1/essl1 exts can't be implemented on es3 contexts. r=lsalzman
MozReview-Commit-ID: DoyN2kNlL01

Differential Revision: https://phabricator.services.mozilla.com/D19234

--HG--
extra : moz-landing-system : lando
2019-02-09 07:41:49 +00:00
Oana Pop Rus
03ebbdab95 Merge inbound to mozilla-central. a=merge 2019-02-08 11:53:37 +02:00
Razvan Maries
8add624474 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2019-02-08 06:26:00 +02:00
Jeff Gilbert
ddc097c8b7 Bug 1372133 - Add SH_REWRITE_TEXELFETCHOFFSET_TO_TEXELFETCH for Mac+Intel. r=lsalzman
MozReview-Commit-ID: 2WV4jKx6Grh

Differential Revision: https://phabricator.services.mozilla.com/D18905

--HG--
extra : moz-landing-system : lando
2019-02-07 18:05:03 +00:00
Jeff Gilbert
f31cbeb32e Bug 1372156 - Color+[U]Int formats should have maxSamples=0. r=lsalzman
MozReview-Commit-ID: 22PoVlplJNT

Differential Revision: https://phabricator.services.mozilla.com/D18900

--HG--
extra : moz-landing-system : lando
2019-02-07 18:04:29 +00:00
Jeff Gilbert
c3c790c48b Bug 1371694 - Strip invariant on Mac. r=lsalzman
MozReview-Commit-ID: 5thQThRUBOY

Differential Revision: https://phabricator.services.mozilla.com/D18902

--HG--
extra : moz-landing-system : lando
2019-02-07 18:02:54 +00:00
Jeff Gilbert
a14d2bd45e No bug - clang-format -p dom/canvas.
MozReview-Commit-ID: 2xylmA1yFvi
2019-02-07 14:50:14 -08:00
Emilio Cobos Álvarez
15e84a4c1c Bug 1525371 - Kill ComputedStyle::ComputedData. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D18733
2019-02-07 11:15:33 +01:00
Jeff Gilbert
63503d995b Bug 1525480 - Don't mark RGB16F renderable in EXT_color_buffer_half_float. r=lsalzman
There's a crazy driver bug here on Mac+Intel, but if we're forbidding it
there, why not everywhere.
It's optional in EXT_color_buffer_half_float for webgl1, and no allowed by
EXT_color_buffer_float for webgl2 anyway.

MozReview-Commit-ID: kI9DUj8TU8

Differential Revision: https://phabricator.services.mozilla.com/D18769
2019-02-06 12:56:57 -08:00
Liang-Heng Chen
bd2504a471 Bug 1485266 - Use stand-ins for native colors when RFP is enabled r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D17755

--HG--
extra : moz-landing-system : lando
2019-02-06 08:45:44 +00:00
Razvan Maries
f86459d5dc Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-02-05 18:59:13 +02:00
Andrea Marchesini
4b2bf1d443 Bug 1525275 - improve test_invalid_mime_type_blob.html, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D18677
2019-02-05 15:04:13 +01:00
Emilio Cobos Álvarez
0ebf739646 Bug 1523181 - Don't implicitly flush the user font set.
Summary:
Flushing it at a bad time can cancel loads whose timer / completion
handler is in progress, which makes no sense.

Reviewers: jfkthame, jwatt, heycam

Tags: #secure-revision

Bug #: 1523181

Differential Revision: https://phabricator.services.mozilla.com/D17856
2019-02-05 13:30:13 +01:00
Jeff Gilbert
8ec455686e Bug 1290774 - Validate frag shader output types match draw buffer types. r=lsalzman
MozReview-Commit-ID: FXQaUzJ0fDy

Differential Revision: https://phabricator.services.mozilla.com/D18611
2019-02-04 14:34:59 -08:00
jgilbert@mozilla.com
a5ef1cc2e1 Bug 1372177 - ArrayBufferView error enum depends on func. r=lsalzman
MozReview-Commit-ID: 34X7yTEE3Ia

Differential Revision: https://phabricator.services.mozilla.com/D18482

--HG--
extra : moz-landing-system : lando
2019-02-02 10:04:43 +00:00
jgilbert@mozilla.com
87e485d6b5 Bug 1372193 - Format/types invalid for DOM uploads are INVALID_VALUE. r=lsalzman
MozReview-Commit-ID: IdSHKBdyqxA

Differential Revision: https://phabricator.services.mozilla.com/D18484

--HG--
extra : moz-landing-system : lando
2019-02-02 10:02:23 +00:00
jgilbert@mozilla.com
667842907d Bug 1524748 - SNORM format enums are never valid for CopyTexImage. r=lsalzman
MozReview-Commit-ID: 6EDpI5hFwpu

Differential Revision: https://phabricator.services.mozilla.com/D18483

--HG--
extra : moz-landing-system : lando
2019-02-02 08:37:22 +00:00
jgilbert@mozilla.com
a735e760d0 Bug 1372160 - Supply shader translator with es3 limits. r=lsalzman
MozReview-Commit-ID: CDeoT7UOWdB

Differential Revision: https://phabricator.services.mozilla.com/D18637

--HG--
extra : moz-landing-system : lando
2019-02-05 03:36:03 +00:00
Jeff Gilbert
8139182468 Bug 1524713 - Allow EXT_float_blend for webgl1. r=lsalzman
Also make each extension track whether it works with webgl 1 and/or 2,
instead of embedding it in the IsExtensionSupported code.

Also, improve mochitest so that it fails if we encounter an unexpected
supported extension.

Differential Revision: https://phabricator.services.mozilla.com/D18614

--HG--
extra : moz-landing-system : lando
2019-02-05 03:34:49 +00:00
Cosmin Sabou
5a2318f064 Backed out changeset 58fe5a3d3c40 (bug 1290774) for causing build bustages on WebGLContextDraw. CLOSED TREE 2019-02-01 05:58:38 +02:00
Jeff Gilbert
be41632dd0 Bug 1290774 - Validate frag shader output types match draw buffer types. r=lsalzman
MozReview-Commit-ID: HhGKDVWXR1A

Differential Revision: https://phabricator.services.mozilla.com/D18302

--HG--
extra : moz-landing-system : lando
2019-02-01 03:33:02 +00:00
Jeff Gilbert
ac012b5064 Bug 1522018 - Implement webgl draft ext EXT_float_blend. r=lsalzman,qdot
Differential Revision: https://phabricator.services.mozilla.com/D17336

--HG--
rename : dom/canvas/WebGLExtensionBase.cpp => dom/canvas/WebGLExtensions.cpp
extra : moz-landing-system : lando
2019-01-31 23:39:12 +00:00
Jeff Gilbert
aed7c05c6c Bug 1521994 - ReadPixels with half-float ext should support FLOAT. r=lsalzman
MozReview-Commit-ID: ZjVnkJLJrl

Differential Revision: https://phabricator.services.mozilla.com/D17307

--HG--
extra : moz-landing-system : lando
2019-01-31 19:18:09 +00:00
Jeff Gilbert
b03f03b25b Bug 1523030 - glClear after glBlitFramebuffer with mNeedsFakeNoAlpha. r=lsalzman
glBlitFramebuffer ignores glColorMask, unlike glClear, so we have to do
a fix-up.

Eventually we should drop mNeedsFakeNoAlpha, though.

Differential Revision: https://phabricator.services.mozilla.com/D17717

--HG--
extra : moz-landing-system : lando
2019-01-26 00:55:57 +00:00
Jeff Gilbert
428268f544 Bug 1301803 - Handle context loss during QueryProgramInfo. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D17998

--HG--
extra : moz-landing-system : lando
2019-01-30 03:24:04 +00:00
Jeff Gilbert
bb98ec056b Bug 1521992 - Fix incomplete-fb error for webgl.getParameter. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D17306

--HG--
extra : moz-landing-system : lando
2019-01-23 17:53:43 +00:00
Jeff Gilbert
4e6082275f Bug 1503813 - RefreshSwizzle must rebind its texture. r=lsalzman
MozReview-Commit-ID: Ek1UIJjwQFH

Differential Revision: https://phabricator.services.mozilla.com/D17035

--HG--
extra : moz-landing-system : lando
2019-01-22 22:17:56 +00:00
Ehsan Akhgari
e5e885ae31 Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
# ignore-this-changeset

--HG--
extra : amend_source : 7221c8d15a765df71171099468e7c7faa648f37c
extra : histedit_source : a0cce6015636202bff09e35a13f72e03257a7695
2019-01-18 10:16:18 +01:00
Jeff Gilbert
092d1d6c89 Bug 1523728 - Add gl.allow-high-power:true, webgl.default-low-power:false. r=lsalzman
Also, if "Use hardware acceleration when available" is disabled, restrict webgl to the igpu.

Differential Revision: https://phabricator.services.mozilla.com/D19059

--HG--
extra : moz-landing-system : lando
2019-02-07 22:35:50 +00:00
Emilio Cobos Álvarez
d2ed260822 Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug
Summary: Really sorry for the size of the patch. It's mostly automatic
s/nsIDocument/Document/ but I had to fix up in a bunch of places manually to
add the right namespacing and such.

Overall it's not a very interesting patch I think.

nsDocument.cpp turns into Document.cpp, nsIDocument.h into Document.h and
nsIDocumentInlines.h into DocumentInlines.h.

I also changed a bunch of nsCOMPtr usage to RefPtr, but not all of it.

While fixing up some of the bits I also removed some unneeded OwnerDoc() null
checks and such, but I didn't do anything riskier than that.
2019-01-03 17:48:33 +01:00
longsonr
d03099b507 Bug 1516921 - export things in the mozilla namespace properly r=jwatt 2018-12-31 11:56:52 +00:00
James Willcox
5f8a4871dd Bug 1514349 - Skip WebGL conformance tests on Android emulators when using e10s r=jgilbert
It looks like the emulator has a bug here causing eglSwapBuffers() to
hang. We'll need to run this on a real machine.

Differential Revision: https://phabricator.services.mozilla.com/D14610

--HG--
extra : moz-landing-system : lando
2018-12-19 22:22:22 +00:00
Tim Huang
1e2c28f939 Bug 1446472 - Part 1: Showing the identity block icon for canvas permission without the doorhanger when canvas extraction is auto detected. r=baku,Gijs
For a better user experience of auto-blocking canvas extraction, this
patch changes the behavior when detecting a canvas extraction without
user interaction. It will show a canvas identity block icon with a
hidden doorhanger when auto-blocking the canvas extraction. Users can
make their choice to either block or allow the canvas extraction by
clicking the identity block icon and then refresh the page to make
the canvas permission taking effect.

Differential Revision: https://phabricator.services.mozilla.com/D14259

--HG--
extra : moz-landing-system : lando
2018-12-16 21:30:59 +00:00
sotaro
ba323650b7 Bug 1513699 - Disable SkiaGL on WebRender r=jrmuizel
Disable SkiaGL on WebRender, since there is a case that R8G8B8X8 is used, but WebRender does not support R8G8B8X8 yet. And SkiaGL is already disabled by Bug 1468801.

Differential Revision: https://phabricator.services.mozilla.com/D14366
2018-12-13 18:01:16 +09:00
Tooru Fujisawa
7983faeb5d Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp 2018-12-01 04:52:05 +09:00
Benjamin Bouvier
a7f1d173a0 Bug 1511383: Update vim modelines after clang-format; r=sylvestre
- modify line wrap up to 80 chars; (tw=80)
- modify size of tab to 2 chars everywhere; (sts=2, sw=2)

--HG--
extra : rebase_source : 7eedce0311b340c9a5a1265dc42d3121cc0f32a0
extra : amend_source : 9cb4ffdd5005f5c4c14172390dd00b04b2066cd7
2018-11-30 16:39:55 +01:00
Sylvestre Ledru
265e672179 Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
# ignore-this-changeset

--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Gabriele Svelto
19e52bebd4 Bug 1510582 - Remove useless inclusions of Services.h r=erahm
Differential Revision: https://phabricator.services.mozilla.com/D13240

--HG--
extra : moz-landing-system : lando
2018-11-28 17:25:23 +00:00
Cosmin Sabou
e1e8f2ea69 Merge mozilla-inbound to mozilla-central. a=merge 2018-11-28 06:08:19 +02:00
Jeff Gilbert
1690a0092c Bug 1510467 - Preserve purposely-formatted code from clang-format. (webgl, gfx/gl)
MozReview-Commit-ID: 2U2oqQ53nTZ
2018-11-27 15:26:46 -08:00
Jeff Gilbert
96d23dfcb7 Bug 1467406 - Remove broken default-fb invalidation path. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D13047

--HG--
extra : moz-landing-system : lando
2018-11-27 15:49:21 +00:00
Gabriele Svelto
566f669d07 Bug 1509450 - Remove unnecessary inclusions of ContentParent.h and ContentChild.h r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D12728

--HG--
extra : moz-landing-system : lando
2018-11-26 14:49:44 +00:00
Ehsan Akhgari
6099c9f67b Bug 1508472 - Part 1: First batch of comment fix-ups in preparation for the tree reformat r=sylvestre
This is a best effort attempt at ensuring that the adverse impact of
reformatting the entire tree over the comments would be minimal.  I've used a
combination of strategies including disabling of formatting, some manual
formatting and some changes to formatting to work around some clang-format
limitations.

Differential Revision: https://phabricator.services.mozilla.com/D13046

--HG--
extra : moz-landing-system : lando
2018-11-27 10:08:58 +00:00