Commit Graph

218 Commits

Author SHA1 Message Date
HALX99 90ecc475f0
Refactor modules (#238) 2020-10-17 16:32:16 +08:00
HALX99 d907a1a7a5
Build mac with alsoft support (#226)
* Build mac with alsoft support

* Add missing dep for mac

* Update CocosConfigDepend.cmake
2020-10-06 20:55:38 +08:00
HALX99 235f09f635
Refactor pixel format manipulate (#217)
* PixelFormat use table

* Correct PixelFormat name to match 'GL_LUMINANCE'

* Up

* fix cube update texture enum

* linux build

* Refine ci

* fix linux build

* Remove unused function, match mtl framebuffer pixel format

* readPixels always RGBA format

* fix ci for linux

* fix linux build

* Remove unused functions

* fix travis

* fix android ci

* Update config.json

* linux glad

* Update CCGLViewImpl-desktop.cpp

* fix linux build

* Fix linux build

* Link issue [skip appveyor][skip travis]

* Update CMakeLists.txt

* Refine GL enums use

* Update test case name [skip appveyor][skip travis]

* fix linux link issue

* for mtl

* fix ci

* Tidy pixelformat enums

* fix ci

* fix rgba8 to abgr4 error

* fix ci

* fix ci for GLES

* Fix linux build, require glibc-2.27+

* Use properly dist for travis [skip appveyor]

* fix linux build [skip appveyor]

* Update install-deps-linux.sh

* Remove unused members for pixel block info, update external to v73

* Sync from compile linux warnings

* Remove unused check, and PixelFormat::A8 is ordinary format, not compressed format

* metal doesn't support rgb8 (#3)

* Update CCTexture2D.cpp

* Refine code

* Pixel Format Descriptor Table

* fix ci

* BGR5A1

* Simplfy texture format convert function name

* Update

* rgba4 match mtl render format

* Add note about RGBA4

* Remove unused function

* fix osx

* Already converted at texture2d

* Clearly comment

* fixup
2020-09-25 11:07:56 +08:00
HALX99 09937c97a7
Refactor render pipeline state (#211)
* Refactor pipeline state
* Cache DepthStencil state for MTL renderer backend
2020-09-22 16:32:17 +08:00
halx99 2d2d0e7ee6 Take care PBO use on android 2020-09-15 16:01:44 +08:00
halx99 185d0f9ec0 Sync config file 2020-09-12 15:02:47 +08:00
halx99 2b991b20b2 a. Refine captureScreen, glReadPixels shoud from glviewport's origin.
b. Sets desktop GL min version from 2.0 to 2.1
2020-09-12 14:50:48 +08:00
HALX99 e909cf9c4a
Update config.json 2020-09-05 23:57:38 +08:00
HALX99 afc2490d56
fix ci ios link issue 2020-08-17 20:17:06 +08:00
halx99 67ef8bb624 Improve shared library for android, remove mojoal,sdl2, still use OpenAL.framework on apple platform, alsoft on other platforms. 2020-08-17 18:45:14 +08:00
halx99 a8a9040322 Use CC0-1.0 licensed decoder 'minimp3' to replace LGPL licensed decoder 'mpg123' 2020-08-17 14:56:53 +08:00
halx99 5ebb78853b Update 3rd version 2020-08-15 17:59:53 +08:00
halx99 bcc00eaffe Sets Gradle Plugin version to 3.4.0 to fix cmake can't recognize ninja 2020-08-10 15:04:12 +08:00
halx99 0f1dcc86dc Disable double use in chipmunk_types.h instead CMakeLists.txt more stable for ENGX 2020-08-09 22:41:06 +08:00
halx99 f38f76c1a1 Sync spine code and resource to 3.8 2020-08-05 17:04:57 +08:00
halx99 b0307e188f Update deps to v56 2020-08-03 17:54:07 +08:00
halx99 0055deafe4 fix #128 2020-07-31 23:32:55 +08:00
halx99 786eaafe56 Tidy audio source, unify headers: AudioEngineImpl.h AudioPlayer.h 2020-07-31 14:32:08 +08:00
halx99 b2f2f28cf0 fix cmake warnings & cover chipmunk float precision use on apple 2020-07-31 11:56:52 +08:00
halx99 594767290d Add CMAKE option CC_USE_ALSOFT_ON_APPLE to use kcat openal-soft on apple platform, by default currently OFF 2020-07-31 00:06:59 +08:00
halx99 34d7f3d5c8 fix #120 2020-07-30 00:01:31 +08:00
halx99 da7e235b25 Optimize link, remove -Wl,--whole-archive for linking 3rd libs. 2020-07-29 18:55:45 +08:00
halx99 6643bbbaa6 Update deps-49 to fix android compile issue 2020-07-29 17:59:10 +08:00
HALX99 af6cae61eb
fix mismatch of float precision of chipmunk 7.0.3 2020-07-29 00:21:31 +08:00
HALX99 1df3f3489b
Update config.json 2020-07-23 12:54:28 +08:00
halx99 ab4137aacc Try cpp14 2020-07-23 00:10:50 +08:00
halx99 a3a65b0320 fix appveyor ci [skip travis] 2020-07-10 16:41:59 +08:00
halx99 c9e1df125a Improve utf-8 path on win32, explicit call wide version of system API. 2020-07-10 15:14:16 +08:00
halx99 786ad14b68 fix ios compile error 2020-06-14 13:58:29 +08:00
halx99 47966b8dfe update 3rds to v40 2020-06-14 12:53:32 +08:00
HALX99 d549ba4fa8
Update deps to v38 2020-05-22 15:08:58 +08:00
halx99 0c297cfd9b Update deps to v37 2020-05-19 18:29:25 +08:00
halx99 40cb068201 finish issue: #85 2020-05-06 15:42:25 +08:00
halx99 313d4dc2a1 Update deps to v33 2020-03-03 23:17:38 +08:00
halx99 4414e64dd6 Use original c lib minizip-1.2.0 2020-02-28 13:55:25 +08:00
HALX99 675dc19354
fix url 2020-02-23 21:58:53 +08:00
halx99 3d19698c6c Update deps to v31 2020-02-16 17:07:13 +08:00
halx99 1f9f27d63f Use modern gl/gles loader 'glad' to instead 'glew' 2020-02-15 23:51:23 +08:00
halx99 2bf350beb0 Update deps to v29 2020-02-14 19:14:39 +08:00
weiwest 5d7f58c3ad update deps to v28 2020-02-12 19:30:09 +08:00
weiwest 27343411de update deps to v27 2020-02-12 17:04:03 +08:00
HALX99 da52ffa669
update deps to v26 2020-02-04 21:15:18 +08:00
HALX99 c69c8edda2
Update config.json 2020-02-04 12:40:20 +08:00
HALX99 215312c94e
Update config.json 2020-02-02 20:32:00 +08:00
HALX99 7e4ce9593f
Update config.json 2020-01-09 00:30:07 +08:00
HALX99 ea70d4add6
Update config.json 2020-01-08 03:38:08 +08:00
HALX99 7136de50c3
Update config.json 2020-01-05 16:38:47 +08:00
HALX99 9544d112c4
Update config.json 2020-01-05 04:25:31 +08:00
HALX99 0300fd3bcd
Update config.json 2020-01-05 03:18:14 +08:00
HALX99 8dbe6cf519
Update config.json 2019-12-29 16:16:12 +08:00