Commit Graph

38292 Commits

Author SHA1 Message Date
halx99 e005bb15fe ImGuiEXT: hdpi support, Add APIs: scaleAllByDPI, addFont, clearFonts for more easy to use 2020-09-07 20:31:50 +08:00
halx99 4d0375e7a8 ImGuiEXT manage ImGui render loop more clearly 2020-09-07 19:15:53 +08:00
halx99 6e4cee5855 Refine code 2020-09-07 14:15:09 +08:00
halx99 600f14b834 Merge branch 'master' of https://gitee.com/c4games/engine-x into master 2020-09-06 17:01:21 +08:00
halx99 556e0d05d3 Move getFileDataFromZip from FileUtils to ZipFile and mark it as deprecated 2020-09-06 17:00:20 +08:00
HALX99 3629cd7120
Merge pull request #198 from c4games/halx99-patch-1
fix mac build
2020-09-05 21:58:39 -07:00
HALX99 6163bd3474
fix link error
see: https://github.com/curl/curl/issues/5210
2020-09-06 11:18:04 +08:00
HALX99 e909cf9c4a
Update config.json 2020-09-05 23:57:38 +08:00
halx99 d9cd3e1256 Mac currently dosn't works on multi-viewports 2020-09-05 23:29:16 +08:00
halx99 d401cbfd75 fix mac compile error 2020-09-05 22:33:18 +08:00
halx99 2d5fb7f77d Add CC_REDUCE_PAUSED_CPU_USAGE ccConfig.h to control whether reduce cpu usage after paused 2020-09-05 17:12:30 +08:00
halx99 cc2c524573 Refine extension ImGui, and rename director to ImGuiEXT 2020-09-05 17:10:09 +08:00
HALX99 e3e3352440
Merge pull request #194 from halx99/ImGuiEXT
Add Extension ImGui
2020-09-04 04:24:01 -07:00
halx99 9cb9a0e455 fix ci warnings 2020-09-04 18:34:15 +08:00
halx99 81e4c28d24 Fix mac [skip appveyor] 2020-09-04 18:16:13 +08:00
halx99 53509b8833 Fix glviewimpl for osx 2020-09-04 17:58:34 +08:00
halx99 76cf3357cd fix .travis.yml 2020-09-04 17:19:51 +08:00
HALX99 3c59765f29
Merge pull request #195 from c4games/test-ci
Update README.md
2020-09-04 02:04:17 -07:00
HALX99 255a1b086a
Update README.md 2020-09-04 17:03:46 +08:00
HALX99 fa0e1e0204
test 2020-09-04 17:03:25 +08:00
halx99 40b5efc011 fix .travis.yml ident, update readme [skip appveyor] 2020-09-04 16:55:13 +08:00
halx99 743b414bf1 Enable mac build for ci 2020-09-04 16:47:32 +08:00
halx99 d9c4be96a2 Add ImGuiEXT extension support 2020-09-04 16:13:40 +08:00
halx99 8bb706d70e Add utils::makeInstance and utils::newInstance 2020-09-04 11:28:16 +08:00
HALX99 36c25dc889
Should set _mtlCommandBuffer to nil after release 2020-09-03 22:26:21 +08:00
HALX99 047bcae9ea
Merge pull request #192 from halx99/fix-gl-error-502
Fix GL renderer backend API updateCompressedSubData incorrect
2020-09-03 03:46:16 -07:00
halx99 b3361b6d70 Fix GL renderer backend API updateCompressedSubData will cause OpenGL 502 error 2020-09-03 18:03:43 +08:00
HALX99 7a2f91e514
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 ff3becb49d Add getGPUHandler for backend::Texture for some purpose use 2020-09-02 13:00:32 +08:00
halx99 8ec6df624e Remove unused member 'func' from CustomCommand, use CallbackCommand instead 2020-09-02 12:59:34 +08:00
HALX99 2539e78774
Merge pull request #188 from halx99/etc2-support
Add etc2 compressed texture support
2020-09-01 00:16:01 -07:00
halx99 8cad7319f6 Use uint8_t instead unsigned char for byte buffer [skip appveyor][skip travis] 2020-09-01 14:57:18 +08:00
halx99 cf5c4f38c3 No need check GL_ETC1_RGB8_OES for ETC compression formats [skip appveyor][skip travis] 2020-09-01 14:32:52 +08:00
halx99 63487d6c57 Remove unnecessary macro GL_ETC1_RGB8_OES check 2020-09-01 13:39:15 +08:00
halx99 5bda5f97a3 Remove unused comment [skip appveyor][skip travis] 2020-09-01 13:29:41 +08:00
halx99 5bfce4bed4 Add copyright notice [skip appveyor][skip travis] 2020-09-01 13:24:45 +08:00
halx99 6c129165f5 Also decode bmp to RGBA8888 directly 2020-09-01 12:06:21 +08:00
halx99 f3c17427aa More clearly ETC1 format, sync enums for ETC1, correct somethings 2020-09-01 11:43:03 +08:00
HALX99 4d9206e402
ETC2 feature check for metal 2020-09-01 00:03:49 +08:00
halx99 5e0e017b2a wrap fowardPixels for hardware decoder 2020-08-31 23:09:42 +08:00
halx99 dffbad412a Improve images decoder 2020-08-31 21:04:47 +08:00
HALX99 f2970e72de
Merge pull request #189 from aismann/patch-8
Update README.md
2020-08-31 04:27:33 -07:00
halx99 aa9e5130e4 More clearly data owner when decode images. 2020-08-31 19:24:23 +08:00
aismann 539e5ca42c
Update README.md
Some more better description what ENGX is.
2020-08-31 12:44:52 +02:00
halx99 5ddc84bbee fix resources relative path to avoid test case crash on mobile 2020-08-31 17:39:29 +08:00
halx99 c119bee507 Move copyright notice to header [skip appveyor][skip travis] 2020-08-31 17:35:01 +08:00
halx99 18037c44de Clearly CCLOG content 2020-08-31 17:13:04 +08:00
halx99 5cfc6fe7ed Remove test code [skip appveyor] [skip travis] 2020-08-31 16:31:37 +08:00
halx99 6e4e83581c Add comment for etc1/etc2 compression tools [skip appveyor][skip travis] 2020-08-31 16:16:13 +08:00
halx99 4ff820be78 Update readme files [skip appveyor] [skip travis] 2020-08-31 15:56:50 +08:00