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

Issue 4420041: [PDF] If the clip is empty, we shouldn't bother actually drawing anything. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 7 months ago by Steve VanDeBogart
Modified:
13 years, 7 months ago
Reviewers:
reed1
CC:
skia-review_googlegroups.com
Base URL:
https://skia.googlecode.com/svn/trunk
Visibility:
Public.

Description

[PDF] If the clip is empty, we shouldn't bother actually drawing anything. Plus, fix ifdef for flate test. Committed: http://code.google.com/p/skia/source/detail?r=1141

Patch Set 1 #

Total comments: 2

Patch Set 2 : Use SkDraw to determine an empty clip #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -7 lines) Patch
M src/pdf/SkPDFDevice.cpp View 1 10 chunks +55 lines, -6 lines 0 comments Download
M tests/FlateTest.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 5
Steve VanDeBogart
13 years, 7 months ago (2011-04-15 00:19:29 UTC) #1
Steve VanDeBogart
Actually nevermind, I combined this with a few other fixes.
13 years, 7 months ago (2011-04-15 01:49:06 UTC) #2
reed1
http://codereview.appspot.com/4420041/diff/1/src/pdf/SkPDFDevice.cpp File src/pdf/SkPDFDevice.cpp (right): http://codereview.appspot.com/4420041/diff/1/src/pdf/SkPDFDevice.cpp#newcode203 src/pdf/SkPDFDevice.cpp:203: void SkPDFDevice::drawPaint(const SkDraw& d, const SkPaint& paint) { why ...
13 years, 7 months ago (2011-04-15 11:55:37 UTC) #3
Steve VanDeBogart
http://codereview.appspot.com/4420041/diff/1/src/pdf/SkPDFDevice.cpp File src/pdf/SkPDFDevice.cpp (right): http://codereview.appspot.com/4420041/diff/1/src/pdf/SkPDFDevice.cpp#newcode203 src/pdf/SkPDFDevice.cpp:203: void SkPDFDevice::drawPaint(const SkDraw& d, const SkPaint& paint) { On ...
13 years, 7 months ago (2011-04-15 18:40:47 UTC) #4
reed1
13 years, 7 months ago (2011-04-15 19:12:28 UTC) #5
LGTM
Sign in to reply to this message.

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