 
 Foundation = require 'art-foundation'
 Atomic = require 'art-atomic'
-Webgl = require 'art-canvas/webgl'
 Canvas = require 'art-canvas'
 ArtEngineEvents = require '../events'
 Element = require './element'

    @_drawEpochPreprocessing = []
    @_drawEpochQueued = false

    {@webgl} = options

    @retinaSupport = true unless options.disableRetina

    @_attach @_getOrCreateCanvasElement options

    @_canvas.setAttribute "height",  @_pixelSize.y

    @_updateCanvasToDocumentMatricies()
    @_bitmapFactory = @canvasBitmap = new Canvas.Bitmap @_canvas
    @queueDrawEpoch()

  _setLocationFromLayoutXY: (x, y) ->
