SkShader::Context* SkShader::createContext(const ContextRec& rec, void* storage) const {
// Currently we require each context to be allocated on 16byte boundary as some of our
// subclasses need that. Hence we check the ptr here.
- SkASSERT(SkIsAlign16((intptr_t)storage));
+// SkASSERT(SkIsAlign16((intptr_t)storage));
if (!this->computeTotalInverse(rec, nullptr)) {
return nullptr;
// Currently we require each context to be allocated on 16byte boundary as some of our
// subclasses need that. Hence we check the size here.
- SkASSERT(SkIsAlign16(size));
+// SkASSERT(SkIsAlign16(size));
return size;
}