halx99
8f83250ba4
Committing clang-format changes
2021-12-25 02:04:45 +00:00
halx99
4db339115e
Fix #550 , #484
...
Invoke AudioEngine::end before Director destroyed, because it hold scheduler belong Director.
2021-12-15 16:56:08 +08:00
halx99
1ee106007a
Remove all unnecessary nothrow
2021-12-08 00:11:53 +08:00
halx99
3b69d0cb27
Sets default render state when restart director
2021-11-15 17:49:46 +08:00
halx99
2bd82c11bd
Fix ci
2021-10-25 20:29:40 +08:00
halx99
554412f4fd
Use struct `Vec2` instead `Size`
2021-10-23 23:27:14 +08:00
halx99
56293e9713
Put fps labels to safe origin
2021-10-09 14:45:49 +08:00
halx99
c15442eaad
Fix some warnings
2021-10-09 13:48:56 +08:00
姒嗘煶鏉?
35b658c90e
Merge: f5663f279c
d73d937894
...
Merge remote-tracking branch 'upstream/dev' into dev
2021-09-05 20:45:32 +08:00
姒嗘煶鏉?
0aff165959
[fix]ScrollView and ListView goes back to the front incorrectly after calling doLayout.
2021-09-05 20:44:14 +08:00
rh101
4e7db23d38
Remove getLong() method
...
Change %du to %u, and %lx to %x
Use "stdint.h" instead of <cstdint> for TGAlib.h
2021-09-02 20:30:20 +10:00
姒嗘煶鏉?
64e2cdd8d9
[fix]The problem of inaccurate maximum width limit when using system fonts.
2021-09-02 17:15:03 +08:00
rh101
d8fd94db8a
Usage of long and unsigned long changed to platform independent fixed-sized types where appropriate.
2021-09-02 15:39:28 +10:00
halx99
827d384eef
Renaming refactor ( #353 ) [ci build]
2021-05-18 16:40:30 +08:00
halx99
8e6faac1f1
Merge: 3348f10813
3a7bb58045
...
Merge pull request #350 from rh101/fix-cmake-set-property
Fix for CMake error when set_property is called with aliased target
2021-05-05 19:49:30 +08:00
rh101
c3618f8ea6
Extract real target from ALIAS if it exists in order to set property successfully
...
Remove duplicate entries in dependencies lists
2021-05-05 16:04:06 +10:00
halx99
0511520281
Merge: 7f1ca55a97
1efe0091a8
...
Merge pull request #347 from rh101/imgui-fix
ImGUI font crash fix when using virtual file system
2021-04-27 23:29:22 -07:00
rh101
e5fa398c67
Load fonts into IMGUI using memory routines rather than allowing it to use its own file handling in order to support FileStream related implementations.
2021-04-28 15:53:37 +10:00
halx99
68a40694a8
Fix ci warnings [ci build]
2021-04-26 17:28:58 +08:00
halx99
6904b9f3f3
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
984c164c57
Sync yasio to 3.35.0 [ci build]
2020-12-21 18:12:13 +08:00
aismann
f38b271650
Update controller.cpp
...
"Node: Physics" using Chipmunk2D (hardcoded on e.g.: CCPhysicsBody.cpp)
Maybe a Wiki entry is also usefull?
2020-12-20 07:11:13 +01:00
halx99
3ebb1f57c0
Fix next drawable maybe nil crash[ci build] ( #310 )
2020-12-17 15:31:16 +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
6e7e117a0d
RenderTarget abstract, in-progress ( #210 )
...
RenderTarget abstract
2020-09-21 22:10:50 +08:00
halx99
0df57da33f
fix compile issue[skip appveyor]
2020-09-09 15:47:41 +08:00
halx99
df8631582b
Tidy, update programState texture at attachProgramState
2020-09-09 15:29:56 +08:00
halx99
e564a5bc25
Add CC_REDUCE_PAUSED_CPU_USAGE ccConfig.h to control whether reduce cpu usage after paused
2020-09-05 17:12:30 +08:00
halx99
09cedf60b2
Improve images decoder
2020-08-31 21:04:47 +08:00
halx99
e96ae229dd
Merge: 5ddc84bbee
539e5ca42c
...
Merge pull request #189 from aismann/patch-8
Update README.md
2020-08-31 04:27:33 -07:00
halx99
a87c0bba78
More clearly data owner when decode images.
2020-08-31 19:24:23 +08:00
halx99
81b038c18d
Code improvement
2020-08-28 15:01:25 +08:00
halx99
a3a231495c
Backport CCValue APIs
2020-08-18 11:33:18 +08:00
halx99
52058861a0
Refactor CCValue.
2020-03-03 19:24:07 +08:00
halx99
9d797b6998
Clean JSB sources, optmize script event dispatch.
2020-02-28 02:15:33 +08:00
halx99
8df3d5e274
Init Commit
2019-11-23 20:27:39 +08:00