Call SkShader::isOpaque() to determine opaqueness.
It is invalid to call SkShader::getFlags() before calling SkShader::setContext() - it will always return 0. Instead, call SkShader::isOpaque(). Change-Id: If35108dc7f0eca55d2ec8466b8a50fd54dfb13a2
Loading
Please register or sign in to comment