       @_generateDrawCache()
       true
     else if !_cacheDraw
-      @_clearDrawCache() if @_drawCacheBitmap
+      @_clearDrawCache()
       false
     else if _cacheDraw == 'locked' && @_drawCacheBitmap
       false


  ###
  __clearDrawCacheCallbackFromDrawCacheManager: ->
    @_drawCacheBitmap = null

  _clearDrawCache: (force)->
    if @_cacheDraw == "locked"
      @_drawCacheBitmapInvalid = true
      return


    drawCacheManager.doneWithCacheBitmap @ if @_drawCacheBitmap


    @_cachableDrawCount = 0

  _drawPropertiesChanged: ->
    @_clearDrawCache()
    @_elementDrawChangedThisFrame = true

  _elementToParentMatrixChanged: (oldElementToParentMatrix)->

  _needsRedrawing: (descendant = @) ->
    @_clearDrawCache()
    @_elementDrawChangedThisFrame = true
    if @getPendingVisible() && @getPendingOpacity() > 1/512
      @getPendingParent()?._needsRedrawing descendant
