skia2/include
csmartdalton ad2a2becb6 Add GrTFlagsMask<> wrapper for C++11 bitfield enums
Previously, operator& for enum class bitfields was reserved only to
return a bool. e.g:

  if (flags & Flags::kFlag)

This change adds a new template class GrTFlagsMask<> that gets
instantiated by operator~ and allows us to write expressions like:

  flags &= ~Flags::kFlag
  (flags & ~Flags::kFlag1) | Flags::kFlag2

BUG=skia:

Change-Id: I21e5eb9304135e82cdda459e8a833a3489f6beaf
Reviewed-on: https://skia-review.googlesource.com/8563
Commit-Queue: Chris Dalton <csmartdalton@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
2017-02-21 19:34:59 +00:00
..
android SkEncodeImage: no more link-time registration 2016-11-30 22:48:56 +00:00
c Make C API compatible with -Wstrict-prototypes 2017-01-03 17:38:35 +00:00
codec Suggest P3 for wide gamut images in SkAndroidCodec 2017-02-15 14:35:48 +00:00
config Revert "Revert "SkUserConfig.h: remove out-of-date comment on SK_SFNTLY_SUBSETTER"" 2017-01-27 14:40:01 +00:00
core SkRegion deserialization more robust 2017-02-18 13:34:30 +00:00
effects Remove asTextureRef from SkSpecialImage & update effects accordingly (take 2) 2017-02-20 19:21:53 +00:00
gpu Add GrTFlagsMask<> wrapper for C++11 bitfield enums 2017-02-21 19:34:59 +00:00
pathops use reversePathTo in place of addPathReverse 2016-11-07 05:09:28 -08:00
ports Revert "Add SkTypeface::getVariationDesignPosition." 2017-02-17 18:39:09 +00:00
private Tighten up GrSurfaceProxy typing 2017-02-15 20:17:29 +00:00
svg no need for SK_SUPPORT_LEGACY_CANVAS_IS_REFCNT anymore 2016-12-07 22:28:04 +00:00
utils Make header files idempotent; script to check 2017-02-13 15:52:59 +00:00
views SK_USE_SDL is never defined 2017-02-06 18:52:54 +00:00