@glassly/engine 0.3.0-dev.465 → 0.3.0-dev.472
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/build/generated/releaseMetadata.js +3 -3
- package/build/generated/releaseMetadata.js.map +1 -1
- package/build/index.d.ts +1 -1
- package/build/index.d.ts.map +1 -1
- package/build/index.js +1 -1
- package/build/index.js.map +1 -1
- package/build/services/LocalMiniappRuntime.d.ts.map +1 -1
- package/build/services/LocalMiniappRuntime.js +6 -1
- package/build/services/LocalMiniappRuntime.js.map +1 -1
- package/build/stores/appVisibility.d.ts +5 -0
- package/build/stores/appVisibility.d.ts.map +1 -1
- package/build/stores/appVisibility.js +2 -0
- package/build/stores/appVisibility.js.map +1 -1
- package/build/stores/apps.d.ts.map +1 -1
- package/build/stores/apps.js +0 -8
- package/build/stores/apps.js.map +1 -1
- package/build/stores/settings.d.ts.map +1 -1
- package/build/stores/settings.js +13 -0
- package/build/stores/settings.js.map +1 -1
- package/package.json +7 -7
- package/src/generated/releaseMetadata.ts +3 -3
- package/src/index.ts +1 -1
- package/src/services/LocalMiniappRuntime.ts +7 -1
- package/src/stores/appVisibility.ts +4 -0
- package/src/stores/apps.ts +0 -10
- package/src/stores/settings.ts +13 -0
package/src/stores/settings.ts
CHANGED
|
@@ -730,6 +730,18 @@ export const SETTINGS: Record<string, Setting> = {
|
|
|
730
730
|
saveOnServer: false,
|
|
731
731
|
persist: true,
|
|
732
732
|
},
|
|
733
|
+
// Debug: the G2's G2PERF display performance lines (a sample per busy
|
|
734
|
+
// second, plus stalls) in the console and the log buffer bug reports carry.
|
|
735
|
+
// OFF by default: they crowd out everything else in the ten-minute buffer.
|
|
736
|
+
// Synced to the Bluetooth SDK, which keeps counting either way and only
|
|
737
|
+
// logs while this is on. Device-local debug knob, so not saved on the server.
|
|
738
|
+
g2_perf_logs: {
|
|
739
|
+
key: "g2_perf_logs",
|
|
740
|
+
defaultValue: () => false,
|
|
741
|
+
writable: true,
|
|
742
|
+
saveOnServer: false,
|
|
743
|
+
persist: true,
|
|
744
|
+
},
|
|
733
745
|
// Maximum rate at which display updates leave the phone for the glasses.
|
|
734
746
|
// The Bluetooth SDK paces every scene frame and legacy layout to this,
|
|
735
747
|
// coalescing faster updates last-wins; clears bypass it. No effect on G2
|
|
@@ -1091,6 +1103,7 @@ export const BLUETOOTH_SETTING_KEYS: string[] = [
|
|
|
1091
1103
|
SETTINGS.calendar_events.key,
|
|
1092
1104
|
SETTINGS.cfw_scene_renderer.key,
|
|
1093
1105
|
SETTINGS.cfw_fast_ble.key,
|
|
1106
|
+
SETTINGS.g2_perf_logs.key,
|
|
1094
1107
|
SETTINGS.display_max_fps.key,
|
|
1095
1108
|
SETTINGS.twelve_hour_time.key,
|
|
1096
1109
|
SETTINGS.metric_system.key,
|