Currently I’m taking the screen bitmap data using draw and then adding a blur filter to it, It takes around 2 second on a Samsung s7 for android. Wondering if there is a way to do it faster thanks! Here’s my code below, scaling is somthing to do with my screen scale algorithmn not very important to it.
bitmapState = new Bitmap();
bitmapState.bitmapData = new BitmapData(Math.floor(Main.bg.width), Math.floor(Main.bg.height), false);
bitmapState.bitmapData.draw(Main.state, Main.state.transform.matrix);
bitmapState.filters = [new BlurFilter(16,16)];
bitmapState.visible = true;
trace("sx " + bitmapState.scaleX + " sy " + bitmapState.scaleY);
bitmapState.scaleX *= 1 / Main.difY;
bitmapState.scaleY *= 1 / Main.difY;