@nativescript/canvas 2.0.0-alpha.7 → 2.0.0-alpha.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Canvas/index.android.d.ts +2 -0
- package/Canvas/index.android.js +11 -1
- package/Canvas/index.android.js.map +1 -1
- package/Canvas/index.d.ts +5 -0
- package/Canvas/index.ios.d.ts +2 -0
- package/Canvas/index.ios.js +11 -1
- package/Canvas/index.ios.js.map +1 -1
- package/package.json +1 -1
- package/platforms/android/canvas-release.aar +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/CanvasNative +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Headers/CanvasNative-Swift.h +3 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Headers/canvas_native.h +2 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.abi.json +98 -16
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.private.swiftinterface +2 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.swiftinterface +2 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/DWARF/CanvasNative +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/CanvasNative +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Headers/CanvasNative-Swift.h +6 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Headers/canvas_native.h +2 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.abi.json +98 -16
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +2 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.swiftinterface +2 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.abi.json +98 -16
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +2 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +2 -0
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/_CodeSignature/CodeResources +24 -24
- package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/DWARF/CanvasNative +0 -0
- package/platforms/ios/src/cpp/webgl2/WebGL2RenderingContext.mm +4 -17
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<dict>
|
|
7
7
|
<key>Headers/CanvasNative-Swift.h</key>
|
|
8
8
|
<data>
|
|
9
|
-
|
|
9
|
+
IL3iSMrg5p4LZsdV7/H9sb8z+cI=
|
|
10
10
|
</data>
|
|
11
11
|
<key>Headers/CanvasNative.h</key>
|
|
12
12
|
<data>
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
</data>
|
|
15
15
|
<key>Headers/canvas_native.h</key>
|
|
16
16
|
<data>
|
|
17
|
-
|
|
17
|
+
afa+jbdu43jUUiLxHRxTPeoLCeY=
|
|
18
18
|
</data>
|
|
19
19
|
<key>Info.plist</key>
|
|
20
20
|
<data>
|
|
@@ -22,19 +22,19 @@
|
|
|
22
22
|
</data>
|
|
23
23
|
<key>Modules/CanvasNative.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo</key>
|
|
24
24
|
<data>
|
|
25
|
-
|
|
25
|
+
4dqgSYcd1ykKKi+8izGdKLZKhEw=
|
|
26
26
|
</data>
|
|
27
27
|
<key>Modules/CanvasNative.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo</key>
|
|
28
28
|
<data>
|
|
29
|
-
|
|
29
|
+
3EpFnxaE8yGRcL4cua6Kmgc5Deo=
|
|
30
30
|
</data>
|
|
31
31
|
<key>Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
|
|
32
32
|
<data>
|
|
33
|
-
|
|
33
|
+
7t0l0b6ZqunoeG8XRwrPkYV9G0s=
|
|
34
34
|
</data>
|
|
35
35
|
<key>Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
|
36
36
|
<data>
|
|
37
|
-
|
|
37
|
+
1R3TbC3IibsGx1SizxE1LofYAt4=
|
|
38
38
|
</data>
|
|
39
39
|
<key>Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
|
|
40
40
|
<data>
|
|
@@ -42,19 +42,19 @@
|
|
|
42
42
|
</data>
|
|
43
43
|
<key>Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.swiftinterface</key>
|
|
44
44
|
<data>
|
|
45
|
-
|
|
45
|
+
1R3TbC3IibsGx1SizxE1LofYAt4=
|
|
46
46
|
</data>
|
|
47
47
|
<key>Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
|
|
48
48
|
<data>
|
|
49
|
-
|
|
49
|
+
u+R9VgNHlreh57bBJNSIxII5CLI=
|
|
50
50
|
</data>
|
|
51
51
|
<key>Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
|
52
52
|
<data>
|
|
53
|
-
|
|
53
|
+
7t0l0b6ZqunoeG8XRwrPkYV9G0s=
|
|
54
54
|
</data>
|
|
55
55
|
<key>Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
|
56
56
|
<data>
|
|
57
|
-
|
|
57
|
+
oKH5yRM3FT1XFu/hcc4S9gfERfo=
|
|
58
58
|
</data>
|
|
59
59
|
<key>Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
|
|
60
60
|
<data>
|
|
@@ -62,11 +62,11 @@
|
|
|
62
62
|
</data>
|
|
63
63
|
<key>Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.swiftinterface</key>
|
|
64
64
|
<data>
|
|
65
|
-
|
|
65
|
+
oKH5yRM3FT1XFu/hcc4S9gfERfo=
|
|
66
66
|
</data>
|
|
67
67
|
<key>Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
|
|
68
68
|
<data>
|
|
69
|
-
|
|
69
|
+
mjXZzvCUcYjC33iYxzKJUkpJgiA=
|
|
70
70
|
</data>
|
|
71
71
|
<key>Modules/module.modulemap</key>
|
|
72
72
|
<data>
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
<dict>
|
|
84
84
|
<key>hash2</key>
|
|
85
85
|
<data>
|
|
86
|
-
|
|
86
|
+
gCltCjDZRktmgotMlolguTpVQvbNxfaJZd3wrozHDic=
|
|
87
87
|
</data>
|
|
88
88
|
</dict>
|
|
89
89
|
<key>Headers/CanvasNative.h</key>
|
|
@@ -97,35 +97,35 @@
|
|
|
97
97
|
<dict>
|
|
98
98
|
<key>hash2</key>
|
|
99
99
|
<data>
|
|
100
|
-
|
|
100
|
+
SvG3VC6koDP/kk3qvgIeh5sLSH97J4i9a79i3TUwzRA=
|
|
101
101
|
</data>
|
|
102
102
|
</dict>
|
|
103
103
|
<key>Modules/CanvasNative.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo</key>
|
|
104
104
|
<dict>
|
|
105
105
|
<key>hash2</key>
|
|
106
106
|
<data>
|
|
107
|
-
|
|
107
|
+
Tb1+GkIS3WLFtzIoGrBA8C+1r06Lwti6lsrUM/G6kKw=
|
|
108
108
|
</data>
|
|
109
109
|
</dict>
|
|
110
110
|
<key>Modules/CanvasNative.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo</key>
|
|
111
111
|
<dict>
|
|
112
112
|
<key>hash2</key>
|
|
113
113
|
<data>
|
|
114
|
-
|
|
114
|
+
mSLsFGpvf6KvODFz7yddGFkyR57lXafGQ1WGnG+KPsM=
|
|
115
115
|
</data>
|
|
116
116
|
</dict>
|
|
117
117
|
<key>Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
|
|
118
118
|
<dict>
|
|
119
119
|
<key>hash2</key>
|
|
120
120
|
<data>
|
|
121
|
-
|
|
121
|
+
ocDt3RixPqCT7HpZl1lBwxMMFjNIdIbPvTbgt97wI/k=
|
|
122
122
|
</data>
|
|
123
123
|
</dict>
|
|
124
124
|
<key>Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
|
125
125
|
<dict>
|
|
126
126
|
<key>hash2</key>
|
|
127
127
|
<data>
|
|
128
|
-
|
|
128
|
+
tZNrdn7qy/S+j9+GjAN6lQwv7QErBKf3GeXm3L0Lzv8=
|
|
129
129
|
</data>
|
|
130
130
|
</dict>
|
|
131
131
|
<key>Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.swiftdoc</key>
|
|
@@ -139,28 +139,28 @@
|
|
|
139
139
|
<dict>
|
|
140
140
|
<key>hash2</key>
|
|
141
141
|
<data>
|
|
142
|
-
|
|
142
|
+
tZNrdn7qy/S+j9+GjAN6lQwv7QErBKf3GeXm3L0Lzv8=
|
|
143
143
|
</data>
|
|
144
144
|
</dict>
|
|
145
145
|
<key>Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
|
|
146
146
|
<dict>
|
|
147
147
|
<key>hash2</key>
|
|
148
148
|
<data>
|
|
149
|
-
|
|
149
|
+
SicIcANyb1AQ9WyVFmQqfBmmUy+QEYJM/ZpJRZlYeRg=
|
|
150
150
|
</data>
|
|
151
151
|
</dict>
|
|
152
152
|
<key>Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
|
153
153
|
<dict>
|
|
154
154
|
<key>hash2</key>
|
|
155
155
|
<data>
|
|
156
|
-
|
|
156
|
+
ocDt3RixPqCT7HpZl1lBwxMMFjNIdIbPvTbgt97wI/k=
|
|
157
157
|
</data>
|
|
158
158
|
</dict>
|
|
159
159
|
<key>Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
|
160
160
|
<dict>
|
|
161
161
|
<key>hash2</key>
|
|
162
162
|
<data>
|
|
163
|
-
|
|
163
|
+
oDDuFSRDbqdEhPTG3F5/7vFDt4z0gXm05XXQzPuMII0=
|
|
164
164
|
</data>
|
|
165
165
|
</dict>
|
|
166
166
|
<key>Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.swiftdoc</key>
|
|
@@ -174,14 +174,14 @@
|
|
|
174
174
|
<dict>
|
|
175
175
|
<key>hash2</key>
|
|
176
176
|
<data>
|
|
177
|
-
|
|
177
|
+
oDDuFSRDbqdEhPTG3F5/7vFDt4z0gXm05XXQzPuMII0=
|
|
178
178
|
</data>
|
|
179
179
|
</dict>
|
|
180
180
|
<key>Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
|
|
181
181
|
<dict>
|
|
182
182
|
<key>hash2</key>
|
|
183
183
|
<data>
|
|
184
|
-
|
|
184
|
+
KKoXdr4azmO9IWHkVrz18GX0UXsU5UHSbWJjCwe9RIA=
|
|
185
185
|
</data>
|
|
186
186
|
</dict>
|
|
187
187
|
<key>Modules/module.modulemap</key>
|
|
Binary file
|
|
@@ -2831,24 +2831,11 @@ jsi::Value WebGL2RenderingContext::get(jsi::Runtime &runtime, const jsi::PropNam
|
|
|
2831
2831
|
if (count > 1) {
|
|
2832
2832
|
auto program = getHostObject<WebGLProgram>(
|
|
2833
2833
|
runtime, arguments[0]);
|
|
2834
|
-
auto index =
|
|
2834
|
+
auto index = arguments[1].asString(runtime).utf8(runtime);
|
|
2835
2835
|
if (program != nullptr) {
|
|
2836
|
-
auto ret =
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
this->GetState()
|
|
2840
|
-
);
|
|
2841
|
-
|
|
2842
|
-
if (canvas_native_webgl_active_info_get_is_empty(
|
|
2843
|
-
*ret)) {
|
|
2844
|
-
return jsi::Value::null();
|
|
2845
|
-
}
|
|
2846
|
-
|
|
2847
|
-
auto info = std::make_shared<WebGLActiveInfoImpl>(
|
|
2848
|
-
std::move(ret));
|
|
2849
|
-
|
|
2850
|
-
return jsi::Object::createFromHostObject(
|
|
2851
|
-
runtime, info);
|
|
2836
|
+
auto ret = canvas_native_webgl2_get_uniform_block_index(program->GetProgram(), rust::Str(index.c_str()), this->GetState());
|
|
2837
|
+
|
|
2838
|
+
return jsi::Value((int)ret);
|
|
2852
2839
|
}
|
|
2853
2840
|
}
|
|
2854
2841
|
|