Commit Graph

39483 Commits

Author SHA1 Message Date
halx99 2b290bd734 Enable video player test case for windows 2022-02-24 18:30:58 +08:00
halx99 97f6b0e9a5 Move video player implementation to a unique folder 2022-02-24 18:13:01 +08:00
deal 7a89757385
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 a068468333
Fixup 2022-02-23 18:56:26 +08:00
halx99 2be191e380 Fix compile error CC_VIDEOPLAYER_DEBUG_DRAW=1 2022-02-23 18:39:02 +08:00
halx99 70dc9922ef Don't shallow copy the video context, it's very dangerous 2022-02-23 17:38:21 +08:00
halx99 94f3b94d55 Fix use prebuilt engine libs for win64 2022-02-22 19:09:34 +08:00
halx99 8196eb8ac6 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 694712ee9e Use .def export APIs required by luac
This can avoid modify any lua src file
2022-02-18 23:23:41 +08:00
halx99 06479f76b8 Fix luac link
TODO: generate patch file with official lua-5.4.4
2022-02-18 20:18:26 +08:00
halx99 67c6bcec4f [cmake] Rename BUILD_LUA_LIBS to AX_ENABLE_EXT_LUA 2022-02-17 21:31:39 +08:00
halx99 67fad92cbf Update plainlua to 5.4.4, pugixml to 1.12.1 2022-02-17 18:06:19 +08:00
halx99 818e563e51 Finish #578 2022-02-17 17:11:17 +08:00
deal 3566eb7773
Update version badge 2022-02-16 11:57:42 +08:00
halx99 3409456f3f 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 6ffd19149c Fix WidgetPropertiesReader::getWidgetReaderClassName incorrect 2022-02-16 11:54:48 +08:00
halx99 403d592018 Committing genbindings changes [skip ci] 2022-02-15 23:01:37 +00:00
deal 9fd6f6f881
Merge pull request #589 from DelinWorks/patch-1
Update README.md
2022-02-16 06:55:07 +08:00
deal 5c0a41d579
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 50a190984d
Update README.md
Update README.md to version v1.0.0-beta6 badge
2022-02-15 17:42:19 +03:00
DelinWorks f0c91e38c1 Update UITextField.h 2022-02-15 17:19:26 +03:00
DelinWorks 696b346560 feature-expose-detach-function 2022-02-15 17:17:45 +03:00
deal e7d683958b
Fix #584 2022-02-12 19:56:00 +08:00
deal bd8ba19f7e
Merge pull request #583 from DelinWorks/readme-improvements
Refine Readme English Grammar
2022-02-10 17:18:32 +08:00
Delin 7c8f0e6779
Update README.MD 2022-02-10 09:22:41 +03:00
Delin a0a39af89d
Update 2022-02-10 08:55:35 +03:00
DelinWorks f86e2283a3 Update README.md 2022-02-09 23:12:57 +03:00
DelinWorks 86ec288a71 Update README.md 2022-02-09 22:21:22 +03:00
DelinWorks a3f27b9594 Update README.md 2022-02-09 22:19:59 +03:00
DelinWorks 559004c630 Update README.md 2022-02-09 22:17:40 +03:00
DelinWorks 97d88f0109 Update README.md 2022-02-09 22:15:53 +03:00
halx99 69d08cc420 Improve run.bat.in 2022-02-09 11:50:06 +08:00
deal 7f112b4b52
Update adxe.cpp 2022-02-08 23:22:14 +08:00
deal 79eb62bc19
Update run.bat.in 2022-02-08 23:18:15 +08:00
deal 257562ff70
Fix run.bat path 2022-02-08 23:17:06 +08:00
halx99 67ecbab347 Improve some code for #543 2022-02-08 21:54:21 +08:00
deal 824c5d107e
Merge pull request #581 from aismann/patch-1
Update README.md
2022-02-08 19:00:03 +08:00
aismann d39b81fbfd
Update README.md 2022-02-08 10:07:07 +01:00
halx99 388e90459b Done #579, update ImGui to 1.87 2022-02-08 12:43:16 +08:00
halx99 25653e1d7c Fix #580 2022-02-08 12:41:18 +08:00
deal 08840e5a93
Update README.md 2022-02-08 08:10:41 +08:00
halx99 287d06d54a Improve run.bat.in, use relative build dir 2022-02-07 20:36:44 +08:00
halx99 0867240fe9 Fix ci 2022-02-06 13:18:27 +08:00
halx99 64e678c84a Remove unnecessary parameter 2022-02-06 13:06:49 +08:00
deal e8f0bf9787
Fix #576 2022-02-03 15:45:58 +08:00
deal 8662f26f30
Enable ImGUIExt check for linux [skip ci] 2022-02-03 15:43:40 +08:00
halx99 7f81b65596 [Android] Upgrade MIN_SDK_VERSION from 16 to 17 2022-01-30 20:38:01 +08:00
halx99 cfe6390de3 [Android] By default, build single arch: arm64-v8a 2022-01-30 20:36:41 +08:00
halx99 722b6af026 [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 4e0581d168
Update setup_android.py 2022-01-28 20:25:58 +08:00