DescriptionChange scratch texture cache behavior to only reuse scratch textures used as render targets if they will be reused as render targets.
The original behavior could sometimes confuse the driver; textures would alternate between being used as render targets and having data uploaded into them.
Committed: https://code.google.com/p/skia/source/detail?r=5252
Patch Set 1 #
Total comments: 1
Patch Set 2 : #Patch Set 3 : fix spacing #
Total comments: 2
Patch Set 4 : Add assert and explanatory comment. #
Total comments: 1
Patch Set 5 : Fix comment. #MessagesTotal messages: 11
|