Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(7340)

Issue 1636044: code review 1636044: Allow draw image destination to avoid slow path by impl...

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 10 months ago by rog
Modified:
13 years, 10 months ago
Reviewers:
nigeltao, r, r2
CC:
golang-dev
Visibility:
Public.

Description

Allow draw image destination to avoid slow path by implementing DrawMask method.

Patch Set 1 #

Patch Set 2 : code review 1636044: Allow draw image destination to avoid slow path by impl... #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -2 lines) Patch
M src/pkg/exp/draw/draw.go View 3 chunks +15 lines, -2 lines 2 comments Download

Messages

Total messages: 6
rog
Hello nigeltao_golang, r (cc: golang-dev@googlegroups.com), I'd like you to review this change.
13 years, 10 months ago (2010-06-11 13:07:23 UTC) #1
r2
i wonder about micromanaging this kind of stuff but this seems plausible to me http://codereview.appspot.com/1636044/diff/2001/3001 ...
13 years, 10 months ago (2010-06-11 19:38:46 UTC) #2
rog
i don't know if this is considered a good thing, but this patch also enables ...
13 years, 10 months ago (2010-06-11 22:54:31 UTC) #3
nigeltao
http://codereview.appspot.com/1636044/diff/2001/3001 File src/pkg/exp/draw/draw.go (right): http://codereview.appspot.com/1636044/diff/2001/3001#newcode74 src/pkg/exp/draw/draw.go:74: switch dst0 := dst.(type) { This won't work if ...
13 years, 10 months ago (2010-06-16 04:22:06 UTC) #4
rog
On 16 June 2010 05:22, <nigeltao@golang.org> wrote: > > http://codereview.appspot.com/1636044/diff/2001/3001 > File src/pkg/exp/draw/draw.go (right): > ...
13 years, 10 months ago (2010-06-16 07:28:21 UTC) #5
nigeltao
13 years, 10 months ago (2010-06-16 23:04:21 UTC) #6
On 2010/06/16 07:28:21, rog wrote:
> no, this will work fine in that case. type switches work just like
> type assertions for interface types.

Oops, you're right.

Still thinking...
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b