halx99
a735abaf65
Take care _programState use
2020-07-21 23:11:03 +08:00
halx99
40cb068201
finish issue: #85
2020-05-06 15:42:25 +08:00
halx99
b24d244f6e
Remove unused Android.mk files
2020-03-04 22:59:33 +08:00
halx99
ddb30e881c
Clean JSB sources, optmize script event dispatch.
2020-02-28 02:15:33 +08:00
coulsonwang
025244b7dd
fix memory leak ( #20423 )
2020-01-18 20:40:05 +08:00
coulsonwang
912ba30e49
remove duplicated PrgramState instance in the derived class of Node ( #20350 )
2019-11-20 11:04:42 +08:00
minggo
01ff6ddd66
delete useless files and clean codes ( #20279 )
2019-11-06 14:24:06 +08:00
coulsonwang
a09806f580
Fix todo ( #20248 )
2019-10-25 16:41:03 +08:00
coulsonwang
67ae2e756e
fix ProgramState and Program performance ( #20189 )
...
* fix ProgramState and Program performance
* fix review
* fix
* add autorelease
2019-10-15 09:40:59 +08:00
coulsonwang
c7020fbb5f
fix C4244 warning ( #20173 )
2019-10-09 17:50:32 +08:00
coulsonwang
c4e6ede197
move VertexLayout to ProgramState ( #20029 )
...
* move VertexLayout to ProgramState
* fix lua
2019-08-15 16:51:49 +08:00
minggo
8913c30fc0
fix compile warnings ( #20028 )
2019-08-13 18:19:32 +08:00
minggo
0d121d7913
remove void in function declaration ( #19954 )
2019-07-22 09:38:46 +08:00
minggo
7cea351cec
sync 19756: refactor CCBundle3DData ( #19942 )
2019-07-22 09:36:24 +08:00
coulsonwang
7b7cf55efb
remove vertex step mode ( #19921 )
2019-07-17 13:59:37 +08:00
minggo
96534de260
fix warnings ( #19891 )
2019-07-03 10:43:10 +08:00
coulsonwang
9dc04bf228
remove opengl codes ( #19797 )
2019-06-05 02:58:33 -07:00
coulsonwang
10b2799051
Feature/fix mipmap issues ( #19753 )
...
* fix mipmap
* fix mipmap issues
* remove unneeded code
* fix
* remove Texture2D::PixelFormat, add backend::PixelFormat
* fix lua compile error
* reset *.tps files
* fix compile error
* fix compile error
2019-06-02 18:39:51 -07:00
coulsonwang
9b0d36c6a9
[Node::Light] fix no light effects on iPhone6 and iPhone6s ( #19751 )
...
* [Node::Light] fix no light effects on iPhone6 and iPhone6s
* add TODO
2019-05-27 22:59:37 -07:00
coulsonwang
2d02e23fbd
Feature/update device info ( #19712 )
...
* update DeviceInfo
* remove unneeded code
* fix indentation
* add FeatureSet enum for metal
* revert code
2019-05-15 18:26:00 -07:00
Arnold
62dc64a8d1
[cpp-tests] camera3dtests adjust button position ( #19673 )
...
* reduce log 1
* fix camera3d test/2 button position
2019-05-07 18:07:37 -07:00
minggo
70fed45ed8
Merge pull request #19650 from Mee-gu/feature/ReloadBuffer
...
add methods for reloading buffer data outside the buffer when necessary
2019-05-06 00:39:04 -07:00
Arnold
98d5f37a30
fix lua-tests errors ( #19646 )
...
* enable test case
* save
* generate enum classes
* save
* autobindg backend interface
* safe
* fix typos
* fix setUniform
* enable draw primitives and fast tmx tiled map
* save all
* update
* fix compile error on mac
* fix locations
* fix locations
* deduce vertexlayout
* clean
* compile on mac
* fix resource path
* save
* update bindings-generator
* remove unused code
* rename ccbackend to ccb
* remove todo
2019-05-05 00:26:34 -07:00
coulsonwang
7ca39dd08e
remove unneeded function and rename function to more readable
2019-04-30 15:19:53 +08:00
coulsonwang
375f52fc87
rename
2019-04-30 13:39:38 +08:00
coulsonwang
8414db94ec
make sure to store data once
2019-04-30 11:11:03 +08:00
coulsonwang
5771b4236d
add methods for reloading buffer data outside the buffer when necessary
2019-04-30 10:31:22 +08:00
John
c259918d03
Optimize cases where loop variable is unecessarily copied in a range-for loop. ( #19637 ) ( #19640 )
...
Pass by const reference when appropriate.
2019-04-27 18:20:22 -07:00
John
d89f1d04b4
remove redundant user-defined copy constructor and destructor, ( #19638 )
...
as compiler auto-generated ones are working fine.
2019-04-25 17:59:25 -07:00
minggo
fd792813d2
Optimize calls to std::string::find() and friends ( #19624 )
2019-04-21 18:44:19 -07:00
Arnold
6c4c80d977
set terrain winding to CW ( #19549 )
2019-03-27 13:59:10 +08:00
Arnold
3a1b6f28b6
fix default FrontFace & Skybox DepthFunc ( #19540 )
2019-03-24 19:08:04 -07:00
Arnold
e1675ae67b
Enable navmesh ( #19530 )
...
* enable flags
* impl debug draw
* run tests
* remove comments
* fix mac compile error
* review fix
2019-03-20 14:34:35 +08:00
Arnold
6e063330e0
remove todos
2019-03-20 09:45:09 +08:00
patricejiang
de13d1b240
fix confliction
2019-03-19 10:44:44 +08:00
patricejiang
82bbeb9b87
merge metal-support
2019-03-19 10:30:15 +08:00
Arnold
c35c4e2347
fix ccpass
2019-03-15 14:41:59 +08:00
minggo
629eebd031
Merge pull request #19498 from PatriceJiang/texture_setTexParams
...
Texture2D::TexParams fields use backend enum types
2019-03-15 10:43:52 +08:00
coulsonwang
df3637538a
[Feature] add dummy texture for metal when lightMap is nullptr
2019-03-13 16:05:02 +08:00
Arnold
620027c54a
fix comments
2019-03-13 15:42:12 +08:00
Arnold
fb29eefda6
add setVertexLayout interface
2019-03-13 15:06:30 +08:00
minggo
7ebea45168
fix some todo
2019-03-13 14:11:40 +08:00
Arnold
1d0107c087
alias backend::SamplerDescriptor
2019-03-13 10:54:26 +08:00
coulsonwang
a8e54b9b53
[Feature] update attribute setting
2019-03-12 21:05:03 +08:00
patricejiang
58c40c1cc6
fix android compile error
2019-03-12 16:53:28 +08:00
Arnold
62c6eae7c3
change Texture2D::TexParams fields type
2019-03-12 16:53:28 +08:00
coulsonwang
c5c6fa3396
Feature/update sprite3 d test ( #19475 )
...
* [BugFix] fix crashed test in metal
* [Feature] add comments
* [Feature] modify ways to get max_vertex_attribute
* [Feature] make it crashed in debug mode
2019-03-08 18:48:12 +08:00
Arnold
0f1e70ac8b
[bugfix] add mesh command callbacks ( #19477 )
2019-03-08 11:06:03 +08:00
Arnold
8caade49e6
[3d] add meshcommand ( #19472 )
2019-03-07 17:30:11 +08:00
coulsonwang
e69e7e0b30
[Feature] support cubeMapping in metal ( #19469 )
2019-03-07 11:08:12 +08:00