Searched refs:ImageDrawMode (Results 1 – 2 of 2) sorted by relevance
/third_party/flutter/skia/src/gpu/ |
D | SkGpuDevice_drawTexture.cpp | 97 enum class ImageDrawMode { enum 116 static ImageDrawMode optimize_sample_area(const SkISize& image, const SkRect* origSrcRect, in optimize_sample_area() 126 return ImageDrawMode::kSkip; in optimize_sample_area() 137 return ImageDrawMode::kSkip; in optimize_sample_area() 151 return ImageDrawMode::kDecal; in optimize_sample_area() 161 return ImageDrawMode::kOptimized; in optimize_sample_area() 364 ImageDrawMode mode = optimize_sample_area(SkISize::Make(image->width(), image->height()), in drawImageQuad() 366 if (mode == ImageDrawMode::kSkip) { in drawImageQuad() 374 bool useDecal = mode == ImageDrawMode::kDecal; in drawImageQuad() 582 ImageDrawMode mode = optimize_sample_area(SkISize::Make(producer->width(), producer->height()), in drawTextureProducer() [all …]
|
/third_party/skia/src/gpu/v1/ |
D | Device_drawTexture.cpp | 251 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()
|