return alpha;
}
-static VGradientCache VGradientCacheInstance;
+//static VGradientCache VGradientCacheInstance;
void VRasterBuffer::clear()
{
mSolid = brush.mColor.premulARGB();
break;
case VBrush::Type::LinearGradient: {
+#if 0
mType = VSpanData::Type::LinearGradient;
mColorTable = VGradientCacheInstance.getBuffer(*brush.mGradient);
mGradient.mColorTable = mColorTable->buffer32;
mGradient.mSpread = brush.mGradient->mSpread;
setupMatrix(brush.mGradient->mMatrix);
break;
+#endif
}
case VBrush::Type::RadialGradient: {
+#if 0
mType = VSpanData::Type::RadialGradient;
mColorTable = VGradientCacheInstance.getBuffer(*brush.mGradient);
mGradient.mColorTable = mColorTable->buffer32;
mGradient.mSpread = brush.mGradient->mSpread;
setupMatrix(brush.mGradient->mMatrix);
break;
+#endif
}
case VBrush::Type::Texture: {
mType = VSpanData::Type::Texture;