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
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