Moonchild
9fa9622d5b
[DOM] Clip image data transfers.
2022-06-02 10:11:38 +08:00
Brian Smith
13fcc4a046
Issue #1829 - Revert "Issue #1751 "
2022-05-04 09:40:24 +08:00
Moonchild
8d800b1cb0
Issue #21 - Remove Telemetry plumbing and fix build.
...
Note this won't give working applications. Requires FE changes and
additional js module changes (next part).
2022-04-28 10:25:48 +08:00
Moonchild
15065117ff
Fix Mesa check + whitespace
2022-04-10 22:59:09 +08:00
Moonchild
943d76fa91
No issue - Avoid WebGL crash on Mesa
...
This prevents too high vert-count draws that Mesa doesn't handle.
2022-04-10 22:57:48 +08:00
Moonchild
d29e4f8306
Issue #1751 -- Remove XP_MACOSX conditionals from /dom
2021-05-05 10:26:13 +08:00
Jeff Gilbert
88bfb5d5d1
[WebGL] Bind framebuffer before DrawBuffers/ReadBuffer selection.
2021-04-21 21:55:40 +08:00
Moonchild
bdfe49f178
[WebGL] Only allow texture uploads from pixelbuffer if bound.
...
Throw an error if it mismatches.
2021-03-25 09:05:44 +08:00
Moonchild
0ced696351
Issue #1053 - Remove Android-specific blocks from system headers and /dom
2021-03-12 08:57:47 +08:00
Moonchild
1feafdc819
Issue #1053 - Remove mobile-specific graphics "optimizations" (=compromises)
2021-03-11 10:13:55 +08:00
Moonchild
8630e4f6dc
[DOM] Try to avoid slow shrinking GC during sync calls
2021-01-27 21:03:02 +08:00
Moonchild
9b6e17cf34
Fix rooting hazard in ImageBitmap::CreateInternal by avoiding movable data.
2021-01-27 21:02:53 +08:00
Moonchild
0cd673d720
Issue #1656 - Part 6: Clean up the build files
2020-09-25 22:04:23 +08:00
Moonchild
8c395520d9
Issue #1656 - Part 1: Nuke most vim config lines in the tree.
...
Since these are just interpreted comments, there's 0 impact on actual code.
This removes all lines that match /* vim: set(.*)tw=80: */ with S&R -- there are
a few others scattered around which will be removed manually in a second part.
2020-09-25 22:04:12 +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
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