You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Since it's JS, you can also fake it:

    var Graphics = { createArrayBuffer : function(x,y,bpp,flags) {
      return { buffer : new ArrayBuffer(x*y*bpp >> 3); }
    }};
    

    ... or something like that. Obviously you don't get any graphics functions but if you're happy poking bits and just want to use the existing drivers, that could be an option.

About

Avatar for Gordon @Gordon started