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

Issue 6814105: Apply intersect rects to earlier clip elements and skip rects when possible. (Closed)

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

Description

Apply intersect rects to earlier clip elements and skip rects when possible. R=robertphillips@google.com Committed: https://code.google.com/p/skia/source/detail?r=6351

Patch Set 1 #

Patch Set 2 : Apply intersect rects to earlier clip elements and skip rects when possible. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+121 lines, -70 lines) Patch
M include/core/SkClipStack.h View 1 2 chunks +10 lines, -0 lines 0 comments Download
M src/core/SkClipStack.cpp View 1 2 chunks +16 lines, -0 lines 0 comments Download
M src/gpu/GrClipMaskManager.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/GrClipMaskManager.cpp View 1 13 chunks +94 lines, -69 lines 2 comments Download

Messages

Total messages: 4
bsalomon
Apply intersect rects to earlier clip elements and skip rects when possible. R=robertphillips@google.com
12 years ago (2012-11-08 14:12:11 UTC) #1
bsalomon
12 years ago (2012-11-08 14:13:50 UTC) #2
robertphillips
LGTM + 1 comment suggestion https://codereview.appspot.com/6814105/diff/2001/src/gpu/GrClipMaskManager.cpp File src/gpu/GrClipMaskManager.cpp (right): https://codereview.appspot.com/6814105/diff/2001/src/gpu/GrClipMaskManager.cpp#newcode643 src/gpu/GrClipMaskManager.cpp:643: get_current_mask_bounds(maskResultBounds, iter, clipToMaskOffset, &currMaskBounds); ...
12 years ago (2012-11-08 14:29:37 UTC) #3
bsalomon
12 years ago (2012-11-08 14:32:34 UTC) #4
https://codereview.appspot.com/6814105/diff/2001/src/gpu/GrClipMaskManager.cpp
File src/gpu/GrClipMaskManager.cpp (right):

https://codereview.appspot.com/6814105/diff/2001/src/gpu/GrClipMaskManager.cp...
src/gpu/GrClipMaskManager.cpp:643: get_current_mask_bounds(maskResultBounds,
iter, clipToMaskOffset, &currMaskBounds);
On 2012/11/08 14:29:38, robertphillips wrote:
> // Since currMaskBounds is mainly used to reduce the amount of touched pixels
we
> can roundOut here (i.e., we do not have to be precise). However,
currMaskBounds
> will exactly account for any encountered non-AA rects.
> ??

SGTM
Sign in to reply to this message.

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