@aguacerowx/react-native 0.0.33 → 0.0.34
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/README.md +126 -126
- package/aguacerowx-react-native.podspec +38 -38
- package/android/build.gradle +107 -107
- package/android/src/main/AndroidManifest.xml +6 -6
- package/android/src/main/java/com/aguacerowx/reactnative/AguaceroPackage.java +33 -33
- package/android/src/main/java/com/aguacerowx/reactnative/GridRenderLayer.java +688 -672
- package/android/src/main/java/com/aguacerowx/reactnative/GridRenderLayerView.java +304 -304
- package/android/src/main/java/com/aguacerowx/reactnative/GridRenderManager.java +125 -125
- package/android/src/main/java/com/aguacerowx/reactnative/InspectorModule.java +71 -71
- package/android/src/main/java/com/aguacerowx/reactnative/ShaderUtils.java +106 -106
- package/android/src/main/java/com/aguacerowx/reactnative/WeatherFrameProcessorModule.java +151 -151
- package/android/src/main/res/raw/debug_fragment_shader.glsl +12 -12
- package/android/src/main/res/raw/debug_vertex_shader.glsl +12 -12
- package/android/src/main/res/raw/fragment_shader.glsl +188 -161
- package/android/src/main/res/raw/vertex_shader.glsl +19 -19
- package/index.js +2 -2
- package/ios/AguaceroPackage.m +18 -18
- package/ios/FragmentUniforms.swift +15 -15
- package/ios/GridRenderLayer.swift +1004 -986
- package/ios/GridRenderLayerBridge.swift +36 -36
- package/ios/GridRenderLayerManager.mm +157 -157
- package/ios/GridRenderLayerView.h +30 -30
- package/ios/GridRenderLayerView.m +216 -216
- package/ios/InspectorDataCache.swift +65 -65
- package/ios/InspectorModule.m +9 -9
- package/ios/InspectorModule.swift +63 -63
- package/ios/Shaders.metal +327 -190
- package/ios/WeatherFrameProcessorModule.m +15 -15
- package/ios/WeatherFrameProcessorModule.swift +103 -103
- package/ios/compiled-shaders/Shaders-device.metallib +0 -0
- package/ios/compiled-shaders/Shaders-simulator.metallib +0 -0
- package/lib/commonjs/README.md +126 -126
- package/lib/commonjs/aguacerowx-react-native.podspec +38 -38
- package/lib/commonjs/android/build.gradle +107 -107
- package/lib/commonjs/android/src/main/AndroidManifest.xml +6 -6
- package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/AguaceroPackage.java +33 -33
- package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/GridRenderLayer.java +688 -672
- package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/GridRenderLayerView.java +304 -304
- package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/GridRenderManager.java +125 -125
- package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/InspectorModule.java +71 -71
- package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/ShaderUtils.java +106 -106
- package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/WeatherFrameProcessorModule.java +151 -151
- package/lib/commonjs/android/src/main/res/raw/debug_fragment_shader.glsl +12 -12
- package/lib/commonjs/android/src/main/res/raw/debug_vertex_shader.glsl +12 -12
- package/lib/commonjs/android/src/main/res/raw/fragment_shader.glsl +188 -161
- package/lib/commonjs/android/src/main/res/raw/vertex_shader.glsl +19 -19
- package/lib/commonjs/babel.config.js.map +1 -1
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/ios/AguaceroPackage.m +18 -18
- package/lib/commonjs/ios/FragmentUniforms.swift +15 -15
- package/lib/commonjs/ios/GridRenderLayer.swift +1004 -986
- package/lib/commonjs/ios/GridRenderLayerBridge.swift +36 -36
- package/lib/commonjs/ios/GridRenderLayerManager.mm +157 -157
- package/lib/commonjs/ios/GridRenderLayerView.h +30 -30
- package/lib/commonjs/ios/GridRenderLayerView.m +216 -216
- package/lib/commonjs/ios/InspectorDataCache.swift +65 -65
- package/lib/commonjs/ios/InspectorModule.m +9 -9
- package/lib/commonjs/ios/InspectorModule.swift +63 -63
- package/lib/commonjs/ios/Shaders.metal +327 -190
- package/lib/commonjs/ios/WeatherFrameProcessorModule.m +15 -15
- package/lib/commonjs/ios/WeatherFrameProcessorModule.swift +103 -103
- package/lib/commonjs/ios/compiled-shaders/Shaders-device.metallib +0 -0
- package/lib/commonjs/ios/compiled-shaders/Shaders-simulator.metallib +0 -0
- package/lib/commonjs/package.json +72 -72
- package/lib/commonjs/react-native-builder-bob.config.js.map +1 -1
- package/lib/commonjs/scripts/compile-shaders.js.map +1 -1
- package/lib/commonjs/scripts/compile-shaders.sh +38 -38
- package/lib/commonjs/src/AguaceroContext.js.map +1 -1
- package/lib/commonjs/src/GridRenderLayer.js.map +1 -1
- package/lib/commonjs/src/GridRenderLayerNativeComponent.js.map +1 -1
- package/lib/commonjs/src/MapManager.js.map +1 -1
- package/lib/commonjs/src/MapRegistry.js.map +1 -1
- package/lib/commonjs/src/StyleApplicator.js +6 -6
- package/lib/commonjs/src/StyleApplicator.js.map +1 -1
- package/lib/commonjs/src/WeatherLayerManager.js +2 -2
- package/lib/commonjs/src/WeatherLayerManager.js.map +1 -1
- package/lib/commonjs/tsconfig.json +23 -23
- package/lib/module/README.md +126 -126
- package/lib/module/aguacerowx-react-native.podspec +38 -38
- package/lib/module/android/build.gradle +107 -107
- package/lib/module/android/src/main/AndroidManifest.xml +6 -6
- package/lib/module/android/src/main/java/com/aguacerowx/reactnative/AguaceroPackage.java +33 -33
- package/lib/module/android/src/main/java/com/aguacerowx/reactnative/GridRenderLayer.java +688 -672
- package/lib/module/android/src/main/java/com/aguacerowx/reactnative/GridRenderLayerView.java +304 -304
- package/lib/module/android/src/main/java/com/aguacerowx/reactnative/GridRenderManager.java +125 -125
- package/lib/module/android/src/main/java/com/aguacerowx/reactnative/InspectorModule.java +71 -71
- package/lib/module/android/src/main/java/com/aguacerowx/reactnative/ShaderUtils.java +106 -106
- package/lib/module/android/src/main/java/com/aguacerowx/reactnative/WeatherFrameProcessorModule.java +151 -151
- package/lib/module/android/src/main/res/raw/debug_fragment_shader.glsl +12 -12
- package/lib/module/android/src/main/res/raw/debug_vertex_shader.glsl +12 -12
- package/lib/module/android/src/main/res/raw/fragment_shader.glsl +188 -161
- package/lib/module/android/src/main/res/raw/vertex_shader.glsl +19 -19
- package/lib/module/babel.config.js.map +1 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/ios/AguaceroPackage.m +18 -18
- package/lib/module/ios/FragmentUniforms.swift +15 -15
- package/lib/module/ios/GridRenderLayer.swift +1004 -986
- package/lib/module/ios/GridRenderLayerBridge.swift +36 -36
- package/lib/module/ios/GridRenderLayerManager.mm +157 -157
- package/lib/module/ios/GridRenderLayerView.h +30 -30
- package/lib/module/ios/GridRenderLayerView.m +216 -216
- package/lib/module/ios/InspectorDataCache.swift +65 -65
- package/lib/module/ios/InspectorModule.m +9 -9
- package/lib/module/ios/InspectorModule.swift +63 -63
- package/lib/module/ios/Shaders.metal +327 -190
- package/lib/module/ios/WeatherFrameProcessorModule.m +15 -15
- package/lib/module/ios/WeatherFrameProcessorModule.swift +103 -103
- package/lib/module/ios/compiled-shaders/Shaders-device.metallib +0 -0
- package/lib/module/ios/compiled-shaders/Shaders-simulator.metallib +0 -0
- package/lib/module/lib/commonjs/README.md +126 -126
- package/lib/module/lib/commonjs/aguacerowx-react-native.podspec +38 -38
- package/lib/module/lib/commonjs/babel.config.js.map +1 -1
- package/lib/module/lib/commonjs/index.js.map +1 -1
- package/lib/module/lib/commonjs/package.json +72 -72
- package/lib/module/lib/commonjs/react-native-builder-bob.config.js.map +1 -1
- package/lib/module/lib/commonjs/scripts/compile-shaders.js.map +1 -1
- package/lib/module/lib/commonjs/src/AguaceroContext.js.map +1 -1
- package/lib/module/lib/commonjs/src/GridRenderLayer.js.map +1 -1
- package/lib/module/lib/commonjs/src/GridRenderLayerNativeComponent.js.map +1 -1
- package/lib/module/lib/commonjs/src/MapManager.js.map +1 -1
- package/lib/module/lib/commonjs/src/MapRegistry.js.map +1 -1
- package/lib/module/lib/commonjs/src/StyleApplicator.js +6 -6
- package/lib/module/lib/commonjs/src/StyleApplicator.js.map +1 -1
- package/lib/module/lib/commonjs/src/WeatherLayerManager.js +2 -2
- package/lib/module/lib/commonjs/src/WeatherLayerManager.js.map +1 -1
- package/lib/module/lib/commonjs/tsconfig.json +23 -23
- package/lib/module/package.json +72 -72
- package/lib/module/react-native-builder-bob.config.js.map +1 -1
- package/lib/module/scripts/compile-shaders.js.map +1 -1
- package/lib/module/scripts/compile-shaders.sh +38 -38
- package/lib/module/src/AguaceroContext.js.map +1 -1
- package/lib/module/src/GridRenderLayer.js.map +1 -1
- package/lib/module/src/GridRenderLayerNativeComponent.js.map +1 -1
- package/lib/module/src/MapManager.js.map +1 -1
- package/lib/module/src/MapRegistry.js.map +1 -1
- package/lib/module/src/StyleApplicator.js +6 -6
- package/lib/module/src/StyleApplicator.js.map +1 -1
- package/lib/module/src/WeatherLayerManager.js +2 -2
- package/lib/module/src/WeatherLayerManager.js.map +1 -1
- package/lib/module/tsconfig.json +23 -23
- package/package.json +72 -72
- package/src/AguaceroContext.js +3 -3
- package/src/GridRenderLayer.js +215 -215
- package/src/GridRenderLayerNativeComponent.ts +15 -15
- package/src/MapManager.js +218 -218
- package/src/MapRegistry.js +34 -34
- package/src/StyleApplicator.js +240 -240
- package/src/WeatherLayerManager.js +1151 -1151
- package/android/build/.transforms/42e9b8fa82d77a1c205db5bf0d0ed519/results.bin +0 -1
- package/android/build/.transforms/42e9b8fa82d77a1c205db5bf0d0ed519/transformed/classes/classes_dex/classes.dex +0 -0
- package/android/build/.transforms/c8ab78b63f2cc835ac936d58e29a17ab/results.bin +0 -1
- package/android/build/.transforms/c8ab78b63f2cc835ac936d58e29a17ab/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/AguaceroPackage.dex +0 -0
- package/android/build/.transforms/c8ab78b63f2cc835ac936d58e29a17ab/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/BuildConfig.dex +0 -0
- package/android/build/.transforms/c8ab78b63f2cc835ac936d58e29a17ab/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.dex +0 -0
- package/android/build/.transforms/c8ab78b63f2cc835ac936d58e29a17ab/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/GridRenderLayer.dex +0 -0
- package/android/build/.transforms/c8ab78b63f2cc835ac936d58e29a17ab/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/GridRenderLayerView.dex +0 -0
- package/android/build/.transforms/c8ab78b63f2cc835ac936d58e29a17ab/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/GridRenderManager.dex +0 -0
- package/android/build/.transforms/c8ab78b63f2cc835ac936d58e29a17ab/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/InspectorModule.dex +0 -0
- package/android/build/.transforms/c8ab78b63f2cc835ac936d58e29a17ab/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/ShaderUtils.dex +0 -0
- package/android/build/.transforms/c8ab78b63f2cc835ac936d58e29a17ab/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/WeatherFrameProcessorModule.dex +0 -0
- package/android/build/.transforms/c8ab78b63f2cc835ac936d58e29a17ab/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/facebook/react/viewmanagers/GridRenderLayerManagerDelegate.dex +0 -0
- package/android/build/.transforms/c8ab78b63f2cc835ac936d58e29a17ab/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/facebook/react/viewmanagers/GridRenderLayerManagerInterface.dex +0 -0
- package/android/build/.transforms/c8ab78b63f2cc835ac936d58e29a17ab/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
- package/android/build/generated/source/buildConfig/debug/com/aguacerowx/reactnative/BuildConfig.java +0 -10
- package/android/build/generated/source/codegen/java/com/facebook/react/viewmanagers/GridRenderLayerManagerDelegate.java +0 -43
- package/android/build/generated/source/codegen/java/com/facebook/react/viewmanagers/GridRenderLayerManagerInterface.java +0 -22
- package/android/build/generated/source/codegen/jni/AguaceroWxReactNativeSpec-generated.cpp +0 -22
- package/android/build/generated/source/codegen/jni/AguaceroWxReactNativeSpec.h +0 -24
- package/android/build/generated/source/codegen/jni/CMakeLists.txt +0 -28
- package/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/AguaceroWxReactNativeSpecJSI-generated.cpp +0 -17
- package/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/AguaceroWxReactNativeSpecJSI.h +0 -19
- package/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/ComponentDescriptors.cpp +0 -22
- package/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/ComponentDescriptors.h +0 -24
- package/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/EventEmitters.cpp +0 -16
- package/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/EventEmitters.h +0 -23
- package/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/Props.cpp +0 -62
- package/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/Props.h +0 -40
- package/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/ShadowNodes.cpp +0 -17
- package/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/ShadowNodes.h +0 -32
- package/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/States.cpp +0 -16
- package/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/States.h +0 -20
- package/android/build/generated/source/codegen/schema.json +0 -1
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +0 -8
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +0 -18
- package/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +0 -6
- package/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +0 -1
- package/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
- package/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
- package/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +0 -4
- package/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_debug_fragment_shader.glsl.flat +0 -0
- package/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_debug_vertex_shader.glsl.flat +0 -0
- package/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_fragment_shader.glsl.flat +0 -0
- package/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_vertex_shader.glsl.flat +0 -0
- package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +0 -5
- package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +0 -2
- package/android/build/intermediates/incremental/mergeDebugAssets/merger.xml +0 -2
- package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +0 -2
- package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +0 -2
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/AguaceroPackage.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/BuildConfig.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayer.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayerView.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderManager.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/InspectorModule.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/ShaderUtils.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/WeatherFrameProcessorModule.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/facebook/react/viewmanagers/GridRenderLayerManagerDelegate.class +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/facebook/react/viewmanagers/GridRenderLayerManagerInterface.class +0 -0
- package/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +0 -6
- package/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +0 -8
- package/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +0 -8
- package/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +0 -1
- package/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +0 -1
- package/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/debug_fragment_shader.glsl +0 -13
- package/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/debug_vertex_shader.glsl +0 -13
- package/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/fragment_shader.glsl +0 -162
- package/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/vertex_shader.glsl +0 -20
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/AguaceroPackage.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/BuildConfig.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayer.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayerView.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderManager.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/InspectorModule.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/ShaderUtils.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/WeatherFrameProcessorModule.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/facebook/react/viewmanagers/GridRenderLayerManagerDelegate.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/facebook/react/viewmanagers/GridRenderLayerManagerInterface.class +0 -0
- package/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
- package/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +0 -5
- package/android/build/outputs/logs/manifest-merger-debug-report.txt +0 -17
- package/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/AguaceroPackage.class.uniqueId1 +0 -0
- package/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderLayer$VertexInfo.class.uniqueId2 +0 -0
- package/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderLayer.class.uniqueId3 +0 -0
- package/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderLayerView.class.uniqueId4 +0 -0
- package/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderManager.class.uniqueId0 +0 -0
- package/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/InspectorModule.class.uniqueId5 +0 -0
- package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
- package/lib/commonjs/android/build/generated/source/buildConfig/debug/com/aguacerowx/reactnative/BuildConfig.java +0 -10
- package/lib/commonjs/android/build/generated/source/codegen/java/com/facebook/react/viewmanagers/GridRenderLayerManagerDelegate.java +0 -43
- package/lib/commonjs/android/build/generated/source/codegen/java/com/facebook/react/viewmanagers/GridRenderLayerManagerInterface.java +0 -22
- package/lib/commonjs/android/build/generated/source/codegen/jni/AguaceroWxReactNativeSpec-generated.cpp +0 -22
- package/lib/commonjs/android/build/generated/source/codegen/jni/AguaceroWxReactNativeSpec.h +0 -24
- package/lib/commonjs/android/build/generated/source/codegen/jni/CMakeLists.txt +0 -28
- package/lib/commonjs/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/AguaceroWxReactNativeSpecJSI-generated.cpp +0 -17
- package/lib/commonjs/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/AguaceroWxReactNativeSpecJSI.h +0 -19
- package/lib/commonjs/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/ComponentDescriptors.cpp +0 -22
- package/lib/commonjs/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/ComponentDescriptors.h +0 -24
- package/lib/commonjs/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/EventEmitters.cpp +0 -16
- package/lib/commonjs/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/EventEmitters.h +0 -23
- package/lib/commonjs/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/Props.cpp +0 -62
- package/lib/commonjs/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/Props.h +0 -40
- package/lib/commonjs/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/ShadowNodes.cpp +0 -17
- package/lib/commonjs/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/ShadowNodes.h +0 -32
- package/lib/commonjs/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/States.cpp +0 -16
- package/lib/commonjs/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/States.h +0 -20
- package/lib/commonjs/android/build/generated/source/codegen/schema.json +0 -1
- package/lib/commonjs/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +0 -8
- package/lib/commonjs/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +0 -18
- package/lib/commonjs/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +0 -6
- package/lib/commonjs/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +0 -1
- package/lib/commonjs/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
- package/lib/commonjs/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
- package/lib/commonjs/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +0 -4
- package/lib/commonjs/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_debug_fragment_shader.glsl.flat +0 -0
- package/lib/commonjs/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_debug_vertex_shader.glsl.flat +0 -0
- package/lib/commonjs/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_fragment_shader.glsl.flat +0 -0
- package/lib/commonjs/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_vertex_shader.glsl.flat +0 -0
- package/lib/commonjs/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +0 -5
- package/lib/commonjs/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +0 -2
- package/lib/commonjs/android/build/intermediates/incremental/mergeDebugAssets/merger.xml +0 -2
- package/lib/commonjs/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +0 -2
- package/lib/commonjs/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +0 -2
- package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/AguaceroPackage.class +0 -0
- package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/BuildConfig.class +0 -0
- package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.class +0 -0
- package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayer.class +0 -0
- package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayerView.class +0 -0
- package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderManager.class +0 -0
- package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/InspectorModule.class +0 -0
- package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/ShaderUtils.class +0 -0
- package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/WeatherFrameProcessorModule.class +0 -0
- package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/facebook/react/viewmanagers/GridRenderLayerManagerDelegate.class +0 -0
- package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/facebook/react/viewmanagers/GridRenderLayerManagerInterface.class +0 -0
- package/lib/commonjs/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +0 -6
- package/lib/commonjs/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +0 -8
- package/lib/commonjs/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +0 -8
- package/lib/commonjs/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +0 -1
- package/lib/commonjs/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +0 -1
- package/lib/commonjs/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/debug_fragment_shader.glsl +0 -13
- package/lib/commonjs/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/debug_vertex_shader.glsl +0 -13
- package/lib/commonjs/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/fragment_shader.glsl +0 -162
- package/lib/commonjs/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/vertex_shader.glsl +0 -20
- package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/AguaceroPackage.class +0 -0
- package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/BuildConfig.class +0 -0
- package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.class +0 -0
- package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayer.class +0 -0
- package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayerView.class +0 -0
- package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderManager.class +0 -0
- package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/InspectorModule.class +0 -0
- package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/ShaderUtils.class +0 -0
- package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/WeatherFrameProcessorModule.class +0 -0
- package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/facebook/react/viewmanagers/GridRenderLayerManagerDelegate.class +0 -0
- package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/facebook/react/viewmanagers/GridRenderLayerManagerInterface.class +0 -0
- package/lib/commonjs/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
- package/lib/commonjs/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +0 -5
- package/lib/commonjs/android/build/outputs/logs/manifest-merger-debug-report.txt +0 -17
- package/lib/commonjs/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/AguaceroPackage.class.uniqueId1 +0 -0
- package/lib/commonjs/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderLayer$VertexInfo.class.uniqueId2 +0 -0
- package/lib/commonjs/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderLayer.class.uniqueId3 +0 -0
- package/lib/commonjs/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderLayerView.class.uniqueId4 +0 -0
- package/lib/commonjs/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderManager.class.uniqueId0 +0 -0
- package/lib/commonjs/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/InspectorModule.class.uniqueId5 +0 -0
- package/lib/commonjs/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
- package/lib/module/android/build/generated/source/buildConfig/debug/com/aguacerowx/reactnative/BuildConfig.java +0 -10
- package/lib/module/android/build/generated/source/codegen/java/com/facebook/react/viewmanagers/GridRenderLayerManagerDelegate.java +0 -43
- package/lib/module/android/build/generated/source/codegen/java/com/facebook/react/viewmanagers/GridRenderLayerManagerInterface.java +0 -22
- package/lib/module/android/build/generated/source/codegen/jni/AguaceroWxReactNativeSpec-generated.cpp +0 -22
- package/lib/module/android/build/generated/source/codegen/jni/AguaceroWxReactNativeSpec.h +0 -24
- package/lib/module/android/build/generated/source/codegen/jni/CMakeLists.txt +0 -28
- package/lib/module/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/AguaceroWxReactNativeSpecJSI-generated.cpp +0 -17
- package/lib/module/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/AguaceroWxReactNativeSpecJSI.h +0 -19
- package/lib/module/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/ComponentDescriptors.cpp +0 -22
- package/lib/module/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/ComponentDescriptors.h +0 -24
- package/lib/module/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/EventEmitters.cpp +0 -16
- package/lib/module/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/EventEmitters.h +0 -23
- package/lib/module/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/Props.cpp +0 -62
- package/lib/module/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/Props.h +0 -40
- package/lib/module/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/ShadowNodes.cpp +0 -17
- package/lib/module/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/ShadowNodes.h +0 -32
- package/lib/module/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/States.cpp +0 -16
- package/lib/module/android/build/generated/source/codegen/jni/react/renderer/components/AguaceroWxReactNativeSpec/States.h +0 -20
- package/lib/module/android/build/generated/source/codegen/schema.json +0 -1
- package/lib/module/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +0 -8
- package/lib/module/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +0 -18
- package/lib/module/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +0 -6
- package/lib/module/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +0 -1
- package/lib/module/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
- package/lib/module/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
- package/lib/module/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +0 -4
- package/lib/module/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_debug_fragment_shader.glsl.flat +0 -0
- package/lib/module/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_debug_vertex_shader.glsl.flat +0 -0
- package/lib/module/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_fragment_shader.glsl.flat +0 -0
- package/lib/module/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_vertex_shader.glsl.flat +0 -0
- package/lib/module/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +0 -5
- package/lib/module/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +0 -2
- package/lib/module/android/build/intermediates/incremental/mergeDebugAssets/merger.xml +0 -2
- package/lib/module/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +0 -2
- package/lib/module/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +0 -2
- package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/AguaceroPackage.class +0 -0
- package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/BuildConfig.class +0 -0
- package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.class +0 -0
- package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayer.class +0 -0
- package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayerView.class +0 -0
- package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderManager.class +0 -0
- package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/InspectorModule.class +0 -0
- package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/ShaderUtils.class +0 -0
- package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/WeatherFrameProcessorModule.class +0 -0
- package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/facebook/react/viewmanagers/GridRenderLayerManagerDelegate.class +0 -0
- package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/facebook/react/viewmanagers/GridRenderLayerManagerInterface.class +0 -0
- package/lib/module/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +0 -6
- package/lib/module/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +0 -8
- package/lib/module/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +0 -8
- package/lib/module/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +0 -1
- package/lib/module/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +0 -1
- package/lib/module/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/debug_fragment_shader.glsl +0 -13
- package/lib/module/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/debug_vertex_shader.glsl +0 -13
- package/lib/module/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/fragment_shader.glsl +0 -162
- package/lib/module/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/vertex_shader.glsl +0 -20
- package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/AguaceroPackage.class +0 -0
- package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/BuildConfig.class +0 -0
- package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.class +0 -0
- package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayer.class +0 -0
- package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayerView.class +0 -0
- package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderManager.class +0 -0
- package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/InspectorModule.class +0 -0
- package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/ShaderUtils.class +0 -0
- package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/WeatherFrameProcessorModule.class +0 -0
- package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/facebook/react/viewmanagers/GridRenderLayerManagerDelegate.class +0 -0
- package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/facebook/react/viewmanagers/GridRenderLayerManagerInterface.class +0 -0
- package/lib/module/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
- package/lib/module/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +0 -5
- package/lib/module/android/build/outputs/logs/manifest-merger-debug-report.txt +0 -17
- package/lib/module/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/AguaceroPackage.class.uniqueId1 +0 -0
- package/lib/module/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderLayer$VertexInfo.class.uniqueId2 +0 -0
- package/lib/module/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderLayer.class.uniqueId3 +0 -0
- package/lib/module/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderLayerView.class.uniqueId4 +0 -0
- package/lib/module/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderManager.class.uniqueId0 +0 -0
- package/lib/module/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/InspectorModule.class.uniqueId5 +0 -0
- package/lib/module/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
- package/lib/module/lib/commonjs/android/build.gradle +0 -108
- package/lib/module/lib/commonjs/android/src/main/AndroidManifest.xml +0 -7
- package/lib/module/lib/commonjs/ios/AguaceroPackage.m +0 -19
- package/lib/module/lib/commonjs/ios/FragmentUniforms.swift +0 -16
- package/lib/module/lib/commonjs/ios/GridRenderLayer.swift +0 -986
- package/lib/module/lib/commonjs/ios/GridRenderLayerBridge.swift +0 -37
- package/lib/module/lib/commonjs/ios/GridRenderLayerManager.mm +0 -158
- package/lib/module/lib/commonjs/ios/GridRenderLayerView.h +0 -31
- package/lib/module/lib/commonjs/ios/GridRenderLayerView.m +0 -217
- package/lib/module/lib/commonjs/ios/InspectorDataCache.swift +0 -66
- package/lib/module/lib/commonjs/ios/InspectorModule.m +0 -10
- package/lib/module/lib/commonjs/ios/InspectorModule.swift +0 -64
- package/lib/module/lib/commonjs/ios/Shaders.metal +0 -191
- package/lib/module/lib/commonjs/ios/WeatherFrameProcessorModule.m +0 -16
- package/lib/module/lib/commonjs/ios/WeatherFrameProcessorModule.swift +0 -104
- package/lib/module/lib/commonjs/ios/compiled-shaders/Shaders-device.metallib +0 -0
- package/lib/module/lib/commonjs/ios/compiled-shaders/Shaders-simulator.metallib +0 -0
- package/lib/module/lib/commonjs/ios/generated/AguaceroWxReactNativeSpec-generated.mm +0 -0
- package/lib/module/lib/commonjs/ios/generated/AguaceroWxReactNativeSpec.h +0 -0
- package/lib/module/lib/commonjs/scripts/compile-shaders.sh +0 -39
|
@@ -1,64 +1,64 @@
|
|
|
1
|
-
import Foundation
|
|
2
|
-
import React
|
|
3
|
-
|
|
4
|
-
@objc(InspectorModule)
|
|
5
|
-
class InspectorModule: NSObject {
|
|
6
|
-
|
|
7
|
-
@objc(getValueAtGridIndex:j:resolver:rejecter:)
|
|
8
|
-
func getValueAtGridIndex(
|
|
9
|
-
i: NSNumber,
|
|
10
|
-
j: NSNumber,
|
|
11
|
-
resolve: @escaping RCTPromiseResolveBlock,
|
|
12
|
-
reject: @escaping RCTPromiseRejectBlock
|
|
13
|
-
) {
|
|
14
|
-
|
|
15
|
-
DispatchQueue.global(qos: .userInitiated).async {
|
|
16
|
-
let cache = InspectorDataCache.shared
|
|
17
|
-
|
|
18
|
-
guard let data = cache.lastDecompressedData else {
|
|
19
|
-
resolve(nil)
|
|
20
|
-
return
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
let nx = cache.nx
|
|
24
|
-
let scale = cache.scale
|
|
25
|
-
let offset = cache.offset
|
|
26
|
-
let missing = cache.missing
|
|
27
|
-
let scaleType = cache.scaleType
|
|
28
|
-
|
|
29
|
-
let index = j.intValue * nx + i.intValue
|
|
30
|
-
|
|
31
|
-
guard index >= 0 && index < data.count else {
|
|
32
|
-
print("🔍 [Inspector] ERROR: Index out of bounds")
|
|
33
|
-
resolve(nil)
|
|
34
|
-
return
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
// Read as signed value
|
|
38
|
-
let signedQuantizedValue = Int(Int8(bitPattern: data[index]))
|
|
39
|
-
let missingQuantized = Int(round(missing))
|
|
40
|
-
|
|
41
|
-
// Check for missing value with tolerance
|
|
42
|
-
if abs(signedQuantizedValue - missingQuantized) < 1 {
|
|
43
|
-
resolve(nil)
|
|
44
|
-
return
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
// Step 1: Linear dequantization
|
|
48
|
-
let intermediateValue = Double(signedQuantizedValue) * Double(scale) + Double(offset)
|
|
49
|
-
var finalValue = intermediateValue
|
|
50
|
-
|
|
51
|
-
// Step 2: Apply sqrt inverse transformation if needed
|
|
52
|
-
if scaleType == 1 {
|
|
53
|
-
finalValue = intermediateValue * abs(intermediateValue)
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
resolve(finalValue)
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
@objc
|
|
61
|
-
static func requiresMainQueueSetup() -> Bool {
|
|
62
|
-
return false
|
|
63
|
-
}
|
|
1
|
+
import Foundation
|
|
2
|
+
import React
|
|
3
|
+
|
|
4
|
+
@objc(InspectorModule)
|
|
5
|
+
class InspectorModule: NSObject {
|
|
6
|
+
|
|
7
|
+
@objc(getValueAtGridIndex:j:resolver:rejecter:)
|
|
8
|
+
func getValueAtGridIndex(
|
|
9
|
+
i: NSNumber,
|
|
10
|
+
j: NSNumber,
|
|
11
|
+
resolve: @escaping RCTPromiseResolveBlock,
|
|
12
|
+
reject: @escaping RCTPromiseRejectBlock
|
|
13
|
+
) {
|
|
14
|
+
|
|
15
|
+
DispatchQueue.global(qos: .userInitiated).async {
|
|
16
|
+
let cache = InspectorDataCache.shared
|
|
17
|
+
|
|
18
|
+
guard let data = cache.lastDecompressedData else {
|
|
19
|
+
resolve(nil)
|
|
20
|
+
return
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
let nx = cache.nx
|
|
24
|
+
let scale = cache.scale
|
|
25
|
+
let offset = cache.offset
|
|
26
|
+
let missing = cache.missing
|
|
27
|
+
let scaleType = cache.scaleType
|
|
28
|
+
|
|
29
|
+
let index = j.intValue * nx + i.intValue
|
|
30
|
+
|
|
31
|
+
guard index >= 0 && index < data.count else {
|
|
32
|
+
print("🔍 [Inspector] ERROR: Index out of bounds")
|
|
33
|
+
resolve(nil)
|
|
34
|
+
return
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
// Read as signed value
|
|
38
|
+
let signedQuantizedValue = Int(Int8(bitPattern: data[index]))
|
|
39
|
+
let missingQuantized = Int(round(missing))
|
|
40
|
+
|
|
41
|
+
// Check for missing value with tolerance
|
|
42
|
+
if abs(signedQuantizedValue - missingQuantized) < 1 {
|
|
43
|
+
resolve(nil)
|
|
44
|
+
return
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
// Step 1: Linear dequantization
|
|
48
|
+
let intermediateValue = Double(signedQuantizedValue) * Double(scale) + Double(offset)
|
|
49
|
+
var finalValue = intermediateValue
|
|
50
|
+
|
|
51
|
+
// Step 2: Apply sqrt inverse transformation if needed
|
|
52
|
+
if scaleType == 1 {
|
|
53
|
+
finalValue = intermediateValue * abs(intermediateValue)
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
resolve(finalValue)
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
@objc
|
|
61
|
+
static func requiresMainQueueSetup() -> Bool {
|
|
62
|
+
return false
|
|
63
|
+
}
|
|
64
64
|
}
|
|
@@ -1,191 +1,328 @@
|
|
|
1
|
-
#include <metal_stdlib>
|
|
2
|
-
using namespace metal;
|
|
3
|
-
|
|
4
|
-
// Struct to match the vertex buffer layout in Swift
|
|
5
|
-
struct Vertex {
|
|
6
|
-
float2 position [[attribute(0)]];
|
|
7
|
-
float2 texCoord [[attribute(1)]];
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
// Struct for passing data from vertex to fragment shader
|
|
11
|
-
struct RasterizerData {
|
|
12
|
-
float4 position [[position]];
|
|
13
|
-
float2 texCoord;
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
// Uniforms passed from the CPU to the fragment shader
|
|
17
|
-
struct FragmentUniforms {
|
|
18
|
-
float opacity;
|
|
19
|
-
float2 dataRange;
|
|
20
|
-
float scale;
|
|
21
|
-
float offset;
|
|
22
|
-
float missingQuantized;
|
|
23
|
-
float2 textureSize;
|
|
24
|
-
int smoothing;
|
|
25
|
-
int scaleType;
|
|
26
|
-
int isPtype;
|
|
27
|
-
int isMRMS;
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
// --- Vertex Shader (Unchanged) ---
|
|
31
|
-
vertex RasterizerData vertex_main(const Vertex in [[stage_in]],
|
|
32
|
-
constant float4x4 &mvp [[buffer(1)]]) {
|
|
33
|
-
RasterizerData out;
|
|
34
|
-
out.position = mvp * float4(in.position, 0.0, 1.0);
|
|
35
|
-
out.texCoord = in.texCoord;
|
|
36
|
-
return out;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
// --- HELPER FUNCTIONS FOR FRAGMENT SHADER ---
|
|
41
|
-
|
|
42
|
-
// Dequantizes a signed value (-127 to 127) into a physical value
|
|
43
|
-
float dequantize_val(float q_val, constant FragmentUniforms &uniforms) {
|
|
44
|
-
if (abs(q_val - uniforms.missingQuantized) < 0.5) {
|
|
45
|
-
return -9999.0;
|
|
46
|
-
}
|
|
47
|
-
float intermediate = q_val * uniforms.scale + uniforms.offset;
|
|
48
|
-
if (uniforms.scaleType == 1) { // 1 = sqrt
|
|
49
|
-
return intermediate * abs(intermediate);
|
|
50
|
-
}
|
|
51
|
-
return intermediate;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
// Samples texture, converts 0-255 to signed -128-127 range.
|
|
55
|
-
// Returns a quantized value, or a large positive sentinel for missing data.
|
|
56
|
-
float get_value(texture2d<float, access::sample> dataTexture, sampler dataSampler, float2 coord, constant FragmentUniforms &uniforms) {
|
|
57
|
-
// Note: The sampler should be set to 'nearest' when calling this for ptype logic.
|
|
58
|
-
float value_0_to_255 = dataTexture.sample(dataSampler, coord).r * 255.0;
|
|
59
|
-
float val = value_0_to_255 - 128.0;
|
|
60
|
-
float missing_in_texture_range_0_255 = uniforms.missingQuantized + 128.0;
|
|
61
|
-
if (abs(value_0_to_255 - missing_in_texture_range_0_255) < 0.5) {
|
|
62
|
-
return 99999.0; // Sentinel for "missing"
|
|
63
|
-
}
|
|
64
|
-
return val;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
// Maps a physical value to a precipitation type category
|
|
68
|
-
// Maps a physical value to a precipitation type category
|
|
69
|
-
float get_ptype_from_physical(float val, constant FragmentUniforms &uniforms) { // ADD uniforms parameter
|
|
70
|
-
if (val < 0.0) return -1.0;
|
|
71
|
-
|
|
72
|
-
if (uniforms.isMRMS == 1) { // ADD THIS BRANCH
|
|
73
|
-
// MRMS: 0-100 rain, 100-200 snow, 200-300 freezing rain
|
|
74
|
-
if (val < 100.0) return 0.0;
|
|
75
|
-
if (val < 200.0) return 1.0;
|
|
76
|
-
if (val < 300.0) return 2.0;
|
|
77
|
-
return -1.0;
|
|
78
|
-
} else {
|
|
79
|
-
// Models: 0-100 rain, 100-200 snow, 200-300 freezing rain, 300-400 ice pellets
|
|
80
|
-
if (val < 100.0) return 0.0;
|
|
81
|
-
if (val < 200.0) return 1.0;
|
|
82
|
-
if (val < 300.0) return 2.0;
|
|
83
|
-
if (val < 400.0) return 3.0;
|
|
84
|
-
return -1.0;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
// --- Main Fragment Shader ---
|
|
89
|
-
fragment float4 fragment_main(RasterizerData in [[stage_in]],
|
|
90
|
-
constant FragmentUniforms &uniforms [[buffer(0)]],
|
|
91
|
-
texture2d<float, access::sample> dataTexture [[texture(0)]],
|
|
92
|
-
texture2d<float, access::sample> colormapTexture [[texture(1)]],
|
|
93
|
-
sampler dataSampler [[sampler(0)]],
|
|
94
|
-
sampler colormapSampler [[sampler(1)]])
|
|
95
|
-
{
|
|
96
|
-
float raw_value;
|
|
97
|
-
float alpha_multiplier = 1.0; // Used for alpha feathering at data edges
|
|
98
|
-
|
|
99
|
-
if (uniforms.smoothing == 0) { // Nearest neighbor
|
|
100
|
-
float quantized_value = get_value(dataTexture, dataSampler, in.texCoord, uniforms);
|
|
101
|
-
if (quantized_value >= 99999.0) {
|
|
102
|
-
discard_fragment();
|
|
103
|
-
}
|
|
104
|
-
raw_value = dequantize_val(quantized_value, uniforms);
|
|
105
|
-
|
|
106
|
-
} else { // Bilinear interpolation
|
|
107
|
-
float2 texel_size = 1.0 / uniforms.textureSize;
|
|
108
|
-
float2 tex_coord_in_texels = in.texCoord * uniforms.textureSize;
|
|
109
|
-
float2 bl_texel_index = floor(tex_coord_in_texels - 0.5);
|
|
110
|
-
float2 f = fract(tex_coord_in_texels - 0.5); // Interpolation factors
|
|
111
|
-
|
|
112
|
-
// Coordinates of the 4 neighboring texels
|
|
113
|
-
float2 v00_coord = (bl_texel_index + float2(0.5, 0.5)) * texel_size;
|
|
114
|
-
float2 v10_coord = (bl_texel_index + float2(1.5, 0.5)) * texel_size;
|
|
115
|
-
float2 v01_coord = (bl_texel_index + float2(0.5, 1.5)) * texel_size;
|
|
116
|
-
float2 v11_coord = (bl_texel_index + float2(1.5, 1.5)) * texel_size;
|
|
117
|
-
|
|
118
|
-
if (uniforms.isPtype == 1) {
|
|
119
|
-
// --- PTYPE-SPECIFIC INTERPOLATION
|
|
120
|
-
float v00 = dequantize_val(get_value(dataTexture, dataSampler, v00_coord, uniforms), uniforms);
|
|
121
|
-
float v10 = dequantize_val(get_value(dataTexture, dataSampler, v10_coord, uniforms), uniforms);
|
|
122
|
-
float v01 = dequantize_val(get_value(dataTexture, dataSampler, v01_coord, uniforms), uniforms);
|
|
123
|
-
float v11 = dequantize_val(get_value(dataTexture, dataSampler, v11_coord, uniforms), uniforms);
|
|
124
|
-
|
|
125
|
-
float p00 = get_ptype_from_physical(v00, uniforms);
|
|
126
|
-
float p10 = get_ptype_from_physical(v10, uniforms);
|
|
127
|
-
float p01 = get_ptype_from_physical(v01, uniforms);
|
|
128
|
-
float p11 = get_ptype_from_physical(v11, uniforms);
|
|
129
|
-
|
|
130
|
-
//
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
if (
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
if (
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
1
|
+
#include <metal_stdlib>
|
|
2
|
+
using namespace metal;
|
|
3
|
+
|
|
4
|
+
// Struct to match the vertex buffer layout in Swift
|
|
5
|
+
struct Vertex {
|
|
6
|
+
float2 position [[attribute(0)]];
|
|
7
|
+
float2 texCoord [[attribute(1)]];
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
// Struct for passing data from vertex to fragment shader
|
|
11
|
+
struct RasterizerData {
|
|
12
|
+
float4 position [[position]];
|
|
13
|
+
float2 texCoord;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
// Uniforms passed from the CPU to the fragment shader
|
|
17
|
+
struct FragmentUniforms {
|
|
18
|
+
float opacity;
|
|
19
|
+
float2 dataRange;
|
|
20
|
+
float scale;
|
|
21
|
+
float offset;
|
|
22
|
+
float missingQuantized;
|
|
23
|
+
float2 textureSize;
|
|
24
|
+
int smoothing;
|
|
25
|
+
int scaleType;
|
|
26
|
+
int isPtype;
|
|
27
|
+
int isMRMS;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
// --- Vertex Shader (Unchanged) ---
|
|
31
|
+
vertex RasterizerData vertex_main(const Vertex in [[stage_in]],
|
|
32
|
+
constant float4x4 &mvp [[buffer(1)]]) {
|
|
33
|
+
RasterizerData out;
|
|
34
|
+
out.position = mvp * float4(in.position, 0.0, 1.0);
|
|
35
|
+
out.texCoord = in.texCoord;
|
|
36
|
+
return out;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
// --- HELPER FUNCTIONS FOR FRAGMENT SHADER ---
|
|
41
|
+
|
|
42
|
+
// Dequantizes a signed value (-127 to 127) into a physical value
|
|
43
|
+
float dequantize_val(float q_val, constant FragmentUniforms &uniforms) {
|
|
44
|
+
if (abs(q_val - uniforms.missingQuantized) < 0.5) {
|
|
45
|
+
return -9999.0;
|
|
46
|
+
}
|
|
47
|
+
float intermediate = q_val * uniforms.scale + uniforms.offset;
|
|
48
|
+
if (uniforms.scaleType == 1) { // 1 = sqrt
|
|
49
|
+
return intermediate * abs(intermediate);
|
|
50
|
+
}
|
|
51
|
+
return intermediate;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
// Samples texture, converts 0-255 to signed -128-127 range.
|
|
55
|
+
// Returns a quantized value, or a large positive sentinel for missing data.
|
|
56
|
+
float get_value(texture2d<float, access::sample> dataTexture, sampler dataSampler, float2 coord, constant FragmentUniforms &uniforms) {
|
|
57
|
+
// Note: The sampler should be set to 'nearest' when calling this for ptype logic.
|
|
58
|
+
float value_0_to_255 = dataTexture.sample(dataSampler, coord).r * 255.0;
|
|
59
|
+
float val = value_0_to_255 - 128.0;
|
|
60
|
+
float missing_in_texture_range_0_255 = uniforms.missingQuantized + 128.0;
|
|
61
|
+
if (abs(value_0_to_255 - missing_in_texture_range_0_255) < 0.5) {
|
|
62
|
+
return 99999.0; // Sentinel for "missing"
|
|
63
|
+
}
|
|
64
|
+
return val;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
// Maps a physical value to a precipitation type category
|
|
68
|
+
// Maps a physical value to a precipitation type category
|
|
69
|
+
float get_ptype_from_physical(float val, constant FragmentUniforms &uniforms) { // ADD uniforms parameter
|
|
70
|
+
if (val < 0.0) return -1.0;
|
|
71
|
+
|
|
72
|
+
if (uniforms.isMRMS == 1) { // ADD THIS BRANCH
|
|
73
|
+
// MRMS: 0-100 rain, 100-200 snow, 200-300 freezing rain
|
|
74
|
+
if (val < 100.0) return 0.0;
|
|
75
|
+
if (val < 200.0) return 1.0;
|
|
76
|
+
if (val < 300.0) return 2.0;
|
|
77
|
+
return -1.0;
|
|
78
|
+
} else {
|
|
79
|
+
// Models: 0-100 rain, 100-200 snow, 200-300 freezing rain, 300-400 ice pellets
|
|
80
|
+
if (val < 100.0) return 0.0;
|
|
81
|
+
if (val < 200.0) return 1.0;
|
|
82
|
+
if (val < 300.0) return 2.0;
|
|
83
|
+
if (val < 400.0) return 3.0;
|
|
84
|
+
return -1.0;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
// --- Main Fragment Shader ---
|
|
89
|
+
fragment float4 fragment_main(RasterizerData in [[stage_in]],
|
|
90
|
+
constant FragmentUniforms &uniforms [[buffer(0)]],
|
|
91
|
+
texture2d<float, access::sample> dataTexture [[texture(0)]],
|
|
92
|
+
texture2d<float, access::sample> colormapTexture [[texture(1)]],
|
|
93
|
+
sampler dataSampler [[sampler(0)]],
|
|
94
|
+
sampler colormapSampler [[sampler(1)]])
|
|
95
|
+
{
|
|
96
|
+
float raw_value;
|
|
97
|
+
float alpha_multiplier = 1.0; // Used for alpha feathering at data edges
|
|
98
|
+
|
|
99
|
+
if (uniforms.smoothing == 0) { // Nearest neighbor
|
|
100
|
+
float quantized_value = get_value(dataTexture, dataSampler, in.texCoord, uniforms);
|
|
101
|
+
if (quantized_value >= 99999.0) {
|
|
102
|
+
discard_fragment();
|
|
103
|
+
}
|
|
104
|
+
raw_value = dequantize_val(quantized_value, uniforms);
|
|
105
|
+
|
|
106
|
+
} else { // Bilinear interpolation
|
|
107
|
+
float2 texel_size = 1.0 / uniforms.textureSize;
|
|
108
|
+
float2 tex_coord_in_texels = in.texCoord * uniforms.textureSize;
|
|
109
|
+
float2 bl_texel_index = floor(tex_coord_in_texels - 0.5);
|
|
110
|
+
float2 f = fract(tex_coord_in_texels - 0.5); // Interpolation factors
|
|
111
|
+
|
|
112
|
+
// Coordinates of the 4 neighboring texels
|
|
113
|
+
float2 v00_coord = (bl_texel_index + float2(0.5, 0.5)) * texel_size;
|
|
114
|
+
float2 v10_coord = (bl_texel_index + float2(1.5, 0.5)) * texel_size;
|
|
115
|
+
float2 v01_coord = (bl_texel_index + float2(0.5, 1.5)) * texel_size;
|
|
116
|
+
float2 v11_coord = (bl_texel_index + float2(1.5, 1.5)) * texel_size;
|
|
117
|
+
|
|
118
|
+
if (uniforms.isPtype == 1) {
|
|
119
|
+
// --- ENHANCED PTYPE-SPECIFIC INTERPOLATION ---
|
|
120
|
+
float v00 = dequantize_val(get_value(dataTexture, dataSampler, v00_coord, uniforms), uniforms);
|
|
121
|
+
float v10 = dequantize_val(get_value(dataTexture, dataSampler, v10_coord, uniforms), uniforms);
|
|
122
|
+
float v01 = dequantize_val(get_value(dataTexture, dataSampler, v01_coord, uniforms), uniforms);
|
|
123
|
+
float v11 = dequantize_val(get_value(dataTexture, dataSampler, v11_coord, uniforms), uniforms);
|
|
124
|
+
|
|
125
|
+
float p00 = get_ptype_from_physical(v00, uniforms);
|
|
126
|
+
float p10 = get_ptype_from_physical(v10, uniforms);
|
|
127
|
+
float p01 = get_ptype_from_physical(v01, uniforms);
|
|
128
|
+
float p11 = get_ptype_from_physical(v11, uniforms);
|
|
129
|
+
|
|
130
|
+
// Count unique valid precipitation types
|
|
131
|
+
bool has_type_0 = false;
|
|
132
|
+
bool has_type_1 = false;
|
|
133
|
+
bool has_type_2 = false;
|
|
134
|
+
bool has_type_3 = false;
|
|
135
|
+
int valid_count = 0;
|
|
136
|
+
|
|
137
|
+
if (p00 >= 0.0) {
|
|
138
|
+
int ptype = int(p00);
|
|
139
|
+
if (ptype == 0) has_type_0 = true;
|
|
140
|
+
else if (ptype == 1) has_type_1 = true;
|
|
141
|
+
else if (ptype == 2) has_type_2 = true;
|
|
142
|
+
else if (ptype == 3) has_type_3 = true;
|
|
143
|
+
valid_count++;
|
|
144
|
+
}
|
|
145
|
+
if (p10 >= 0.0) {
|
|
146
|
+
int ptype = int(p10);
|
|
147
|
+
if (ptype == 0) has_type_0 = true;
|
|
148
|
+
else if (ptype == 1) has_type_1 = true;
|
|
149
|
+
else if (ptype == 2) has_type_2 = true;
|
|
150
|
+
else if (ptype == 3) has_type_3 = true;
|
|
151
|
+
valid_count++;
|
|
152
|
+
}
|
|
153
|
+
if (p01 >= 0.0) {
|
|
154
|
+
int ptype = int(p01);
|
|
155
|
+
if (ptype == 0) has_type_0 = true;
|
|
156
|
+
else if (ptype == 1) has_type_1 = true;
|
|
157
|
+
else if (ptype == 2) has_type_2 = true;
|
|
158
|
+
else if (ptype == 3) has_type_3 = true;
|
|
159
|
+
valid_count++;
|
|
160
|
+
}
|
|
161
|
+
if (p11 >= 0.0) {
|
|
162
|
+
int ptype = int(p11);
|
|
163
|
+
if (ptype == 0) has_type_0 = true;
|
|
164
|
+
else if (ptype == 1) has_type_1 = true;
|
|
165
|
+
else if (ptype == 2) has_type_2 = true;
|
|
166
|
+
else if (ptype == 3) has_type_3 = true;
|
|
167
|
+
valid_count++;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
if (valid_count == 0) discard_fragment();
|
|
171
|
+
|
|
172
|
+
// Count how many unique types we have
|
|
173
|
+
int unique_types = 0;
|
|
174
|
+
if (has_type_0) unique_types++;
|
|
175
|
+
if (has_type_1) unique_types++;
|
|
176
|
+
if (has_type_2) unique_types++;
|
|
177
|
+
if (has_type_3) unique_types++;
|
|
178
|
+
|
|
179
|
+
if (unique_types == 1) {
|
|
180
|
+
// ALL SAME TYPE - smooth interpolation across all valid pixels
|
|
181
|
+
float total_value = 0.0;
|
|
182
|
+
float total_weight = 0.0;
|
|
183
|
+
|
|
184
|
+
if (p00 >= 0.0) {
|
|
185
|
+
float weight = (1.0 - f.x) * (1.0 - f.y);
|
|
186
|
+
total_value += v00 * weight;
|
|
187
|
+
total_weight += weight;
|
|
188
|
+
}
|
|
189
|
+
if (p10 >= 0.0) {
|
|
190
|
+
float weight = f.x * (1.0 - f.y);
|
|
191
|
+
total_value += v10 * weight;
|
|
192
|
+
total_weight += weight;
|
|
193
|
+
}
|
|
194
|
+
if (p01 >= 0.0) {
|
|
195
|
+
float weight = (1.0 - f.x) * f.y;
|
|
196
|
+
total_value += v01 * weight;
|
|
197
|
+
total_weight += weight;
|
|
198
|
+
}
|
|
199
|
+
if (p11 >= 0.0) {
|
|
200
|
+
float weight = f.x * f.y;
|
|
201
|
+
total_value += v11 * weight;
|
|
202
|
+
total_weight += weight;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
if (total_weight <= 0.0) discard_fragment();
|
|
206
|
+
raw_value = total_value / total_weight;
|
|
207
|
+
|
|
208
|
+
} else {
|
|
209
|
+
// MULTIPLE TYPES - weighted voting to determine dominant type
|
|
210
|
+
float type_weight_0 = 0.0;
|
|
211
|
+
float type_weight_1 = 0.0;
|
|
212
|
+
float type_weight_2 = 0.0;
|
|
213
|
+
float type_weight_3 = 0.0;
|
|
214
|
+
|
|
215
|
+
if (p00 >= 0.0) {
|
|
216
|
+
float w = (1.0 - f.x) * (1.0 - f.y);
|
|
217
|
+
int ptype = int(p00);
|
|
218
|
+
if (ptype == 0) type_weight_0 += w;
|
|
219
|
+
else if (ptype == 1) type_weight_1 += w;
|
|
220
|
+
else if (ptype == 2) type_weight_2 += w;
|
|
221
|
+
else if (ptype == 3) type_weight_3 += w;
|
|
222
|
+
}
|
|
223
|
+
if (p10 >= 0.0) {
|
|
224
|
+
float w = f.x * (1.0 - f.y);
|
|
225
|
+
int ptype = int(p10);
|
|
226
|
+
if (ptype == 0) type_weight_0 += w;
|
|
227
|
+
else if (ptype == 1) type_weight_1 += w;
|
|
228
|
+
else if (ptype == 2) type_weight_2 += w;
|
|
229
|
+
else if (ptype == 3) type_weight_3 += w;
|
|
230
|
+
}
|
|
231
|
+
if (p01 >= 0.0) {
|
|
232
|
+
float w = (1.0 - f.x) * f.y;
|
|
233
|
+
int ptype = int(p01);
|
|
234
|
+
if (ptype == 0) type_weight_0 += w;
|
|
235
|
+
else if (ptype == 1) type_weight_1 += w;
|
|
236
|
+
else if (ptype == 2) type_weight_2 += w;
|
|
237
|
+
else if (ptype == 3) type_weight_3 += w;
|
|
238
|
+
}
|
|
239
|
+
if (p11 >= 0.0) {
|
|
240
|
+
float w = f.x * f.y;
|
|
241
|
+
int ptype = int(p11);
|
|
242
|
+
if (ptype == 0) type_weight_0 += w;
|
|
243
|
+
else if (ptype == 1) type_weight_1 += w;
|
|
244
|
+
else if (ptype == 2) type_weight_2 += w;
|
|
245
|
+
else if (ptype == 3) type_weight_3 += w;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
// Find the type with the highest weight at this pixel location
|
|
249
|
+
float max_type_weight = 0.0;
|
|
250
|
+
float winning_type = -1.0;
|
|
251
|
+
if (type_weight_0 > max_type_weight) { max_type_weight = type_weight_0; winning_type = 0.0; }
|
|
252
|
+
if (type_weight_1 > max_type_weight) { max_type_weight = type_weight_1; winning_type = 1.0; }
|
|
253
|
+
if (type_weight_2 > max_type_weight) { max_type_weight = type_weight_2; winning_type = 2.0; }
|
|
254
|
+
if (type_weight_3 > max_type_weight) { max_type_weight = type_weight_3; winning_type = 3.0; }
|
|
255
|
+
|
|
256
|
+
if (winning_type == -1.0) discard_fragment();
|
|
257
|
+
|
|
258
|
+
// Now smoothly interpolate only among pixels of the winning type
|
|
259
|
+
float total_value = 0.0;
|
|
260
|
+
float total_weight = 0.0;
|
|
261
|
+
|
|
262
|
+
if (p00 == winning_type) {
|
|
263
|
+
float weight = (1.0 - f.x) * (1.0 - f.y);
|
|
264
|
+
total_value += v00 * weight;
|
|
265
|
+
total_weight += weight;
|
|
266
|
+
}
|
|
267
|
+
if (p10 == winning_type) {
|
|
268
|
+
float weight = f.x * (1.0 - f.y);
|
|
269
|
+
total_value += v10 * weight;
|
|
270
|
+
total_weight += weight;
|
|
271
|
+
}
|
|
272
|
+
if (p01 == winning_type) {
|
|
273
|
+
float weight = (1.0 - f.x) * f.y;
|
|
274
|
+
total_value += v01 * weight;
|
|
275
|
+
total_weight += weight;
|
|
276
|
+
}
|
|
277
|
+
if (p11 == winning_type) {
|
|
278
|
+
float weight = f.x * f.y;
|
|
279
|
+
total_value += v11 * weight;
|
|
280
|
+
total_weight += weight;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
if (total_weight <= 0.0) discard_fragment();
|
|
284
|
+
raw_value = total_value / total_weight;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
// Force full alpha to prevent dark borders between ptype regions
|
|
288
|
+
alpha_multiplier = 1.0;
|
|
289
|
+
|
|
290
|
+
} else {
|
|
291
|
+
// --- STANDARD INTERPOLATION (CONTINUOUS) ---
|
|
292
|
+
float v00_q = get_value(dataTexture, dataSampler, v00_coord, uniforms);
|
|
293
|
+
float v10_q = get_value(dataTexture, dataSampler, v10_coord, uniforms);
|
|
294
|
+
float v01_q = get_value(dataTexture, dataSampler, v01_coord, uniforms);
|
|
295
|
+
float v11_q = get_value(dataTexture, dataSampler, v11_coord, uniforms);
|
|
296
|
+
|
|
297
|
+
float total_value_q = 0.0;
|
|
298
|
+
float total_weight = 0.0;
|
|
299
|
+
if (v00_q < 99999.0) { float w = (1.0-f.x)*(1.0-f.y); total_value_q+=v00_q*w; total_weight+=w; }
|
|
300
|
+
if (v10_q < 99999.0) { float w = f.x*(1.0-f.y); total_value_q+=v10_q*w; total_weight+=w; }
|
|
301
|
+
if (v01_q < 99999.0) { float w = (1.0-f.x)*f.y; total_value_q+=v01_q*w; total_weight+=w; }
|
|
302
|
+
if (v11_q < 99999.0) { float w = f.x*f.y; total_value_q+=v11_q*w; total_weight+=w; }
|
|
303
|
+
|
|
304
|
+
if (total_weight <= 0.0) discard_fragment();
|
|
305
|
+
raw_value = dequantize_val(total_value_q / total_weight, uniforms);
|
|
306
|
+
alpha_multiplier = total_weight; // Feather the edges of the data
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
// --- COMMON FINAL STEPS ---
|
|
311
|
+
|
|
312
|
+
if (raw_value < uniforms.dataRange.x) {
|
|
313
|
+
discard_fragment();
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
float colormap_coord = (raw_value - uniforms.dataRange.x) / (uniforms.dataRange.y - uniforms.dataRange.x);
|
|
317
|
+
colormap_coord = clamp(colormap_coord, 0.0, 1.0);
|
|
318
|
+
|
|
319
|
+
float4 color = colormapTexture.sample(colormapSampler, float2(colormap_coord, 0.5));
|
|
320
|
+
|
|
321
|
+
// Discard if the colormap specifies transparency
|
|
322
|
+
if (color.a < 0.1) {
|
|
323
|
+
discard_fragment();
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
float final_alpha = color.a * uniforms.opacity * alpha_multiplier;
|
|
327
|
+
return float4(color.rgb * final_alpha, final_alpha);
|
|
191
328
|
}
|