DescriptionUse SkImage snapshots for ImageBufferSurface texture access
Instead of accessing the underlying SkCanvas device and poking at render targets directly, use the
SkSurface to generate temporary SkImage snapshots, then grab texture IDs from these.
The main motivation is getting rid of deprecated SkCanvas::getTopDevice() users, but SkImage
wrappers also help making the texture ownership/lifetime more explicit.
(API refactoring, no functional side effects expected)
BUG=499001, skia:3940
R=reed@google.com,bsalomon@google.com,junov@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197654
Patch Set 1 #Patch Set 2 : cleanup #
Total comments: 2
Patch Set 3 : review comments #
Total comments: 1
Messages
Total messages: 16 (4 generated)
|