DescriptionGoal: ensure we always balance lock/unlock pixels calls.
A big caller of lockPixels is setContext in the bitmapshader.
This change replaces beginSession/endSession with adding endContext(), and
adds debugging code to ensure that
1. setContext calls are never nested
2. endContext is always called after each setContext call.
Committed: https://code.google.com/p/skia/source/detail?r=6798
Patch Set 1 #
Total comments: 11
Patch Set 2 : #Patch Set 3 : #Patch Set 4 : #
MessagesTotal messages: 6
|