Commit Graph

23 Commits

Author SHA1 Message Date
halx99 eb5c7758cc Fix #627 2022-05-07 20:21:22 +08:00
DelinWorks ad88b2628b Update UIVideoPlayer-win.cpp 2022-05-02 05:35:45 +03:00
halx99 4a35a8f8ae Add setPlayRate for UIVideoPlayer for windows only 2022-04-28 12:14:08 +08:00
Shatyuka d71c620fc1 Compatible with Ninja 2022-04-26 15:16:02 +08:00
halx99 ef56d0d335 Update copyright notices 2022-04-25 19:15:46 +08:00
halx99 0ea2db2dfd Improve use prebuilt engine libs for windows
a. Fix msedge webview2 include for win32
b. Fix msedeg webview2 linking for apps which use prebuilt libs
c. Improve optional libs linking for apps which use prebuilt libs
d. Auto build optional libs which not dependent by engine, such as yaml-cpp
2022-04-02 13:50:53 +08:00
halx99 4b685e9cb8 Fix #609 2022-03-24 11:03:17 +08:00
halx99 36fa5ad84e Remove CC_CONSTRUCTOR_ACCESS, refer to #603 2022-03-18 21:46:07 +08:00
halx99 886a7728ed Fix #602 c++20 compile errors 2022-03-17 09:37:56 +08:00
halx99 74052fd7b0 Improve shader compatible 2022-03-13 13:07:58 +08:00
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 818e563e51 Finish #578 2022-02-17 17:11:17 +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
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
halx99 64e678c84a Remove unnecessary parameter 2022-02-06 13:06:49 +08:00
halx99 2a6e749ad4 Fix ci & update project url in sources 2022-01-04 12:36:20 +08:00
halx99 e534dd66c0 Rename core folder name 2021-12-31 14:39:08 +08:00