Commit Graph

145 Commits

Author SHA1 Message Date
halx99 21871ab244 Fix #1243 2023-06-26 09:12:29 +08:00
halx99 7f89bb23a7 Move queueOperation from GLView to Director 2023-06-25 01:17:29 +08:00
halx99 ef41a52939 Sync yasio to latest 2023-06-24 21:18:27 +08:00
halx99 e0a6f6a21c Delete unused sources 2023-06-11 19:21:05 +08:00
halx99 e2c062cfbb Move win32 _ftruncate impl to base/posix_io.cpp 2023-06-11 19:19:12 +08:00
halx99 40a52bbeff Move posix io macros to base/posix_io.h 2023-06-11 14:39:19 +08:00
Deal(一线灵) 0c058a5d3e
Remove CC prefix from code file name (#1230)
* Add migrate sources tool

* Fix include replace regex

* Fix compile

* Migrate maually

* Disable sources-migrate tool by default

* Fix ci

* Fix ci

* Improve source migrate

* Fix ios/tvos ci

* Fix ios/tvos ci

* Fix
2023-06-11 13:08:08 +08:00
Deal(一线灵) d57706b8ae
Improve media-engine for android, linux (#1228)
* Improve media-engine
- Implement andorid,linux
- Improve local file uri scheme

* Fix ci

* Improve code style

* Improve

* Update VlcMediaEngine.cpp

* Update AvfMediaEngine.h

* Fix ci

* Improve code style

* Enable androidx gradle.properties [skip ci]

* Improve code style

* Remove unnecessary callbacks

* Rename VideoPlayer to MediaPlayer
2023-06-10 22:05:49 +08:00
halx99 dd56cf2fb7 Improve gradle script 2023-06-06 11:15:46 +08:00
halx99 c60e80166c Update JNI call 2023-06-05 21:55:23 +08:00
halx99 bb2e0e372a [FEATURE] Add new API GLView::queueOperation
- Queue a priority operation in render thread, even through app in background
- Please do logic in callback, don't update ui or any other render state

usage

```
Director::getInstance()->getOpenGLView()->queueOperation([](void* param){
    // do somethings for logic only(Don't update render state or UI)
});
```
2023-05-31 20:42:39 +08:00
Deal(一线灵) 796b10c5d3
Remove duplicate using 2023-05-31 20:32:07 +08:00
Maksymilian Galas 4d49798da7
Add support for haptic feedback on iOS and Android devices (#1222)
* Add support for haptic feedback on iOS and Android devices

* Disable haptic feedback on tvOS

* Remove unused import
2023-05-31 20:14:31 +08:00
Deal(一线灵) 1f02b92cdc
[Refine] Improve exit flow (#1213) 2023-05-25 15:45:00 +08:00
halx99 caaacf4dfa Fix UWP mouse scroll delta process 2023-04-02 14:31:51 +08:00
Deal(一线灵) b48eb3d29f
Support clang-cl + ninja, refer to #1152 (#1153) 2023-04-01 23:11:58 +08:00
halx99 a847fdab9a Add FileStream::getNativeHandle() 2023-03-26 22:42:13 +08:00
halx99 9a4d173030 Fix ci 2023-03-25 16:08:48 +08:00
Deal(一线灵) 3d23eea8d0
Media engine video texture (#1133)
* VideoPlayer based on new MediaEngine[Win32/UWP]

* Improve MediaEngine interface

* Update readme

* Improve pixel format

* Improve MediaEngine interface

* Ready for PR UWP/Win32

* Ready for PR UWP,Win32

* Update reademe files

* Update readme files

* Update UIVideoPlayer-android.cpp [skip ci]

* Update UIVideoPlayer-ios.mm

* Update MFUtils.cpp

* Fix ci
2023-03-25 08:37:51 +08:00
halx99 80a5191af2 Remove UWP from PC family 2023-03-14 12:08:31 +08:00
halx99 7226125e7e Update project url in sources 2023-03-12 01:44:55 +08:00
halx99 da0085276a [UWP] Add API GLViewImpl::createFullScreen
- Fix for luabindings
2023-03-11 23:19:52 +08:00
halx99 418bef4bae Fix ci 2023-03-11 23:14:04 +08:00
halx99 1e66a93868 Improve API GLViewImpl::createWithRect 2023-03-11 22:53:55 +08:00
Deal(一线灵) b46417809d
Windows Store UWP apps support (#1108)
* [BIG FEATURE] Windows Store UWP apps support

* Fix ci, add uwp for pr-ci

* Fix ci

* Improve ci script

* Fix ci

* Fix ci

* Fix ci

* Fix ci

* Upload uwp appx package artifacts [skip ci]

* Use d2d draw system font text

* Fix ci

* Improve code style
2023-03-11 22:10:18 +08:00
halx99 6e5723b590 Fix compile errors in c++17 2023-03-08 08:34:17 +08:00
Deal(一线灵) 1ae9cd33ae
Tidy project tree and full symlink support (#1072)
* Tidy project file tree and all symlink support
2023-02-23 21:57:30 +08:00
halx99 a7ae735893 Check astc image header wildcard for some extesion formats [skip ci] 2023-02-18 11:43:44 +08:00
halx99 49284f4cc2 Working on c++23
There are many more efficient features on future c++23 standard
2023-02-18 11:39:31 +08:00
halx99 b746c936a9 Fix ci 2023-01-24 15:49:40 +08:00
halx99 405844b0e0 Fix platform macro pred 2023-01-24 13:58:29 +08:00
halx99 565e36eb21 Fix macro detect 2023-01-24 11:09:16 +08:00
Joilnen f448cf7073
fixing a warning message (#1035) 2023-01-22 14:10:39 +08:00
Deal(一线灵) 542fe86aab
Update CCGLViewImpl-desktop.cpp 2023-01-22 07:39:46 +08:00
halx99 bfc4e0b890 Fix ci 2023-01-21 21:57:28 +08:00
halx99 db1b74466c Fix ci 2023-01-21 20:04:58 +08:00
halx99 704b1655eb Fix osx ci 2023-01-21 19:24:58 +08:00
halx99 21d8495792 Fix ci 2023-01-21 18:49:02 +08:00
halx99 668da36bcf Unify CCGLViewImpl-desktop 2023-01-21 17:57:56 +08:00
halx99 559e958bc3 Fix osx ci 2023-01-21 16:56:04 +08:00
halx99 9f94bd461e Fix #1032 2023-01-17 10:06:09 +08:00
halx99 9eb65309b9 Don't use deprecated function 2023-01-11 23:28:22 +08:00
pietpukkel 6c7d2a26c3
Resize on Windows (#1026)
* Resize on Windows

Fixed resize on Windows

* Better code quality

Co-authored-by: <halx99@live.com>
2023-01-11 22:24:43 +08:00
halx99 d56efd5a57 Make linux defautSearchRoot same with win32 2023-01-10 23:06:04 +08:00
halx99 23693d9a5f Fix ci 2023-01-05 00:35:55 +08:00
halx99 4c07b00348 Fix ci 2023-01-05 00:31:08 +08:00
halx99 68b42398a1 Fix ci 2023-01-04 23:21:24 +08:00
halx99 5bd36bfa7c Update yasio to latest 2023-01-04 23:20:07 +08:00
halx99 b164698459 Improve posix macro definations 2023-01-04 23:05:52 +08:00
halx99 2c8f7aa84e Preferred use ax::print for engine log output 2023-01-04 22:52:40 +08:00