Searched refs:hasColorTable (Results 1 – 1 of 1) sorted by relevance
25 static bool ValidArgs(const Info& info, size_t rowBytes, bool hasColorTable, in ValidArgs() argument47 if (needsCT != hasColorTable) { in ValidArgs()249 bool hasColorTable = false; in SkNewImageFromRasterBitmap() local252 hasColorTable = bm.getColorTable() != nullptr; in SkNewImageFromRasterBitmap()255 if (!SkImage_Raster::ValidArgs(bm.info(), bm.rowBytes(), hasColorTable, nullptr)) { in SkNewImageFromRasterBitmap()