DescriptionCulling API
*** SKP format breaking change ***
Adding a couple of culling primitives: pushCull(SkRect) & popCull().
These are currently only plumbed for SKP playback quickreject.
At record time, we perform a couple of optimizations to trim down the
number of redundant culls:
* collapse empty pushCull/popCull pairs
* skip pushCull/popCull pairs nested within an identical cull rect
Things still missing/to consider:
* use an inlineable, simplified quickreject (Mike's old prototype)
* debugger visualization for cull boxes
* BBH integration: the initial prototype had some minimal BBH support,
but since the optimizations required expensive rewinds and culling
is expected to be a BBH alternative, it got dropped.
R=reed@google.com,robertphillips@google.com,bsalomon@google.com
Committed: http://code.google.com/p/skia/source/detail?r=13611
Patch Set 1 #Patch Set 2 : Comments, formatting. #
Total comments: 11
Patch Set 3 : Updated per comments. #Patch Set 4 : Rebased, fCullOffsetStack decl -> unconditional #
Total comments: 18
Patch Set 5 : Updated per comments. #Patch Set 6 : Release build fix. #
Total comments: 3
Patch Set 7 : Assert nested culls. #
Total comments: 3
Patch Set 8 : Updated per comments. #
Messages
Total messages: 22 (0 generated)
|