Skip to content

Conversation

@ygdrasil-io
Copy link
Contributor

No description provided.

Refactor the rendering logic in RotatingCubeScene for better encapsulation and readability. Update wgpu4k library version in Gradle configuration to "0.0.0-SNAPSHOT" for improved compatibility.
Added build directories and Kotlin/Gradle configurations to .gitignore. Corrected the texture format assignment in render.kt to use the rendering context.
This commit introduces a new yarn.lock file to the kotlin-js-store directory. The file lists dependencies and their respective versions, ensuring consistent installations across different environments.
The new additions ensure that build artifacts from the hello-cube project and dynamic library files (*.dylib) are ignored. This helps keep the repository clean by preventing unnecessary files from being tracked.
This commit sets up the Android project structure with essential resources, including icons, themes, colors, and basic activities. It also integrates Kotlin Multiplatform and Android Application plugins for project configuration.
Introduce a new shared module to centralize common dependencies and code. Updated `hello-cube` module to use the shared project dependencies. Adjusted `.gitignore` and build configurations accordingly.
Reorganize launcher icons into androidMain resources and delete old paths. Remove old theme, manifest, and other related UI files no longer in use. This cleans up redundant assets and centralizes resource management.
Upgraded Gradle version to 8.10.1 and adjusted the Gradle wrapper scripts. Improved Kotlin configurations by setting JVM target to Java 22 and aligning kotlin multiplatform settings. Additionally, added SPDX license identifiers and updated dependencies in libs.versions.toml.
Extended `createScene` to support CompositeAlphaMode and TextureUsage configuration. Initialized layout parameters properly in MainActivity and included scene management in WGPUSurfaceView.
Implemented iOS support in the project configuration and added necessary targets in Gradle scripts. Added a basic main entry point for iOS with the "its alive!" message and adjusted the transformation matrix for better visual alignment.
Implemented iOS application entry point with a main function and AppDelegate class. Adjusted iOS simulator tasks in the Gradle configuration. Reverted the Gradle wrapper version to 8.9 for compatibility.
Introduce initial project configuration for iOS, including the `project.yml` and iOS-specific build settings. Also, rename the main Kotlin file to `AppDelegate.kt` and create a new Swift entry point to facilitate `UIApplicationMain` integration.
Removed old Swift and Kotlin files, added new Objective-C files for app entry and delegate. Updated Xcode project configuration to align with the new project setup and added necessary plist and config files.
Removed obsolete Swift file and added Kotlin code to improve app launch and rendering. Adjusted .gitignore to exclude user-specific Xcode data, ensuring cleaner project management.
Changed the WGPUContext property in RotatingCubeScene from private to val for external accessibility. Fixed the view hierarchy setup in iOS AppDelegate by setting frame before assigning the rootViewController. Added a call to present the surface after rendering in the scene.
Ensure correct scaling by using UIScreen's native scale factor when setting MTKView's frame size. This ensures the view dimensions match the physical screen resolution accurately.
Changed the ignore pattern to recursively include any xcuserdatad directories and files. This ensures that all development environment-specific data is ignored, preventing unnecessary clutter in the repository.
Added macOSX64 and macOSArm64 targets to shared build script and introduced native support for macOS in hello-cube module. Updated several project dependencies to their latest versions, including Korge and coroutines libraries.
Added a new command in the README for executing a native MacOS build. Refactored code to use `runBlocking` in the `drawInMTKView` function for better error handling and logging.
Include a new mobile capture video in the README for better demonstration. Refactor AppDelegate to use runBlocking for app setup and separate view delegate assignment in configureApplication function.
Updated README to replace the mobile video file link with a GIF link for better compatibility and faster loading times. Also, deleted the outdated mobile video file from the repository.
Corrected the sequential numbering in the README.md file, ensuring clear instructions for users. Updated and removed various dependencies in yarn.lock for improved build performance. Also cleaned up shared/build.gradle.kts by removing the commented-out androidMain section.
Updated README.md to include a placeholder for Android build instructions. Also corrected the alt text for the mobile image to improve accessibility. Additionally, updated .gitignore to exclude local.properties.
Updated the README to include specific instructions for running the Android subproject with Android Studio, complemented by an illustrative screenshot. This improves clarity for developers working with the Android setup.
Changed the mobile rotating cube image link to a relative path. This should ensure the image loads correctly regardless of branch or repository structure changes.
Renamed `catpure.gif` to `desktop-catpure.gif` to correct a typo. Updated references in README.md to reflect the new file name.
Updated README.md to include steps for building and running the iOS app. Also updated the wgpu4k library version in gradle and cleaned up imports in `main.kt` and `AppDelegate.kt`.
Updated JVM target to JVM 22 and improved native target detection. Removed commented code and redundant task registration for iOS simulator.
Consolidated multiple build directory patterns into a single rule to reduce redundancy and improve maintainability. This change ensures all build directories are consistently ignored across different project structures.
Replaced hardcoded activity-compose dependency with a reference from libs.versions.toml. This change improves maintainability by centralizing version management.
Removed the INTERNET, WRITE_EXTERNAL_STORAGE, and READ_EXTERNAL_STORAGE permissions as they are no longer required. This reduces the app's permissions footprint and enhances privacy for users.
The commit removes redundant color definitions and app name strings from the `colors.xml` and `strings.xml` files. This cleanup helps streamline the resource files, reducing clutter and improving maintainability.
Simplified the initialization by removing commented code related to setting SurfaceView background to transparent. Cleaned up code by removing redundant println statements and unused method. Updated the scene creation code to streamline context handling.
The removed comments mentioned licensing and abstract details that are not necessary in the main application entry point. By simplifying the file, this change improves readability and focuses on essential includes only.
@ygdrasil-io ygdrasil-io merged commit 2ab7e26 into wgpu4k:main Sep 18, 2024
@ygdrasil-io ygdrasil-io deleted the feature/upgrade-to-preview3 branch September 18, 2024 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant