summaryrefslogtreecommitdiff
path: root/src/pkg/exp/draw/draw_test.go
AgeCommit message (Collapse)AuthorFilesLines
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-33/+96
2010-06-04Fixes issue 836.Nigel Tao1-0/+14
R=gri CC=golang-dev http://codereview.appspot.com/1548042
2010-05-28Make image.Color.RGBA return 16 bit color instead of 32 bit color.Nigel Tao1-9/+0
R=rsc CC=golang-dev http://codereview.appspot.com/1388041
2010-05-21go/printer, gofmt: fix printing of labels,Robert Griesemer1-1/+2
apply gofmt to src, misc Fixes issue 752. R=rsc CC=golang-dev http://codereview.appspot.com/1240044 Committer: Robert Griesemer <gri@golang.org>
2010-05-20Fast-ish path for drawing onto an image.RGBA destination.Nigel Tao1-3/+57
Time to draw.Draw a 200x200 image fell from 18.4ms (and 1 malloc) to 5.6ms (and 0 mallocs). It's still relatively slow since it assumes nothing about the src or mask images, but it does remove the malloc. There are existing faster, more specialized paths for copies, fills and image glyph masks. Also added a "compare to a slow but obviously correct implementation" check to draw_test.go. R=rsc, r CC=golang-dev http://codereview.appspot.com/1223044
2010-02-17Add Src and Over draw operators.Nigel Tao1-12/+28
R=r, rsc CC=golang-dev http://codereview.appspot.com/207096
2010-02-11exp/draw test.Nigel Tao1-0/+89
R=rsc CC=golang-dev http://codereview.appspot.com/203062