Home
last modified time | relevance | path

Searched refs:emscripten (Results 1 - 25 of 36) sorted by relevance

12

/third_party/skia/modules/canvaskit/
H A DWasmCommon.h11 #include <emscripten.h>
12 #include <emscripten/bind.h>
17 using namespace emscripten;
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
[all...]
H A Dskottie_bindings.cpp18 #include <emscripten.h>
19 #include <emscripten/bind.h>
28 using namespace emscripten;
37 explicit WebTrack(emscripten::val player) : fPlayer(std::move(player)) {} in WebTrack()
44 const emscripten::val fPlayer;
52 // https://emscripten.org/docs/porting/guidelines/function_pointer_issues.html
57 static sk_sp<SkottieAssetProvider> Make(AssetVec assets, emscripten::val soundMap) { in Make()
76 emscripten::val player = this->findSoundAsset(id);
95 explicit SkottieAssetProvider(AssetVec assets, emscripten::val soundMap) in SkottieAssetProvider()
110 emscripten
[all...]
H A Dgm_bindings.cpp10 #include <emscripten.h>
11 #include <emscripten/bind.h>
12 #include <emscripten/html5.h>
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()
192 // https://emscripten.org/docs/porting/connecting_cpp_and_javascript/embind.html#memory-views in RunGM()
205 JSArray tests = emscripten::val::array(); in ListTests()
244 JSObject result = emscripten in RunTest()
[all...]
H A Dparagraph_bindings.cpp23 #include <emscripten.h>
24 #include <emscripten/bind.h>
27 using namespace emscripten;
261 return emscripten::val::null(); in TextBoxesToFloat32Array()
273 // Of note: now that we have cast rects to float*, emscripten is smart enough to wrap this 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 in GetShapedLines()
[all...]
H A Dparticles_bindings.cpp20 #include <emscripten.h>
21 #include <emscripten/bind.h>
23 using namespace emscripten;
32 // https://emscripten.org/docs/porting/guidelines/function_pointer_issues.html
118 return emscripten::val::null(); in EMSCRIPTEN_BINDINGS()
120 return emscripten::val(info->fUniforms[i].fName.c_str()); in EMSCRIPTEN_BINDINGS()
H A Dviewer_bindings.cpp8 #include <emscripten.h>
9 #include <emscripten/bind.h>
20 using namespace emscripten;
H A Dcanvaskit_bindings.cpp58 #include <emscripten.h>
59 #include <emscripten/bind.h>
60 #include <emscripten/html5.h>
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 in MakePathFromSVGString()
669 namespace emscripten { global() namespace
[all...]
H A Dparagraph_bindings_gen.cpp13 #include <emscripten/bind.h>
15 using namespace emscripten;
/third_party/skia/modules/pathkit/
H A Dpathkit_wasm_bindings.cpp24 #include <emscripten/emscripten.h>
25 #include <emscripten/bind.h>
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 in FromCmds()
[all...]
/third_party/skia/experimental/skottiekit/
H A Dskottiekit_bindings.cpp23 #include <emscripten.h>
24 #include <emscripten/bind.h>
39 #include <emscripten/html5.h>
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
[all...]
/third_party/skia/third_party/externals/spirv-tools/source/wasm/
H A Dspirv-tools.cpp21 #include <emscripten/bind.h>
22 #include <emscripten/val.h>
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/swiftshader/third_party/SPIRV-Tools/source/wasm/
H A Dspirv-tools.cpp21 #include <emscripten/bind.h>
22 #include <emscripten/val.h>
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/
H A Dspirv-tools.cpp21 #include <emscripten/bind.h>
22 #include <emscripten/val.h>
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/experimental/webgpu-bazel/src/
H A Dbindings.cpp7 #include <emscripten/bind.h>
8 #include <emscripten/emscripten.h>
9 #include <emscripten/html5.h>
10 // https://github.com/emscripten-core/emscripten/blob/main/system/include/emscripten/html5_webgpu.h
13 #include <emscripten/html5_webgpu.h>
14 // https://github.com/emscripten-core/emscripten/blo
[all...]
/third_party/skia/experimental/tskit/bindings/
H A Dbindings.h10 #include <emscripten.h>
11 #include <emscripten/bind.h>
12 using namespace emscripten;
/third_party/skia/experimental/wasm-skp-debugger/
H A Ddebugger_bindings.cpp6 * It also defines emscripten bindings for SkpDebugPlayer and other classes necessary to us it.
31 #include <emscripten.h>
32 #include <emscripten/bind.h>
41 #include <emscripten/html5.h>
45 using Uint8Array = emscripten::val;
46 using JSArray = emscripten::val;
47 using JSObject = emscripten::val;
81 * uintptr_t is used here because emscripten will not allow binding of functions with pointers
226 // and string_view to string, which emscripten understands. in jsonCommandList()
249 // and string_view to string, which emscripten understand in lastCommandInfo()
[all...]
/third_party/rust/crates/serde/serde/
H A Dbuild.rs17 let emscripten = target == "asmjs-unknown-emscripten" || target == "wasm32-unknown-emscripten"; in main()
53 let has_atomic32 = has_atomic64 || emscripten; in main()
/third_party/skia/third_party/externals/imgui/examples/example_emscripten_wgpu/
H A Dmain.cpp2 // (Emscripten is a C++-to-javascript compiler, used to publish executables for the web. See https://emscripten.org/)
10 #include <emscripten.h>
11 #include <emscripten/html5.h>
12 #include <emscripten/html5_webgpu.h>
/third_party/skia/modules/canvaskit/wasm_tools/SIMD/
H A Dsimd_int_capabilities.cpp7 #include <emscripten.h>
12 // into WASM SIMD operations by emscripten.
15 // compiled into WASM SIMD operations by emscripten. Special WASM SIMD intrinsics have been
16 // specified in skia/include/private/SkVx.h to tell emscripten how to compile them to WASM SIMD
H A Dsimd_float_capabilities.cpp7 #include <emscripten.h>
12 // into WASM SIMD operations by emscripten.
15 // compiled into WASM SIMD operations by emscripten. Special WASM SIMD intrinsics have been
16 // specified in skia/include/private/SkVx.h to tell emscripten how to compile them to WASM SIMD
/third_party/python/Python/
H A Demscripten_signal.c8 #include <emscripten.h>
/third_party/glslang/glslang/OSDependent/Web/
H A Dglslang.js.cpp41 #include <emscripten.h>
/third_party/benchmark/src/
H A Dcycleclock.h51 #include <emscripten.h>
/third_party/skia/third_party/externals/imgui/examples/example_emscripten_opengl3/
H A Dmain.cpp2 // (Emscripten is a C++-to-javascript compiler, used to publish executables for the web. See https://emscripten.org/)
14 #include <emscripten.h>
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/
H A Dlow_level_alloc_test.cc25 #include <emscripten.h>

Completed in 20 milliseconds

12