diff options
author | erikchen <erikchen@chromium.org> | 2016-02-09 13:30:55 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-09 13:30:55 -0800 |
commit | b8d6e088590160f1198110c2371b802c1d541a36 (patch) | |
tree | 9422425401642d7464a7010b6fec8b531aefa170 /src/opts | |
parent | 4a7940bf5e4de6396fd48bbfdbf883e696b19b35 (diff) |
skia: Add support for CHROMIUM_image backed textures.
I created a new abstract base class TextureStorageAllocator that consumers of
Skia can subclass and pass back to Skia. When a surface is created with a
pointer to a TextureStorageAllocator, any textures it creates, or that are
derived from the original surface, will allocate and deallocate storage using
the methods on TextureStorageAllocator.
BUG=https://code.google.com/p/chromium/issues/detail?id=579664
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1623653002
Committed: https://skia.googlesource.com/skia/+/92098e691f10a010e7421125ba4d44c02506bb55
Committed: https://skia.googlesource.com/skia/+/7fec91ce6660190f8d7c5eb6f3061e4550cc672b
Review URL: https://codereview.chromium.org/1623653002
Diffstat (limited to 'src/opts')
0 files changed, 0 insertions, 0 deletions