Open
Description
I feel a bit rude reporting these bugs I'm finding without actually contributing to the processing-android project. I'd love to take a hand in contributing towards fixes but I'm not sure where to start learning the internals of processing's implementation.
Regardless, documenting issues is healthier than holding them back.
Version 4.0.4 of the mode.
Running blendMode(ADD) after background(0) within setup() sets the background after the call to blendMode and somehow eliminates the original data stored within the frameBuffer that would make it show the default processing sketch background color.
Behavior in P2D normally: displays black background and then sets blendMode.
Running the following code demonstrates this behavior.
Demo code
void setup(){
fullScreen(P2D);
background(0);
blendMode(ADD);
}
Output:
Activity
codeanticode commentedon Feb 22, 2019
@JackWitherell no worries at all, we do appreciate the bug reporting very much. It is the required first step to get things fixed :-) There is some incomplete information on the wiki about the architecture of the Android mode, will try to add more details so it can be useful for other people to start contributing.
I will test your code snippet demonstrating this bug shortly. Thank you!