Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(598)

Issue 12879005: Fixing deferred canvas bug caused by SkTwoPointConicalGradient declaring itself as opaque. (Closed)

Created:
7 years, 9 months ago by Justin Novosad
Modified:
7 years, 9 months ago
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Fixing deferred canvas bug caused by SkTwoPointConicalGradient declaring itself as opaque. BUG=https://code.google.com/p/chromium/issues/detail?id=222140 TEST=DeferredCanvas unit test + DRT with --enable-deferred-2d-canvas Committed: http://code.google.com/p/skia/source/detail?r=8247

Patch Set 1 #

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -14 lines) Patch
M src/effects/gradients/SkTwoPointConicalGradient.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/effects/gradients/SkTwoPointConicalGradient.cpp View 1 chunk +6 lines, -0 lines 0 comments Download
M tests/DeferredCanvasTest.cpp View 1 6 chunks +31 lines, -14 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Justin Novosad
7 years, 9 months ago (2013-03-19 20:39:11 UTC) #1
bsalomon
On 2013/03/19 20:39:11, junov wrote: lgtm
7 years, 9 months ago (2013-03-19 21:27:06 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/junov@chromium.org/12879005/5002
7 years, 9 months ago (2013-03-20 00:49:53 UTC) #3
commit-bot: I haz the power
Change committed as 8247
7 years, 9 months ago (2013-03-20 00:50:01 UTC) #4
reed1
I think there are times that conical draws everywhere (e.g. when the first circle is ...
7 years, 9 months ago (2013-03-20 13:27:36 UTC) #5
Justin Novosad
After working out the math in my head, I think it is actually when the ...
7 years, 9 months ago (2013-03-20 14:18:39 UTC) #6
reed1
7 years, 9 months ago (2013-03-20 14:47:02 UTC) #7
Message was sent while issue was closed.
On 2013/03/20 14:18:39, junov wrote:
> After working out the math in my head, I think it is actually when the
*center*
> of the smallest of the two circles is inside the larger circle. By "inside", I
> mean excluding the edge.
> 
> R1 != R2 && (C1 - C2).length() < max(R1, R2)
> 
> I want to be 100% sure this is correct before submitting it. For Now I prefer
to
> be conservative.  I will log a bug right away.

Sure, lets file a bug, and perhaps add this idea to the comment in the code
where we return false for now.

Powered by Google App Engine
This is Rietveld 408576698