Canvas frequently black in Android 5/Lollipop

Canvas frequently black in Android 5/Lollipop

I have two PhoneGap apps that work across a number of platforms but now fail on Android 5. They use jQuery and jQuery Mobile. A similar bug was reported on StackOverflow ( http://stackoverflow.com/questions/29754737/canvas-shown-black-randomly-on-android-5/) and the author there is also using jQuery Mobile.

Both of my apps make extensive use of the HTML5 canvas but the canvas element often appears entirely black in Android 5. Transitioning to another page usually fixes this, but updates are also often not complete. In looking at the logcat, both I and the SO author (link above) are seeing render warnings. My code is doing nothing more than drawing on the canvas, so I am assuming (perhaps incorrectly) that jQuery Mobile is implicated - particularly since PhoneGap doesn't do anything in this case other than bundle my HTML & JavaScript code with the native WebView. Also, the apps worked fine in Android 4.4 so it isn't just the change of WebView that is the probem (4.4 was the first version with the new Chromium WebView). A portion of my logcat output is below. Any suggestions about fixes for this or where I might re-post this problem?

E/chromium(13492): [ERROR:gles2_cmd_decoder.cc(10748)] [.Parent-Compositor-0xb50fe510]GL ERROR :GL_INVALID_OPERATION : glConsumeTextureCHROMIUM: invalid mailbox name

E/chromium(13492): [ERROR:gles2_cmd_decoder.cc(6309)] [.Parent-Compositor-0xb50fe510]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering or is not 'texture complete'

I/art     (  819): Explicit concurrent mark sweep GC freed 18772(846KB) AllocSpace objects, 1(16KB) LOS objects, 26% free, 44MB/60MB, paused 1.486ms total 108.916ms

E/chromium(13492): [ERROR:gles2_cmd_decoder.cc(6309)] [.Parent-Compositor-0xb50fe510]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering or is not 'texture complete'

E/chromium(13492): [ERROR:gles2_cmd_decoder.cc(6309)] [.Parent-Compositor-0xb50fe510]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering or is not 'texture complete'