Home
last modified time | relevance | path

Searched refs:ImageDrawMode (Results 1 – 1 of 1) sorted by relevance

/third_party/skia/src/gpu/v1/
DDevice_drawTexture.cpp251 enum class ImageDrawMode { enum
270 ImageDrawMode optimize_sample_area(const SkISize& image, const SkRect* origSrcRect, in optimize_sample_area()
280 return ImageDrawMode::kSkip; in optimize_sample_area()
291 return ImageDrawMode::kSkip; in optimize_sample_area()
305 return ImageDrawMode::kDecal; in optimize_sample_area()
315 return ImageDrawMode::kOptimized; in optimize_sample_area()
764 ImageDrawMode mode = optimize_sample_area(SkISize::Make(image->width(), image->height()), in drawImageQuad()
766 if (mode == ImageDrawMode::kSkip) { in drawImageQuad()
774 SkTileMode tileMode = mode == ImageDrawMode::kDecal ? SkTileMode::kDecal : SkTileMode::kClamp; in drawImageQuad()