aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/Makefile
diff options
context:
space:
mode:
authorNigel Tao <nigeltao@golang.org>2011-10-04 11:09:03 +1100
committerNigel Tao <nigeltao@golang.org>2011-10-04 11:09:03 +1100
commita2846e65dc1a09088bbebbf71eade1a232c7a6e2 (patch)
tree733cedd02e3ce1470af6ff12fe6c49f77d0b99f5 /src/pkg/Makefile
parent934c76801938aaaa9f2d66513a3c0c1652783586 (diff)
downloadgo-a2846e65dc1a09088bbebbf71eade1a232c7a6e2.tar.xz
image: spin off a new color package out of the image package.
The spin-off renames some types. The new names are simply better: image.Color -> color.Color image.ColorModel -> color.Model image.ColorModelFunc -> color.ModelFunc image.PalettedColorModel -> color.Palette image.RGBAColor -> color.RGBA image.RGBAColorModel -> color.RGBAModel image.RGBA64Color -> color.RGBA64 image.RGBA64ColorModel -> color.RGBA64Model (similarly for NRGBAColor, GrayColorModel, etc) The image.ColorImage type stays in the image package, but is renamed: image.ColorImage -> image.Uniform The image.Image implementations (image.RGBA, image.RGBA64, image.NRGBA, image.Alpha, etc) do not change their name, and gain a nice symmetry: an image.RGBA is an image of color.RGBA, etc. The image.Black, image.Opaque uniform images remain unchanged (although their type is renamed from image.ColorImage to image.Uniform). The corresponding color types (color.Black, color.Opaque, etc) are new. Nothing in the image/ycbcr is renamed yet. The ycbcr.YCbCrColor and ycbcr.YCbCrImage types will eventually migrate to color.YCbCr and image.YCbCr, but that will be a separate CL. R=r, bsiegert CC=golang-dev https://golang.org/cl/5132048
Diffstat (limited to 'src/pkg/Makefile')
-rw-r--r--src/pkg/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pkg/Makefile b/src/pkg/Makefile
index 6b9a2d8784..e6b5d785b6 100644
--- a/src/pkg/Makefile
+++ b/src/pkg/Makefile
@@ -112,6 +112,7 @@ DIRS=\
http/spdy\
image\
image/bmp\
+ image/color\
image/draw\
image/gif\
image/jpeg\
@@ -212,6 +213,7 @@ NOTEST+=\
http/pprof\
http/httptest\
image/bmp\
+ image/color\
image/gif\
net/dict\
rand\