Home | History | Annotate | Download | only in shaders

Lines Matching refs:maxTextureSize

195                                                  const int maxTextureSize) const {
226 // Scale down the tile size if larger than maxTextureSize for GPU Path or it should fail on create texture
227 if (maxTextureSize) {
228 if (scaledSize.width() > maxTextureSize || scaledSize.height() > maxTextureSize) {
229 SkScalar downScale = maxTextureSize / SkMaxScalar(scaledSize.width(), scaledSize.height());
381 int maxTextureSize = 0;
383 maxTextureSize = args.fContext->caps()->maxTextureSize();
386 args.fDstColorSpace, maxTextureSize));