Commit Graph

2746 Commits

Author SHA1 Message Date
Miko Mynttinen
6bf1bd586a Bug 1578576 - Part 4: Update webgl-conf expectations r=jgilbert
Depends on D44581

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

--HG--
extra : moz-landing-system : lando
2019-09-07 13:39:16 +00:00
Miko Mynttinen
e110583d7c Bug 1578576 - Part 3: Prefer ES2 for WebGL1 r=jgilbert
Depends on D44580

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

--HG--
extra : moz-landing-system : lando
2019-09-07 19:38:21 +00:00
Imanol Fernandez
ef96affe67 Bug 1579028 - Do not call surface->Commit() if composition failed in WebGLContext::GetVRFrame. r=jgilbert,rbarker
PresentScreenBuffer() or screen->PublishFrame() may fail for different reasons. In that case we shouldn't call surface->Commit() because it may be in a not swaped state or not available.

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

--HG--
extra : moz-landing-system : lando
2019-09-06 20:55:51 +00:00
Geoff Brown
56ca134785 Bug 1579272 - Cleanup obviously fennec-centric test annotations; r=bc
Remove test manifest annotations that specifically target fennec,
or likely target the android 4.3 emulator.

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

--HG--
extra : moz-landing-system : lando
2019-09-06 16:51:10 +00:00
Timothy Nikkel
e0a79ba9f2 Bug 1578164. Use async notifications when requesting decode of an image in most places. r=aosmond
Most of things will likely be no real change because they ask for the exact frame they want immediately before.

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

--HG--
extra : moz-landing-system : lando
2019-09-03 15:36:23 +00:00
Mark Banner
acd70816c6 Bug 1577746 - Enable ESLint rule dot-notation for dom/. r=baku
Depends on D44149

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

--HG--
extra : moz-landing-system : lando
2019-09-02 11:23:05 +00:00
Mark Banner
351d147e2f Bug 1577746 - Enable ESLint rule object-shorthand for dom/. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D44149

--HG--
extra : moz-landing-system : lando
2019-09-02 11:22:27 +00:00
Edgar Chen
07c5d9bb1b Bug 1298509 - Notify identifier map entries if they get removed via DestroyElementMaps; r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D43154

--HG--
extra : moz-landing-system : lando
2019-08-30 11:52:32 +00:00
Bob Owen
2bee21f74c Bug 1575838: Check that we can create a similar DrawTarget first in canvas Adjusted targets. r=mattwoodrow
This also fixes DrawTargetSkia::CanCreateSimilarDrawTarget because currently
if only one of the height or width is negative then it doesn't get caught.

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

--HG--
extra : moz-landing-system : lando
2019-08-30 17:14:44 +00:00
Noemi Erli
907fe70a3f Backed out changeset f69e1e9da360 (bug 1565991) for failing in test_createPattern_broken.html
--HG--
extra : rebase_source : d62dd3af0147b294668b60ae3c041e1d30b4a044
2019-08-27 19:23:31 +03:00
Kris Taeleman
bd77bd2e32 Bug 1565991 - Ensure calling createPattern with new Image() returns null. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D42038

--HG--
extra : moz-landing-system : lando
2019-08-27 15:27:42 +00:00
Edwin Gao
ae04af04bb Bug 1576011 - set expectation for tests in gl1c for tests that pass in Debian 10 r=jmaher
Changes:
- when specifying `fail-if` condition for linux platform, narrow down the scope using Ubuntu version `16.04` since some tests are passing on Debian 10

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

--HG--
extra : moz-landing-system : lando
2019-08-23 17:41:16 +00:00
Mark Banner
c1ab51f11c Bug 1574915 - Fix useless try-catch issues in dom/. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D42509

--HG--
extra : moz-landing-system : lando
2019-08-19 17:02:54 +00:00
Matt Woodrow
270a0d1434 Bug 1570147 - Add test for drawSnapshot. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D41828

--HG--
extra : moz-landing-system : lando
2019-08-16 03:13:21 +00:00
Matt Woodrow
7bf99e1fc3 Bug 1570147 - Modify existing drawWindow tests to take a callback for the inner draw function. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D41827

--HG--
extra : moz-landing-system : lando
2019-08-16 03:13:04 +00:00
Nicholas Nethercote
048727ff15 Bug 1573720 - Convert canvas.image.cache.limit to a static pref. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D41919

--HG--
extra : moz-landing-system : lando
2019-08-15 05:31:24 +00:00
Brindusan Cristian
3a61fb322f Merge inbound to mozilla-central. a=merge 2019-08-15 12:45:55 +03:00
Emilio Cobos Álvarez
5a7da15b28 Bug 1569648 - Remove a bogus assertion. r=dholbert
There's no guarantee at all that the filter URI is valid, it just so happens
that for regular CSS filters we bail out earlier.

