diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2015-03-16 13:36:36 +0100 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2015-03-16 13:36:36 +0100 |
| commit | 4338402e29d2c448c24f4efe6a788adb84f81785 (patch) | |
| tree | b22d52562f0dadf4532556cbbd93d8567d50ee23 /src/GraphicObjects | |
| parent | 871f7388f22f642f913ea955662840ce8da2f7ce (diff) | |
OpenGL indirect drawing for ui quad
(shader and vao)
Diffstat (limited to 'src/GraphicObjects')
| -rw-r--r-- | src/GraphicObjects/Scroller.cs | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/src/GraphicObjects/Scroller.cs b/src/GraphicObjects/Scroller.cs index c896f3b4..b24eb784 100644 --- a/src/GraphicObjects/Scroller.cs +++ b/src/GraphicObjects/Scroller.cs @@ -163,57 +163,5 @@ namespace go ctx.Restore();
}
-
-//
-// public override void Paint(ref Cairo.Context ctx, Rectangles clip = null)
-// {
-// if (!Visible)//check if necessary??
-// return;
-//
-// ctx.Save();
-//
-// Rectangle tmp;
-// tmp = Parent.ContextCoordinates(Slot);
-//// ctx.Rectangle(tmp);
-//// ctx.Clip();
-//
-//// if (clip != null)
-//// clip.clip(ctx);
-//
-// if (bmp == null)
-// UpdateGraphic ();
-//
-//
-//
-// int stride = 4 * Slot.Width;
-// using (ImageSurface source = new ImageSurface(bmp, Format.Argb32, tmp.Width, tmp.Height, stride)) {
-// ctx.SetSourceSurface (source, tmp.X, tmp.Y);
-// ctx.Paint ();
-// }
-//
-//
-// //clip to client zone
-//// ctx.Rectangle(Parent.ContextCoordinates(ClientRectangle + Slot.Position));
-//// ctx.Clip();
-//
-// //ctx.Translate (scrollX, scrollY);
-//
-// if (clip != null)
-// clip.Srcoll (this);
-////
-//// //clip.stroke (ctx, Color.Green);
-////
-////// if (scrollY < 0)
-////// Debug.WriteLine ("..");
-//// }
-//
-//
-//
-// if (child != null)
-// child.Paint(ref ctx, clip);
-//
-// ctx.Restore();
-// }
-
}
}
|