ofxPlaymodes on Android

Hi all,

I’m trying to use ofxPlaymodes on android but having trouble getting all of it to work. Does anyone have any experience using this addon with android?

From what I can tell, android does not support calls to glReadBuffer, which playmodes uses in VideoFrame.cpp during the updateTexture function. Would the solution here be to retool updateTexture to work with something like glReadPixels instead?

I’ve also gotten errors from any calls to blend functions using GL_MAX or GL_MIN, but it was easy enough to just comment those bits out.

Thanks!

Little update. I got what I wanted out of playmodes and was able to just comment out the offending bits in the videoFrame.cpp file.

	//glReadBuffer(GL_COLOR_ATTACHMENT0);
	//glReadBuffer(GL_BACK);

Not sure if they might be necessary for other functions within playmodes but since I didn’t need them this was an easy fix.