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

Issue 4464043: [PDF] Add support for Clear, Src, Dst, DstOver xfermodes. (Closed)

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

Description

[PDF] Add support for Clear, Src, Dst, DstOver xfermodes. This uses the refactoring in http://codereview.appspot.com/4459041/ to add support for additional xfer modes. Calling setupContentEntry may affect previous content entries (removing, reordering, or modifying their clip) and indicates to the caller if it should draw the new item or not. Committed: http://code.google.com/p/skia/source/detail?r=1271

Patch Set 1 #

Total comments: 8

Patch Set 2 : Rebase and address comments #

Total comments: 3

Patch Set 3 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+186 lines, -72 lines) Patch
M include/pdf/SkPDFDevice.h View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M src/pdf/SkPDFDevice.cpp View 1 2 15 chunks +178 lines, -69 lines 0 comments Download
M src/pdf/SkPDFGraphicState.cpp View 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 8
Steve VanDeBogart
I also have support for Src/Dst-In/Out in the pipeline.
13 years, 2 months ago (2011-05-05 18:40:39 UTC) #1
reed1
defers to chris
13 years, 2 months ago (2011-05-05 18:48:32 UTC) #2
Chris Guillory
On 2011/05/05 18:48:32, reed1 wrote: > defers to chris Looking. Mike, mind taking a browse ...
13 years, 2 months ago (2011-05-06 19:18:15 UTC) #3
reed1
http://codereview.appspot.com/4464043/diff/1/src/pdf/SkPDFDevice.cpp File src/pdf/SkPDFDevice.cpp (right): http://codereview.appspot.com/4464043/diff/1/src/pdf/SkPDFDevice.cpp#newcode579 src/pdf/SkPDFDevice.cpp:579: // though we won't draw anything. Not sure what ...
13 years, 2 months ago (2011-05-06 20:57:52 UTC) #4
Chris Guillory
http://codereview.appspot.com/4464043/diff/1/include/pdf/SkPDFDevice.h File include/pdf/SkPDFDevice.h (right): http://codereview.appspot.com/4464043/diff/1/include/pdf/SkPDFDevice.h#newcode161 include/pdf/SkPDFDevice.h:161: // If the paint or clip is such that ...
13 years, 2 months ago (2011-05-06 21:09:20 UTC) #5
Steve VanDeBogart
http://codereview.appspot.com/4464043/diff/1/include/pdf/SkPDFDevice.h File include/pdf/SkPDFDevice.h (right): http://codereview.appspot.com/4464043/diff/1/include/pdf/SkPDFDevice.h#newcode161 include/pdf/SkPDFDevice.h:161: // If the paint or clip is such that ...
13 years, 2 months ago (2011-05-07 01:49:16 UTC) #6
Chris Guillory
LGTM to your explanation. Some minor nits. http://codereview.appspot.com/4464043/diff/9001/src/pdf/SkPDFDevice.cpp File src/pdf/SkPDFDevice.cpp (right): http://codereview.appspot.com/4464043/diff/9001/src/pdf/SkPDFDevice.cpp#newcode361 src/pdf/SkPDFDevice.cpp:361: ContentEntry* entry ...
13 years, 2 months ago (2011-05-07 02:42:08 UTC) #7
Steve VanDeBogart
13 years, 2 months ago (2011-05-07 18:49:36 UTC) #8
http://codereview.appspot.com/4464043/diff/9001/src/pdf/SkPDFDevice.cpp
File src/pdf/SkPDFDevice.cpp (right):

http://codereview.appspot.com/4464043/diff/9001/src/pdf/SkPDFDevice.cpp#newco...
src/pdf/SkPDFDevice.cpp:361: ContentEntry* entry = entries->get();
On 2011/05/07 02:42:08, Chris Guillory wrote:
> Nit: parentEntry.get();

I simplified even further, getting rid of entry and renameing parentEntry
(really entryPointer) to entry.
Sign in to reply to this message.

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