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

Issue 6449089: Added SkClipStack portion of new clip mask caching system (Closed)

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

Description

The generation ID computed and stored by the SkClipStack will be used to identify the cached clip masks in the texture cache.

Patch Set 1 #

Total comments: 12

Patch Set 2 : Addresses code review issues #

Patch Set 3 : cleaned up #

Total comments: 2

Patch Set 4 : Added static GetNextGenID method #

Unified diffs Side-by-side diffs Delta from patch set Stats (+162 lines, -15 lines) Patch
M include/core/SkClipStack.h View 1 2 3 3 chunks +51 lines, -0 lines 0 comments Download
M src/core/SkClipStack.cpp View 1 2 3 14 chunks +92 lines, -15 lines 0 comments Download
M src/gpu/SkGpuDevice.cpp View 1 1 chunk +19 lines, -0 lines 0 comments Download

Messages

Total messages: 9
robertphillips
12 years, 3 months ago (2012-08-03 11:22:04 UTC) #1
bsalomon
http://codereview.appspot.com/6449089/diff/1/include/core/SkCanvas.h File include/core/SkCanvas.h (right): http://codereview.appspot.com/6449089/diff/1/include/core/SkCanvas.h#newcode900 include/core/SkCanvas.h:900: SkClipStack* getClipStack() { Mutable pointer to the clip stack ...
12 years, 3 months ago (2012-08-03 12:38:45 UTC) #2
reed1
can you summarize what is really needed? is it enough to call a device-virtual on ...
12 years, 3 months ago (2012-08-03 12:42:22 UTC) #3
robertphillips
Of the possible universe of bad solutions to removing the public SkClipStack getter, here is ...
12 years, 3 months ago (2012-08-03 14:33:56 UTC) #4
bsalomon
I'll let you and Mike fight out the notification system. http://codereview.appspot.com/6449089/diff/12/src/core/SkClipStack.cpp File src/core/SkClipStack.cpp (right): http://codereview.appspot.com/6449089/diff/12/src/core/SkClipStack.cpp#newcode559 ...
12 years, 3 months ago (2012-08-03 19:07:15 UTC) #5
robertphillips
http://codereview.appspot.com/6449089/diff/12/src/core/SkClipStack.cpp File src/core/SkClipStack.cpp (right): http://codereview.appspot.com/6449089/diff/12/src/core/SkClipStack.cpp#newcode559 src/core/SkClipStack.cpp:559: int32_t genID = sk_atomic_inc(&gGenID); On 2012/08/03 19:07:15, bsalomon wrote: ...
12 years, 3 months ago (2012-08-06 11:19:49 UTC) #6
robertphillips
Brian - it appears this is now yours to approve/disapprove.
12 years, 3 months ago (2012-08-07 14:22:38 UTC) #7
bsalomon
On 2012/08/07 14:22:38, robertphillips wrote: > Brian - it appears this is now yours to ...
12 years, 3 months ago (2012-08-07 14:28:28 UTC) #8
robertphillips
12 years, 3 months ago (2012-08-07 15:38:31 UTC) #9
committed as r4978
Sign in to reply to this message.

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