Considering that roScreen implements the 2d interface you would think it would act similar to a bitmap. May have something to do with the devices support for open gl. Can’t say for sure . If I recall correctly even if you create a region on the screen you can write to it and it clips properly but if you try to copy that region to a bitmap you get some kind of distorted monster. Would be nice if you could create your own screencopy consistently. After all the screenshot utility has no problem providing one.
Could it have something to do with the resolution? Roku 3 only outputs HD, whereas Roku 1 does both HD and SD.
Could your exact firmware versions be different, one box is more updated than the other?
The AlphaEnable is probably the culprit though, as I’ve read that different models of Rokus throughout history handle that differently, and it may be more than just openGL differences.
It’s possible you’ll have better luck with different arcane combinations of Region, Bitmap, and Screen.
Troubleshoot it by simplifying. You are still doing too many things in the example, try to narrow it down.
For example, can you copy the roScreen to a separate roBitmap and then do the dim/blurring with that?
Try to track at which step does it break and not behave as expected.
does it have to do something with the setting of AlphaEnable?
does it have something to do with the size of the screen and of the bitmap (e.g. what if we change screen resolution in Settings or in createObject; or maybe the bitmap is “too small”; maybe it just ignores copy requests from bigger to smaller bitmap?)
Lol, think you share the same train of thought as me.
Tried both alpha settings and different sizes. No luck.
P.S. I’ve already settled with a suitable alternative so I don’t really mind if it doesn’t work. At this point the thread is more informational for other users.
Have you tried creating a Region from the roScreen and the bitmapt and using that to draw to your bitmap’s region instead of drawing from the Screen to the bitmap directly?
Also not sure if this matters. I’m using dfSetupDisplayRegions() . Neither my main region that I’m drawing everything to nor my roScreen component will draw to a bitmap.
I can try to take a section and attempt to draw that region to a bitmap and see what happens.