Moonchild
71bd54891a
Issue #1810 - Implement {get|set}Transform with DOMMatrix arguments.
...
We already had part of the plumbing for other canvas manipulations, so
this is somewhat simplified.
This excludes the interface as that is breaking the build at this stage.
Some more research is required.
2024-08-21 10:48:06 +08:00
Moonchild
7cc4dcb680
Issue #2546 - Part 6: Remove canvas.imagebitmap_extensions.enabled preference.
2024-07-10 14:51:38 +08:00
Moonchild
aaf2dd416c
Issue #2546 - Part 5: Remove tests
2024-07-10 14:51:18 +08:00
Moonchild
b1e5955ceb
Issue #2546 - Part 4: Remove mappedDataLength and findOptimalFormat
2024-07-10 14:50:59 +08:00
Moonchild
1bc0eda791
Issue #2546 - Part 3: Remove mapDataInto
2024-07-10 14:50:41 +08:00
Moonchild
2b8d75e136
Issue #2546 - Part 2: Remove special FoxEye CreateImageBitmap method.
2024-07-10 14:50:16 +08:00
Moonchild
60fbaa2155
Issue #2546 - Part 1: Remove BufferSource support in CreateImageBitmap.
2024-07-10 14:50:00 +08:00
Moonchild
359a4a2069
Issue #2524 - Implement smart granularity for canvas poisoning.
...
User-configurable time interval between 1s and 8h. Default 5 minutes.
Resolves #2524
2024-06-11 10:14:09 +08:00
FranklinDM
4bf43b8fb4
Issue #2488 - Part 3: Remove the StyleSetHandle smart pointer class
2024-04-02 22:49:48 +08:00
FranklinDM
d6852b3170
Issue #2112 - Part 10: Remove remaining Stylo/Servo includes and code
...
Some classes have been marked for removal/merging, macros used for forwarding/casting were moved to DeprecatedUtils.h.
2024-04-02 22:44:24 +08:00
FranklinDM
656ee639c5
Issue #2112 - Part 1: Remove Stylo tests
2024-04-02 22:29:48 +08:00
Daniel Jacobs
39f5c51c10
Issue #2483 - Support DOMMatrix2DInit for addPath
2024-04-02 22:17:40 +08:00
Moonchild
acd204e85e
[WebGL] Turn on more validation/error checking in webgl (when not on Win)
2023-11-24 17:04:07 +08:00
Moonchild
e4d635f889
[WebGL] Add preffed limit to WebGL vertCount
...
Defaults to 30M, working around driver bugs (looking at you, Mesa)
2023-10-26 10:53:11 +08:00
Basilisk-Dev
ef54fc458c
PR #2356 - Treat all GLSL versions >=450 as 450
...
Backport of https://bugzilla.mozilla.org/show_bug.cgi?id=1446548
2023-10-25 09:59:41 +08:00
Brian Smith
0701dccaca
Issue #1442 - Part 5: Implement WebIDL bindings for Streams. https://bugzilla.mozilla.org/show_bug.cgi?id=1128959
2023-10-04 09:54:00 +08:00
Moonchild
c9b8a576da
Issue #1656 - Remove more vim control lines.
...
Vim control lines were re-introduced or not entirely cleaned up.
This nukes them again.
Removing from dom. More to come.
2023-05-04 10:47:14 +08:00
Moonchild
733451d1bb
Remove unmaintained WebGL conformance test suite.
2023-04-30 09:28:42 +08:00
u3shit
42f3296899
Issue #2101 - Part 2: Use stdint.h types instead of uint8 and friends
...
Required for upcoming libyuv update
2023-02-27 12:06:38 +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
Moonchild
2f0acd868e
[WebGL] Implement webgl.max-size-per-texture-mib
2022-10-27 09:04:31 +08:00
Moonchild
60e4e33442
Issue #80 - Re-unify most of DOM
2022-09-09 10:09:40 +08:00
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