axmol/cocos/renderer
Ricardo Quesada f7464f8de5 fix: TriangleCommands with custom uniforms can be batched (#16329)
* fix: TriangleCommands with custom uniforms can be batched

TriangleCommands with custom uniforms can be batched together.

This improves the performance when using custom uniforms without
adding any penalties when not using them

Github issue #16224

* better tests
2016-08-07 14:51:02 -07:00
..
CCBatchCommand.cpp Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00
CCBatchCommand.h Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00
CCCustomCommand.cpp Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00
CCCustomCommand.h Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00
CCFrameBuffer.cpp Squashed commit of the following: 2016-06-15 11:33:25 -07:00
CCFrameBuffer.h Squashed commit of the following: 2016-06-15 11:33:25 -07:00
CCGLProgram.cpp Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00
CCGLProgram.h Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00
CCGLProgramCache.cpp Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00
CCGLProgramCache.h Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00
CCGLProgramState.cpp Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00
CCGLProgramState.h Add ETC1 builtin alpha support. (#16118) 2016-07-25 17:31:54 +08:00
CCGLProgramStateCache.cpp Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00
CCGLProgramStateCache.h issue #12078: added renderer group and removed core and support group. 2015-06-01 13:43:56 +08:00
CCGroupCommand.cpp Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00
CCGroupCommand.h Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00
CCMaterial.cpp Removes unused code in Material::initWithFile. 2016-01-15 00:55:10 +08:00
CCMaterial.h merge cocos 2015-09-10 10:44:09 +08:00
CCMeshCommand.cpp Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00
CCMeshCommand.h Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00
CCPass.cpp Fix possible memory leak when pass initialization fails 2016-06-16 04:52:38 +09:00
CCPass.h Fix typo in documentation and comments 2015-12-09 01:48:24 +09:00
CCPrimitive.cpp Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00
CCPrimitive.h Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00
CCPrimitiveCommand.cpp Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00
CCPrimitiveCommand.h Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00
CCQuadCommand.cpp Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00
CCQuadCommand.h Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00
CCRenderCommand.cpp Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00
CCRenderCommand.h Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00
CCRenderCommandPool.h Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00
CCRenderState.cpp Use nullptr instead of 0 or NULL 2016-05-25 03:09:11 +09:00
CCRenderState.h fix typos and syntax error. A thorough check by tool VSSpellChecker. 2015-09-22 16:08:23 +08:00
CCRenderer.cpp Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00
CCRenderer.h Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00
CCTechnique.cpp fix clone 2015-09-11 15:08:59 +08:00
CCTechnique.h Adds better sample 2015-05-13 17:39:39 -07:00
CCTexture2D.cpp Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00
CCTexture2D.h Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00
CCTextureAtlas.cpp Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00
CCTextureAtlas.h Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00
CCTextureCache.cpp Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00
CCTextureCache.h Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00
CCTextureCube.cpp Adds `std::nothrow` to the `new` statements 2015-12-16 14:02:55 +08:00
CCTextureCube.h Move CCTextureCube From 3d to renderer to solve compilation issue 2015-08-24 14:01:50 +08:00
CCTrianglesCommand.cpp fix: TriangleCommands with custom uniforms can be batched (#16329) 2016-08-07 14:51:02 -07:00
CCTrianglesCommand.h fix: TriangleCommands with custom uniforms can be batched (#16329) 2016-08-07 14:51:02 -07:00
CCVertexAttribBinding.cpp Fix return value of VertexAttribBinding::init() 2016-04-10 08:05:19 +09:00
CCVertexAttribBinding.h Add 3 missing class export 2015-11-27 14:58:18 +08:00
CCVertexIndexBuffer.cpp Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00
CCVertexIndexBuffer.h Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00
CCVertexIndexData.cpp Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00
CCVertexIndexData.h Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00
CMakeLists.txt Move CCTextureCube From 3d to renderer to solve compilation issue 2015-08-24 14:01:50 +08:00
ccGLStateCache.cpp Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00
ccGLStateCache.h Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00
ccShader_3D_Color.frag Name modification 2014-08-21 11:33:00 +08:00
ccShader_3D_ColorNormal.frag fix the bug of lighting shader 2015-03-17 16:43:08 +08:00
ccShader_3D_ColorNormalTex.frag builtin material normal map support 2015-12-01 10:37:53 +08:00
ccShader_3D_ColorTex.frag Name modification 2014-08-21 11:33:00 +08:00
ccShader_3D_Particle.frag add 3d particle (Particle Universe) 2015-02-11 18:14:22 +08:00
ccShader_3D_Particle.vert add 3d particle (Particle Universe) 2015-02-11 18:14:22 +08:00
ccShader_3D_PositionNormalTex.vert fix macro definition error 2015-11-27 14:23:17 +08:00
ccShader_3D_PositionTex.vert shader optimize 2014-10-20 13:41:26 +08:00
ccShader_3D_Skybox.frag Update ccShader_3D_Skybox.frag 2015-03-27 17:07:30 +08:00
ccShader_3D_Skybox.vert remove unused variable 2015-06-25 15:05:21 +08:00
ccShader_3D_Terrain.frag fix shader on pc 2015-10-22 09:29:12 +08:00
ccShader_3D_Terrain.vert add new line at end of file 2015-04-03 09:11:09 +08:00
ccShader_CameraClear.frag add clear feature when before draw scene with a camera 2015-05-07 15:09:06 +08:00
ccShader_CameraClear.vert add clear feature when before draw scene with a camera 2015-05-07 15:09:06 +08:00
ccShader_ETC1AS_PositionTextureColor.frag Remove unnecessary 'extern' to prevent compiler warnings 2016-07-26 12:42:43 +09:00
ccShader_ETC1AS_PositionTextureGray.frag Remove unnecessary 'extern' to prevent compiler warnings 2016-07-26 12:42:43 +09:00
ccShader_Label.vert
ccShader_Label_df.frag Adds MARK: TODO: FIXME: in code 2014-08-29 12:54:24 -07:00
ccShader_Label_df_glow.frag Adds MARK: TODO: FIXME: in code 2014-08-29 12:54:24 -07:00
ccShader_Label_normal.frag
ccShader_Label_outline.frag improve rendering of inner shapes when outline is used 2015-06-08 12:56:43 +03:00
ccShader_PositionColor.frag
ccShader_PositionColor.vert
ccShader_PositionColorLengthTexture.frag
ccShader_PositionColorLengthTexture.vert
ccShader_PositionColorTextureAsPointsize.vert fix crash on windows 2015-01-20 16:50:51 +08:00
ccShader_PositionTexture.frag
ccShader_PositionTexture.vert
ccShader_PositionTextureA8Color.frag
ccShader_PositionTextureA8Color.vert
ccShader_PositionTextureColor.frag
ccShader_PositionTextureColor.vert
ccShader_PositionTextureColorAlphaTest.frag
ccShader_PositionTextureColor_noMVP.frag
ccShader_PositionTextureColor_noMVP.vert
ccShader_PositionTexture_uColor.frag
ccShader_PositionTexture_uColor.vert
ccShader_Position_uColor.frag
ccShader_Position_uColor.vert
ccShader_UI_Gray.frag fix scale9sprite gray state opacity issue. 2016-01-07 17:17:55 +08:00
ccShaders.cpp Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00
ccShaders.h Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00