Lines Matching refs:copyParams
25 typedef GrTextureProducer::CopyParams CopyParams;
30 const CopyParams& copyParams) {
39 rtDesc.fWidth = copyParams.fWidth;
40 rtDesc.fHeight = copyParams.fHeight;
84 if (copyParams.fFilter != GrTextureParams::kNone_FilterMode && subset &&
85 (subset->width() != copyParams.fWidth || subset->height() != copyParams.fHeight)) {
93 SkASSERT(copyParams.fFilter != GrTextureParams::kMipMap_FilterMode);
97 copyParams.fFilter))->unref();
99 GrTextureParams params(SkShader::kClamp_TileMode, copyParams.fFilter);
137 GrTexture* GrTextureAdjuster::refCopy(const CopyParams& copyParams) {
142 this->makeCopyKey(copyParams, &key);
149 GrTexture* copy = copy_on_gpu(texture, contentArea, copyParams);
163 CopyParams copyParams;
169 copyParams.fWidth = contentArea->width();
170 copyParams.fHeight = contentArea->height();
171 copyParams.fFilter = GrTextureParams::kBilerp_FilterMode;
172 } else if (!context->getGpu()->makeCopyForTextureParams(texture, params, ©Params)) {
183 GrTexture* copy = this->refCopy(copyParams);
434 CopyParams copyParams;
436 ©Params)) {
440 this->makeCopyKey(copyParams, ©Key);
448 GrTexture* result = this->generateTextureForParams(copyParams);
502 GrTexture* GrTextureMaker::generateTextureForParams(const CopyParams& copyParams) {
507 return copy_on_gpu(original, nullptr, copyParams);