roytam1
a48debaabe
Merge remote-tracking branch 'origin/tracking' into custom
2023-01-10 08:22:51 +08:00
Moonchild
efeb0e3e97
Issue #2087 - Don't throw on lacking PresShell in SetFontInternal
...
In CanvasRenderingContext2D::SetFontInternal, we should not throw if
there is no PresShell due to (sandboxed/hidden) iframe use that has not
initialized its presentation yet at the time of property manipulation.
This removes the throwing of the error and just silently fails.
Resolves #2087
2023-01-10 07:42:08 +08:00
roytam1
5f18cf3bed
Merge remote-tracking branch 'origin/tracking' into custom
2022-10-27 09:04:51 +08:00
Moonchild
2f0acd868e
[WebGL] Implement webgl.max-size-per-texture-mib
2022-10-27 09:04:31 +08:00
roytam1
67177c6722
backout bug1767365 part from rev 591552c5 as it cause crash in viewing https://www.ventusky.com/?w=off
2022-09-24 23:47:50 +08:00
roytam1
591552c5bb
partly import changes from tenfourfox:
...
- #651 : M1767365+backbugs M1757604 M1771774 M1776658 (bc6daa0ae)
2022-09-19 16:18:37 +08:00
roytam1
92cf687331
Merge remote-tracking branch 'origin/tracking' into custom
2022-09-09 10:31:15 +08:00
Moonchild
60e4e33442
Issue #80 - Re-unify most of DOM
2022-09-09 10:09:40 +08:00
roytam1
e8b114fe4f
Merge remote-tracking branch 'origin/tracking' into custom
2022-06-02 10:16:06 +08:00
Moonchild
9fa9622d5b
[DOM] Clip image data transfers.
2022-06-02 10:11:38 +08:00
roytam1
7f068ecce3
Merge remote-tracking branch 'origin/tracking' into custom
2022-05-04 10:14:24 +08:00
Brian Smith
13fcc4a046
Issue #1829 - Revert "Issue #1751 "
2022-05-04 09:40:24 +08:00
roytam1
6de07653b9
Merge remote-tracking branch 'origin/tracking' into custom
2022-04-28 10:45:19 +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
roytam1
be997daa6b
Merge remote-tracking branch 'origin/tracking' into custom
2022-04-10 23:03:50 +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
roytam1
a3239eaa4d
[WebRTC] updated to upstream branch 49 and related.
...
this patch is based on 38d7a7883...226f2f0bd
2021-10-01 10:48:39 +08:00
roytam1
a49b1a5902
import change from tenfourfox:
...
- closes #647 : M1724107 M1721107+backbugs M1716622 +TLDs (a3a4a114b)
2021-09-07 10:23:53 +08:00
roytam1
2c79eebb23
Merge remote-tracking branch 'origin/master' into custom
2021-05-05 10:32:33 +08:00
Moonchild
d29e4f8306
Issue #1751 -- Remove XP_MACOSX conditionals from /dom
2021-05-05 10:26:13 +08:00
roytam1
3348d89604
partly imported from bk55:
...
- import changes from tenfourfox:
- #642 : M1699835 (modified)
- #642 : update eTLDs
2021-04-23 09:27:29 +08:00
roytam1
46c9b4df6f
Merge remote-tracking branch 'origin/master' into custom
2021-04-23 09:23:01 +08:00
Jeff Gilbert
88bfb5d5d1
[WebGL] Bind framebuffer before DrawBuffers/ReadBuffer selection.
2021-04-21 21:55:40 +08:00
roytam1
f9ded55f98
Merge remote-tracking branch 'origin/master' into custom
2021-03-25 09:26:26 +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
roytam1
e54fcd15f1
Merge remote-tracking branch 'origin/master' into custom
2021-03-12 09:00:51 +08:00
Moonchild
0ced696351
Issue #1053 - Remove Android-specific blocks from system headers and /dom
2021-03-12 08:57:47 +08:00
roytam1
333a06698b
Merge remote-tracking branch 'origin/master' into custom
2021-03-11 10:14:22 +08:00
Moonchild
1feafdc819
Issue #1053 - Remove mobile-specific graphics "optimizations" (=compromises)
2021-03-11 10:13:55 +08:00
roytam1
d72c60c303
Merge remote-tracking branch 'origin/master' into custom
2021-01-27 21:05:06 +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
roytam1
56aaf6a15a
Merge remote-tracking branch 'origin/master' into custom
2020-09-25 22:18:48 +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
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