Kris Maglione
1dc330007c
Bug 1701777: Fix timeout handling for xorigin mochitests. r=mccr8
...
This copies some of the basic diagnostic reporting logic from SimpleTest to
TestRunner so that it can report timeout errors without an unnecessary
async roundtrip, and moves timeout handling to use a "message" event which
works in both in-process and out-of-process modes.
Differential Revision: https://phabricator.services.mozilla.com/D110326
2021-04-08 18:34:07 +00:00
Butkovits Atila
24b6ba53d1
Backed out changeset 5221d3a8cc55 (bug 1701777) for causing failures on test_conformance__textures__misc__texture-corner-case-videos.html .
2021-04-08 05:23:26 +03:00
Kris Maglione
a4743a3c00
Bug 1701777: Fix timeout handling for xorigin mochitests. r=mccr8
...
This copies some of the basic diagnostic reporting logic from SimpleTest to
TestRunner so that it can report timeout errors without an unnecessary
async roundtrip, and moves timeout handling to use a "message" event which
works in both in-process and out-of-process modes.
Differential Revision: https://phabricator.services.mozilla.com/D110326
2021-04-07 19:02:41 +00:00
Jeff Gilbert
56f57c76a3
Bug 1699077 - Bind framebuffer before DrawBuffers/ReadBuffer selection. r=lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D110489
2021-04-07 18:44:35 +00:00
Jeff Gilbert
6776a9971c
Bug 1678989 - Handle blitting kCVPixelFormatType_422YpCbCr8_yuvs. r=lsalzman
...
Also more gracefully handle dropped frames for async texture uploads.
If frame is missing, clear to [0.2, 0, 0.2, 1].
Fixing this is a larger change, so defer for now.
Differential Revision: https://phabricator.services.mozilla.com/D109983
2021-04-01 22:58:05 +00:00
Jeff Gilbert
8946d49358
Bug 1702382
- Forbid FIXED in vertexAttribPointer. r=lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D110497
2021-04-01 16:34:31 +00:00
Jeff Gilbert
402802eb42
Bug 1697084 - Don't ignore pboOffset for webgl tex uploads. r=lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D110498
2021-04-01 04:53:05 +00:00
Jeff Muizelaar
1233d4a58e
Bug 1701760. Request sRGB images when drawing an image in Canvas. r=aosmond
...
Differential Revision: https://phabricator.services.mozilla.com/D110331
2021-03-31 13:33:07 +00:00
Jonathan Kew
5d763da0ba
Bug 1699835
- Check that references in cached fontGroup match current presContext. r=lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D109612
2021-03-30 16:02:24 +00:00
Jeff Gilbert
7a1619f7c2
Bug 1700799 - Better WebGL context creation failure messages. r=lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D110166
2021-03-29 23:35:29 +00:00
Bob Owen
87882aa75a
Bug 1697344 p3: Don't hold the GradientStops object on CanvasGradient. r=jrmuizel
...
In the DrawTargetRecording case we create new GradientStopsRecording each time
and holding onto them in the content process can mean they take a very large
amount of memory in the GPU process, if a script deliberately creates lots of
unique stops.
In the non-recording case then the GradientStops are cached in the content
process anyway.
Differential Revision: https://phabricator.services.mozilla.com/D109792
2021-03-29 12:12:21 +00:00
Alexandru Michis
a6b034109b
Backed out changeset 1bde1bcafcf1 (bug 1700799) for causing webgl crashes.
...
CLOSED TREE
2021-03-27 11:59:07 +02:00
Jeff Gilbert
615878e7ce
Bug 1700799 - For GLContextGLX creation, add fallback if robustness fails. r=lsalzman
...
Also trim out unused code/vars.
Also give better WebGL context creation errors.
Differential Revision: https://phabricator.services.mozilla.com/D109679
2021-03-27 08:26:35 +00:00
Simon Giesecke
760cc7e936
Bug 1679522 - Fix include directives and forward declarations. r=andi,necko-reviewers,jgilbert
...
- Add missing include directives and forward declarations.
- Remove some extra include directives.
- Add missing namespace qualifications.
- Move include directives out of namespace in toolkit/xre/GlobalSemaphore.h
Differential Revision: https://phabricator.services.mozilla.com/D98894
2021-03-25 10:19:44 +00:00
Snehaa2296
b1341f2bbf
Bug 1629420 - ClientWebGLContext.cpp: the 'empty' method should be used to check for emptiness instead of 'size'. r=andi
...
Differential Revision: https://phabricator.services.mozilla.com/D109271
2021-03-22 14:28:05 +00:00
Tomislav Jovanovic
75c7d56381
Bug 1696976 - Log a deprecation warning for extension use of canvas drawWindow r=baku,rpl
...
Differential Revision: https://phabricator.services.mozilla.com/D107582
2021-03-15 12:30:54 +00:00
Jeff Gilbert
12cab664f7
Bug 1692832 - isTexUploadFromPbo iff isPboBound. r=lsalzman
...
INVALID_OPERATION otherwise.
Differential Revision: https://phabricator.services.mozilla.com/D107592
2021-03-10 18:35:16 +00:00
Jeff Gilbert
39129f8f9d
Bug 1696075 - Match spec for webgl sampling feedback detection. r=lsalzman
...
I lean really hard into using the precise variable names and language
from the spec here. Previously I had more qualitative/descriptive names,
but I found this to mostly cause confusion. When we're up to our waists
in spec edge cases like we are here, descriptive qualitative names can
just be deceptive, and lead to incorrect intuitions.
Differential Revision: https://phabricator.services.mozilla.com/D107016
2021-03-04 03:14:50 +00:00
Sebastian Hengst
8c58059882
Bug 1687071 - add back accidentally remove test result expectation for test_2_conformance__textures__misc__texture-upload-size.html. r=jmaher DONTBUILD
...
Expectation got removed in bug 1693378.
Differential Revision: https://phabricator.services.mozilla.com/D106088
2021-02-25 15:17:45 +00:00
Andrew Osmond
a4745549bc
Bug 1693383 - Part 3. Disable mochitests currently broken with Software WebRender and Linux. r=lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D105664
2021-02-24 18:47:24 +00:00
Henri Sivonen
4f51a00c2e
Bug 1693534 - Avoid leaking the kernel version to the Web with amdgpu. r=jgilbert
...
Differential Revision: https://phabricator.services.mozilla.com/D105636
2021-02-22 09:18:19 +00:00
Matt Woodrow
2b07ed805c
Bug 1688813 - Draw position:fixed elements relative to the top-left of the document when using drawSnapshot. r=emilio,mstange
...
Differential Revision: https://phabricator.services.mozilla.com/D104935
2021-02-22 04:20:29 +00:00
Joel Maher
35c9d09654
Bug 1693378 - adjust manifest for mochitest-webgl r=jgilbert
...
adjust webgl manifests to run on osx 10.15 and 11.0
Differential Revision: https://phabricator.services.mozilla.com/D105503
2021-02-19 19:45:27 +00:00
Simon Giesecke
06738f2b86
Bug 1693003 - Remove redundant nullptr checks of return value of infallible new in dom/. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D105292
2021-02-16 15:52:10 +00:00
Dorel Luca
847a939bb4
Backed out changeset 56ce2feb53e7 (bug 1688813) for Browser-chrome failures in browser_panelUINotifications_multiWindow.js. CLOSED TREE
2021-02-16 12:36:20 +02:00
Matt Woodrow
cd814ab6a8
Bug 1688813 - Draw position:fixed elements relative to the top-left of the document when using drawSnapshot. r=emilio,mstange
...
Differential Revision: https://phabricator.services.mozilla.com/D104935
2021-02-16 07:38:51 +00:00
Gerald Squelart
2416d881e2
Bug 1691589 - Reduce reliance on GeckoProfiler.h when only labels (and maybe markers) are needed - r=necko-reviewers,geckoview-reviewers,sg,agi,florian
...
There are no code changes, only #include changes.
It was a fairly mechanical process: Search for all "AUTO_PROFILER_LABEL", and in each file, if only labels are used, convert "GeckoProfiler.h" into "ProfilerLabels.h" (or just add that last one where needed).
In some files, there were also some marker calls but no other profiler-related calls, in these cases "GeckoProfiler.h" was replaced with both "ProfilerLabels.h" and "ProfilerMarkers.h", which still helps in reducing the use of the all-encompassing "GeckoProfiler.h".
Differential Revision: https://phabricator.services.mozilla.com/D104588
2021-02-16 04:44:19 +00:00
Sylvestre Ledru
b4f9be25d4
Bug 1519636 - Reformat recent changes to the Google coding style r=andi,necko-reviewers
...
Updated with clang-format version 11.0.1 (taskcluster-B6bdwSKDRF-luRQWXBuzpA)
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D105158
2021-02-15 08:49:20 +00:00
Jeff Gilbert
bfa84e6b27
Bug 1692617 - Rendering into a miplevel while sampling from a disjoint set of miplevels should be allowed for immutable textures. r=lsalzman
...
For example, when sampling from miplevel N-1 to render into another miplevel
N.
Differential Revision: https://phabricator.services.mozilla.com/D105083
2021-02-13 09:06:09 +00:00
Emilio Cobos Álvarez
5035989860
Bug 1692224 - Remove ui.use_native_colors. r=spohl
...
It's not set to false anywhere and the browser would be quite broken
with it set to false.
Differential Revision: https://phabricator.services.mozilla.com/D104906
2021-02-12 01:01:32 +00:00
Jeff Gilbert
09bc72760a
Bug 1691606 - Clean up dead code following WebGL out-of-process stabilization. r=lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D104495
2021-02-09 07:57:03 +00:00
Jeff Gilbert
a406bf14e1
Bug 1690349 - Post-ANGLE-update Gecko fixes and re-mark tests. r=lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D103957
2021-02-05 02:14:10 +00:00
Simon Giesecke
4cacf143a2
Bug 1689415 - Avoid UB when validating enum values in EnumSerializer. r=mccr8
...
Previously, there was undefined behaviour when validating enum values in
EnumSerializer, which were actually invalid (which was hit during fuzzing, e.g.),
because the invalid integral value was cast to the enum type for comparison.
This patch changes the comparison to cast the valid values to their integral
values instead and compare those.
Differential Revision: https://phabricator.services.mozilla.com/D103449
2021-02-02 18:04:05 +00:00
Mihai Alexandru Michis
f5e5a037d6
Backed out 3 changesets (bug 1629381) for causing failures in test_eme_canvas_blocked.html
...
CLOSED TREE
Backed out changeset 12ee10496a34 (bug 1629381)
Backed out changeset b0eba102423a (bug 1629381)
Backed out changeset 383fec2e815c (bug 1629381)
2021-01-29 03:18:25 +02:00
Emilio Cobos Álvarez
96e56e3d39
Bug 1629381 - CanvasRenderingContext2D.drawImage shouldn't throw for e.g <video> if there's no valid surface to draw. r=sotaro
...
As per spec see comment.
Differential Revision: https://phabricator.services.mozilla.com/D103157
2021-01-28 22:20:05 +00:00
Butkovits Atila
b09444da06
Backed out changeset ab82c7e299f4 (bug 1629381) for causing failures on test_eme_canvas_blocked.html.
2021-01-28 07:09:15 +02:00
Emilio Cobos Álvarez
a1d23c5b4f
Bug 1629381 - CanvasRenderingContext2D.drawImage shouldn't throw for e.g <video> if there's no valid surface to draw. r=sotaro
...
As per spec see comment.
Differential Revision: https://phabricator.services.mozilla.com/D103157
2021-01-27 23:55:11 +00:00
Butkovits Atila
49753aeed1
Backed out changeset d9b7bed96428 (bug 1629381) for causing failures on test_reset_src.html. CLOSED TREE
2021-01-28 00:28:11 +02:00
Emilio Cobos Álvarez
235e4bc694
Bug 1629381 - CanvasRenderingContext2D.drawImage shouldn't throw for e.g <video> if there's no valid surface to draw. r=sotaro
...
As per spec see comment.
Differential Revision: https://phabricator.services.mozilla.com/D103157
2021-01-27 20:09:25 +00:00
Andreea Pavel
e2d6e9faf7
Bug 1687073 - disable generated/test_2_conformance2__textures__misc__tex-image-with-bad-args-from-dom-elements.html on android aarch64 r=intermittent-reviewers,jmaher DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D102811
2021-01-22 23:44:31 +00:00
Andreea Pavel
946dfc4131
Bug 1687071 - disable test_2_conformance__textures__misc__texture-upload-size.html on android aarch64 r=intermittent-reviewers,jmaher DONTBUILD
...
Differential Revision: https://phabricator.services.mozilla.com/D102808
2021-01-22 22:04:50 +00:00
Sylvestre Ledru
912aeb9ab5
Bug 1519636 - Reformat recent changes to the Google coding style r=andi
...
Updated with clang-format version 11.0.1 (taskcluster-B6bdwSKDRF-luRQWXBuzpA)
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D102084
2021-01-18 16:50:16 +00:00
Jeff Gilbert
c2e4fdeb90
Bug 1686750 - Upload zeros if layers::Image => SurfaceDescriptor fails. r=lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D101948
2021-01-15 19:18:38 +00:00
Jeff Gilbert
a8926ffa47
Bug 1640607 - Send SurfaceDescriptors for GPU blitting for video-to-webgl. r=lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D101061
2021-01-14 01:23:06 +00:00
Mihai Alexandru Michis
d40c24714c
Backed out changeset 6149f5b15c5e (bug 1640607) for causing bustages in WebGLTextureUpload.cpp
...
CLOSED TREE
2021-01-14 00:43:40 +02:00
Steve Fink
9738113572
Bug 1684122 - Demarcate region where GC would break stuff r=jgilbert
...
Differential Revision: https://phabricator.services.mozilla.com/D100427
2021-01-13 22:24:36 +00:00
Steve Fink
613e55711f
Bug 1682068 - Fix rooting hazard in ImageBitmap::CreateInternal by avoiding movable data r=jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D100428
2021-01-13 22:17:51 +00:00
Jeff Gilbert
580169fbfc
Bug 1640607 - Send SurfaceDescriptors for GPU blitting for video-to-webgl. r=lsalzman
...
Differential Revision: https://phabricator.services.mozilla.com/D101061
2021-01-13 21:49:40 +00:00
Mihai Alexandru Michis
bf411e8d30
Backed out 2 changesets (bug 1684123, bug 1682068) for causing bustages.
...
CLOSED TREE
Backed out changeset e6df68a131a3 (bug 1682068)
Backed out changeset 91ad893cc4d4 (bug 1684123)
2021-01-13 20:34:56 +02:00
Steve Fink
67a0878c54
Bug 1682068 - Fix rooting hazard in ImageBitmap::CreateInternal by avoiding movable data r=jrmuizel
...
Differential Revision: https://phabricator.services.mozilla.com/D100428
2021-01-08 20:14:53 +00:00