Skip to content

Commit 4cb76f1

Browse files
Merge pull request #53 from Live2D/develop
Update to Cubism 5 SDK for Native R5 beta2(include R5 beta1)
2 parents 51b4bc5 + cb98dc8 commit 4cb76f1

150 files changed

Lines changed: 13942 additions & 534 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 46 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,53 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
66

77

8-
## [Unreleased]
8+
## [5-r.5-beta.2] - 2025-10-30
9+
10+
### Added
11+
12+
* Add support for Blend modes and Offscreen rendering.
13+
* In `5-r.5-beta.2`, an OpenGL renderer for Linux and HarmonyOS has been added, alongside the D3D9, D3D11 and Metal renderers.
14+
15+
### Changed
16+
17+
* Rename CubismOffscreenSurface_D3D9 class in Framework to CubismRenderTarget_D3D9 from Framework.
18+
* Rename CubismOffscreenSurface_D3D11 class in Framework to CubismRenderTarget_D3D11 from Framework.
19+
* Rename CubismOffscreenSurface_Metal class in Framework to CubismRenderTarget_Metal from Framework.
20+
* Change to the implementation now enables support for multiple devices instead of a single one.
21+
* In Metal, the device is now managed on the sample side.
22+
23+
## Fixed
24+
25+
* Fix OpenGL renderer now supports Retina displays on macOS.
26+
* Fix warnings occurs during build on OpenGL-Android.
27+
* Fix rendering corruption when the `USE_MODEL_RENDER_TARGET` macro is enabled in the OpenGL sample on macOS.
28+
* Fix an issue where LAppMinimumView::_spriteShader on OpenGL-Android was not initialized.
29+
* Fix OpenGL background rendering issue on iOS when returning to the app from the home screen.
30+
* Fix model distortion when resizing the window while using `USE_MODEL_RENDER_TARGET` with Metal.
31+
32+
### Removed
33+
34+
* Remove Visual Studio 2015 samples.
35+
36+
37+
## [5-r.5-beta.1] - 2025-08-26
38+
39+
### Added
40+
41+
* Add `Ren` model.
42+
* Add support for Blend mode and Offscreen drawing.
43+
* In `5-r.5-beta.1`, the OpenGL renderer works only on Windows, macOS, iOS, and Android. The SDK does not function in other environments. Please check `NOTICE.md`
44+
45+
### Changed
46+
47+
* Rename CubismOffscreenSurface_OpenGLES2 class in Framework to CubismRenderTarget_OpenGLES2 from Framework.
48+
* Change the compile and target SDK version of Android OS to 16.0 (API 36).
49+
* Upgrade the version of Android Gradle Plugin from 8.6.1 to 8.9.1.
50+
* Upgrade the version of Gradle from 8.7 to 8.11.1.
951

1052
## Fixed
1153

