We represent the color mask in GrDrawState as a disable rather than enable bit. The ...
12 years, 8 months ago
(2012-05-21 14:14:12 UTC)
#1
We represent the color mask in GrDrawState as a disable rather than enable bit.
The reason is that we want to make color writes enabled the default state and
the flags are part of the memset-to-0-on-reset section. For the tracking var I
was torn between consistency and the more natural positive naming. I chose the
latter but could be convinced either way.
Issue 6215071: Stop using GrDrawState to track draw face, dither, and color mask
(Closed)
Created 12 years, 8 months ago by bsalomon
Modified 12 years, 8 months ago
Reviewers: TomH, robertphillips
Base URL: http://skia.googlecode.com/svn/trunk/
Comments: 0