Dev texture states cacheing (#3201)
...
* minimal texture bounds pass 1
* cheeky opts
* tidy up code
* create empty textures
* added empty texture
* couple more tweaks
* fixed empty texture issue
* fixed tweaked so id's sit on glTexture
means it should work on multiple contexts
* tweaked unbound textures
* tidy up
* upped max textures to 4 for mobile!
also sending state to tiling sprite VAO
* removed _activeTetureLocation
* tweaked eslint
* make sure buffer is bound
* updates based on @englercj review points
- Added vertexCount back in as it still yields much faster results in
iOS
- Tidied old comments
- Replaced i++ with ++i
Mat Groves
authored
on 31 Oct 2016
Chad Engler
committed
on 31 Oct 2016