axmol/cocos/renderer
Ce Zheng 4b3525f7a8 use STL emplace when possible (#16815)
* replaced some unordered_map::insert(std::make_pair(foo, bar)) with unordered_map::emplace(foo, bar)
* replaced some vector::push_back(std::make_pair(foo, bar)) with vector::emplace_back(foo, bar)

The old way will construct a std::pair first then call move constructor
when putting it into the container, while using emplace will construct
the pair in-place in the container. Also, the emplace way is shorter &
more concise.
2016-11-08 11:50:00 +08: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 Remove unnecessary inline keywords (#16562) 2016-09-12 09:44:21 +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 use STL emplace when possible (#16815) 2016-11-08 11:50:00 +08:00
CCGLProgram.h Support MultiView matrix array (#16723) 2016-10-28 09:33:31 +08:00
CCGLProgramCache.cpp use STL emplace when possible (#16815) 2016-11-08 11:50:00 +08:00
CCGLProgramCache.h Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00
CCGLProgramState.cpp Remove redundant semicolons (#16558) 2016-09-12 09:45:34 +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 Remove unnecessary inline keywords (#16562) 2016-09-12 09:44:21 +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 Remove unnecessary inline keywords (#16562) 2016-09-12 09:44:21 +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 Remove unnecessary inline keywords (#16562) 2016-09-12 09:44:21 +08:00
CCRenderCommandPool.h Performance tweak: Use range-based for-loops and allocate std::vector size() and *end() on the stack where favorable. (#16716) 2016-10-27 15:10:24 +08:00
CCRenderState.cpp fix: release texture in RenderState (#16396) 2016-08-19 00:22:57 -07:00
CCRenderState.h fix typos and syntax error. A thorough check by tool VSSpellChecker. 2015-09-22 16:08:23 +08:00
CCRenderer.cpp Performance tweak: Use range-based for-loops and allocate std::vector size() and *end() on the stack where favorable. (#16716) 2016-10-27 15:10:24 +08:00
CCRenderer.h Remove unnecessary inline keywords (#16562) 2016-09-12 09:44:21 +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 Fix typos in comments and strings (#16708) 2016-10-17 10:12:54 +08:00
CCTexture2D.h Update copyright to 2016. (#16311) 2016-08-05 09:42:15 +08:00
CCTextureAtlas.cpp Refactoring ui related code and fix label atlas and BMFont rendering issue with ETC1 texture format (#16615) 2016-09-30 09:42:21 +08:00
CCTextureAtlas.h Remove unnecessary inline keywords (#16562) 2016-09-12 09:44:21 +08:00
CCTextureCache.cpp use STL emplace when possible (#16815) 2016-11-08 11:50:00 +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 Remove unnecessary inline keywords (#16562) 2016-09-12 09:44:21 +08:00
CCVertexAttribBinding.cpp resets bindBuffer after using it (#16342) 2016-08-11 08:32:09 -07: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 merge v3.13 back to v3 2016-08-29 11:57:13 +08:00
ccGLStateCache.h merge v3.13 back to v3 2016-08-29 11:57:13 +08:00
ccShader_3D_Color.frag Use C++11 multiline string literal instead (#16765) 2016-11-02 14:13:34 +08:00
ccShader_3D_ColorNormal.frag Use C++11 multiline string literal instead (#16765) 2016-11-02 14:13:34 +08:00
ccShader_3D_ColorNormalTex.frag Use C++11 multiline string literal instead (#16765) 2016-11-02 14:13:34 +08:00
ccShader_3D_ColorTex.frag Use C++11 multiline string literal instead (#16765) 2016-11-02 14:13:34 +08:00
ccShader_3D_Particle.frag Use C++11 multiline string literal instead (#16765) 2016-11-02 14:13:34 +08:00
ccShader_3D_Particle.vert More: Uses c++11 multi-line string literal (#16803) 2016-11-04 09:36:26 +08:00
ccShader_3D_PositionNormalTex.vert Use C++11 multiline string literal instead (#16765) 2016-11-02 14:13:34 +08:00
ccShader_3D_PositionTex.vert More: Uses c++11 multi-line string literal (#16803) 2016-11-04 09:36:26 +08:00
ccShader_3D_Skybox.frag Use C++11 multiline string literal instead (#16765) 2016-11-02 14:13:34 +08:00
ccShader_3D_Skybox.vert More: Uses c++11 multi-line string literal (#16803) 2016-11-04 09:36:26 +08:00
ccShader_3D_Terrain.frag Use C++11 multiline string literal instead (#16765) 2016-11-02 14:13:34 +08:00
ccShader_3D_Terrain.vert Use C++11 multiline string literal instead (#16765) 2016-11-02 14:13:34 +08:00
ccShader_CameraClear.frag Use C++11 multiline string literal instead (#16765) 2016-11-02 14:13:34 +08:00
ccShader_CameraClear.vert Use C++11 multiline string literal instead (#16765) 2016-11-02 14:13:34 +08:00
ccShader_ETC1AS_PositionTextureColor.frag Use C++11 multiline string literal instead (#16765) 2016-11-02 14:13:34 +08:00
ccShader_ETC1AS_PositionTextureGray.frag Use C++11 multiline string literal instead (#16765) 2016-11-02 14:13:34 +08:00
ccShader_Label.vert Use C++11 multiline string literal instead (#16765) 2016-11-02 14:13:34 +08:00
ccShader_Label_df.frag Use C++11 multiline string literal instead (#16765) 2016-11-02 14:13:34 +08:00
ccShader_Label_df_glow.frag Use C++11 multiline string literal instead (#16765) 2016-11-02 14:13:34 +08:00
ccShader_Label_normal.frag Use C++11 multiline string literal instead (#16765) 2016-11-02 14:13:34 +08:00
ccShader_Label_outline.frag Use C++11 multiline string literal instead (#16765) 2016-11-02 14:13:34 +08:00
ccShader_PositionColor.frag Use C++11 multiline string literal instead (#16765) 2016-11-02 14:13:34 +08:00
ccShader_PositionColor.vert Use C++11 multiline string literal instead (#16765) 2016-11-02 14:13:34 +08:00
ccShader_PositionColorLengthTexture.frag Use C++11 multiline string literal instead (#16765) 2016-11-02 14:13:34 +08:00
ccShader_PositionColorLengthTexture.vert Use C++11 multiline string literal instead (#16765) 2016-11-02 14:13:34 +08:00
ccShader_PositionColorTextureAsPointsize.vert Use C++11 multiline string literal instead (#16765) 2016-11-02 14:13:34 +08:00
ccShader_PositionTexture.frag Use C++11 multiline string literal instead (#16765) 2016-11-02 14:13:34 +08:00
ccShader_PositionTexture.vert Use C++11 multiline string literal instead (#16765) 2016-11-02 14:13:34 +08:00
ccShader_PositionTextureA8Color.frag Use C++11 multiline string literal instead (#16765) 2016-11-02 14:13:34 +08:00
ccShader_PositionTextureA8Color.vert Use C++11 multiline string literal instead (#16765) 2016-11-02 14:13:34 +08:00
ccShader_PositionTextureColor.frag Use C++11 multiline string literal instead (#16765) 2016-11-02 14:13:34 +08:00
ccShader_PositionTextureColor.vert Use C++11 multiline string literal instead (#16765) 2016-11-02 14:13:34 +08:00
ccShader_PositionTextureColorAlphaTest.frag Use C++11 multiline string literal instead (#16765) 2016-11-02 14:13:34 +08:00
ccShader_PositionTextureColor_noMVP.frag Use C++11 multiline string literal instead (#16765) 2016-11-02 14:13:34 +08:00
ccShader_PositionTextureColor_noMVP.vert Use C++11 multiline string literal instead (#16765) 2016-11-02 14:13:34 +08:00
ccShader_PositionTexture_uColor.frag Use C++11 multiline string literal instead (#16765) 2016-11-02 14:13:34 +08:00
ccShader_PositionTexture_uColor.vert Use C++11 multiline string literal instead (#16765) 2016-11-02 14:13:34 +08:00
ccShader_Position_uColor.frag Use C++11 multiline string literal instead (#16765) 2016-11-02 14:13:34 +08:00
ccShader_Position_uColor.vert Use C++11 multiline string literal instead (#16765) 2016-11-02 14:13:34 +08:00
ccShader_UI_Gray.frag Use C++11 multiline string literal instead (#16765) 2016-11-02 14:13:34 +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