From: Nigel Tao Date: Fri, 24 Sep 2010 02:15:49 +0000 (+1000) Subject: exp/draw: remove "this isn't ready yet" comments. X-Git-Tag: weekly.2010-09-29~70 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=099d7b4d1d9d601e0f5b4f2be6f42ec8c5ee2e86;p=gostls13.git exp/draw: remove "this isn't ready yet" comments. R=rsc, r2 CC=golang-dev https://golang.org/cl/2248046 --- diff --git a/src/pkg/exp/draw/draw.go b/src/pkg/exp/draw/draw.go index eabd88ed1b..3d8ee89b28 100644 --- a/src/pkg/exp/draw/draw.go +++ b/src/pkg/exp/draw/draw.go @@ -8,8 +8,6 @@ // and the X Render extension. package draw -// BUG(rsc): This is a toy library and not ready for production use. - import "image" // m is the maximum color value returned by image.Color.RGBA. @@ -40,8 +38,6 @@ func Draw(dst Image, r image.Rectangle, src image.Image, sp image.Point) { // DrawMask aligns r.Min in dst with sp in src and mp in mask and then replaces the rectangle r // in dst with the result of a Porter-Duff composition. A nil mask is treated as opaque. -// The implementation is simple and slow. -// TODO(nigeltao): Optimize this. func DrawMask(dst Image, r image.Rectangle, src image.Image, sp image.Point, mask image.Image, mp image.Point, op Op) { sb := src.Bounds() dx, dy := sb.Max.X-sp.X, sb.Max.Y-sp.Y diff --git a/src/pkg/exp/draw/x11/conn.go b/src/pkg/exp/draw/x11/conn.go index beba0a694c..70c2ee2d83 100644 --- a/src/pkg/exp/draw/x11/conn.go +++ b/src/pkg/exp/draw/x11/conn.go @@ -8,8 +8,6 @@ // A summary of the wire format can be found in XCB's xproto.xml. package x11 -// BUG(nigeltao): This is a toy library and not ready for production use. - import ( "bufio" "exp/draw"