axmol/tests/cpp-tests
j-jorge 6bbf01537d Allow to unbind asynchronous texture loading callback with a custom key. (#17206)
* Allow to unbind asynchronous texture loading callback with a custom key.

In order to unbind the callback passed to
`cocos2d::TextureCache::addImageAsync(path, callback)`, one has to
call `cocos2d::TextureCache::unbindImageAsync(path)`. In the cases
where the loading of the same texture is requested from several sources
simultaneously, then none of the source can unbind its own callback
unambiguously.

This commit adds an overload of the `addImageAsync` function taking an extra
argument identifying the callback, thus allowing to unbind it unambiguously
in cases where the loading of path is requested by several sources
simultaneously.

* Add a test case for TextureCache::addImageAsync with a custom key.
2017-02-04 09:38:54 +08:00
..
Classes Allow to unbind asynchronous texture loading callback with a custom key. (#17206) 2017-02-04 09:38:54 +08:00
Resources Merge v3.14.1 (#17231) 2017-01-20 09:59:30 +08:00
proj.android merge v3.13.1 back to v3 2016-09-15 10:08:28 +08:00
proj.android-studio merge v3.13.1 back to v3 2016-09-15 10:08:28 +08:00
proj.ios Allows Arbitrary Loads for cpp-tests, js-tests, lua-tests project. removes exception dictionary. (#16934) 2016-11-30 15:29:48 +08:00
proj.linux
proj.mac Fixes broken of JS AssetsManagerTest. And updates https configuration of cpp-tests, js-tests for macOS. (#16970) 2016-12-08 10:40:22 +08:00
proj.tizen Support compile & run project on Tizen by cocos command. (#16783) 2016-11-02 17:41:26 +08:00
proj.win8.1-universal updated for v3.14 (#16942) 2016-12-01 10:37:04 +08:00
proj.win10 updated for v3.14 (#16942) 2016-12-01 10:37:04 +08:00
proj.win32 Refactor WebSocket to support SSL (wss) (#17172) 2017-01-19 13:55:14 +08:00
.cocos-project.json Support compile & run project on Tizen by cocos command. (#16783) 2016-11-02 17:41:26 +08:00
CMakeLists.txt Refactor WebSocket to support SSL (wss) (#17172) 2017-01-19 13:55:14 +08:00