-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
_gpuImg.renderToBitmapData & IOS #5
Comments
strange i was testing it on android/ios and it was okay with air 3.4 or 3.3 i'm not sure. maybe some stage3d options changed |
I was able to get it to work on IOS, but it's still really buggy. The provided example that uses ENTER_FRAME works, but when wanting to call _gpuImg.renderToBitmapData(resultBMP); from a single function it will only gives back the bitmap data if context3D.dispose(); is called right after it. Any ideas? Thank you for your help. :) Cheers |
i'm afraid it is stage3d feature/limitation that u have to wait frame swap before u can get real result :) |
Did you find it like the amount of frames before you see a result is random. I waited 1 frame up to 10 frames and didn't see a result. Do you know if there is any way to check if when drawToBitmapData(_myBitmap) has passed data, then the program continues running? |
For some reason when using _gpuImg.renderToBitmapData(_myBMPD) on a desktop it works fine, but running it on an iOS Device nothing is written to _myBMPD.
The text was updated successfully, but these errors were encountered: