save and restore layers image when context is lost in Android

This commit is contained in:
2017-04-29 21:30:40 +01:00
parent 2e47ccb0c6
commit fa49d9ee09
17 changed files with 210 additions and 69 deletions

View File

@@ -27,5 +27,6 @@ public:
int getWidth() { return w; }
int getHeight() { return h; }
int bytes() { return w * h * 4; }
int stride() { return w * 4; }
GLuint getFBO() { return fboID; }
};