Shared publicly  - 
 
Google Chrome Team is experimenting with opaque canvas in the last chromium build. 

And if you're interested in, you can enable "experimental canvas features" flag in chrome://flags and play with it by setting your context with canvas.getContext('2d', { alpha: false });
Screenshot below shows you that an opaque canvas has a black background whereas the "normal" one is transparent.

Good students will appreciate the WhatWG proposal at http://wiki.whatwg.org/wiki/CanvasOpaque

Source: https://codereview.chromium.org/14643005/
28
13
David Michael's profile photoVibhor Mittal's profile photoMichal Chovanec's profile photoRicardo Cabello's profile photo
6 comments
 
Is this intended to make it easier for Chrome to do accelerated compositing?
 
canvas.getContext('2d', { antialias: false }); next? :)_
Add a comment...