Commit Graph

179 Commits

Author SHA1 Message Date
halx99 cd3923b553 Add utils::makeInstance and utils::newInstance 2020-09-04 11:28:16 +08:00
halx99 d66e62e436 ASTC6x6 support and more comment about bpp usage in engine (#191)
* ASTC6x6 support and more comment abount bpp usage in engine

* fix log output

* Comment astc compression tool download url

* Add command line comment for astcenc tool [skip travis][skip appveyor]

* Add astc_6x6 test image[skip appveyor][skip travis]

* astc_6x6 mtl

* Refine log info[skip appveyor][skip travis]

* Empty line[skip appveyor][skip travis]
2020-09-03 18:01:40 +08:00
halx99 6f524beeb6 Remove unused comment [skip appveyor][skip travis] 2020-09-01 13:29:41 +08:00
halx99 cc53868d27 More clearly ETC1 format, sync enums for ETC1, correct somethings 2020-09-01 11:43:03 +08:00
halx99 09cedf60b2 Improve images decoder 2020-08-31 21:04:47 +08:00
halx99 e96ae229dd Merge: 5ddc84bbee 539e5ca42c
Merge pull request #189 from aismann/patch-8

Update README.md
2020-08-31 04:27:33 -07:00
halx99 a87c0bba78 More clearly data owner when decode images. 2020-08-31 19:24:23 +08:00
halx99 fa5d2d198b fix resources relative path to avoid test case crash on mobile 2020-08-31 17:39:29 +08:00
halx99 c338472df8 Move copyright notice to header [skip appveyor][skip travis] 2020-08-31 17:35:01 +08:00
halx99 477aa0c185 Clearly CCLOG content 2020-08-31 17:13:04 +08:00
halx99 086c3dee3c Add comment for etc1/etc2 compression tools [skip appveyor][skip travis] 2020-08-31 16:16:13 +08:00
halx99 8749c63346 fix compile issue 2020-08-31 15:17:28 +08:00
halx99 2443e01136 fix compile issue 2020-08-31 14:50:33 +08:00
halx99 27ba2fd377 Remove unused file [skip appveyor][skip travis] 2020-08-31 14:48:10 +08:00
halx99 da8f1c56fe ETC2 software decode support 2020-08-31 14:11:48 +08:00
halx99 43f464163c 1. Finish ETC2 support on GL renderer backend
2. Improve ASTC compressed format check
2020-08-30 17:58:39 +08:00
halx99 0edf05888f fix CCValue::visit 2020-08-30 17:45:21 +08:00
halx99 81b038c18d Code improvement 2020-08-28 15:01:25 +08:00
halx99 238cd782e3 Add CMake -DCC_FORCE_USE_GLES to control whether force use gles on win32,iOS 2020-08-28 12:57:00 +08:00
halx99 53b1da1bf9 fix mssing sources 2020-08-27 12:44:30 +08:00
halx99 b6f2d775a9 Make UserDefault encrypt/decrypt algorithm can be customlized 2020-08-27 12:37:20 +08:00
halx99 d0c01ea688 Merge: 6be52c29e7 9d7d1e40fb
Merge branch 'master' of https://github.com/c4games/engine-x into master
2020-08-26 12:46:51 +08:00
halx99 6df5f91142 Sync LayoutHelper APIs 2020-08-26 12:46:41 +08:00
halx99 8d7a5ab3c6 finish killCurrentProcess implementation on windows 2020-08-26 10:36:33 +08:00
halx99 6fe10e8809 Add utils::killCurrentProcess API to kill game immidiately 2020-08-25 23:12:26 +08:00
halx99 0e0a28e033 Merge: 1740c444f8 5c850e00ac
Merge pull request #171 from halx99/feature-170

Add utils::createInstance to instead macro CREATE_FUNC
2020-08-24 23:55:37 -07:00
halx99 feb4e1783a fix warning 2020-08-25 14:47:51 +08:00
halx99 0545a471cb fix ci 2020-08-25 14:08:17 +08:00
halx99 d39f803459 Add utils::createInstance to instead macro CREATE_FUNC 2020-08-25 13:49:45 +08:00
halx99 083d14f342 Improve code quality 2020-08-18 14:29:09 +08:00
halx99 a3a231495c Backport CCValue APIs 2020-08-18 11:33:18 +08:00
halx99 9fef6a8720 Sync macro 2020-08-07 23:55:25 +08:00
halx99 7e7fba9649 By default, make cocos2d::log multi-threading safe 2020-08-07 23:52:41 +08:00
halx99 d424be2a80 Naming style 2020-08-07 00:39:55 +08:00
halx99 77b3290226 Make CCValue compatible official cocos2d-x v3/v4 2020-08-06 19:39:50 +08:00
halx99 03816cd0c0 fix console output error on win32, see #144 2020-08-05 17:30:30 +08:00
halx99 205d6e5fb9 fix lua compile issue 2020-08-04 22:38:57 +08:00
halx99 2add0272a3 Add ENGINEX_VERSION and improve ABI compatiable 2020-08-04 12:11:36 +08:00
halx99 e638e0bd68 Tidy sources 2020-08-04 00:14:35 +08:00
halx99 818842671f fix compile issue on iOS 2020-07-21 23:05:25 +08:00
halx99 e9fa3b4dac Merge: 7624df74f3 d20d3fd241
Merge pull request #111 from halx99/fix-type-error

fix type error, well xxhash never generate 0 for validate draw command.
2020-07-10 16:42:57 +08:00
halx99 67ab691c30 fix compile issue 2020-07-10 16:00:21 +08:00
halx99 3df478d5e1 Merge: 851d301574 7b82d47fcf
Merge pull request #110 from halx99/fix-angle

Correct feature test when use angle backend
2020-07-10 15:56:41 +08:00
halx99 26da430a2f fix type error, well xxhash never generate 0 for validate draw command. 2020-07-10 15:55:31 +08:00
halx99 c93a443f18 Correct feature test when use angle backend 2020-07-10 15:16:44 +08:00
halx99 e77b0eb4be Fix compile error 2020-05-18 10:13:57 +08:00
halx99 f26fbf2843 fix missing include header file 2020-05-18 09:21:52 +08:00
halx99 d2cb808160 Improve StringUtils::format reuseable, see #88 2020-05-15 22:57:33 +08:00
halx99 5b18408c96 fix typo 2020-05-11 23:00:02 +08:00
halx99 0fef6018c0 fix #86 2020-05-06 16:28:34 +08:00
halx99 52058861a0 Refactor CCValue. 2020-03-03 19:24:07 +08:00
halx99 331fa9542e Use original c lib minizip-1.2.0 2020-02-28 13:55:25 +08:00
halx99 9d797b6998 Clean JSB sources, optmize script event dispatch. 2020-02-28 02:15:33 +08:00
halx99 d0c0872dd9 Add missing header 2020-02-23 21:36:36 +08:00
halx99 734b5bd44f fix #41 2020-02-23 21:27:14 +08:00
halx99 55f96054b7 Update deps to v29 2020-02-14 19:14:39 +08:00
halx99 b108276f56 Refine extensions output. 2020-02-14 16:03:58 +08:00
halx99 41f0869926 Merge: 2d3e162e21 5d7f58c3ad
Merge pull request #50 from weiwest/master

add astc support (Great Job)
2020-02-12 20:24:29 +08:00
halx99 53d784af8d fix #51 2020-02-12 20:15:09 +08:00
weiwest a998fe8c14 Merge: 2a02db76d8 2d3e162e21
Merge remote-tracking branch 'upstream/master'
2020-02-12 16:58:47 +08:00
weiwest 33b9e8330b add astc soft decode support 2020-02-11 23:54:17 +08:00
halx99 d38b5a1310 fix comment. 2020-02-06 23:33:12 +08:00
halx99 b32d0b0afe Refactor UserDefault, cbc128 encrypt support. 2020-02-06 23:30:33 +08:00
halx99 aa4d08eb3f Merge: ffcb65fdaa e10155bef4
Merge pull request #39 from halx99/master

Refactor UserDefault, add plain mode for win32.
2020-02-06 23:28:33 +08:00
weiwest 2acb59d377 add astc support 8x8 block size 2020-02-06 21:54:45 +08:00
halx99 277120ead1 Refactor UserDefault, add plain mode for win32.
plain mode: 760ms
binary mode: 11ms
2020-02-06 21:15:15 +08:00
halx99 062c99844e Refactor UserDefault, handle error & fix can't enlarge problem. 2020-02-06 11:55:28 +08:00
halx99 a91953ac1a Refactor UserDefault, optmize for huge entities. 2020-02-06 01:08:51 +08:00
weiwest 27927bbcb3 add astc support 2d 4x4 RGBA 2020-02-05 22:45:19 +08:00
halx99 29f3ffc66e Merge: 8cb437601f 36f0d0b902
Merge pull request #35 from weiwest/master

add windows android start guide
2020-02-04 22:56:49 +08:00
halx99 7ad3f908b6 Refactor UserDefault, use file mapping & plain binary encode/decode for all platform 2020-02-04 22:28:54 +08:00
halx99 d4f6ac6482 Optimize downloader 2020-01-04 22:25:01 +08:00
halx99 ce48dfe27e usedefault, fix compile issue for android 2019-12-01 02:32:37 +08:00
halx99 cc56e8e8ba fix indent 2019-12-01 01:24:40 +08:00
halx99 3582e188f1 Add ZipFileStream support 2019-12-01 01:16:46 +08:00
halx99 dad6499592 Remove tinyxml2, sync ios & android platform. 2019-11-26 12:11:56 +08:00
halx99 a56cddfefe Remove getSuitableFopen, we never reduce performance for win32 only 2019-11-25 02:54:00 +08:00
halx99 441e1f1283 Remove tinyxml, integrate dragonbones. 2019-11-24 23:15:56 +08:00
halx99 8df3d5e274 Init Commit 2019-11-23 20:27:39 +08:00