Commit Graph

1641 Commits

Author SHA1 Message Date
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 5a32bcfdaf
RenderTarget abstract, in-progress (#210)
RenderTarget abstract
2020-09-21 22:10:50 +08:00
halx99 d150e7cbc4 Add utils::createInstance to instead macro CREATE_FUNC 2020-08-25 13:49:45 +08:00
halx99 3c7ede5859 Make core lib can be build as dll, fix link issue for external 2020-08-18 12:36:44 +08:00
halx99 71c9b2b101 fix #146 2020-08-18 10:51:32 +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 bcc00eaffe Sets Gradle Plugin version to 3.4.0 to fix cmake can't recognize ninja 2020-08-10 15:04:12 +08:00
minggo 589e09c328 set xcode installation path to (#20402) 2020-01-18 20:40:21 +08:00
Arnold cdc0d4702c [bugfix] set CFBundleExectuable in template info.plist (#20425)
fix #20414
2020-01-18 20:40:00 +08:00
Arnold b74af1970b [bugfix] set Info.plist path (#20405)
fix bug introduced in #20205
2019-12-12 23:55:18 +08:00
CocosRobot d3a703e0ff [ci skip][AUTO]: updating luabinding & cocos_file.json automatically (#20393) 2019-12-12 23:48:51 +08:00
Arnold 8fbae4682e fix template (#20377) 2019-11-30 16:54:54 +08:00
Arnold 3b4748009f
use copy instead of linkis (#20356) 2019-11-21 15:12:37 +08:00
CocosRobot 49bca674cc [ci skip][AUTO]: updating luabinding & cocos_file.json automatically (#20338) 2019-11-15 13:38:43 +08:00
Arnold e3c636c23c Sync resource automatically on Windows and Linux (#20319) 2019-11-15 10:24:38 +08:00
Arnold 6a53b31d08 [bugfix] add pagezero_size link flags (#20321) 2019-11-13 11:07:52 +08:00
CocosRobot 4d16f313db [ci skip][AUTO]: updating luabinding & cocos_file.json automatically (#20311) 2019-11-08 16:47:35 +08:00
minggo 98ab6d23b6
set iOS default deployment version in correct place (#20307) 2019-11-08 10:30:51 +08:00
CocosRobot 09428955c6 [ci skip][AUTO]: updating luabinding & cocos_file.json automatically (#20295) 2019-11-06 14:42:17 +08:00
minggo 5acc952a17
fix iOS build issue (#20292) 2019-11-05 15:23:54 +08:00
coulsonwang 8126cfafd5 add defualt ios deloyment target (#20282)
* add defualt ios deloyment target
2019-11-01 17:07:52 +08:00
minggo 2f79eb10af fix installation error on some Android devices
May meet "The application could not be installed: INSTALL_FAILED_TEST_ONLY" error on some devices.
2019-10-29 11:35:22 +08:00
CocosRobot 4b1cecdb12 [ci skip][AUTO]: updating luabinding & cocos_file.json automatically (#20241) 2019-10-24 18:09:40 +08:00
CocosRobot 8a191d5f6f [ci skip][AUTO]: updating luabinding & cocos_file.json automatically (#20230) 2019-10-23 15:06:43 +08:00
coulsonwang ee4432661c fix label text word wrong warp issue (#20226) 2019-10-23 14:13:38 +08:00
CocosRobot f210576c3a [ci skip][AUTO]: updating luabinding & cocos_file.json automatically (#20227) 2019-10-22 14:08:55 +08:00
Andy Duplain 1a04787287 Rework CMake Xcode support. (#20205)
- Build using C++17 by default.
- Simplified customization of Xcode project via cmake.
- Add documentation to demonstrate how to use the customization.

- NOTE: I believe we could compile with bitcode enabled if the box2d
        library was compiled using bitcode.
2019-10-22 13:42:56 +08:00
CocosRobot 6d8b1f5b9d [ci skip][AUTO]: updating luabinding & cocos_file.json automatically (#20061) 2019-08-26 15:51:44 +08:00
CocosRobot 6c3ae9a7c5 [ci skip][AUTO]: updating luabinding & cocos_file.json automatically (#20049) 2019-08-20 16:19:47 +08:00
minggo 5e40f5e6a5
remove tiff (#20047) 2019-08-20 15:15:40 +08:00
CocosRobot 3a862ed1b8 [ci skip][AUTO]: updating luabinding & cocos_file.json automatically (#20046) 2019-08-19 11:38:59 +08:00
CocosRobot 17ee8f0082 [ci skip][AUTO]: updating luabinding & cocos_file.json automatically (#19987) 2019-07-25 14:28:26 +08:00
Arnold f440369f1c Update gradle to 5.1.1 (#19958) 2019-07-24 09:53:02 +08:00
minggo df9fa6c8fd
fix twice copy lua scripts error (#19687) (#19936) 2019-07-22 09:34:56 +08:00
Arnold 3620633fd8 [lua] remove simulator code from template project (#19862)
* update template'

* fix compile error
2019-06-25 18:14:50 +08:00
Arnold a0e114a07f remove cc.SimpleAudioEngine (#19859) 2019-06-25 09:41:19 +08:00
Arnold cf83c91480 [cmake] Update plist template for iOS projects (#19828)
* update cmake template

* fix tabs

* use function instead of macros

* rename local variables & cocos_fake_set

* use g++ 7 in travis ci

* use clang

* use g++6
2019-06-17 18:37:56 -07:00
minggo 1273fb305d
Remove simple audio engine (#19802) 2019-06-11 18:23:16 -07:00
minggo 46ffa8e03d
remove PROP_BUILD_TYPE (#19795)
since only support cmake now
2019-06-04 18:29:58 -07:00
minggo 23a21ef298
Remove jsb related (#19729)
* remove jsb related codes
* update 3rd party
2019-05-24 00:00:51 -07:00
Arnold 3d314f29ea rename Java_org_cocos2dx_lib_Cocos2dxLuaJavaBridge.* to Cocos2dxLuaJavaBridge.* (#19695) 2019-05-13 17:59:29 -07:00
minggo e8993c9860
Remove jsb/h5 (#19621)
* remove h5 engine

* remove jsb codes

* remove js tests

* remove js templates and tojs

* remove h5 submodule
2019-04-18 23:56:12 -07:00
minggo 5c29e0066f
Add Android P cutout area support (#19595)
* Add Android P cutout area support
Related #19285

* coding style fix

* Update AppActivity.java

Fix android build

* suppress lint new api errors
2019-04-10 18:32:27 -07:00
CocosRobot#Set 59578c1c5f [ci skip][AUTO]: updating luabinding & jsbinding & cocos_file.json automatically 2019-03-19 06:29:15 +00:00
CocosRobot#Set 5daed0c5f5 [ci skip][AUTO]: updating luabinding & jsbinding & cocos_file.json automatically 2019-03-19 01:54:00 +00:00
minggo 509fd2f70d
enable windows ci (#19497)
* enable windows ci

* build with cmake

* fix default project name
2019-03-12 18:21:02 +08:00
CocosRobot a2b50f8c57 [ci skip][AUTO]: updating luabinding & jsbinding & cocos_file.json automatically (#19495) 2019-03-12 14:13:48 +08:00
minggo ed1e8c2c2f
make new project work (#19493) 2019-03-12 13:59:29 +08:00
CocosRobot feb1f7575e [ci skip][AUTO]: updating luabinding & jsbinding & cocos_file.json automatically (#19490) 2019-03-12 10:52:45 +08:00
CocosRobot 4b292b4e42 [ci skip][AUTO]: updating luabinding & jsbinding & cocos_file.json automatically (#19485) 2019-03-11 15:50:54 +08:00