~anton0/ubuntu/precise/unity/lp-789979

« back to all changes in this revision

Viewing changes to plugins/unityshell/src/OverlayRenderer.cpp

  • Committer: Package Import Robot
  • Author(s): Didier Roche
  • Date: 2012-04-17 18:04:01 UTC
  • Revision ID: package-import@ubuntu.com-20120417180401-19ou95nwyda39ej0
Tags: 5.10.0-0ubuntu6
* Cherry-picked upstream:
  - Panel is transparent when Dash is open on netbooks; no blur
    no average BG color (LP: #965323)

Show diffs side-by-side

added added

removed removed

Lines of Context:
500
500
  nux::GetPainter().RenderSinglePaintLayer(gfx_context, larger_content_geo, bg_darken_layer_);
501
501
 
502
502
#ifndef NUX_OPENGLES_20
503
 
  if (gfx_context.UsingGLSLCodePath() == FALSE)
 
503
  if (gfx_context.UsingGLSLCodePath() == false)
504
504
  {
505
505
    bg_layer_->SetGeometry(larger_content_geo);
506
506
    nux::GetPainter().RenderSinglePaintLayer(gfx_context, larger_content_geo, bg_layer_);
507
507
  }
508
508
#endif
509
509
 
510
 
 
511
510
  texxform_absolute_bg.flip_v_coord = false;
512
511
  texxform_absolute_bg.uoffset = (1.0f / bg_shine_texture_->GetWidth()) * parent->x_offset;
513
512
  texxform_absolute_bg.voffset = (1.0f / bg_shine_texture_->GetHeight()) * parent->y_offset;
835
834
  bgs++;
836
835
 
837
836
#ifndef NUX_OPENGLES_20
838
 
  if (gfx_context.UsingGLSLCodePath() == FALSE)
 
837
  if (gfx_context.UsingGLSLCodePath() == false)
839
838
  {
840
839
    nux::GetPainter().PushLayer(gfx_context, bg_layer_->GetGeometry(), bg_layer_);
841
840
    bgs++;