Commit Graph

194 Commits

Author SHA1 Message Date
halx99 cff35a61b8 Set CMAKE_XCODE_ATTRIBUTE_IPHONEOS_DEPLOYMENT_TARGET at toolchain file ios.mini.cmake 2020-10-22 17:50:25 +08:00
halx99 b8a0e0a478 Finsih rename 2020-10-22 10:58:10 +08:00
halx99 b9c58a8420 Refactor modules (#238) 2020-10-17 16:32:16 +08:00
halx99 0901f1d9eb 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 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 05d31aa618 Take care PBO use on android 2020-09-15 16:01:44 +08:00
halx99 71db0f3960 CMake: Add missing CC_FORCE_USE_GLES for win 2020-09-15 14:22:19 +08:00
halx99 9e10895b5d Don't config c standard on windows 2020-08-30 13:48:12 +08:00
halx99 da213c9d37 Remove cmake message print 2020-08-29 01:40:55 +08:00
halx99 7acb4e95bf fix #183 2020-08-29 01:39:27 +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 14731e7a5a Merge: f36866a99b 313a2ac09b
Merge branch 'master' of https://github.com/c4games/engine-x into master
2020-08-27 17:37:49 +08:00
halx99 7ce3f4ab34 Make logical more clearly 2020-08-27 17:35:30 +08:00
halx99 012e1b0784 Delete ios.toolchain.cmake
Unused
2020-08-27 14:12:11 +08:00
halx99 86c70e429b Improve ios CMake scripts 2020-08-24 01:26:12 -07:00
halx99 3b770e4519 Improve engine CMakeLists.txt for ios
benefit: Now engine can build without ios.toolchain.cmake,
because we solvoe follow issues:
a. fix cmake try_compile failed with arm device without
b. fix try_compile/compile will failed with device on armv7
c. fix thread local storage require:
1. deployment target >= 9.0 (arm64)
2. deployment target == 10.x (armv7)
2020-08-24 15:31:45 +08:00
aismann 688d12662f Update README.md
Typo fix
2020-08-24 09:09:02 +02:00
halx99 92647d1a2f Enable strict try compile by default
Since we solve try_compile failed with code sign for ios device
2020-08-22 14:15:22 +08:00
halx99 4c0956d23a Add CXX_STD for cmake to specific c++ standard, c++14,17 should be compile 2020-08-18 11:41:42 +08:00
halx99 10d51d0c22 Update CMake scripts 2020-08-17 19:18:18 +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 072deafeae Adapte zlib licensed AL library: mojoal 2020-08-14 18:58:44 +08:00
halx99 af8fa43c8c Disable double use in chipmunk_types.h instead CMakeLists.txt more stable for ENGX 2020-08-09 22:41:06 +08:00
halx99 4f081e7aa9 python3 also works for CMake build system 2020-08-05 18:31:24 +08:00
halx99 ec80ebd344 Optimize CMake scripts 2020-08-04 14:05:00 +08:00
halx99 8b9a6bbbf1 fix android build issues 2020-08-03 20:31:47 +08:00
halx99 1e392c9dfe Refine readme [skip appveyor][skip travis] 2020-08-03 19:12:07 +08:00
halx99 3049b8f751 Huge changes, move spine,dragonbones,cocostudio to extensions folder, future make all extensions pluginable 2020-08-03 17:51:40 +08:00
halx99 ed91e27c84 fix cmake warnings & cover chipmunk float precision use on apple 2020-07-31 11:56: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 32dc04e27a fix chipmunk float precision mismatch on cmake script 2020-07-29 18:19:23 +08:00
halx99 bfd73bf69a Try cpp14 2020-07-23 00:10:50 +08:00
halx99 e211ac92ea Update cmake toolchain 2020-07-21 23:06:54 +08:00
halx99 690e89b00e Remove a submodules. 2020-07-20 18:41:45 +08:00
halx99 d0a5839439 Use modern gl/gles loader 'glad' to instead 'glew' 2020-02-15 23:51:23 +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 fcbc5afbb3 Merge: b39b6e9acb cffc332499
Merge pull request #44 from halx99/master

Fix travis ci ios build issue
2020-02-07 19:56:34 +08:00
halx99 b2f30327d7 Update ios cmake guide 2020-02-07 19:28:41 +08:00
halx99 209fbae7bf Add ios.toolchain.cmake 2020-02-07 18:59:44 +08:00
halx99 1b34f6a009 Delete FindTinyXML2.cmake 2019-12-02 05:55:34 +08:00
halx99 8df3d5e274 Init Commit 2019-11-23 20:27:39 +08:00