A bogus base URI makes relative uris just invalid, which triggers this assert.

The assert was gracefully handled anyway, so no big deal.

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

--HG--
extra : moz-landing-system : lando
2019-08-14 16:41:20 +00:00
Jeff Gilbert
4e3ad0b1b4 Bug 1573352 - Convert mochi-to-testcase.py to python3. NPOTB r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D41686

--HG--
extra : moz-landing-system : lando
2019-08-13 17:13:53 +00:00
Greyson Gilbert
03e40ae283 Bug 1560771 - Give proper line width range for core profile r=jgilbert
Because glLineWidth is deprecated in newer versions of core opengl,
we currently ignore lineWidth when using core profile.  We should
probably also make ALIASED_LINE_WIDTH_RANGE match this behavior to
lessen confusion.

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

--HG--
extra : moz-landing-system : lando
2019-08-09 20:32:20 +00:00
Bob Owen
0514fa184b Bug 1567054: Always call EnsureTarget in CanvasRenderingContext2D::GetSurfaceSnapshot. r=jrmuizel
This reverts to the previous behavior when the function was defined in the
header file, where we always called EnsureTarget first. Not doing this
introduces an as yet unexplained performance issue in certain circumstances.

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

--HG--
extra : moz-landing-system : lando
2019-08-08 17:41:39 +00:00
Jeff Gilbert
4aefa55c19 Bug 1565396 - Annotate use of memcpy instead of memcpySafeWhenRacy in WebGLBuffer. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D37802

--HG--
extra : moz-landing-system : lando
2019-08-05 06:26:56 +00:00
Edwin Gao
b270bb1353 Bug 1561046 - remove API 17 from manifest files r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D39809

--HG--
extra : moz-landing-system : lando
2019-08-02 20:10:06 +00:00
Edwin Gao
c9df10668e Bug 1570775 - remove references to macosx1010, OS X 10.10.x in configuration and test manifests r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D40309

--HG--
extra : moz-landing-system : lando
2019-08-02 17:27:58 +00:00
Tom Schuster
88855a7ee5 Bug 1558915 - Use infallible nsIURI::SchemeIs in dom/. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D40108

--HG--
extra : source : 3da6e9e86be4a4a9eeaceec222398475b6679193
2019-08-02 08:54:18 +00:00
Mihai Alexandru Michis
0cc257addd Backed out 2 changesets (bug 1558915) for causing bustages. CLOSED TREE
Backed out changeset e44c9fd81e5b (bug 1558915)
Backed out changeset 3da6e9e86be4 (bug 1558915)
2019-08-02 12:17:42 +03:00
Tom Schuster
f115dd9113 Bug 1558915 - Use infallible nsIURI::SchemeIs in dom/. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D40108

--HG--
extra : moz-landing-system : lando
2019-08-02 08:54:18 +00:00
Greyson Gilbert
20a52c4874 Bug 1564293 - Allow efficient slicewise upload of 3D textures r=jgilbert
Before this patch any partial upload to a texture would incur
a zeroing of the texture first to prevent leakage of information.
The texture now tracks, for each image not fully initialized,
which z-slices have been initialized, and only zeroes the rest
of the slices when the texture is used.

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

--HG--
extra : moz-landing-system : lando
2019-07-30 23:32:29 +00:00
Brindusan Cristian
339a4ceab8 Backed out changeset ac0666e2b27c (bug 1564293) for build bustages on WebGLFramebuffer.cpp:883:26. CLOSED TREE 2019-07-26 12:04:54 +03:00
Greyson Gilbert
a22343ae66 Bug 1564293 - Allow efficient slicewise upload of 3D textures r=jgilbert
Before this patch any partial upload to a texture would incur
a zeroing of the texture first to prevent leakage of information.
The texture now tracks, for each image not fully initialized,
which z-slices have been initialized, and only zeroes the rest
of the slices when the texture is used.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 06:43:02 +00:00
Jeff Gilbert
1dfd704692 Bug 1569094 - Optimize cache-miss path in GetDrawFetchLimits. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D39456

--HG--
extra : moz-landing-system : lando
2019-07-26 04:04:08 +00:00
Nicholas Nethercote
18fae65f38 Bug 1563139 - Remove StaticPrefs.h. r=glandium
This requires replacing inclusions of it with inclusions of more specific prefs
files.

