With ES 2 only the background color is visible, no images or shapes:
int main(){
ofGLESWindowSettings settings;
settings.setGLESVersion(2);
ofCreateWindow(settings);
return ofRunApp( new ofApp() );
}
With both ES1 and ES2 I see many lines like these, not sure if related:
10-20 16:43:56.905 292-14726/? E/mm-camera: invalid stats mask. Return back
10-20 16:43:56.914 14604-14629/? E/ofTexture: Cannot set alpha mask with different texture target
10-20 16:43:56.915 14604-14629/? I/Adreno-ES20: <validate_vertex_attrib_state:59>: validate_vertex_attrib_state: No vertex attrib is enabled in a draw call!
10-20 16:43:56.916 14604-14629/? I/Adreno-ES20: <validate_vertex_attrib_state:59>: validate_vertex_attrib_state: No vertex attrib is enabled in a draw call!
10-20 16:43:56.917 292-14726/? E/mm-camera: q3a_port_send_event_downstream: AEC event handler returned failure!
Calling ofDisableArbTex() made no difference.
Is there a nightly for Android? … Ha, found it at http://ci.openframeworks.cc/versions/nightly/ It’s not listed in the downloads page. But they are all from July 14th… many nights ago!?
so the problem i think is that video in android uses a specific type of texture and the alpha mask implementation in OF works only with textures of the same target- it might be that disabling that check works for android, Can you try to change, ofTexture line 844:
if(mask.texData.textureTarget!=this->texData.textureTarget){
ofLogError("ofTexture") << "Cannot set alpha mask with different texture target";
}else{
texData.alphaMask = std::make_shared<ofTexture>(mask);
}