Fix for combining with perspective local rects
TBR=robertphillips@google.com BUG=skia: Review URL: https://codereview.chromium.org/1347913004
This commit is contained in:
parent
1052f51a7d
commit
2120b6f2cc
@ -157,6 +157,7 @@ public:
|
||||
const GrPipelineOptimizations& opts) {
|
||||
// We could batch across perspective vm changes if we really wanted to
|
||||
return mine.fViewMatrix.cheapEqualTo(theirs.fViewMatrix) &&
|
||||
mine.fHasLocalRect == theirs.fHasLocalRect &&
|
||||
(!mine.fHasLocalMatrix || mine.fLocalMatrix.cheapEqualTo(theirs.fLocalMatrix));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user