DescriptionThe code that flips the orientation of the texture domain was not swizzling the bounds correctly. The shader assumes that the bounds are passed as (t, l, b, r).
Inverting or scaling the bounds can invalidate the l < r, t < b constraints.
This fix resolves chrome issue: crbug.com/84010
Committed: http://code.google.com/p/skia/source/detail?r=1483
Patch Set 1 #
Total comments: 5
Patch Set 2 : Explicitly exchange 1, 3 during orientation flip. #Patch Set 3 : Addition of relevant test to SampleTextureDomain.cpp #Patch Set 4 : Correct arg types to setXYWH. #MessagesTotal messages: 13
|