DescriptionMake 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
Committed: https://skia.googlesource.com/skia/+/cd6ca9e689610d9fad2ef2b9c840dcdccc649471
Patch Set 1 #
Messages
Total messages: 5 (1 generated)
|