axmol/cocos/renderer
子龙山人 51f4deee01 Add system label overflow (#15827)
* Add system font overflow

1. currently only iOS, Mac and Android platform are supported

add mac label overflow shrink

modify system font overflow test

fix warning and possible memory leaks

add ios system label overflow support

add iOS system font overflow support

fix iOS system font overflow

fix Mac System font overflow

add android system font clamp

add Android system font shrink

cleanup iOS shrink related code

fix Android system font clamp

add core text to project template

fix iOS tests project

fix mac and iOS shrink

improve iOS and Mac clamp feature

fix header file include path

* modify the comments, make it more clearer
2016-06-15 10:43:15 +08:00
..
CCBatchCommand.cpp fix typos and syntax error. A thorough check by tool VSSpellChecker. 2015-09-22 16:08:23 +08:00
CCBatchCommand.h issue #12078: added renderer group and removed core and support group. 2015-06-01 13:43:56 +08:00
CCCustomCommand.cpp Refactor draw command 2015-01-15 14:00:49 -08:00
CCCustomCommand.h issue #12078: added renderer group and removed core and support group. 2015-06-01 13:43:56 +08:00
CCFrameBuffer.cpp release default fbo 2015-11-24 18:11:16 +08:00
CCFrameBuffer.h Rename CCRenderBufferObject to CCRenderBuffer in windows projects. 2015-06-11 11:45:10 +08:00
CCGLProgram.cpp Use nullptr instead of 0 or NULL 2016-05-25 03:09:11 +09:00
CCGLProgram.h Remove unnecessary const from return types 2016-02-29 16:48:07 +09:00
CCGLProgramCache.cpp Fix minor typo: Texure -> Texture 2016-05-26 02:36:15 +09:00
CCGLProgramCache.h add config loaded event 2015-07-24 16:38:30 +08:00
CCGLProgramState.cpp Adds `std::nothrow` to the `new` statements 2015-12-16 14:02:55 +08:00
CCGLProgramState.h Renderer improvments: TriangleCommand and QuadCommand merged 2016-02-08 11:25:37 -08:00
CCGLProgramStateCache.cpp Iterator erase pattern 2016-04-01 18:29:21 -06: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 CCGroupCommand.cpp 2015-01-20 19:28:30 +08:00
CCGroupCommand.h Fixes 1605 include path in 541 files 2016-03-20 21:53:44 +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 Remove duplicate header includes 2016-05-26 23:25:44 +09:00
CCMeshCommand.h Removes state from MeshCommand. 2015-05-20 15:57:26 -07:00
CCPass.cpp Fixes 1605 include path in 541 files 2016-03-20 21:53:44 +08:00
CCPass.h Fix typo in documentation and comments 2015-12-09 01:48:24 +09:00
CCPrimitive.cpp Adds `PrimitiveCommand` test 2015-08-25 15:07:03 -07:00
CCPrimitive.h fix typos and syntax error. A thorough check by tool VSSpellChecker. 2015-09-22 16:08:23 +08:00
CCPrimitiveCommand.cpp Refactor draw command 2015-01-15 14:00:49 -08:00
CCPrimitiveCommand.h fix typos and syntax error. A thorough check by tool VSSpellChecker. 2015-09-22 16:08:23 +08:00
CCQuadCommand.cpp Fix crash due to reallocation of shared indices memory 2016-05-15 12:30:30 +10:00
CCQuadCommand.h Fix crash due to reallocation of shared indices memory 2016-05-15 12:30:30 +10:00
CCRenderCommand.cpp fix transparent render bug 2015-03-03 10:42:47 +08:00
CCRenderCommand.h Fix typos in documentation 2015-10-23 16:59:51 +09:00
CCRenderCommandPool.h [ci skip]Update comments 2015-03-24 20:23:51 +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 Renderer improvments: TriangleCommand and QuadCommand merged 2016-02-08 11:25:37 -08:00
CCRenderer.h Fix typos in documentation 2016-02-18 16:16:36 +09: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 Add system label overflow (#15827) 2016-06-15 10:43:15 +08:00
CCTexture2D.h Add system label overflow (#15827) 2016-06-15 10:43:15 +08:00
CCTextureAtlas.cpp add more descriptive message to ASSET macro. 2015-07-14 15:28:36 +08:00
CCTextureAtlas.h fix doxygen comment 2015-03-27 17:09:54 +08:00
CCTextureCache.cpp Texture2D::addImageAsync : Set pixel format correctly. (#15774) 2016-06-03 09:38:01 +08:00
CCTextureCache.h Remove duplicate header includes 2016-05-26 23:25:44 +09: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 Renderer improvments: TriangleCommand and QuadCommand merged 2016-02-08 11:25:37 -08:00
CCTrianglesCommand.h Renderer improvments: TriangleCommand and QuadCommand merged 2016-02-08 11:25:37 -08: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 removed CC_PLATFORM_WP8 2015-05-08 09:19:13 -07:00
CCVertexIndexBuffer.h fix typos and syntax error. A thorough check by tool VSSpellChecker. 2015-09-22 16:08:23 +08:00
CCVertexIndexData.cpp make it compile on win32 2015-08-26 10:16:50 -07:00
CCVertexIndexData.h fix typos and syntax error. A thorough check by tool VSSpellChecker. 2015-09-22 16:08:23 +08:00
CMakeLists.txt Move CCTextureCube From 3d to renderer to solve compilation issue 2015-08-24 14:01:50 +08:00
ccGLStateCache.cpp SetBlending fix 2016-06-01 17:46:27 +08:00
ccGLStateCache.h issue #12078: added renderer group and removed core and support group. 2015-06-01 13:43:56 +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_Label.vert Shader fixes for windows 2014-05-09 19:13:12 -07:00
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 Does not crash on Mac if the .ttf file is not found 2014-05-15 17:22:53 -07:00
ccShader_Label_outline.frag improve rendering of inner shapes when outline is used 2015-06-08 12:56:43 +03:00
ccShader_PositionColor.frag Shader fixes for windows 2014-05-09 19:13:12 -07:00
ccShader_PositionColor.vert Shader fixes for windows 2014-05-09 19:13:12 -07:00
ccShader_PositionColorLengthTexture.frag Shader fixes for windows 2014-05-09 19:13:12 -07:00
ccShader_PositionColorLengthTexture.vert Shader fixes for windows 2014-05-09 19:13:12 -07:00
ccShader_PositionColorTextureAsPointsize.vert fix crash on windows 2015-01-20 16:50:51 +08:00
ccShader_PositionTexture.frag uniform sampler CC_Texture0 MUST NOT be defined on shaders 2014-05-15 16:47:54 -07:00
ccShader_PositionTexture.vert Shader fixes for windows 2014-05-09 19:13:12 -07:00
ccShader_PositionTextureA8Color.frag uniform sampler CC_Texture0 MUST NOT be defined on shaders 2014-05-15 16:47:54 -07:00
ccShader_PositionTextureA8Color.vert Shader fixes for windows 2014-05-09 19:13:12 -07:00
ccShader_PositionTextureColor.frag uniform sampler CC_Texture0 MUST NOT be defined on shaders 2014-05-15 16:47:54 -07:00
ccShader_PositionTextureColor.vert Compiles on windows, sort of 2014-05-09 19:07:22 -07:00
ccShader_PositionTextureColorAlphaTest.frag uniform sampler CC_Texture0 MUST NOT be defined on shaders 2014-05-15 16:47:54 -07:00
ccShader_PositionTextureColor_noMVP.frag uniform sampler CC_Texture0 MUST NOT be defined on shaders 2014-05-15 16:47:54 -07:00
ccShader_PositionTextureColor_noMVP.vert Shader fixes for windows 2014-05-09 19:13:12 -07:00
ccShader_PositionTexture_uColor.frag uniform sampler CC_Texture0 MUST NOT be defined on shaders 2014-05-15 16:47:54 -07:00
ccShader_PositionTexture_uColor.vert Shader fixes for windows 2014-05-09 19:13:12 -07:00
ccShader_Position_uColor.frag Shader fixes for windows 2014-05-09 19:13:12 -07:00
ccShader_Position_uColor.vert Shader fixes for windows 2014-05-09 19:13:12 -07:00
ccShader_UI_Gray.frag fix scale9sprite gray state opacity issue. 2016-01-07 17:17:55 +08:00
ccShaders.cpp Fixes 1605 include path in 541 files 2016-03-20 21:53:44 +08:00
ccShaders.h unify (No)Normal Mapping shaders 2015-11-27 13:15:33 +08:00