axmol/tests/cpp-tests/Resources/Images/test_polygon.plist

86 lines
6.4 KiB
Plaintext
Raw Normal View History

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-09 03:25:37 +08:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>frames</key>
<dict>
<key>grossinis_sister1.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,-11.5}</string>
<key>spriteSize</key>
<string>{50,116}</string>
<key>spriteSourceSize</key>
<string>{52,139}</string>
<key>textureRect</key>
<string>{{336,1},{50,116}}</string>
<key>textureRotated</key>
<false/>
<key>triangles</key>
<string>16 18 19 16 17 18 1 16 19 14 15 16 1 14 16 14 1 2 11 12 13 10 11 13 13 3 4 9 7 8 9 10 7 5 6 7 4 5 7 4 7 10 13 2 3 13 4 10 14 2 13 0 1 19</string>
<key>vertices</key>
<string>45 29 48 46 48 65 51 84 39 102 45 124 45 139 29 138 6 138 6 127 12 101 1 85 1 79 3 73 1 58 1 47 5 39 5 31 11 25 39 23</string>
<key>verticesUV</key>
<string>380 7 383 24 383 43 386 62 374 80 380 102 380 117 364 116 341 116 341 105 347 79 336 63 336 57 338 51 336 36 336 25 340 17 340 9 346 3 374 1</string>
</dict>
<key>grossinis_sister2.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{-0.5,-2}</string>
<key>spriteSize</key>
<string>{55,130}</string>
<key>spriteSourceSize</key>
<string>{56,138}</string>
<key>textureRect</key>
<string>{{279,26},{55,130}}</string>
<key>textureRotated</key>
<false/>
<key>triangles</key>
<string>1 21 22 19 20 21 1 19 21 19 1 2 16 17 18 15 16 18 13 14 15 18 3 5 13 15 7 10 11 12 10 12 13 15 5 7 10 7 8 10 8 9 5 6 7 13 7 10 3 4 5 18 2 3 18 5 15 19 2 18 0 1 22</string>
<key>vertices</key>
<string>52 16 55 28 55 41 50 54 50 65 39 65 55 81 40 99 46 136 28 135 27 105 27 135 10 135 15 101 0 80 13 67 6 64 3 56 5 52 0 41 0 22 15 7 37 6</string>
<key>verticesUV</key>
<string>331 36 334 48 334 61 329 74 329 85 318 85 334 101 319 119 325 156 307 155 306 125 306 155 289 155 294 121 279 100 292 87 285 84 282 76 284 72 279 61 279 42 294 27 316 26</string>
</dict>
<key>island_polygon.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{16.5,7}</string>
<key>spriteSize</key>
<string>{287,152}</string>
<key>spriteSourceSize</key>
<string>{320,200}</string>
<key>textureRect</key>
<string>{{1,1},{287,152}}</string>
<key>textureRotated</key>
<false/>
<key>triangles</key>
<string>39 33 34 31 32 35 31 35 30 23 26 27 24 25 26 23 24 26 23 27 28 16 21 22 19 17 18 19 20 17 20 21 17 16 17 21 11 15 16 11 16 22 12 13 14 11 12 14 11 14 15 10 11 22 10 22 28 10 5 6 6 7 8 10 6 9 6 8 9 5 10 28 4 5 28 36 4 28 36 28 29 3 36 37 36 3 4 37 1 2 37 0 1 3 37 2 35 36 29 35 29 30 32 33 35 39 35 33 0 38 39 0 37 38 0 39 34 47 50 51 47 49 50 47 48 49 40 47 51 42 43 44 42 44 45 42 45 46 41 42 46 40 41 46 40 46 47 52 91 92 90 88 89 90 91 88 52 88 91 85 86 87 54 87 88 58 84 85 83 58 82 61 82 60 75 79 80 76 78 79 76 77 78 75 76 79 72 73 74 71 72 74 69 74 75 70 74 69 70 71 74 67 68 69 64 65 69 66 67 69 65 66 69 64 69 75 64 75 80 63 64 80 80 61 62 83 84 58 62 63 80 61 80 81 58 59 60 82 58 60 61 81 82 57 58 85 85 56 57 85 87 56 54 55 56 54 56 87 52 53 54 52 54 88 103 104 105 93 103 105 102 103 99 99 100 101 102 99 101 93 98 99 95 96 97 95 97 98 98 93 94 98 94 95 93 99 103 107 112 113 108 109 110 112 107 108 112 108 111 108 110 111 107 113 114 106 107 114</string>
<key>vertices</key>
<string>87 39 105 51 105 71 93 81 86 81 86 90 130 116 132 125 127 130 117 128 86 110 86 139 117 155 117 167 107 169 80 155 71 153 47 163 36 165 33 159 35 151 55 142 73 135 73 108 52 122 40 122 37 111 72 89 73 83 66 80 49 76 44 71 44 50 50 43 63 35 62 62 83 68 90 61 83 56 67 53 165 99 171 100 181 122 181 132 170 132 165 127 158 113 158 100 154 101 151 95 153 87 165 87 320 24 320 46 308 52 308 83 293 84 279 90 265 90 265 101 257 101 250 111 236 121 224 121 217 108 217 125 203 129 189 129 189 117 198 115 177 107 178 89 185 85 198 87 198 96 216 107 205 88 206 79 216 77 224 87 233 103 242 97 252 96 251 56 264 58 278 73 278 49 290 49 290 39 285 38 283 28 294 17 317 17 154 49 164 62 169 75 167 85 156 86 152 76 143 76 145 85 140 90 131 88 126 68 125 46 146 41 185 29 185 39 201 68 201 81 188 82 177 58 177 51 168 47 166 25</string>
<key>verticesUV</key>
<string>55 23 73 35 73 55 61 65 54 65 54 74 98 100 100 109 95 114 85 112 54 94 54 123 85 139 85 151 75 153 48 139 39 137 15 147 4 149 1 143 3 135 23 126 41 119 41 92 20 106 8 106 5 95 40 73 41 67 34 64 17 60 12 55 12 34 18 27 31 19 30 46 51 52 58 45 51 40 35 37 133 83 139 84 149 106 149 116 138 116 133 111 126 97 126 84 122 85 119 79 121 71 133 71 288 8 288 30 276 36 276 67 261 68 247 74 233 74 233 85 225 85 218 95 204 105 192 105 185 92 185 109 171 113 157 113 157 101 166 99 145 91 146 73 153 69 166 71 166 80 184 91 173 72 174 63 184 61 192 71 201 87 210 81 220 80 219 40 232 42 246 57 246 33 258 33 258 23 253 22 251 12 262 1 285 1 122 33 132 46 137 59 135 69 124 70 120 60 111 60 113 69 108 74 99 72 94 52 93 30 114 25 153 13 153 23 169 52 169 65 156 66 145 42 145 35 136 31 134 9</string>
</dict>
</dict>
<key>metadata</key>
<dict>
<key>format</key>
<integer>3</integer>
<key>realTextureFileName</key>
<string>test_polygon.png</string>
<key>size</key>
<string>{387,157}</string>
<key>smartupdate</key>
<string>$TexturePacker:SmartUpdate:5d4bd9b2c1ccd4361684aa299e869f18:750202f899ee4528e778a4b6691034fc:2c73308d8a452f8dfa4d258c8527607b$</string>
<key>textureFileName</key>
<string>test_polygon.png</string>
</dict>
</dict>
</plist>