HALX99
0a1af78a0e
Build pugixml from sources for all platforms ( #241 )
2020-10-21 12:28:34 +08:00
halx99
3b6545b4b4
Fix CCFileStream write bits
...
make it behavior same with fopen "wb"
2020-10-21 10:58:48 +08:00
HALX99
90ecc475f0
Refactor modules ( #238 )
2020-10-17 16:32:16 +08:00
halx99
e28a292ec3
API qualifiers improments
2020-10-07 00:07:53 +08:00
halx99
ec6b9c650a
Remove dep
2020-09-25 13:49:23 +08:00
halx99
cba91e085a
Delete file ant.properties
2020-09-25 13:17:03 +08:00
halx99
f9c70bc1e9
Sync feature from b2a0cb5e2f
2020-09-25 13:13:54 +08:00
halx99
64e5cde97d
Delete unused source files
2020-09-25 13:08:39 +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
5a32bcfdaf
RenderTarget abstract, in-progress ( #210 )
...
RenderTarget abstract
2020-09-21 22:10:50 +08:00
HALX99
f6d51583a8
fix macro
2020-09-21 11:38:21 +08:00
halx99
5d5c948218
fix ci
2020-09-11 14:45:45 +08:00
halx99
874946fccb
Tidy code
2020-09-11 00:10:44 +08:00
halx99
556e0d05d3
Move getFileDataFromZip from FileUtils to ZipFile and mark it as deprecated
2020-09-06 17:00:20 +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
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
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
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
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
aa9e5130e4
More clearly data owner when decode images.
2020-08-31 19:24:23 +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
201b91e242
Use etc2_decode_image decode etc1 to RGBA8888 [skip appveyor] [skip travis]
...
This can avoid further texture data convert
2020-08-31 15:34:20 +08:00
halx99
3426d03745
ETC2 software decode support
2020-08-31 14:11:48 +08:00
halx99
e7811e707a
1. Finish ETC2 support on GL renderer backend
...
2. Improve ASTC compressed format check
2020-08-30 17:58:39 +08:00
halx99
1975ad1f94
Add CMake -DCC_FORCE_USE_GLES to control whether force use gles on win32,iOS
2020-08-28 12:57:00 +08:00
halx99
9ae19df7e0
Improve listFiles for win32, use std::move avoid string deep copy
2020-08-28 11:05:32 +08:00
halx99
0fd2364429
fix #179
2020-08-28 11:04:14 +08:00
halx99
bf3a608c01
freetype stream parsing support, reduce memory use on FontCache
2020-08-27 11:35:55 +08:00
halx99
c3b823586b
Refine code style
2020-08-27 10:19:21 +08:00
halx99
fe4d26cea1
Rename PXFileStream to CCFileStream
2020-08-27 00:21:44 +08:00
halx99
a567820461
Improve code quality
2020-08-18 14:29:09 +08:00
halx99
37ddd1cbfa
Consider mutex use, which object dou you want guard?
2020-08-18 12:48:16 +08:00
halx99
98bdeef044
Sync fix from https://github.com/cocos2d/cocos2d-x/pull/20518
2020-08-18 12:09:56 +08:00
halx99
9d9067dec4
Backport CCValue APIs
2020-08-18 11:33:18 +08:00
halx99
185934c45e
Make android listFiles behavior same with other platforms
2020-08-17 12:09:31 +08:00
aismann
b7b2687758
OpenGL 'works' better...
2020-08-07 08:10:12 +02:00
halx99
428ff263b3
Add missing optimize from v3
2020-08-05 13:10:37 +08:00
halx99
421cf7b1ad
win32 cover wide API use, remove unused long getFieSize(const std::string&)
2020-08-05 12:24:31 +08:00
halx99
66a198ab2b
utf-8 file path
2020-08-05 12:17:57 +08:00
HALX99
8e72fe24b4
Merge pull request #135 from halx99/unify-plist-ops
...
Unify plist implementation, remove apple specific sources.
2020-08-02 20:22:36 -07:00
halx99
3e95b8ccf3
Unify plist implementation, remove apple specific sources.
2020-08-03 10:48:26 +08:00
halx99
6fd4d6e4ab
Adapte multi monitors
2020-08-03 10:33:04 +08:00
halx99
f396ba9983
Unnecessary space lilne [skip appveyor] [skip travis]
2020-08-02 17:00:35 +08:00
halx99
99432aa171
Optimize param use.
2020-08-02 16:48:19 +08:00
halx99
a624babd09
vidMode need moniter
2020-08-02 16:36:58 +08:00
halx99
020b0ff79c
Update comment [skip appveyor] [skip travis]
2020-08-02 16:24:30 +08:00
halx99
6a133fa1e5
check isFullscreen
2020-08-02 16:22:41 +08:00
halx99
dd226789b3
Provide more useful for setFullscreen with width,height,refreshRate.
2020-08-02 16:18:39 +08:00
halx99
106d8e2ecf
Refactor full screen support, fix different behavior when enter full screen between 1 and >=2 times
2020-08-02 11:54:46 +08:00
halx99
aa59cf6876
Add wav testcase
2020-08-01 19:25:39 +08:00
halx99
fd8f6a01d5
fix #129
2020-08-01 11:23:13 +08:00
halx99
82314c2972
Add alconfig.h to choose whether use openal-soft
2020-07-31 17:03:58 +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
58c4fb32c1
Sync fix from v3, see also: https://github.com/cocos2d/cocos2d-x/pull/20509
2020-07-30 10:59:50 +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
e5815f9cd8
Adapte glfw-3.4
2020-07-03 11:08:39 +08:00
halx99
bfd1709ab7
Optimzie writeStringToFile
2020-06-14 15:54:55 +08:00
halx99
208bc9fe6f
ios don't support thread local storage
2020-06-14 15:52:15 +08:00
halx99
786ad14b68
fix ios compile error
2020-06-14 13:58:29 +08:00
halx99
93a3452261
finish angle dependencies auto copy for win32, make flatbuffers dep header only
2020-06-14 12:50:20 +08:00
halx99
3d3fea28c6
Support use google angle support on windows.
2020-06-12 12:42:58 +08:00
HALX99
04ac727c8e
fix ios compile error
2020-03-03 20:05:56 +08:00
halx99
e379fc513d
Refactor CCValue.
2020-03-03 19:24:07 +08:00
halx99
f5eac1eede
Sync v3 pr-19256, see: https://github.com/cocos2d/cocos2d-x/pull/19256
2020-02-24 16:22:40 +08:00
halx99
b76cd80043
Sync for glad
2020-02-16 16:44:14 +08:00
halx99
1f9f27d63f
Use modern gl/gles loader 'glad' to instead 'glew'
2020-02-15 23:51:23 +08:00
weiwest
9496d34470
add astc soft decode support
2020-02-11 23:54:17 +08:00
weiwest
dbc089d51d
add astc support 8x8 block size
2020-02-06 21:54:45 +08:00
weiwest
a6edda385b
add astc support 2d 4x4 RGBA
2020-02-05 22:45:19 +08:00
HALX99
1b2e112383
fix etc1 supported for android platform.
2019-12-02 23:01:06 +08:00
halx99
2f4109dd2d
Refactor audio, fix android compile issue since we remove SimpleAudio
2019-12-01 13:45:49 +08:00
HALX99
3d1cfdb7a0
Update javaactivity-android.cpp
2019-12-01 03:15:14 +08:00
halx99
95aa5b12c4
usedefault, fix compile issue for android
2019-12-01 02:32:37 +08:00
halx99
040aebc7a3
fix compile issue
2019-12-01 01:38:30 +08:00
halx99
1ed0a85613
Add ZipFileStream support
2019-12-01 01:16:46 +08:00
HALX99
e1b27ab8bc
Update CCFileUtils-android.cpp
2019-11-30 23:57:35 +08:00
HALX99
c1a0e57c41
Update CCFileUtils.cpp
2019-11-28 09:59:18 +08:00
halx99
02c18d656a
use S_ISREG to check is a regular file?
2019-11-27 15:41:30 +08:00
halx99
4a040efbf6
a. use win32 api to get fie size; b. use int64_t for file size, c. use stat to check whether file exist for android platform.
2019-11-27 15:09:45 +08:00
halx99
d716d9511e
Remove unused function.
2019-11-27 14:44:30 +08:00
halx99
2a6cda73d7
don't convert path to utf-8 on win32 platform
2019-11-27 14:34:40 +08:00
halx99
6078a4c922
Make writeValueMapToFile works well with pugixml.
2019-11-25 20:26:29 +08:00
halx99
3ef5ab500c
Use '/' instead "/" for find & string append.
2019-11-25 17:10:25 +08:00
HALX99
764109d93e
Update CCSAXParser.cpp
2019-11-25 14:46:56 +08:00
halx99
797e85ba30
Remove getSuitableFopen, we never reduce performance for win32 only
2019-11-25 02:54:00 +08:00
halx99
30ffbe1514
Improve CCImage, BMP support.
2019-11-25 02:28:38 +08:00
halx99
2c55d175d3
Merge branch 'master' of https://github.com/simdsoft/engine-v5
2019-11-24 23:16:11 +08:00
halx99
98a3bd35f0
Remove tinyxml, integrate dragonbones.
2019-11-24 23:15:56 +08:00
halx99
cac329738d
Use xsxml for sax parser, rapidxml could be removed
2019-11-24 21:01:15 +08:00
halx99
97e81e8180
Refactor CCDownloader, use curl for all platforms.
2019-11-24 15:43:28 +08:00
halx99
a759332591
Refactor AudioEngine implementation, use OpenAL for all platforms.
2019-11-24 14:54:45 +08:00
halx99
c180c29d32
for MTL layer
2019-11-22 22:10:55 -08:00
halx99
22d5008d28
PremultipliedAlpha
2019-11-22 01:39:03 +08:00
halx99
e647820c9c
Merge from official-v4.
2019-11-20 18:27:56 +08:00