-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove dummy emscripten_set_offscreencanvas_size. NFC #23279
Remove dummy emscripten_set_offscreencanvas_size. NFC #23279
Conversation
0783e2d
to
5f41454
Compare
tools/maint/gen_sig_info.py
Outdated
@@ -172,6 +172,8 @@ def ignore_symbol(s, cxx): | |||
return True | |||
if s.startswith('emscripten_gl') or s.startswith('emscripten_alc'): | |||
return True | |||
if (s.endswith('_calling_thread') or s.endswith('_main_thread')) and not s.startswith('emscripten_asm_const'): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add a comment here? I can't tell what this change is doing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've updated this PR such that this change is no longer needed, so I split the doc changes out into a separate PR.
6c9e7eb
to
34274a3
Compare
34274a3
to
f3bb4b1
Compare
This is an internal-only API that is not directly callable by user code. The only place that this function is called is from `system/lib/html5/offscreencanvas.c` as a result of `_emscripten_set_offscreencanvas_size_on_thread`. The only call to `_emscripten_set_offscreencanvas_size_on_thread` is from `setOffscreenCanvasSizeOnTargetThread` which is only ever included when `OFFSCREENCANVAS_SUPPORT` is enabled.
f3bb4b1
to
62d9540
Compare
This is an internal-only API that is not directly callable by user code.
The only place that this function is called is from
system/lib/html5/offscreencanvas.c
as a result of_emscripten_set_offscreencanvas_size_on_thread
.The only call to
_emscripten_set_offscreencanvas_size_on_thread
is fromsetOffscreenCanvasSizeOnTargetThread
which is only ever included whenOFFSCREENCANVAS_SUPPORT
is enabled.