diff options
author | Nigel Tao <nigeltao@golang.org> | 2021-04-18 13:38:34 +1000 |
---|---|---|
committer | Nigel Tao <nigeltao@golang.org> | 2021-06-18 23:57:09 +0000 |
commit | 86743e7d8652c316b5f77a84ffc83244ee10a41b (patch) | |
tree | 95eb6875dcced583cc0bf98bfb036e363e126df3 /src/database/sql/sql_test.go | |
parent | 9401172166ee6ac64a5a74b4a8f2aa6d3f936ea1 (diff) | |
download | go-86743e7d8652c316b5f77a84ffc83244ee10a41b.tar.gz |
image: add RGBA64Image interface
The new RGBA64At method is equivalent to the existing At method (and the
new SetRGBA64 method is equivalent to the existing Set method in the
image/draw package), but they can avoid allocations from converting
concrete color types to the color.Color interface type.
Also update api/go1.17.txt and doc/go1.17.html
Fixes #44808
Change-Id: I8671f3144512b1200fa373840ed6729a5d61bc35
Reviewed-on: https://go-review.googlesource.com/c/go/+/311129
Trust: Nigel Tao <nigeltao@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
Diffstat (limited to 'src/database/sql/sql_test.go')
0 files changed, 0 insertions, 0 deletions