Skip to content

Conversation

@gindemit
Copy link
Owner

Summary

  • implement cross-platform GPU texture creation and render-thread upload flow in the native plugin
  • update the Unity runtime to wrap external textures, schedule plugin uploads, and restrict atlas support to WebGL
  • adjust CMake settings for Objective-C++ builds and link required graphics libraries on each platform

Testing

  • not run (not available in container)

https://chatgpt.com/codex/tasks/task_e_68cb008ccf20832fb4408966d153fcfc

…of github.com:gindemit/unity-rlottie into codex/remove-texture.apply-and-move-updates-to-native
…exture.apply-and-move-updates-to-native

# Conflicts:
#	unity/RLottieUnity/Assets/LottiePlugin/Plugins/Windows/x86/LottiePlugin.dll
#	unity/RLottieUnity/Assets/LottiePlugin/Plugins/Windows/x86_64/LottiePlugin.dll
#	unity/RLottieUnity/Packages/manifest.json
#	unity/RLottieUnity/Packages/packages-lock.json
#	unity/RLottieUnity/ProjectSettings/ProjectVersion.txt
[Updated formatting and structure of CMake configuration for LottiePlugin.]
[Reorganized GPU header includes for clarity and conditional compilation.]
…ecks to use global scope.

[Removed the UnityGfxDeviceEventType enum and updated references in UnitySetGraphicsDevice function.]
[Updated artifact paths for Linux plugin to use directory instead of specific file.]
[Updated the artifact download path for Linux to include x86_64 directory.]
gindemit and others added 30 commits December 4, 2025 21:50
* Extract logger from LottiePlugin

* [skip ci] New native libraries version: 0.5.0-dev.198
…ions

- Implement OpenGL backend with functions for texture operations, extension detection, and error checking.
- Introduce Vulkan backend with stubs for texture management, leveraging Unity's handling of GPU uploads.
- Create utility functions for converting pixel formats between BGRA and RGBA for different platforms.
- Establish a common renderer interface to manage graphics device types and their respective operations.
- Implement upload pipeline and queue management for handling texture uploads efficiently.
- Add logging for better debugging and tracking of rendering events and state changes.
- Ensure compatibility with Unity's graphics device events and lifecycle management.
…es, improving synchronization and avoiding command buffer issues in Unity 6.
…of github.com:gindemit/unity-rlottie into codex/remove-texture.apply-and-move-updates-to-native
…ons from file paths

[Added support for loading Lottie animations from specified JSON file paths in AnimatedButton and AnimatedImage. Introduced new fields for resource paths and updated loading logic accordingly.]
…configuration

[Updated LottieAnimation loading methods in AnimatedButton and AnimatedImage to include CreateOptions parameter.]
[Refactored code structure to enhance readability and maintainability.]
[Updated Unity version badge to reflect compatibility with Unity 2022.3+]
[Refactor resource path handling to ensure it defaults to an empty string if null.]
…of github.com:gindemit/unity-rlottie into codex/remove-texture.apply-and-move-updates-to-native
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants