Use layered templates for optional vertex attributes in GrTextureOp.

Also, use templated member function rather than macro to generate vertices.

Use enum class instead of bool for multitexturing template param.

Change-Id: I2ef26c1e0db91b39cfde2e9661f3483988831469
Reviewed-on: https://skia-review.googlesource.com/129600
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
1 file changed