halx99
bc6ebd920a
Improve code quality
2021-07-15 23:03:43 +08:00
halx99
ec9a50136f
Add new API Node::hitTest
2021-07-15 17:01:57 +08:00
halx99
522de34990
Add defaultValue CCValue::asXXX for number types [skip ci]
2021-07-15 12:21:38 +08:00
halx99
c766cba275
Improve logic
2021-07-10 00:32:19 +08:00
halx99
f70ad053c0
Rename everything to adxe
2021-07-09 10:42:36 +08:00
halx99
2782d993c4
Restrict detect utf-8 support
2021-07-08 00:39:22 +08:00
halx99
fae361ba02
detectNonAsciiUTF8 Don't regard null character as ascii
2021-07-07 22:35:30 +08:00
halx99
1cf4e82b80
Add API detectNonAsciiUTF8 [skip ci]
...
This api will return true if any non-ascii utf-8 detected, and also return whether all chars is ascii.
2021-07-07 21:49:57 +08:00
halx99
ffcd4770cb
Move GL macros to backend MacrosGL.h
...
a. Fix box2d-testbed crash on macos and ios
b. User should avoid use them at application
2021-07-07 13:52:56 +08:00
halx99
f2b4c3d647
Fix CCValue move assignment with std::string
2021-07-06 01:44:02 +08:00
halx99
b9e2a8b7e1
Fix #414
2021-07-04 21:18:14 +08:00
halx99
75e707c67a
Delete unused code
2021-07-02 15:17:13 +08:00
halx99
4c2ad68c58
ASTC decompress benchmark print
2021-07-02 15:11:01 +08:00
halx99
f4757ed450
Take care memory leak
2021-07-02 14:32:22 +08:00
halx99
eb11fd9a61
Always decompress astc parallel for sotware decoder [ci build]
...
a. Improve task life cycle management.
b. Fix ci
2021-07-02 14:20:54 +08:00
halx99
26c9365a04
Fix ci [ci build]
2021-07-02 13:25:00 +08:00
halx99
4a5b281506
Always decompress astc parallel for sotware decoder [ci build]
2021-07-02 13:00:04 +08:00
halx99
36870f7aaf
Update astc.cpp
2021-07-02 00:38:02 +08:00
halx99
26027020ba
Revert profile
2021-07-02 00:23:26 +08:00
halx99
628a9e7bb6
Add decompress astc parallel support [ci build]
...
a. Define macro ASTC_ENABLE_PARALLEL_DECOMPRESS to enable.
2021-07-02 00:18:02 +08:00
halx99
bcbf8e0b30
Make astc decode profile same with render backend
2021-06-28 21:04:36 +08:00
halx99
a84067eb74
Refactor dual sampler shader [ci build]
...
Since not only etc1 could use sepreate RGB, A to two texture samplers, we unify the shader name.
2021-06-27 20:58:50 +08:00
halx99
01f3c57e15
Optimize CCValue [ci build]
2021-06-25 07:30:47 +08:00
halx99
a379f936d8
Reimplement HttpClient based on yasio ( #390 )
...
* [WIP] Reimplement HttpClient based on yasio
This change will make HttpClient support concurrency request
* [WIP] Reimplement HttpClient based on yasio
a. timeoutForRead support
b. Improve code
* [WIP] Reimplement HttpClient based on yasio [ci build]
* [WIP] Fix ci [ci build]
* [WIP] Reimplement HttpClient based on yasio [ci build]
PUT,DELETE support
* [WIP] Reimplement HttpClient based on yasio [ci build]
HttpClientTest works
* Update HttpClient.cpp
* HttpClientTest: enable sslVerifaction test
* Update HttpResponse.h
* Sync luabindings [ci build]
* Add chrome UA test
* Fix ci [ci build]
* The timer for read timeout should be associated with per channel
* Remove unused function
* Update url
2021-06-24 12:33:07 +08:00
halx99
b6378332eb
Fix for luabinding generator [ci build]
2021-06-18 11:31:07 +08:00
halx99
e5af6353b6
Update CCConfiguration.cpp
2021-06-10 16:51:30 +08:00
halx99
cfd471f53a
Fix warnings
2021-06-09 12:28:33 +08:00
halx99
9321a65e8c
Use md5 from openssl [ci build]
2021-06-02 00:44:45 +08:00
halx99
d56a6f53cb
Update astc [ci build]
2021-06-01 23:43:54 +08:00
halx99
e0beb6cf27
Update ConvertUTF,poly2tri [ci build]
2021-06-01 11:47:19 +08:00
RH
d17e7b442a
FileStream::size() implemented ( #365 )
...
* Add FileStream::size()
Add ZipFile::zfsize()
* Use FileStream::size()
2021-05-31 15:08:44 +08:00
halx99
80b2d4f87f
Fix console output text encoding for win32.
2021-05-26 00:24:39 +08:00
HALX99
a42f9ac25c
Renaming refactor ( #353 ) [ci build]
2021-05-18 16:40:30 +08:00
halx99
5b13927d47
Fix ci warnings [ci build]
2021-04-26 17:28:58 +08:00
rh101
ef6bedd069
Use unique_ptr for FileUtils::openFileStream
...
Fix OGG audio playback due to incorrect tell() method
Fix unzip close() override method not deleting FileStream pointer.
2021-04-26 14:21:56 +10:00
rh101
ce1a24cb15
Ensure FileStream is used for file access where possible
2021-04-25 17:22:43 +10:00
rh101
ed177ce084
Removed incorrect delete statement
2021-04-25 14:42:42 +10:00
rh101
521e2cad4c
Verify the amount of string space we have to replace the zip extension
2021-04-25 12:15:56 +10:00
rh101
2cdd688166
Initialise member variable
2021-04-25 02:47:21 +10:00
rh101
f68521c4d0
Minor code cleanup
2021-04-25 02:45:04 +10:00
rh101
72bc0bf818
Removed redundant code
2021-04-25 02:43:03 +10:00
rh101
1238a08662
Add support for FileStream in ZipUtils and ZipFile
2021-04-25 02:39:47 +10:00
rh101
373c9262c4
Added getNativeWritableAbsolutePath() which will always return the underlying file system raw path.
...
Re-enabled memory mapped UserDefault usage, since it now has access to the raw file system path.
2021-04-23 01:00:00 +10:00
rh101
cd0c5bfcee
Merge branch 'vfs-support' of https://github.com/rh101/engine-x into vfs-support
2021-04-23 00:01:47 +10:00
rh101
2aa2d69151
Move PosixFileStream class to its own files
...
Update UserDefault to work with FileStream
Fix undefined openFileStream on platforms other than Win32
2021-04-23 00:01:32 +10:00
HALX99
138781151a
Fix depth stencil state/desc ( #321 )
...
* Fix ds state
* fix 3d object not render
* Update DepthStencilStateGL.cpp
* fix ds, not complete
* fix image ref incorrect
* Fix metal captureScreen
* Share ds desc
needs restore properly after non-default render target destroy.
* fix gl compile
* Sync ds desc
* Only set vertex & index buffer once for batch draw
* Add set/get ds desc for renderer
* Refine code style
* Fix RenderTextureTest
a. should restore stencil desc properly
* Sync gl captureNode
* Sync GL
2021-01-31 22:22:52 +08:00
halx99
208d07697f
Fix next drawable maybe nil crash[ci build] ( #310 )
2020-12-17 15:31:16 +08:00
halx99
c44d94a2b2
Update lua bindings source [ci build]
...
cxx17::string_view support
2020-12-16 17:52:17 +08:00
halx99
03b605dcee
Sync yasio [ci build]
2020-12-15 18:58:04 +08:00
aismann
72be372699
CCPhysicsSprite(Box2D/Chipmunk2D) cleanup, some other small improvements too
...
CCPhysicsSprite(Box2D/Chipmunk2D) cleanup and small improvements on PhysicsTest
2020-12-01 16:39:28 +01:00