Searched refs:validImage (Results 1 – 3 of 3) sorted by relevance
276 sk_sp<SkImage> validImage(SkImage::MakeFromBitmap(validBitmap)); in TestBitmapSerialization() local277 sk_sp<SkImageFilter> validBitmapSource(SkImageSource::Make(std::move(validImage))); in TestBitmapSerialization()
274 sk_sp<SkImage> validImage(validBitmap.asImage()); in TestBitmapSerialization() local275 sk_sp<SkImageFilter> validBitmapSource(SkImageFilters::Image(std::move(validImage))); in TestBitmapSerialization()
2136 bool validImage = isImage && validFormat; in MakeValidSize() local2140 if (validImage || *requestWidth < static_cast<GLsizei>(dxgiFormatInfo.blockWidth) || in MakeValidSize()