Nite Luo
15adaf2877
save/restore render state
2015-01-26 16:37:11 -08:00
Huabing.Xu
285a280bb4
enable attribute cache as before
2015-01-23 18:19:25 +08:00
Huabing.Xu
421310f3a8
Merge branch 'v3' into v3_fixCrashNoVAO
...
Conflicts:
cocos/renderer/ccGLStateCache.cpp
2015-01-23 14:50:21 +08:00
Huabing.Xu
550fc44187
disbale cache for s_attributeFlags
2015-01-23 14:32:36 +08:00
kompjoefriek
ca48c5e5dd
Fixed lots of compiler warnings
...
- signed / unsigned mismatches
- using int as bool
- Removed throw() from CCFrame.h, why is explained here:
http://www.gotw.ca/publications/mill22.htm
2015-01-23 02:02:33 +01:00
Huabing.Xu
0ca47ab40f
fix crash for textureAtlas
2015-01-21 14:14:53 +08:00
Huabing.Xu
65b6500491
Merge branch 'v3' into FixCrashOnWin32
...
Conflicts:
cocos/2d/CCDrawNode.cpp
cocos/renderer/ccShaders.cpp
2015-01-20 18:09:11 +08:00
Huabing.Xu
79eee9b145
fix crash on windows
2015-01-20 16:50:51 +08:00
Dale Stammen
86567afa5f
added kShaderType_PositionColor_noMVP_GrayScale for WP8 to support UIScale9Sprite
2015-01-16 15:02:05 -08:00
Dale Stammen
2c6ec3eebe
added ccShader_PositionColorPointsize-no-gl_PointSize.vert for WP8.1
2015-01-16 11:19:00 -08:00
Nite Luo
d43a8cf9ca
Move setDepthTest to renderer
2015-01-15 16:54:27 -08:00
Nite Luo
9848a8133b
Fix Vertex Z issue
2015-01-15 16:41:07 -08:00
Nite Luo
9d7604cab7
undeprecate init for custom command
2015-01-15 15:56:44 -08:00
Nite Luo
0bddeb88c8
Disable 3D rendering support for commands that needs to execute in order
2015-01-15 14:57:51 -08:00
Nite Luo
4a440e66c9
Refactor draw command
2015-01-15 14:00:49 -08:00
minggo
5459149279
Merge pull request #9969 from huangshiwu/pointSize
...
DrawNode enable draw different size points
2015-01-14 11:38:31 +08:00
huangshiwu
9fd000895c
modify file copyright information
2015-01-14 11:20:33 +08:00
Nite Luo
4335328e3d
Add support for creating empty sprite3D
2015-01-13 16:41:24 -08:00
huangshiwu
fea492ab4f
DrawNode enable draw different size points
2015-01-13 22:30:50 +08:00
Nite Luo
45562f3203
optimize based on review commends
2015-01-12 22:52:20 -08:00
Nite Luo
1c10ae43bc
Merge branch 'v3' into renderFix
...
Conflicts:
tests/cpp-tests/Classes/Camera3DTest/Camera3DTest.cpp
tests/cpp-tests/Classes/Camera3DTest/Camera3DTest.h
2015-01-12 20:43:55 -08:00
Nite Luo
fee8bc1b28
Remove Transparent Queue, Move transform calculation of Billboard to visit
2015-01-12 18:17:47 -08:00
minggo
74e9fc6382
Merge pull request #9932 from dabingnn/v3_addParamForVertexIndexBufferUsage
...
add param for usage in class VertexBuffer and IndexBuffer
2015-01-12 19:33:18 +08:00
Huabing.Xu
2b79ff1d87
add param for usage in class VertexBuffer and IndexBuffer
2015-01-12 14:59:12 +08:00
Huabing.Xu
d5416d8a7a
refresh attributes and uniforms in glprogramstate
2015-01-12 14:43:31 +08:00
Nite Luo
7741daf091
Billboard Render correctly
2015-01-11 22:20:41 -08:00
Nite Luo
6dfc021c02
Merge renderqueue to one
2015-01-09 14:06:21 -08:00
Nite Luo
e7480a7efb
Enable tansparent queue and create camera rotation demo
2015-01-08 16:30:00 -08:00
Nite Luo
b675a2ca61
Turn off Depth Write by default, only 3D opaque object will write to Depth buffer
2015-01-07 16:35:08 -08:00
Huabing.Xu
8dde42b66a
code adjust, delay deprecated flag specification
2015-01-05 13:52:22 +08:00
Huabing.Xu
63e6557165
fix GLProgram log crash on windows
2015-01-04 21:51:22 +08:00
minggo
51c89c3a22
Merge pull request #9720 from dabingnn/v3_perf
...
V3 perf
2014-12-31 10:02:59 +08:00
minggo
274d7d2276
Merge pull request #9718 from darkdukey/depthWriteFix
...
Disable write to depth buffer for transparent objects
2014-12-31 10:00:48 +08:00
Nite Luo
a68dfa13ec
Disable Depth Write for transparent objects
2014-12-30 13:35:29 -08:00
Huabing.Xu
c60c3fb2b1
refresh uniforms and attributes when access uniform or attribute table
2014-12-30 18:32:09 +08:00
Huabing.Xu
b92802a770
optimise Renderer::fillQuads()
2014-12-30 15:07:50 +08:00
Huabing.Xu
6576c16fe1
optimise QuadCommand::init()
2014-12-30 14:21:33 +08:00
Huabing.Xu
485c72651d
exextract updateUniformsAndAttributes
2014-12-30 11:13:14 +08:00
Huabing.Xu
2348e5c247
optimize rendering code
2014-12-29 18:45:55 +08:00
tjunxin
561350c2bc
comment line 83
...
As known, _glProgramStates is a cocos2d::Map container,it will call object->retain() when insert, and call position->second->release() when erase, so the statement of line 83 is redundant.
If i don't comment line 83, the application will crash when GLProgramStateCache::removeUnusedGLProgramState() is called.
2014-12-18 13:49:54 +08:00
XiaoYang
b106b2f7ce
Merge pull request #175 from lvlonggame/v3
...
fix bug: same model in mirror state cullFace problem.
2014-12-12 09:52:01 +07:00
lvlong
d0ce99413d
fix bug: same model in mirror state cullFace problem.
2014-12-11 14:24:26 +08:00
Huabing.Xu
697e1fd75e
Merge pull request #9377 from dabingnn/v3.3Perf
...
performance improvement
2014-12-04 21:08:24 +08:00
Huabing.Xu
27ff06b1d2
performance improvement
2014-12-04 18:37:57 +08:00
minggo
7fd037c416
Merge pull request #9359 from super626/v3
...
Initialize variable when defined
2014-12-04 13:40:21 +08:00
tangziwen
da8dc13601
avoid the case that "hasAmbient" use before assign
2014-12-03 16:00:52 +08:00
minggo
4e84b4d4f6
Merge pull request #9130 from samael65535/patch-1
...
Add shader linking log
2014-11-26 13:51:15 +08:00
Dale Stammen
a5b1faa379
added winrt and wp8 support for EVENT_RENDERER_RECREATED
2014-11-21 10:00:34 -08:00
samael
f60b6bbd91
Update CCGLProgram.cpp
...
add shader linking log
2014-11-20 11:41:16 +08:00
samael
26b95d3dae
add shader linking log
...
add shader linking log
2014-11-15 12:15:56 +08:00