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

Issue 6812101: Fix texture domain clipping assertion. It is OK to have a degenerate domain. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 1 month ago by bsalomon
Modified:
12 years, 1 month ago
Reviewers:
robertphillips
CC:
skia-review_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Fix texture domain clipping assertion. It is OK to have a degenerate domain. Committed: https://code.google.com/p/skia/source/detail?r=6356

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -2 lines) Patch
M gm/drawbitmaprect.cpp View 1 2 2 chunks +7 lines, -1 line 0 comments Download
M src/gpu/effects/GrTextureDomainEffect.cpp View 1 1 chunk +10 lines, -1 line 2 comments Download

Messages

Total messages: 3
bsalomon
12 years, 1 month ago (2012-11-08 16:12:09 UTC) #1
robertphillips
LGTM + 1 question https://codereview.appspot.com/6812101/diff/5001/src/gpu/effects/GrTextureDomainEffect.cpp File src/gpu/effects/GrTextureDomainEffect.cpp (right): https://codereview.appspot.com/6812101/diff/5001/src/gpu/effects/GrTextureDomainEffect.cpp#newcode138 src/gpu/effects/GrTextureDomainEffect.cpp:138: GrAssert(domain.fTop <= domain.fBottom); We don't ...
12 years, 1 month ago (2012-11-08 16:21:53 UTC) #2
bsalomon
12 years, 1 month ago (2012-11-08 16:22:54 UTC) #3
https://codereview.appspot.com/6812101/diff/5001/src/gpu/effects/GrTextureDom...
File src/gpu/effects/GrTextureDomainEffect.cpp (right):

https://codereview.appspot.com/6812101/diff/5001/src/gpu/effects/GrTextureDom...
src/gpu/effects/GrTextureDomainEffect.cpp:138: GrAssert(domain.fTop <=
domain.fBottom);
On 2012/11/08 16:21:53, robertphillips wrote:
> We don't have a function that does this?

I don't know of any that don't either check or assert empty rectangles.
Sign in to reply to this message.

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