The exception is that StaticPrefsAll.h, which is equivalent to StaticPrefs.h,
and is used in `Codegen.py` because doing something smarter is tricky and
suitable for a follow-up. As a result, any change to StaticPrefList.yaml will
still trigger recompilation of all the generated DOM bindings files, but that's
still a big improvement over trigger recompilation of every file that uses
static prefs.

Most of the changes in this commit are very boring. The only changes that are
not boring are modules/libpref/*, Codegen.py, and ServoBindings.toml.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 01:10:23 +00:00
Tom Ritter
74b0fa68cc Bug 1565951 - Request a longer timeout on a WebGL test for MinGW builds r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D38029

--HG--
extra : moz-landing-system : lando
2019-07-16 07:58:34 +00:00
Kagami Sascha Rosylight
8f29f2145b Bug 1514538 - Support DOMMatrix2DInit for addPath r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D38054

--HG--
extra : moz-landing-system : lando
2019-07-16 16:35:26 +00:00
Thomas Nguyen
fc05893051 Bug 1546334 - Use referrerInfo in style system. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D36478

--HG--
extra : moz-landing-system : lando
2019-07-16 11:43:56 +00:00
Mirko Brodesser
2f40f072ab Bug 1565584: move nsIContentUtils::ContentIsDescendantOf to nsINode::IsInclusiveDescendantOf. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D37880
2019-07-15 10:02:21 +02:00
Andreas Pehrson
8a56ba7a99 Bug 1560979 - Account for video element's intrinsic size in CanvasRenderingContext2D::DrawImage. r=jib,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D35782

--HG--
extra : moz-landing-system : lando
2019-07-12 12:46:03 +00:00
Daniel Varga
cf2048abd6 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-07-12 13:03:23 +03:00
Jan Andre Ikenmeyer
a216f3dde7 Bug 1565365 - Let webgl.force-enabled apply to WebGL2 as well r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D37821

--HG--
extra : moz-landing-system : lando
2019-07-12 02:34:19 +00:00
Jeff Gilbert
a4edc05171 No bug - clang-format dom/canvas, gfx/[gl,layers,webrender_bindings]. 2019-07-11 15:36:44 -07:00
Kagami Sascha Rosylight
8d91017fdb Bug 928150: Implement canvas getTransform() and setTransform() r=bzbarsky
Adds getTransform() and setTransform() to CanvasRenderingContext2D.

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

--HG--
extra : moz-landing-system : lando
2019-07-11 06:14:58 +00:00
arthur.iakab
973b98aac6 Backed out changeset 0aea246d01bb (bug 928150) for causing build bustages on DOMMatrix.h CLOSED TREEE 2019-07-11 06:31:59 +03:00
Kagami Sascha Rosylight
b65864cf84 Bug 928150: Implement canvas getTransform() and setTransform() r=bzbarsky
Adds getTransform() and setTransform() to CanvasRenderingContext2D.

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

--HG--
extra : moz-landing-system : lando
2019-07-11 02:43:46 +00:00
Greyson Gilbert
5ab46fc0a3 Bug 1535809 - Add warning on use of implicitly enabled extensions r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D36431

--HG--
extra : moz-landing-system : lando
2019-07-09 05:21:30 +00:00
Jeff Gilbert
a8530d0dbd Bug 1535373 - IsContextLost() before early-out. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D37350

--HG--
extra : moz-landing-system : lando
2019-07-09 02:36:52 +00:00
Brindusan Cristian
88dcb17147 Backed out changeset 8e741ae8dcab (bug 1559975) as requested by ahal on irc. CLOSED TREE 2019-07-08 23:40:47 +03:00
Edwin Gao
c9ea675a59 Bug 1559975 - convert dom/canvas/test to python3 syntax r=ahal
Changes:
- change syntax of all python files under `dom/canvas/test` to python3 syntax
- remove semicolon line terminators from `dom/canvas/test/webgl-conf/checkout/deqp/genHTMLfromTest.py`

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

--HG--
extra : moz-landing-system : lando
2019-07-05 14:35:43 +00:00
Sylvestre Ledru
2bf505b023 Bug 1562642 - Add missing MPL2 headers r=mhoye
Differential Revision: https://phabricator.services.mozilla.com/D37053

--HG--
extra : moz-landing-system : lando
2019-07-05 17:05:57 +00:00
Victor Porof
0a8ff0ad85 Bug 1561435 - Format dom/, a=automatic-formatting
# ignore-this-changeset

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

--HG--
extra : source : 62f3501af4bc1c0bd1ee1977a28aee04706a6663
2019-07-05 10:44:55 +02:00
Kartikaya Gupta
30a866a3ac Bug 1525314 - Disable tests that crash. r=gbrown
Depends on D36798

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

--HG--
extra : moz-landing-system : lando
2019-07-04 21:34:59 +00:00