Roy Tam
1453f13d33
Merge remote-tracking branch 'origin/master' into custom
2020-05-02 09:19:25 +08:00
Matt A. Tobin
e1b11805a7
Issue #80 - Resolve issues with compiling on insane gcc configurations with no optimizations in dom/
2020-05-02 08:28:18 +08:00
wolfbeast
b3d98cc078
Issue #80 - De-unify dom/canvas
2020-05-02 08:20:03 +08:00
Roy Tam
a61d9c1ff6
dom/canvas: webgl: disable HasDXInterop2 check
2020-04-14 21:27:00 +08:00
wolfbeast
9d76eb5791
Issue #1354 - Clear the current context when MakeCurrent() fails.
2020-01-24 09:29:04 +08:00
wolfbeast
173637496c
No issue - Fix some line endings in WebGLShaderValidator.cpp
2020-01-17 09:19:03 +08:00
wolfbeast
9f7f1d457f
Issue #1354 - Don't allow glsl[130,400] unless we have gpu_shader5
...
- Teach GLContext about gpu_shader5
- Downgrade shader language version if gpu_shader5 support isn't found.
2020-01-17 09:19:01 +08:00
wolfbeast
39cc10dde8
Update identifier map entries and notify if they get removed.
...
This can happen through DestroyElementMaps()
Based on work by Markus Stange and Edgar Chen.
2019-12-06 22:46:47 +08:00
wolfbeast
0771bbb58c
Add size checks to WebGLContext::BufferData()
...
On MacOS, particularly large allocations within the platform limits
(1.2G+) will fail and crash. This adds a specific size check for that
when working around driver bugs (default).
While there, added a generic size_t limited size check for the
platform, and reporting OOM if too large.
2019-10-25 12:00:30 +08:00
wolfbeast
08ccf18274
Use WeakPtr for extension parent pointer.
2019-07-22 19:45:24 +08:00
wolfbeast
537197dfdc
Truncate Buffer/Texture on GL_OOM.
2019-07-20 06:25:26 +08:00
wolfbeast
c3a85ded77
Improve origin-clean algorithm based on our previous changes.
...
- Instead of trying the failing refactored Mozilla way, simply add a
check where needed building on what was put in place previously.
2019-06-07 09:52:36 +08:00
wolfbeast
64acfb5ca0
Revert "Improve origin-clean algorithm"
...
This reverts commit e69b3f567c4b8957cc09ba4359e84939f77781c5.
2019-06-07 09:52:34 +08:00
wolfbeast
de22dcde32
[WebGL] Enable size limit on Linux.
...
Some drivers on Linux are not supportive of very large allocation sizes
(esp. applicable to Linux x86 builds of UXP applications) and could
cause issues. Treat this the same way we already do on Mac/Darwin.
2019-05-31 07:22:28 +08:00
wolfbeast
85e68b684f
Improve origin-clean algorithm
2019-05-31 07:21:08 +08:00
wolfbeast
ac1a607eb0
Extend origin-clean algorithm (DiD).
2019-03-23 06:44:19 +08:00
wolfbeast
1cc92006b6
Implement origin-clean algorithm for ImageBitmap.
...
This resolves #973 .
2019-02-16 00:28:25 +08:00
wolfbeast
39d5eb7759
Remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS
2019-02-16 00:27:49 +08:00
wolfbeast
391e7d295f
Clear CanvasShutdownObserver::mCanvas when the canvas goes away.
...
This is fallout from Bug 1167235 - Use a fast method of double buffering for canvas.
It is possible for the CanvasRenderingContext2D to be destroyed while we're in the
middle of the call to nsObserverService::NotifyObservers() for shutdown.
This leaves the shutdown observer with a dangling pointer to the canvas, so this
patch explicitly clears the pointer when the context goes away.
2019-02-16 00:22:12 +08:00
wolfbeast
9b1124ccbd
Remove VR hardware support.
...
This resolves #881
2019-02-16 00:20:27 +08:00
wolfbeast
8c8145e620
Remove all C++ Telemetry Accumulation calls.
...
This creates a number of stubs and leaves some surrounding code that may be irrelevant (eg. recorded time stamps, status variables).
Stub resolution/removal should be a follow-up to this.
2019-02-16 00:12:32 +08:00
janekptacijarabaci
43c36e207f
Bug 1335296 - Expand about:support WebGL information
2019-02-16 00:10:19 +08:00
wolfbeast
bdf323b915
Fix incorrect namespace use.
2019-02-16 00:08:25 +08:00
wolfbeast
49a6e3921a
Switch from ShCompileOptions to int.
2019-02-16 00:08:23 +08:00
wolfbeast
33bbcf8110
Restore emulated functions for OS X 10.8/10.7
2019-02-16 00:08:22 +08:00
janekptacijarabaci
98546534b0
Bug 604026 - Sync event loops in workers should be created only if compatible with the worker shutdown status
2019-02-16 00:07:43 +08:00
jgilbert@mozilla.com
fb2f1ea048
Bug 1458264 - Reset UNPACK_SKIP vars when uploading zeros.
2019-02-16 00:01:59 +08:00
Jonathan Kew
d7d5258610
Update dimensions early in ClearTarget.
2019-02-16 00:01:23 +08:00
wolfbeast
121456f05a
Remove gfxCrashReporterUtils.
...
Tag #20 .
2019-02-15 23:58:22 +08:00
wolfbeast
74df182488
Remove other gonk widget conditionals and unused files.
...
Tag #288 .
2019-02-15 23:57:15 +08:00
wolfbeast
b586913598
Remove MOZ_WIDGET_GONK [1/2]
...
Tag #288
2019-02-15 23:57:08 +08:00
janekptacijarabaci
b50357b7ae
moebius#106: SVG - CanvasImageSource - allow using an SVGImageElement as a CanvasImageSource
2019-02-15 23:45:52 +08:00
Jeff Muizelaar
9a47c23711
Bug 1438425 - Delete DocumentRenderer. r=jesup, r=jgilbert, a=RyanVM
...
It is unused.
2019-02-15 23:37:39 +08:00
Jeff Gilbert
e0a60672a5
Bug 1442504 - Disable disjoint timer queries. r=milan, a=RyanVM
...
MozReview-Commit-ID: IurPcGHzAoQ
--HG--
extra : source : bef3db82d7ca31a188f902e317713c88001938ed
extra : intermediate-source : aeb9e1be02d26d4e21717368755b63821dc2d222
2019-02-15 23:37:37 +08:00
wolfbeast
30a101ad73
Revert "Bug 1438425 - Delete DocumentRenderer. r=jesup, a=RyanVM"
...
This reverts commit 5b69e05939c7fd3f917e2dd0f399774b3b15c886.
2019-02-15 23:37:34 +08:00
Jeff Muizelaar
a64b1808c0
Bug 1438425 - Delete DocumentRenderer. r=jesup, a=RyanVM
...
It is unused.
--HG--
extra : histedit_source : b7af9f250f0330f90547114184873ae9971f20fc
2019-02-15 23:37:27 +08:00
trav90
dc145a0b72
Disable -Wimplicit-fallthrough in dom/canvas
...
GCC 7 supports the clang option -Wimplicit-fallthrough.
2019-02-15 23:35:49 +08:00
wolfbeast
c9f70f4de1
Don't build EME-specific subroutines without EME.
...
- Checks for restricted or encrypted content
- Dispatching 'encrypted' events
- Dispatching 'key needed' events
- HTML Media Element media keys system
- EME telemetry
- HTML Media Element EME API
This is the main bulk for #26 , isolating EME-specific code.
2019-02-15 23:34:01 +08:00
wolfbeast
2dc214fa3b
Add canvas data poisoning option.
...
Tag #61 .
2019-02-14 14:28:39 +08:00
Roy Tam
dcd9973243
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
2018-01-19 03:59:58 +08:00