AS3 framework for GPU-based image processing