/third_party/skia/modules/canvaskit/ |
D | WasmCommon.h | 17 using namespace emscripten; variable 20 using JSArray = emscripten::val; 21 using JSObject = emscripten::val; 22 using JSString = emscripten::val; 23 using SkPathOrNull = emscripten::val; 24 using TypedArray = emscripten::val; 25 using Uint8Array = emscripten::val; 26 using Uint16Array = emscripten::val; 27 using Uint32Array = emscripten::val; 28 using Float32Array = emscripten::val; [all …]
|
D | skottie_bindings.cpp | 28 using namespace emscripten; 37 explicit WebTrack(emscripten::val player) : fPlayer(std::move(player)) {} in WebTrack() 44 const emscripten::val fPlayer; 57 static sk_sp<SkottieAssetProvider> Make(AssetVec assets, emscripten::val soundMap) { in Make() 76 emscripten::val player = this->findSoundAsset(id); in loadAudioAsset() 95 explicit SkottieAssetProvider(AssetVec assets, emscripten::val soundMap) in SkottieAssetProvider() 110 emscripten::val findSoundAsset(const char name[]) const { in findSoundAsset() 112 emscripten::val player = fSoundMap.call<emscripten::val>("getPlayer", val(name)); in findSoundAsset() 117 return emscripten::val::null(); in findSoundAsset() 121 const emscripten::val fSoundMap; [all …]
|
D | paragraph_bindings.cpp | 27 using namespace emscripten; 261 return emscripten::val::null(); in TextBoxesToFloat32Array() 295 JSArray result = emscripten::val::array(); in GetLineMetrics() 297 JSObject m = emscripten::val::object(); in GetLineMetrics() 335 JSArray jlines = emscripten::val::array(); in GetShapedLines() 336 JSObject jline = emscripten::val::null(); in GetShapedLines() 337 JSArray jruns = emscripten::val::null(); in GetShapedLines() 344 JSObject range = emscripten::val::object(); in GetShapedLines() 359 jruns = emscripten::val::array(); in GetShapedLines() 361 jline = emscripten::val::object(); in GetShapedLines() [all …]
|
D | gm_bindings.cpp | 34 using namespace emscripten; 43 JSArray gms = emscripten::val::array(); in ListGMs() 114 JSObject result = emscripten::val::object(); in RunGM() 191 Uint8Array pngData = emscripten::val( in RunGM() 205 JSArray tests = emscripten::val::array(); in ListTests() 244 JSObject result = emscripten::val::object(); in RunTest()
|
D | BUILD.bazel | 7 #"-flto", # https://github.com/emscripten-core/emsdk/issues/807 23 # which does not appear to be exposed on the emscripten toolchain. 70 # This target won't build successfully on its own because of missing emscripten 153 # This target won't build successfully on its own because of missing emscripten
|
D | README.md | 7 To compile CanvasKit, you will first need to [install `emscripten`][1]. This 10 shows the version we build and test with. We try to use as recent a version of emscripten as 13 [1]: https://emscripten.org/docs/getting_started/downloads.html 26 Make sure you have Python3 installed, otherwise the downloading emscripten toolchain 27 can fail with errors about SSL certificates. <https://github.com/emscripten-core/emsdk/pull/273> 29 See also <https://github.com/emscripten-core/emscripten/issues/9036#issuecomment-532092743> 125 This presumes you have updated emscripten locally to a newer version of the
|
D | particles_bindings.cpp | 23 using namespace emscripten; 118 return emscripten::val::null(); in EMSCRIPTEN_BINDINGS() 120 return emscripten::val(info->fUniforms[i].fName.c_str()); in EMSCRIPTEN_BINDINGS()
|
D | canvaskit_bindings.cpp | 328 return emscripten::val(out); in MakePathFromOp() 330 return emscripten::val::null(); in MakePathFromOp() 336 return emscripten::val(out); in MakeAsWinding() 338 return emscripten::val::null(); in MakeAsWinding() 345 return emscripten::val(s.c_str()); in ToSVGString() 351 return emscripten::val(path); in MakePathFromSVGString() 353 return emscripten::val::null(); in MakePathFromSVGString() 417 return emscripten::val::null(); \ in MakePathFromCmds() 457 return emscripten::val::null(); in MakePathFromCmds() 463 return emscripten::val(path); in MakePathFromCmds() [all …]
|
/third_party/skia/modules/pathkit/ |
D | pathkit_wasm_bindings.cpp | 27 using namespace emscripten; 39 using SkPathOrNull = emscripten::val; 41 using JSString = emscripten::val; 42 using JSArray = emscripten::val; 49 JSArray cmds = emscripten::val::array(); in ToCmds() 51 JSArray cmd = emscripten::val::array(); in ToCmds() 101 return emscripten::val::null(); \ in FromCmds() 141 return emscripten::val::null(); in FromCmds() 147 return emscripten::val(path); in FromCmds() 217 return emscripten::val(s.c_str()); in ToSVGString() [all …]
|
/third_party/skia/third_party/externals/dawn/src/dawn/ |
D | BUILD.gn | 104 # Other generated files (upstream header, emscripten header, emscripten bits) 115 "emscripten-bits/webgpu.h", 116 "emscripten-bits/webgpu_cpp.h", 117 "emscripten-bits/webgpu_cpp.cpp", 118 "emscripten-bits/webgpu_struct_info.json", 119 "emscripten-bits/library_webgpu_enum_tables.js",
|
/third_party/rust/crates/libc/ci/docker/wasm32-unknown-emscripten/ |
D | Dockerfile | 29 COPY emscripten.sh / 30 RUN bash /emscripten.sh 35 COPY emscripten-entry.sh / 36 COPY docker/wasm32-unknown-emscripten/node-wrapper.sh /usr/local/bin/node-wrapper.sh 37 ENTRYPOINT ["/emscripten-entry.sh"]
|
/third_party/skia/experimental/skottiekit/ |
D | skottiekit_bindings.cpp | 42 using namespace emscripten; 45 using JSArray = emscripten::val; 46 using JSObject = emscripten::val; 47 using JSString = emscripten::val; 48 using SkPathOrNull = emscripten::val; 49 using Uint8Array = emscripten::val; 50 using Float32Array = emscripten::val; 146 JSArray props = emscripten::val::array(); in getColorProps() 149 JSObject prop = emscripten::val::object(); in getColorProps() 159 JSArray props = emscripten::val::array(); in getOpacityProps() [all …]
|
/third_party/skia/third_party/externals/imgui/examples/example_emscripten_opengl3/ |
D | README.md | 3 …from https://emscripten.org/docs/getting_started/downloads.html, and have the environment variable… 13 …- Quoting [https://emscripten.org/docs/getting_started](https://emscripten.org/docs/getting_starte… 14 …emscripten.org/docs/site/glossary.html#term-xhr) requests, and can’t load extra files needed by th… 15 …which will spawn a temporary local webserver (in Firefox). See https://emscripten.org/docs/compili…
|
/third_party/rust/crates/libc/ci/docker/asmjs-unknown-emscripten/ |
D | Dockerfile | 21 COPY emscripten.sh / 22 RUN bash /emscripten.sh 31 COPY emscripten-entry.sh / 32 ENTRYPOINT ["/emscripten-entry.sh"]
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/wasm/ |
D | spirv-tools.cpp | 23 using namespace emscripten; 42 emscripten::val as(std::string const& source, uint32_t env, uint32_t options) { in as() 49 return emscripten::val(emscripten::typed_memory_view(spirv.size() * 4, in as()
|
/third_party/skia/third_party/externals/spirv-tools/source/wasm/ |
D | spirv-tools.cpp | 23 using namespace emscripten; 42 emscripten::val as(std::string const& source, uint32_t env, uint32_t options) { in as() 49 return emscripten::val(emscripten::typed_memory_view(spirv.size() * 4, in as()
|
/third_party/spirv-tools/source/wasm/ |
D | spirv-tools.cpp | 23 using namespace emscripten; 42 emscripten::val as(std::string const& source, uint32_t env, uint32_t options) { in as() 49 return emscripten::val(emscripten::typed_memory_view(spirv.size() * 4, in as()
|
/third_party/skia/modules/canvaskit/future_apis/ |
D | WebGPU.md | 10 [WebGPU bindings provided by emscripten](https://github.com/emscripten-core/emscripten/pull/10218),
|
/third_party/rust/crates/serde/serde/ |
D | build.rs | 15 let emscripten = target == "asmjs-unknown-emscripten" || target == "wasm32-unknown-emscripten"; in main() localVariable 60 if minor < 26 || emscripten && minor < 40 { in main() 104 let has_atomic32 = has_atomic64 || emscripten; in main()
|
/third_party/skia/experimental/wasm-skp-debugger/ |
D | debugger_bindings.cpp | 45 using Uint8Array = emscripten::val; 46 using JSArray = emscripten::val; 47 using JSObject = emscripten::val; 285 JSObject result = emscripten::val::object(); in imageUseInfo() 292 JSArray list = emscripten::val::array(); in imageUseInfo() 304 JSArray result = emscripten::val::array(); in getLayerSummariesJs() 312 JSArray result = emscripten::val::array(); in getLayerKeys() 314 JSObject item = emscripten::val::object(); in getLayerKeys() 538 using namespace emscripten;
|
/third_party/skia/third_party/externals/imgui/examples/example_emscripten_wgpu/ |
D | README.md | 4 …from https://emscripten.org/docs/getting_started/downloads.html, and have the environment variable…
|
/third_party/skia/experimental/webgpu-bazel/src/ |
D | BUILD | 5 #"-flto", # https://github.com/emscripten-core/emsdk/issues/807 44 # This target won't build successfully on its own because of missing emscripten
|
/third_party/skia/third_party/externals/dawn/generator/templates/ |
D | webgpu_struct_info.json | 19 //* https://github.com/emscripten-core/emscripten/blob/master/src/struct_info.json
|
/third_party/skia/ |
D | WORKSPACE.bazel | 6 # See https://github.com/emscripten-core/emsdk/tree/85d27a4a2a60d591613a305b14ae438c2bb3ce11/bazel#… 11 url = "https://github.com/emscripten-core/emsdk/archive/refs/tags/2.0.32.tar.gz",
|
/third_party/skia/bazel/common_config_settings/ |
D | BUILD.bazel | 53 # We define this here because the emscripten toolchain calls the cpu wasm, whereas the 54 # bazelbuild/platforms call it wasm32. https://github.com/emscripten-core/emsdk/issues/919
|