commit | cd6ca9e689610d9fad2ef2b9c840dcdccc649471 | [log] [tgz] |
---|---|---|
author | kkinnunen <kkinnunen@nvidia.com> | Wed Feb 18 10:50:52 2015 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Wed Feb 18 10:50:52 2015 -0800 |
tree | 2df73079d7f4e32ed561eb60f7ea61f7c8f90a21 | |
parent | 4c7a8b04a09a6b9558a8ffcfbd311c0681ab5df1 [diff] |
Make SkImage::getTexture() const Make SkImage::getTexture() const. At the moment the function does not mutate the state. One use-case is that this makes it possible in the future to add draw function to SkBaseDevice functions. The device draw functions take const ref objects, but SkGpuDevice likely would benefit of using the getTexture(). BUG=skia:3388 R=reed@google.com Review URL: https://codereview.chromium.org/925853002