12-
* Fix unintended object recreating when resizing the window in the OpenGL Linux sample program. by [@KhangPham9](https://github.com/Live2D/CubismNativeSamples/pull/50)
54+
* Fix unintended object recreating when resizing the window in the OpenGL sample program. by [@KhangPham9](https://github.com/Live2D/CubismNativeSamples/pull/50)
1355

1456

1557
## [5-r.4.1] - 2025-07-17
@@ -509,6 +551,8 @@ See [Core Changelog] for details.
509551
* What was `Package.json` is currently being changed to`cubism-info.yml`.
510552

511553

554+
[5-r.5-beta.2]: https://github.com/Live2D/CubismNativeSamples/compare/5-r.5-beta.1...5-r.5-beta.2
555+
[5-r.5-beta.1]: https://github.com/Live2D/CubismNativeSamples/compare/5-r.4.1...5-r.5-beta.1
512556
[5-r.4.1]: https://github.com/Live2D/CubismNativeSamples/compare/5-r.4...5-r.4.1
513557
[5-r.4]: https://github.com/Live2D/CubismNativeSamples/compare/5-r.3...5-r.4
514558
[5-r.3]: https://github.com/Live2D/CubismNativeSamples/compare/5-r.2...5-r.3

Core/CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,32 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
66

77

8+
## 2025-10-30
9+
10+
### Removed
11+
12+
* [Native] Remove Visual Studio 2015 (MSVC 140) static library.
13+
14+
15+
## 2025-10-14
16+
17+
### Added
18+
19+
* Add `csmGetMocVersion(mocBytes: ArrayBuffer)` with simplified arguments from `csmGetMocVersion(moc: Moc, mocBytes: ArrayBuffer)`.
20+
* The previous version `csmGetMocVersion(moc: Moc, mocBytes: ArrayBuffer)` is now deprecated and is planned to be removed in the future.
21+
22+
23+
## 2025-08-26
24+
25+
### Added
26+
27+
* Enhanced model rendering features have been added.
28+
29+
### Changed
30+
31+
* Upgrade Core version to 06.00.0000.
32+
33+
834
## 2025-07-17
935

1036
### Changed
@@ -27,6 +53,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
2753

2854
* Fix `csmGetParameterKeyCounts()` and `csmGetParameterKeyValues()` symbols in the DLL.
2955

56+
### Changed
57+
58+
* Upgrade Core version to 05.01.0000.
59+
3060

3161
## 2024-12-19
3262

Core/README.ja.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ Core
5959

6060
| VC++バージョン | Visual Studioバージョン |
6161
| ---: | --- |
62-
| 140 | Visual Studio 2015 |
6362
| 141 | Visual Studio 2017 |
6463
| 142 | Visual Studio 2019 |
6564
| 143 | Visual Studio 2022 |

Core/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ Below is the Visual Studio version for the VC++ version.
6161

6262
| VC++ version | Visual Studio version |
6363
| ---: | --- |
64-
| 140 | Visual Studio 2015 |
6564
| 141 | Visual Studio 2017 |
6665
| 142 | Visual Studio 2019 |
6766
| 143 | Visual Studio 2022 |

Core/RedistributableFiles.txt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@ under the terms of the Live2D Proprietary Software License Agreement:
3030
- lib/experimental/linux/arm64/libLive2DCubismCore.a
3131
- lib/macos/arm64/libLive2DCubismCore.a
3232
- lib/macos/x86_64/libLive2DCubismCore.a
33-
- lib/windows/x86/140/Live2DCubismCore_MD.lib
34-
- lib/windows/x86/140/Live2DCubismCore_MDd.lib
35-
- lib/windows/x86/140/Live2DCubismCore_MT.lib
36-
- lib/windows/x86/140/Live2DCubismCore_MTd.lib
3733
- lib/windows/x86/141/Live2DCubismCore_MD.lib
3834
- lib/windows/x86/141/Live2DCubismCore_MDd.lib
3935
- lib/windows/x86/141/Live2DCubismCore_MT.lib
@@ -46,10 +42,6 @@ under the terms of the Live2D Proprietary Software License Agreement:
4642
- lib/windows/x86/143/Live2DCubismCore_MDd.lib
4743
- lib/windows/x86/143/Live2DCubismCore_MT.lib
4844
- lib/windows/x86/143/Live2DCubismCore_MTd.lib
49-
- lib/windows/x86_64/140/Live2DCubismCore_MD.lib
50-
- lib/windows/x86_64/140/Live2DCubismCore_MDd.lib
51-
- lib/windows/x86_64/140/Live2DCubismCore_MT.lib
52-
- lib/windows/x86_64/140/Live2DCubismCore_MTd.lib
5345
- lib/windows/x86_64/141/Live2DCubismCore_MD.lib
5446
- lib/windows/x86_64/141/Live2DCubismCore_MDd.lib
5547
- lib/windows/x86_64/141/Live2DCubismCore_MT.lib

Framework

Submodule Framework updated 138 files

NOTICE.ja.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,18 @@
44

55
# お知らせ
66

7+
## [制限事項] Cubism 5 SDK for Native R5 beta2 の動作環境について (2025-10-30 更新)
8+
9+
Cubism 5 SDK for Native R5 beta2 について、Vulkan環境は**ビルドができません**ので、あらかじめご了承ください。
10+
Vulkan環境は今後のアップデートにてCubism 5.3新機能も含め対応を予定しています。
11+
その他の環境については対応しております。
12+
13+
## [注意事項] Cubism 5 SDK for Native R5 beta2 Metal環境のパフォーマンスについて (2025-10-30)
14+
15+
Cubism 5 SDK for Native R5 beta2 Metal環境にてモデルを描画した際、iOS 26、iPadOS 26 及び macOS 26 環境においてパフォーマンスが劣化する場合がございます。
16+
本件はコマンドエンコーダー( `MTLRenderCommandEncoder` 及び `MTLBlitCommandEncoder` )のオーバーヘッドによるものと考えておりますが、
17+
今後のアップデートにてFrameworkの改修や、最新のMetalバージョンへ移行することも含めて調査し、対応を検討してまいります。
18+
719
## [注意事項] Visual Studio 2017 ビルドについて (2025-05-29)
820

921
Visual Studio 2017 は Windows 10 SDK 10.0.17763.0 までの提供となっており、その状態では実行に問題が発生する場合がございます。

NOTICE.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,18 @@
44

55
# Notices
66

7+
## [Restrictions] Operating Environment for Cubism 5 SDK for Native R5 beta2 (Updated 2025-10-30)
8+
9+
Please be aware that the Cubism 5 SDK for Native R5 beta2 does not support builds in Vulkan environments.
10+
Support for Vulkan, including new features of Cubism 5.3, is planned for future updates.
11+
Other environments are supported.
12+
13+
## [Cautions] Performance of Cubism 5 SDK for Native R5 beta2 in Metal Environments (2025-10-30)
14+
15+
When rendering models in the Metal environment of Cubism 5 SDK for Native R5 beta2, performance may degrade in iOS 26, iPadOS 26, and macOS 26 environments.
16+
This issue is believed to be caused by overhead from the command encoders (`MTLRenderCommandEncoder` and `MTLBlitCommandEncoder`).
17+
We will investigate and consider addressing this issue in future updates, including modifications to the Framework and migration to the latest Metal version.
18+
719
## [Notes] Building with Visual Studio 2017 (2025-05-29)
820

921
Visual Studio 2017 provides Windows 10 SDK versions up to 10.0.17763.0 only, which may cause execution issues in some situations.

README.ja.md

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -110,28 +110,27 @@ Core : [CHANGELOG.md](Core/CHANGELOG.md)
110110

111111
| 開発ツール | バージョン |
112112
| --- | --- |
113-
| Android Studio | Narwhal 2025.1.1 Patch 1 |
114-
| DevEco Studio | 5.0.5.306 |
115-
| CMake | 3.31.7 |
116-
| Visual Studio 2015 | Update 3 |
117-
| Visual Studio 2017 | 15.9.73 |
118-
| Visual Studio 2019 | 16.11.47 |
119-
| Visual Studio 2022 | 17.14.2 |
120-
| Xcode | 16.3 |
113+
| Android Studio | Narwhal 2025.1.2 Patch 1 |
114+
| DevEco Studio | 6.0.0 |
115+
| CMake | 3.31.8 |
116+
| Visual Studio 2017 | 15.9.76 |
117+
| Visual Studio 2019 | 16.11.51 |
118+
| Visual Studio 2022 | 17.14.16 |
119+
| Xcode | 26.0.1 |
121120

122121
### Android
123122

124123
| Android SDK tools | バージョン |
125124
| --- | --- |
126-
| Android NDK | 26.3.11579264 |
127-
| Android SDK | 35.0.0 |
128-
| CMake | 3.22.1 |
125+
| Android NDK | 29.0.13846066 |
126+
| Android SDK | 36.0.0 |
127+
| CMake | 4.1.0 |
129128

130129
### HarmonyOS
131130

132131
| HarmonyOS SDK tools | バージョン |
133132
| --- | --- |
134-
| HarmonyOS SDK | 5.0.1.112 |
133+
| HarmonyOS SDK | 6.0.0.47 |
135134

136135
### Linux
137136

@@ -140,7 +139,7 @@ Core : [CHANGELOG.md](Core/CHANGELOG.md)
140139
| Red Hat | Amazon Linux 2 | `amazonlinux:2` | 7.3.1 |
141140
| Red Hat | AlmaLinux | `almalinux:latest` | 11.4.1 |
142141
| Debian | Ubuntu 22.04.4 | `ubuntu:22.04` | 11.4.0 |
143-
| Debian | Ubuntu 24.04.2 | `ubuntu:24.04` | 13.3.0 |
142+
| Debian | Ubuntu 24.04.3 | `ubuntu:24.04` | 13.3.0 |
144143

145144
#### Mesa ライブラリ
146145

@@ -156,8 +155,8 @@ Core : [CHANGELOG.md](Core/CHANGELOG.md)
156155

157156
| プラットフォーム | バージョン |
158157
| --- | --- |
159-
| iOS / iPadOS | 18.5 |
160-
| macOS | 15.5 |
158+
| iOS / iPadOS | 26.0.1 |
159+
| macOS | 26.0.1 |
161160
| Windows 10 | 23H2 |
162161
| Windows 11 | 24H2 |
163162

@@ -166,7 +165,7 @@ Core : [CHANGELOG.md](Core/CHANGELOG.md)
166165
| バージョン | デバイス | Tegra | 16KB ページサイズ *1 |
167166
| --- | --- | --- | --- |
168167
| 16 | Pixel 9 | | ✔︎ |
169-
| 15 | Pixel 7a | | |
168+
| 16 | Pixel 7a | | |
170169
| 7.1.1 | Nexus 9 | ✔︎ | |
171170

172171
*1 開発者向けオプションを使用して有効にした環境となります
@@ -175,15 +174,15 @@ Core : [CHANGELOG.md](Core/CHANGELOG.md)
175174

176175
| バージョン | デバイス |
177176
| --- | --- |
178-
| NEXT.0.0.71 | HUAWEI Mate 60 Pro |
177+
| NEXT 5.1.0.150 | HUAWEI Mate 60 Pro |
179178

180179
### Linux
181180

182181
| 系統 | ディストリビューション | バージョン |
183182
| --- | --- | --- |
184183
| Red Hat | Amazon Linux | 2 |
185184
| Red Hat | AlmaLinux | 9 |
186-
| Debian | Ubuntu | 24.04.2 |
185+
| Debian | Ubuntu | 24.04.3 |
187186

188187
## プロジェクトへの貢献
189188

README.md

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -109,28 +109,27 @@ Core : [CHANGELOG.md](Core/CHANGELOG.md)
109109

110110
| Development Tool | Version |
111111
| --- | --- |
112-
| Android Studio | Narwhal 2025.1.1 Patch 1 |
113-
| DevEco Studio | 5.0.5.306 |
114-
| CMake | 3.31.7 |
115-
| Visual Studio 2015 | Update 3 |
116-
| Visual Studio 2017 | 15.9.73 |
117-
| Visual Studio 2019 | 16.11.47 |
118-
| Visual Studio 2022 | 17.14.2 |
119-
| Xcode | 16.3 |
112+
| Android Studio | Narwhal 2025.1.2 Patch 1 |
113+
| DevEco Studio | 6.0.0 |
114+
| CMake | 3.31.8 |
115+
| Visual Studio 2017 | 15.9.76 |
116+
| Visual Studio 2019 | 16.11.51 |
117+
| Visual Studio 2022 | 17.14.16 |
118+
| Xcode | 26.0.1 |
120119

121120
### Android
122121

123122
| Android SDK tools | Version |
124123
| --- | --- |
125-
| Android NDK | 26.3.11579264 |
126-
| Android SDK | 35.0.0 |
127-
| CMake | 3.22.1 |
124+
| Android NDK | 29.0.13846066 |
125+
| Android SDK | 36.0.0 |
126+
| CMake | 4.1.0 |
128127

129128
### HarmonyOS
130129

131130
| HarmonyOS SDK tools | Version |
132131
| --- | --- |
133-
| HarmonyOS SDK | 5.0.1.112 |
132+
| HarmonyOS SDK | 6.0.0.47 |
134133

135134
### Linux
136135

@@ -139,7 +138,7 @@ Core : [CHANGELOG.md](Core/CHANGELOG.md)
139138
| Red Hat | Amazon Linux 2 | `amazonlinux:2` | 7.3.1 |
140139
| Red Hat | AlmaLinux | `almalinux:latest` | 11.4.1 |
141140
| Debian | Ubuntu 22.04.4 | `ubuntu:22.04` | 11.4.0 |
142-
| Debian | Ubuntu 24.04.2 | `ubuntu:24.04` | 13.3.0 |
141+
| Debian | Ubuntu 24.04.3 | `ubuntu:24.04` | 13.3.0 |
143142

144143
#### Mesa library
145144

@@ -155,8 +154,8 @@ Core : [CHANGELOG.md](Core/CHANGELOG.md)
155154

156155
| Platform | Version |
157156
| --- | --- |
158-
| iOS / iPadOS | 18.5 |
159-
| macOS | 15.5 |
157+
| iOS / iPadOS | 26.0.1 |
158+
| macOS | 26.0.1 |
160159
| Windows 10 | 23H2 |
161160
| Windows 11 | 24H2 |
162161

@@ -165,7 +164,7 @@ Core : [CHANGELOG.md](Core/CHANGELOG.md)
165164
| Version | Device | Tegra | 16KB page sizes *1 |
166165
| --- | --- | --- | --- |
167166
| 16 | Pixel 9 | | ✔︎ |
168-
| 15 | Pixel 7a | | |
167+
| 16 | Pixel 7a | | |
169168
| 7.1.1 | Nexus 9 | ✔︎ | |
170169

171170
*1 This environment has been enabled using developer options.
@@ -174,15 +173,15 @@ Core : [CHANGELOG.md](Core/CHANGELOG.md)
174173

175174
| Version | Device |
176175
| --- | --- |
177-
| NEXT.0.0.71 | HUAWEI Mate 60 Pro |
176+
| NEXT 5.1.0.150 | HUAWEI Mate 60 Pro |
178177

179178
### Linux
180179

181180
| System | Distribution | Version |
182181
| --- | --- | --- |
183182
| Red Hat | Amazon Linux | 2 |
184183
| Red Hat | AlmaLinux | 9 |
185-
| Debian | Ubuntu | 24.04.2 |
184+
| Debian | Ubuntu | 24.04.3 |
186185

187186
## Contributing
188187

0 commit comments

Comments
 (0)