Home
last modified time | relevance | path

Searched refs:kDepthMask (Results 1 – 1 of 1) sorted by relevance

/third_party/skia/experimental/sorttoy/
DSortKey.h36 static const uint32_t kDepthMask = (0x1 << kNumDepthBits) - 1; variable
37 static const uint32_t kMaxDepth = kDepthMask;
48 SkASSERT(!(depth & ~kDepthMask)); in SortKey()
54 (depth & kDepthMask) << kDepthShift | in SortKey()
62 SkASSERT(!(munged & ~kDepthMask)); in SortKey()
64 fKey = (munged & kDepthMask) << kMaterialShift | in SortKey()
75 return (fKey >> kDepthShift) & kDepthMask; in depth()
79 uint32_t tmp = (fKey >> kMaterialShift) & kDepthMask; in depth()