axmol/cocos/base
Ricardo Quesada 4a318c0048 Renderer improvments: TriangleCommand and QuadCommand merged
- more options for batching (faster)
- less flushing in between commands (faster)
- less renderer code (easier to maintain)
- less VBO/VAO (less memory)
- uses temporary buffer for faster rendering (more memory)
  - QuadCommand is just a subclass of TriangleCommand (simpler)
  - but statically it allocates indices internally (like any TriangleCommand) (more
    memory, but not that much)
- adds more tests for SpritePolygon
- adds test for batching Tri + Quad command
- and fixes some other bugs

Squashed commit of the following:

commit cce893a9114da5dda91a895e4e661894f365e2c7
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Mon Feb 8 06:56:57 2016 -0800

    QuadCommand: indices are static

    thanks @Darinex

commit e5fd1c14e93d2f07b8266bfec03cf7206d348f59
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Sun Feb 7 19:18:42 2016 -0800

    little improvements in xcode proj management

commit 6cd29764e01ad300f4e89e62aa6b399f73e94f01
Author: Ricardo Quesada <ricardoquesada@gmail.com>
Date:   Sun Feb 7 19:05:52 2016 -0800

    Renderer improvments: TriangleCommand and QuadCommand merged

    - more options for batching (faster)
    - less flushing in between commands (faster)
    - less renderer code (easier to maintain)
    - less VBO/VAO (less memory)
    - uses temporary buffer for faster rendering (more memory)

    and fixes some other bugs

    Squashed commit of the following:

    commit af7a209435c5f2430c31ab3ebcc7f45051eacb1a
    Author: Ricardo Quesada <ricardoquesada@gmail.com>
    Date:   Sun Feb 7 18:55:27 2016 -0800

        adds test for batching quads and tris

    commit 25816e3eaeffd4b0cfe5fa15e97ff84e9013b8be
    Author: Ricardo Quesada <ricardoquesada@gmail.com>
    Date:   Sun Feb 7 18:40:15 2016 -0800

        cleanup renderer

    commit 7f9785056681756c865d603516c7e14c46040e82
    Author: Ricardo Quesada <ricardoquesada@gmail.com>
    Date:   Sun Feb 7 15:34:48 2016 -0800

        clean up docs

    commit 92a8b679dd404e4ca2839d85e2bd925195b12996
    Author: Ricardo Quesada <ricardoquesada@gmail.com>
    Date:   Sun Feb 7 15:18:52 2016 -0800

        QuadCommand converted to Triangles command

    commit 7e21ec12d3781f6964b4d639cfa4bdc79eb8ae80
    Author: Ricardo Quesada <ricardoquesada@gmail.com>
    Date:   Fri Feb 5 16:17:29 2016 -0800

        adds missing files... new test as well

    commit d1bd4391785515bdc2e1bebbeb3f321f983b51f2
    Author: Ricardo Quesada <ricardoquesada@gmail.com>
    Date:   Fri Feb 5 14:35:41 2016 -0800

        more tests for poly sprites

    commit 5775a25b1046671bd0f5af4c5ab52b308b34bb39
    Author: Ricardo Quesada <ricardoquesada@gmail.com>
    Date:   Fri Feb 5 00:30:13 2016 -0800

        malloc instead of std::vector

    commit 14a5d45cc978c55a182c03f181ca2bc603776561
    Author: Ricardo Quesada <ricardoquesada@gmail.com>
    Date:   Thu Feb 4 21:40:46 2016 -0800

        little optimization

    commit 5667cb2b62416f8a439a54c3973d5841fbe1b68b
    Author: Ricardo Quesada <ricardoquesada@gmail.com>
    Date:   Thu Feb 4 19:13:13 2016 -0800

        quad works as expected

    commit 462aef05baa6586591882faa366839bead4be068
    Author: Ricardo Quesada <ricardoquesada@gmail.com>
    Date:   Thu Feb 4 15:22:59 2016 -0800

        works

    commit c789e6c42811278563c7682b5620296ae8d84aeb
    Merge: d6c3729 de62924
    Author: Ricardo Quesada <ricardoquesada@gmail.com>
    Date:   Thu Feb 4 14:08:49 2016 -0800

        Merge branch 'v3' into uniform_matrix_auto

    commit d6c37297954af752ebf42ec5f71e5e2fe28c9cc2
    Author: Ricardo Quesada <ricardoquesada@gmail.com>
    Date:   Thu Feb 4 13:54:07 2016 -0800

        works ok...

    commit 45c288631989ea735cc31ec5aa683d9d41aacab3
    Author: Ricardo Quesada <ricardoquesada@gmail.com>
    Date:   Thu Feb 4 12:58:34 2016 -0800

        quad works!

    commit 7137cff51df09adee7129738cea2b69da090756e
    Author: Ricardo Quesada <ricardoquesada@gmail.com>
    Date:   Wed Feb 3 16:19:34 2016 -0800

        more optimizations... WIP... doesn't work yet

    commit a8324c1a9acb6b82102e05eee6e5e5f341306c7b
    Author: Ricardo Quesada <ricardoquesada@gmail.com>
    Date:   Tue Feb 2 21:59:42 2016 -0800

        compiles in release mode

        more tests... better threshold

    commit 884ffc756e7520fcbb9252260181538ec81b8368
    Author: Ricardo Quesada <ricardoquesada@gmail.com>
    Date:   Tue Feb 2 17:21:32 2016 -0800

        initial uniform_auto_matrix commit

        Changes the CC_matrix uniform in runtime depending on whether the command can be batched or not.

        Lot of things missing, though... like performance tests.
