Move all GrTFlagsMask operators into bitfield macro definitions.

This removes the templated versions of these operators. This should help
the case where clients would get compiler errors in their code with
errors claiming failed matches to these ganesh operators. The errors were
correct, but would be confusing for clients to see. Now with this change
the various operators are defined for specific types so a client shouldn't
get errors for their own enums anymore.

Bug: chromium:1204688
Change-Id: Ie3450834da7734a161af303ca6c8f458dd173513
Commit-Queue: Greg Daniel <>
Reviewed-by: Brian Salomon <>
2 files changed