resync sample
resync alpha premul and remove some flash accesses
refined dx / dy caller for sprite batch
first add for shader context losts
implemented context lost for opengl