CanvasPrepare updated to simulate WebGLPrepare (#2959)
* For WebGLPrepare- the done callback is now optional
For CanvasPrepare - an implimentation has been added rathar than it just being a stub. Uploading textures to the GPU can be simulated by forcing a draw command onto a hidden using these textures.

* Fixed couple of context issues
1 parent 1795318 commit 809c63fe57d22da83ed7cbc11b197086002bb24e
@Dave Dave authored on 25 Sep 2016
Chad Engler committed on 25 Sep 2016
Showing 2 changed files
View
src/prepare/canvas/CanvasPrepare.js
View
src/prepare/webgl/WebGLPrepare.js