GrMatrixEffect applies coord normalization/flip for GrTextureEffect.

It checks if its child is a GrTextureEffect and if so the child supplies
a matrix to concat.

Additionally, GrTextureEffect shader modes that operate on unnormalized
texture coords no longer receive prenormalized coords that must be

Hoping this addresses (maybe partially) this regression:

Bug: skia:11844
Change-Id: I97eeb88440d5d81acb3edd8c406b17680da67438
Reviewed-by: Robert Phillips <>
Commit-Queue: Brian Salomon <>
3 files changed