Commit Graph

22 Commits

Author SHA1 Message Date
halx99 b999d86597 Improve win dll support 2020-10-06 16:46:38 +08:00
halx99 cca0739793 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 bda3a720b4 Use CC0-1.0 licensed decoder 'minimp3' to replace LGPL licensed decoder 'mpg123' 2020-08-17 14:56:53 +08:00
halx99 2e4499b6d0 Add ios framework required by SDL2, check whether SDL2 support strip it later 2020-08-15 17:47:40 +08:00
halx99 a09253c7a2 fix-157 2020-08-13 22:35:41 +08:00
halx99 da2ec96fd8 fix ci android build issue. 2020-08-12 18:53:33 +08:00
halx99 d9ef1e238f Simplify audio source again, merge audio sources 2020-08-12 17:00:07 +08:00
halx99 bcd1c17aa5 Tidy audio source, unify headers: AudioEngineImpl.h AudioPlayer.h 2020-07-31 14:32:08 +08:00
halx99 bef47490e0 Refine message output [skip travis] [skip appveyor] 2020-07-31 11:35:52 +08:00
halx99 14e090f9bf fix option order 2020-07-31 11:22:42 +08:00
halx99 9345f18159 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 1c34056ec4 Sync audio header files 2019-11-30 14:21:36 +08:00
halx99 021a2e5733 Merge: 8ad51f748d 5a2e9e4930
Merge pull request #14 from simdsoft/upto-deps-7

update to deps-7
2019-11-29 15:19:39 -08:00
halx99 9b298cde3c optimize 2019-11-30 06:55:32 +08:00
halx99 51383683ce Merge: 9807664441 4e671a97b9
Merge branch 'master' of https://github.com/simdsoft/engine-v5
2019-11-30 06:48:25 +08:00
halx99 7af7b6494c Update config.json 2019-11-30 06:19:15 +08:00
halx99 45dbdc8c7d fix indent 2019-11-30 06:17:33 +08:00
halx99 17ffccfdf4 ogg for ios 2019-11-30 06:11:17 +08:00
halx99 4457c26a7e fix ios compile issue, merge header AudioCache.h 2019-11-26 02:33:54 +08:00
halx99 fa1b56e251 fix CMakeLists.txt for apple 2019-11-25 20:55:41 +08:00
halx99 f176bb0803 Refactor AudioEngine implementation, use OpenAL for all platforms. 2019-11-24 14:54:45 +08:00
halx99 8df3d5e274 Init Commit 2019-11-23 20:27:39 +08:00