[CanvasRenderer] Native "alpha" Context Attribute
WHATWG Reference: http://wiki.whatwg.org/wiki/CanvasOpaque
Chromium Ticket: https://code.google.com/p/chromium/issues/detail?id=234297

This API feature is now shipping in Chrome 32 stable.  Tested there, as well as in Safari 7 and Firefox 26 (which do not yet support it).  The desired effect is exhibited with no known regressions, and should provide performance improvements, where supported, akin to the same feature in WebGL.

NOTE: As is the case with WebGLRenderer, PIXI.Stage.setBackgroundColor will currently have no effect when transparent is false.
1 parent 95fdf9b commit 781408dad8cb485b9a4c0df68ec7c81142abee58
@brianblakely brianblakely authored on 20 Jan 2014
Showing 1 changed file
View
src/pixi/renderers/canvas/CanvasRenderer.js