path: root/src/opengl/qglextensions_p.h
diff options
authorMikolaj Boc <>2022-06-21 17:50:04 +0200
committerMikolaj Boc <>2022-06-30 01:20:28 +0200
commitd0eba2449adcee6f1daa33426f9c9b8ebf7c28f5 (patch)
treec651a3f7759a0a46f3f792a79697d91e374994f7 /src/opengl/qglextensions_p.h
parent97665c9615ff399e9a074b94926ab06e0c9619e5 (diff)
Create a promise wrapper for C++ and port existing usesHEADdev
Currently, to use a promise from C++ we either have to use an ASM block (which does not work well with dynamic linking) or declare exports in the EMSCRIPTEN_BINDINGS block, which is cumbersome and cannot be chained. This solution makes it easy to use js promises by introducing the WebPromiseManager which dispatches callbacks to appropriate callers when available. This is a preliminary patch for FileSystem support, which will heavily use async APIs. Task-number: QTBUG-99611 Change-Id: I368a8f173027eaa883a9ca18d0ea6a3e99b86071 Reviewed-by: Morten Johan Sørvig <>
Diffstat (limited to 'src/opengl/qglextensions_p.h')
0 files changed, 0 insertions, 0 deletions