Lines Matching refs:dimensions

135         SkISize dimensions,
161 tex = resourceProvider->createApproxTexture(dimensions,
168 tex = resourceProvider->createTexture(dimensions,
185 SkISize dimensions,
197 return this->testingOnly_createInstantiatedProxy(dimensions,
343 auto dims = bitmap.dimensions();
374 SkASSERT(proxy->dimensions() == bitmap.dimensions());
393 auto dims = bitmap.dimensions();
431 SkASSERT(proxy->dimensions() == bitmap.dimensions());
437 SkISize dimensions,
460 int mipCount = SkMipmap::ComputeLevelCount(dimensions.fWidth, dimensions.fHeight) + 1;
466 if (!caps->validateSurfaceParams(dimensions,
484 *caps, format, dimensions, renderTargetSampleCnt, mipMapped, mipmapStatus, fit,
489 return assignTagToProxy(sk_sp<GrTextureProxy>(new GrTextureProxy(format, dimensions, mipMapped, mipmapStatus,
495 SkISize dimensions, SkBudgeted budgeted, GrMipmapped mipMapped, GrProtected isProtected,
517 format, dimensions, mipMapped, mipmapStatus,GrInternalSurfaceFlags::kReadOnly,
728 SkISize dimensions,
733 SkASSERT((dimensions.fWidth <= 0 && dimensions.fHeight <= 0) ||
734 (dimensions.fWidth > 0 && dimensions.fHeight > 0));
736 if (dimensions.fWidth > threadSafeProxy->priv().caps()->maxTextureSize() ||
737 dimensions.fHeight > threadSafeProxy->priv().caps()->maxTextureSize()) {
749 dimensions,
764 SkISize dimensions,
776 SkASSERT((dimensions.fWidth <= 0 && dimensions.fHeight <= 0) ||
777 (dimensions.fWidth > 0 && dimensions.fHeight > 0));
783 if (dimensions.fWidth > this->caps()->maxTextureSize() ||
784 dimensions.fHeight > this->caps()->maxTextureSize()) {
790 dimensions,
804 SkISize dimensions,
818 SkASSERT((dimensions.fWidth <= 0 && dimensions.fHeight <= 0) ||
819 (dimensions.fWidth > 0 && dimensions.fHeight > 0));
821 if (dimensions.fWidth > this->caps()->maxRenderTargetSize() ||
822 dimensions.fHeight > this->caps()->maxRenderTargetSize()) {
831 *this->caps(), std::move(callback), format, dimensions, sampleCnt,
841 new GrRenderTargetProxy(std::move(callback), format, dimensions, sampleCnt, fit,