Repository navigation
Use regular signatures and proxying for glWaitSync/glClientWaitSync - #25933
Merged
Merged
Conversation
Collaborator
|
Hmm, I can't remember. The only thing I vaguely recall about the wait timeout was the need to avoid 53-bit Number splicing.. but that doesn't seem to happen here. LGTM. |
juj
approved these changes
Dec 11, 2025
I can't see why this was done this way in the first place? The `PARAM_I64` support existed back in cdf7bc5 when proxying was first added. Perhaps it was just that the `EM_FUNC_SIG_XX` macros were harder write before `I64` was replaced with `J` in emscripten-core#20678? Fixes: emscripten-core#25932
hubot
pushed a commit
to google/skia
that referenced
this pull request
Feb 6, 2026
Upstream ref: emscripten-core/emscripten#25933 Change-Id: Ia5f33516abfc921ffedfca7297c4af6d4b07c0eb Reviewed-on: https://skia-review.googlesource.com/c/skia/+/1155136 Reviewed-by: Ben Wagner <[email protected]> Reviewed-by: Thomas Smith <[email protected]> Commit-Queue: Ben Wagner <[email protected]>
inolen
pushed a commit
to inolen/emscripten
that referenced
this pull request
Feb 13, 2026
…mscripten-core#25933) I can't see why this was done this way in the first place? The `PARAM_I64` support existed back in cdf7bc5 when proxying was first added. Perhaps it was just that the `EM_FUNC_SIG_XX` macros were harder write before `I64` was replaced with `J` in emscripten-core#20678? Fixes: emscripten-core#25932
ramezgerges
added a commit
to ramezgerges/skia
that referenced
this pull request
Apr 26, 2026
Skia commit 75daa3a ("Update Emscripten related code", upstream chrome/m146, references emscripten-core/emscripten#25933) added unconditional `#include <emscripten/version.h>` to both: - include/gpu/ganesh/gl/GrGLFunctions.h - src/gpu/ganesh/gl/GrGLGpu.cpp The header is part of the Emscripten PR that moved the __EMSCRIPTEN_major__ / _minor__ / _tiny__ definitions out of -D flags and into a system header. It only ships on Emscripten versions that include that PR. SkiaSharp's WASM CI matrix still builds against Emscripten 2.0.6 and 2.0.23 (used by the pre-.NET-6 / .NET 7 era runtimes that SkiaSharp keeps shipping). Those toolchains: - still pass -D__EMSCRIPTEN_major__=2 -D__EMSCRIPTEN_minor__=0 -D__EMSCRIPTEN_tiny__=6 on the emcc command line, and - do not ship the <emscripten/version.h> header at all. The unconditional include therefore fails the WASM 2.0.x compile with: fatal error: 'emscripten/version.h' file not found Wrap both includes in `#if __has_include(<emscripten/version.h>)`. On modern Emscripten the header is included as before; on 2.0.x the include is skipped and the macros remain available via the compiler's -D defines, so the rest of the file still picks up the right __EMSCRIPTEN_major__-based switch (e.g. the GrGLClientWaitSyncFn signature toggle in GrGLFunctions.h:224). Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I can't see why this was done this way in the first place? The
PARAM_I64support existed back in cdf7bc5 when proxying was first added.Perhaps it was just that the
EM_FUNC_SIG_XXmacros were harder write beforeI64was replaced withJin #20678?Fixes: #25932