       t0 = Date.now()
 
       if not (selected_indices and selected_indices.length and @have_selection_glyphs())
-        do_render(ctx, indices, @glyph)
+        do_render(ctx, indices, @glyphView)
       else
         # reset the selection mask
         selected_mask = (false for i in @all_indices)

            @plot_view.x_range, @plot_view.y_range,
            x_range,
            # XXX: @glyph.x.field (etc.) indicates this be moved to Glyph
            @glyph.y.field,
            @glyph.x.field,
            [@glyph.y.field],
            transform_params
          )
        else

      @plot_view.map_to_screen(x, x_units, y, y_units, @mget("x_range_name"), @mget("y_range_name"))

    draw_legend: (ctx, x0, x1, y0, y1) ->
      @glyphView.draw_legend(ctx, x0, x1, y0, y1)

    hit_test: (geometry) ->
      @glyphView.hit_test(geometry)

  class GlyphRenderer extends HasParent
    default_view: GlyphRendererView