2016-02-08 11:25:37 -08:00
..
allocator fix typos and syntax error. A thorough check by tool VSSpellChecker. 2015-09-22 16:08:23 +08:00
CCAsyncTaskPool.cpp simplify AsyncTaskPool 2014-12-23 10:12:37 +08:00
CCAsyncTaskPool.h Update comment for Lua 2015-03-30 15:47:47 +08:00
CCAutoreleasePool.cpp fix issue autorelease will not release trigger by autorelease. 2015-03-11 15:31:06 +08:00
CCAutoreleasePool.h Fix typos in documentation 2015-12-03 21:03:00 +09:00
CCConfiguration.cpp Merge pull request #14709 from kcisoul/v3 2016-01-12 11:35:00 +08:00
CCConfiguration.h Windows/osx/linux build fail bug fixed 2015-12-17 15:40:16 +09:00
CCConsole.cpp fix typos and syntax error. A thorough check by tool VSSpellChecker. 2015-09-22 16:08:23 +08:00
CCConsole.h fix typos and syntax error. A thorough check by tool VSSpellChecker. 2015-09-22 16:08:23 +08:00
CCController-android.cpp updates to JniHelper, refactoring of existing JNI calls 2015-11-27 12:00:33 +03:00
CCController-iOS.mm Moved base/CCPlatform* -> platform/CCPlatform* 2014-09-09 17:17:07 -07:00
CCController.cpp remove unneeded includes 2014-08-29 15:39:52 +08:00
CCController.h [ci skip]Update comments 2015-03-24 14:12:58 +08:00
CCData.cpp issue #10323: Fix the compile error when COCOS2D_DEBUG>=2. 2015-06-04 11:58:22 +08:00
CCData.h Fix minor grammar and typo in documentation 2015-11-04 17:14:00 +09:00
CCDataVisitor.cpp Squashed commit of the following: 2014-04-26 10:11:22 -07:00
CCDataVisitor.h [ci skip]Update comments 2015-03-24 20:23:51 +08:00
CCDirector.cpp Renderer improvments: TriangleCommand and QuadCommand merged 2016-02-08 11:25:37 -08:00
CCDirector.h Renderer improvments: TriangleCommand and QuadCommand merged 2016-02-08 11:25:37 -08:00
CCEvent.cpp Improved directory structure 2014-04-29 17:37:36 -07:00
CCEvent.h fix typos and syntax error. A thorough check by tool VSSpellChecker. 2015-09-22 16:08:23 +08:00
CCEventAcceleration.cpp Improved directory structure 2014-04-29 17:37:36 -07:00
CCEventAcceleration.h update comments. 2015-03-27 12:07:19 +08:00
CCEventController.cpp Cleanup order of fields initialization. 2014-10-30 17:28:41 +03:00
CCEventController.h Fix typos in documentation 2015-12-03 21:03:00 +09:00
CCEventCustom.cpp remove unneeded includes 2014-08-29 15:39:52 +08:00
CCEventCustom.h Merge pull request #11120 from fusijie/cocosapi 2015-03-25 09:49:52 +08:00
CCEventDispatcher.cpp Adds `std::nothrow` to the `new` statements 2015-12-16 14:02:55 +08:00
CCEventDispatcher.h Remove unused parameter 2015-10-19 16:06:39 +08:00
CCEventFocus.cpp Cleanup order of fields initialization. 2014-10-30 17:28:41 +03:00
CCEventFocus.h Merge pull request #11120 from fusijie/cocosapi 2015-03-25 09:49:52 +08:00
CCEventKeyboard.cpp Improved directory structure 2014-04-29 17:37:36 -07:00
CCEventKeyboard.h Merge pull request #11120 from fusijie/cocosapi 2015-03-25 09:49:52 +08:00
CCEventListener.cpp issue #10323: Fix the compile error when COCOS2D_DEBUG>=2. 2015-06-04 11:58:22 +08:00
CCEventListener.h fix typos and syntax error. A thorough check by tool VSSpellChecker. 2015-09-22 16:08:23 +08:00
CCEventListenerAcceleration.cpp add more descriptive message to ASSET macro. 2015-07-14 15:28:36 +08:00
CCEventListenerAcceleration.h Merge pull request #11120 from fusijie/cocosapi 2015-03-25 09:49:52 +08:00
CCEventListenerController.cpp remove unneeded includes 2014-08-29 15:39:52 +08:00
CCEventListenerController.h Merge pull request #11120 from fusijie/cocosapi 2015-03-25 09:49:52 +08:00
CCEventListenerCustom.cpp Adds `std::nothrow` to `new` 2014-08-27 16:31:57 -07:00
CCEventListenerCustom.h fix typos and syntax error. A thorough check by tool VSSpellChecker. 2015-09-22 16:08:23 +08:00
CCEventListenerFocus.cpp remove unneeded includes 2014-08-29 15:39:52 +08:00
CCEventListenerFocus.h Merge pull request #11120 from fusijie/cocosapi 2015-03-25 09:49:52 +08:00
CCEventListenerKeyboard.cpp remove unneeded includes 2014-08-29 15:39:52 +08:00
CCEventListenerKeyboard.h Merge pull request #11120 from fusijie/cocosapi 2015-03-25 09:49:52 +08:00
CCEventListenerMouse.cpp EventListenerMouse will dispatch EventMouse events 2015-09-07 20:05:51 +02:00
CCEventListenerMouse.h EventListenerMouse will dispatch EventMouse events 2015-09-07 20:05:51 +02:00
CCEventListenerTouch.cpp remove unneeded includes 2014-08-29 15:39:52 +08:00
CCEventListenerTouch.h Merge pull request #11120 from fusijie/cocosapi 2015-03-25 09:49:52 +08:00
CCEventMouse.cpp initialize _startPointCaptured. 2014-12-15 19:42:25 +08:00
CCEventMouse.h Fixed missing const-correctness 2015-05-20 17:19:42 +02:00
CCEventTouch.cpp remove unneeded includes 2014-08-29 15:39:52 +08:00
CCEventTouch.h Merge pull request #11120 from fusijie/cocosapi 2015-03-25 09:49:52 +08:00
CCEventType.h [ci skip]Update comments 2015-03-24 20:23:51 +08:00
CCGameController.h [ci skip]Update comments 2015-03-24 20:23:51 +08:00
CCIMEDelegate.h [ci skip] Add javascript notes... 2015-03-28 15:11:51 +08:00
CCIMEDispatcher.cpp Squashed commit of the following: 2014-05-16 14:36:00 -07:00
CCIMEDispatcher.h fix typos and syntax error. A thorough check by tool VSSpellChecker. 2015-09-22 16:08:23 +08:00
CCMap.h Don't call release() before retain() 2015-09-10 11:09:17 +02:00
CCNS.cpp Avoid creating temporary string objects 2016-02-03 23:12:37 +08:00
CCNS.h [ci skip]Update comments 2015-03-27 15:31:42 +08:00
CCNinePatchImageParser.cpp fix Scale9Sprite draw extra pixels in spritesheet 2015-08-26 16:15:00 +08:00
CCNinePatchImageParser.h fix assert failure of NinePatchImageParser and rapidjson 2015-05-26 17:20:10 +08:00
CCProfiling.cpp Merge pull request #7915 from ricardoquesada/xcode_mark_todo_fixme 2014-08-29 12:55:14 -07:00
CCProfiling.h [ci skip]Update comments 2015-03-24 20:23:51 +08:00
CCProperties.cpp Avoid creating temporary string objects 2016-02-03 23:12:37 +08:00
CCProperties.h Fix typos in documentation 2015-12-03 21:03:00 +09:00
CCProtocols.h add PlayableFrame 2016-01-12 17:21:01 +08:00
CCRef.cpp Merge branch 'v3.10' of https://github.com/cocos2d/cocos2d-x into v3 2016-01-09 18:01:56 +08:00
CCRef.h more js fixes 2015-12-11 15:18:09 -08:00
CCRefPtr.h [ci skip]Update comments 2015-03-24 20:23:51 +08:00
CCScheduler.cpp Adds `std::nothrow` to the `new` statements 2015-12-16 14:02:55 +08:00
CCScheduler.h Fix typos in documentation 2015-12-03 21:03:00 +09:00
CCScriptSupport.cpp support custom action, and rewrite update function 2015-09-09 10:08:07 +08:00
CCScriptSupport.h Adds iOS tests, calls GC after replacing scene 2015-12-29 17:36:02 -08:00
CCStencilStateManager.cpp change the default alphaThreshold 2015-11-25 14:31:32 +08:00
CCStencilStateManager.hpp rename CCStencilBitsManager to StencilStateManager 2015-11-25 14:24:27 +08:00
CCTouch.cpp Remove default arguments 2015-12-02 11:02:27 +08:00
CCTouch.h Remove default arguments 2015-12-02 11:02:27 +08:00
CCUserDefault-android.cpp Avoid creating temporary string objects 2016-02-03 23:12:37 +08:00
CCUserDefault-apple.mm Adds `std::nothrow` to the `new` statements 2015-12-16 14:02:55 +08:00
CCUserDefault-winrt.cpp clean up include files for WINRT platforms 2015-10-02 18:49:41 -07:00
CCUserDefault.cpp Adds `std::nothrow` to the `new` statements 2015-12-16 14:02:55 +08:00
CCUserDefault.h add UserDefault api deleteValueForKey 2015-07-06 17:01:17 +08:00
CCValue.cpp Adds `std::nothrow` to the `new` statements 2015-12-16 14:02:55 +08:00
CCValue.h Fix typos in documentation 2015-12-03 21:03:00 +09:00
CCVector.h Mark equals() functions as const 2016-01-22 06:09:27 +09:00
CMakeLists.txt rename CCStencilBitsManager to StencilStateManager 2015-11-25 14:24:27 +08:00
ObjectFactory.cpp fix 2014-09-02 10:51:17 +08:00
ObjectFactory.h Moved base/CCPlatform* -> platform/CCPlatform* 2014-09-09 17:17:07 -07:00
TGAlib.cpp fixed warn and replace NULL with nullptr. 2014-07-10 00:45:27 +08:00
TGAlib.h [ci skip]Update comments 2015-03-24 20:23:51 +08:00
ZipUtils.cpp Adds `std::nothrow` to the `new` statements 2015-12-16 14:02:55 +08:00
ZipUtils.h Fix typo in documentation and comments 2015-12-09 01:48:24 +09:00
atitc.cpp
atitc.h [ci skip]Update comments 2015-03-24 20:23:51 +08:00
base64.cpp windows dll version of cpp-tests works 2014-07-15 13:54:08 +08:00
base64.h [ci skip]Update comments 2015-03-24 20:23:51 +08:00
ccCArray.cpp remove unneeded includes 2014-08-29 15:39:52 +08:00
ccCArray.h [ci skip]Update comments 2015-03-24 20:23:51 +08:00
ccConfig.h moves macro definition to `ccConfig.h` 2015-12-29 17:36:02 -08:00
ccFPSImages.c fix libpng warning 2014-12-27 20:47:59 +08:00
ccFPSImages.h [ci skip]Update comments 2015-03-24 20:23:51 +08:00
ccMacros.h animate3d callback and test 2015-07-17 11:08:27 +08:00
ccRandom.cpp Fix xcode warning that cause `getEngine` inline expansion 2014-08-12 18:07:17 +09:00
ccRandom.h fix extra @ symbol in Base group 2015-03-27 12:01:20 +08:00
ccTypes.cpp Improved directory structure 2014-04-29 17:37:36 -07:00
ccTypes.h Mark equals() functions as const 2016-01-22 06:09:27 +09:00
ccUTF8.cpp Adds `std::nothrow` to the `new` statements 2015-12-16 14:02:55 +08:00
ccUTF8.h fix textfield and editbox can not input emoticon 2015-08-05 17:03:06 +08:00
ccUtils.cpp Adds `std::nothrow` to the `new` statements 2015-12-16 14:02:55 +08:00
ccUtils.h Remove `CC_DLL` in front of `createSpriteFromBase64()` in ccUtils.h to avoid compilation error on windows platform 2015-11-15 23:02:43 +09:00
etc1.cpp Squashed commit of the following: 2014-04-30 19:09:13 -07:00
etc1.h [ci skip]Update comments 2015-03-24 20:23:51 +08:00
firePngData.h [ci skip]Update comments 2015-03-24 20:23:51 +08:00
pvr.cpp missing include 2014-07-22 15:49:39 +04:00
pvr.h Copyright & small fixes 2014-07-22 15:49:38 +04:00
s3tc.cpp
s3tc.h [ci skip]Update comments 2015-03-24 20:23:51 +08:00
uthash.h [ci skip]Update comments 2015-03-24 20:23:51 +08:00
utlist.h [ci skip]Update comments 2015-03-24 20:23:51 +08:00