Commit Graph

2767 Commits

Author SHA1 Message Date
deal 9afd478ea9 Add windows video play support [render video sample to texture2d] (#577)
* [Draft] Implement windows video player

Based on microsoft media foundation

* Delete pvd

* Shutdown MF media before release player

* Consider MFMediaPlayer ref leak

* Use Microsoft::WRL::ComPtr

* Simplify code

* Improve code and take care COM object refs

* Update UIVideoPlayer-win.cpp

* Delete unused code

* Add play from url support

* Update logic

* Rename ADXE_ENABLE_MFMEDIA to AX_ENABLE_MFMEDIA

* Rescale video render sprite to view node

* Fix warnings

* Don't shallow copy the video context, it's very dangerous

* Fix compile error CC_VIDEOPLAYER_DEBUG_DRAW=1

* Fixup

* [Window video player] play event dispatch

* support switch video file

* Update UIVideoPlayer-win.cpp

* [windows-video-player] keep aspect ratio and full screen support

* Improve code

* Update changelog [skip ci]

* Update README.md

* Update README.md

* Update README.md

* Update README_CN.md

* Update README_CN.md
2022-02-24 17:57:08 +08:00
deal 1028488de2 Fixup 2022-02-23 18:56:26 +08:00
halx99 ba56042bd5 Fix compile error CC_VIDEOPLAYER_DEBUG_DRAW=1 2022-02-23 18:39:02 +08:00
halx99 183b8f10c1 Don't shallow copy the video context, it's very dangerous 2022-02-23 17:38:21 +08:00
halx99 cb6035d6a7 Fix use prebuilt engine libs for win64 2022-02-22 19:09:34 +08:00
halx99 8e4a97c469 Finish #564
Add new cmake variable:

- AX_PREBUILT_DIR: specific engine build directory relative to ADXE_ROOT, such as "-DAX_PREBUILT_DIR=build_x86"
2022-02-20 17:07:13 +08:00
halx99 f7d3d37ae5 [cmake] Rename BUILD_LUA_LIBS to AX_ENABLE_EXT_LUA 2022-02-17 21:31:39 +08:00
halx99 87c51c656c Update plainlua to 5.4.4, pugixml to 1.12.1 2022-02-17 18:06:19 +08:00
halx99 7ce188ebda Finish #578 2022-02-17 17:11:17 +08:00
deal 8790e0e3df Update version badge 2022-02-16 11:57:42 +08:00
halx99 d8ee872fe9 Fix #587
Note: New OS feature 'Beta: Use Unicode UTF-8 for worldwide language support' since win10/win11
- OFF: GetACP() equal to current system locale, such as chinese simplified is 936, english is 437
- ON: GetACP() always equal to 65001(UTF-8)

Remark:
The macro CP_ACP for ntcvt::from_chars works for converting chraset from current code page(936,437,65001) to utf-16
2022-02-16 11:56:33 +08:00
halx99 bee4c310da Fix WidgetPropertiesReader::getWidgetReaderClassName incorrect 2022-02-16 11:54:48 +08:00
halx99 9b3f4c3f71 Committing genbindings changes [skip ci] 2022-02-15 23:01:37 +00:00
deal 46e4228109 Merge: 5c0a41d579 50a190984d
Merge pull request #589 from DelinWorks/patch-1

Update README.md
2022-02-16 06:55:07 +08:00
deal 885d99751b Merge: e7d683958b f0c91e38c1
Merge pull request #588 from DelinWorks/feature-proposals

Expose detach IME function for custom behaviors in UITextField
2022-02-16 06:54:38 +08:00
Delin 3799344fa3 Update README.md
Update README.md to version v1.0.0-beta6 badge
2022-02-15 17:42:19 +03:00
DelinWorks c350e5a628 Update UITextField.h 2022-02-15 17:19:26 +03:00
DelinWorks b19133e96d feature-expose-detach-function 2022-02-15 17:17:45 +03:00
deal 79c8ec3431 Fix #584 2022-02-12 19:56:00 +08:00
Delin 2b36188111 Update README.MD 2022-02-10 09:22:41 +03:00
Delin a49a0ad057 Update 2022-02-10 08:55:35 +03:00
DelinWorks 069fea62bd Update README.md 2022-02-09 23:12:57 +03:00
DelinWorks 875c246b2f Update README.md 2022-02-09 22:21:22 +03:00
DelinWorks 3698b5b0a5 Update README.md 2022-02-09 22:19:59 +03:00
DelinWorks df51ade33a Update README.md 2022-02-09 22:17:40 +03:00
DelinWorks a73c0d6af7 Update README.md 2022-02-09 22:15:53 +03:00
halx99 6a00ee1017 Improve run.bat.in 2022-02-09 11:50:06 +08:00
deal 768d716caf Update adxe.cpp 2022-02-08 23:22:14 +08:00
deal 77be82dfd2 Update run.bat.in 2022-02-08 23:18:15 +08:00
deal 9b84a46b12 Fix run.bat path 2022-02-08 23:17:06 +08:00
halx99 93e250889f Improve some code for #543 2022-02-08 21:54:21 +08:00
aismann 6bde63a054 Update README.md 2022-02-08 10:07:07 +01:00
halx99 fcbc95bd47 Done #579, update ImGui to 1.87 2022-02-08 12:43:16 +08:00
halx99 d07c36f60f Fix #580 2022-02-08 12:41:18 +08:00
halx99 b500212314 Improve run.bat.in, use relative build dir 2022-02-07 20:36:44 +08:00
halx99 df441ca0c9 Fix ci 2022-02-06 13:18:27 +08:00
halx99 bc1d0223c0 Remove unnecessary parameter 2022-02-06 13:06:49 +08:00
deal aca3448bc3 Fix #576 2022-02-03 15:45:58 +08:00
deal 1a4fc33daf Enable ImGUIExt check for linux [skip ci] 2022-02-03 15:43:40 +08:00
halx99 392ca76e05 [Android] Upgrade MIN_SDK_VERSION from 16 to 17 2022-01-30 20:38:01 +08:00
halx99 1ca9505fdc [Android] By default, build single arch: arm64-v8a 2022-01-30 20:36:41 +08:00
halx99 6131b237b2 [Android][freetype] Change streamingParsingEnabled to true
Add noCompress config to build.gradle for all templates & tests project

Exists project, please add follow config

android {

// Other configs
// ...

// noCompress config
aaptOptions {
noCompress 'mp3','ogg','wav','mp4','ttf','ttc'
}

}
2022-01-29 14:54:32 +08:00
deal 8dd0aef742 Update setup_android.py 2022-01-28 20:25:58 +08:00
deal b7b29dc315 Update script prompt [skip ci] 2022-01-28 20:18:46 +08:00
deal 7fa220daa2 Update setup_android.py 2022-01-28 20:17:28 +08:00
deal 9f86eef0db Update adxetools.gradle 2022-01-28 19:59:27 +08:00
deal a285c80f89 Update adxetools.gradle 2022-01-28 19:51:42 +08:00
deal 8682491014 Update adxetools.gradle 2022-01-28 19:31:42 +08:00
halx99 231ba0cf5c Improve gradle script to find cmake 2022-01-28 18:25:50 +08:00
halx99 a1b40c61ea [ci] Setup openjdk with github action 2022-01-28 15:27:17 +08:00