Home
last modified time | relevance | path

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

/external/skia/src/effects/imagefilters/
DSkBlendImageFilter.cpp287 auto surfaceFillContext = GrSurfaceFillContext::Make(context, info, SkBackingFit::kApprox); in filterImageGPU() local
288 if (!surfaceFillContext) { in filterImageGPU()
292 surfaceFillContext->fillRectToRectWithFP(bounds, in filterImageGPU()
299 surfaceFillContext->readSurfaceView(), in filterImageGPU()
300 surfaceFillContext->colorInfo().colorType(), in filterImageGPU()
301 surfaceFillContext->colorInfo().refColorSpace(), in filterImageGPU()
DSkArithmeticImageFilter.cpp381 auto surfaceFillContext = GrSurfaceFillContext::Make(context, in filterImageGPU() local
388 if (!surfaceFillContext) { in filterImageGPU()
392 surfaceFillContext->fillRectToRectWithFP(bounds, SkIRect::MakeSize(bounds.size()), in filterImageGPU()
398 surfaceFillContext->readSurfaceView(), in filterImageGPU()
399 surfaceFillContext->colorInfo().colorType(), in filterImageGPU()
400 surfaceFillContext->colorInfo().refColorSpace(), in filterImageGPU()
DSkMorphologyImageFilter.cpp365 static void apply_morphology_rect(GrSurfaceFillContext* surfaceFillContext, in apply_morphology_rect() argument
381 surfaceFillContext->fillRectToRectWithFP(srcRect, dstRect, std::move(fp)); in apply_morphology_rect()
384 static void apply_morphology_rect_no_bounds(GrSurfaceFillContext* surfaceFillContext, in apply_morphology_rect_no_bounds() argument
394 surfaceFillContext->fillRectToRectWithFP(srcRect, dstRect, std::move(fp)); in apply_morphology_rect_no_bounds()
397 static void apply_morphology_pass(GrSurfaceFillContext* surfaceFillContext, in apply_morphology_pass() argument
430 apply_morphology_rect(surfaceFillContext, std::move(view), srcAlphaType, srcRect, in apply_morphology_pass()
434 apply_morphology_rect(surfaceFillContext, view, srcAlphaType, lowerSrcRect, in apply_morphology_pass()
436 apply_morphology_rect(surfaceFillContext, view, srcAlphaType, upperSrcRect, in apply_morphology_pass()
438 apply_morphology_rect_no_bounds(surfaceFillContext, std::move(view), srcAlphaType, in apply_morphology_pass()
DSkDisplacementMapImageFilter.cpp317 auto surfaceFillContext = GrSurfaceFillContext::Make(context, in onFilterImage() local
324 if (!surfaceFillContext) { in onFilterImage()
328 surfaceFillContext->fillRectToRectWithFP(colorBounds, in onFilterImage()
337 surfaceFillContext->readSurfaceView(), in onFilterImage()
338 surfaceFillContext->colorInfo().colorType(), in onFilterImage()
339 surfaceFillContext->colorInfo().refColorSpace(), in onFilterImage()
DSkLightingImageFilter.cpp457 void SkLightingImageFilterInternal::drawRect(GrSurfaceFillContext* surfaceFillContext, in drawRect() argument
466 *surfaceFillContext->caps()); in drawRect()
467 surfaceFillContext->fillRectToRectWithFP(srcRect, dstRect, std::move(fp)); in drawRect()
486 auto surfaceFillContext = GrSurfaceFillContext::Make(context, in filterImageGPU() local
493 if (!surfaceFillContext) { in filterImageGPU()
511 this->drawRect(surfaceFillContext.get(), inputView, matrix, topLeft, in filterImageGPU()
513 this->drawRect(surfaceFillContext.get(), inputView, matrix, top, in filterImageGPU()
515 this->drawRect(surfaceFillContext.get(), inputView, matrix, topRight, in filterImageGPU()
517 this->drawRect(surfaceFillContext.get(), inputView, matrix, left, in filterImageGPU()
519 this->drawRect(surfaceFillContext.get(), inputView, matrix, interior, in filterImageGPU()
[all …]
/external/skia/src/core/
DSkImageFilter.cpp596 auto surfaceFillContext = GrSurfaceFillContext::Make(context, in DrawWithFP() local
603 if (!surfaceFillContext) { in DrawWithFP()
609 surfaceFillContext->fillRectToRectWithFP(srcRect, dstIRect, std::move(fp)); in DrawWithFP()
614 surfaceFillContext->readSurfaceView(), in DrawWithFP()
615 surfaceFillContext->colorInfo().colorType(), in DrawWithFP()
616 surfaceFillContext->colorInfo().refColorSpace(), in DrawWithFP()
/external/skia/src/image/
DSkImage_Lazy.cpp330 auto surfaceFillContext = GrSurfaceFillContext::Make(ctx, in textureProxyViewFromPlanes() local
338 if (!surfaceFillContext) { in textureProxyViewFromPlanes()
366 surfaceFillContext->fillWithFP(std::move(fp)); in textureProxyViewFromPlanes()
368 return surfaceFillContext->readSurfaceView(); in textureProxyViewFromPlanes()
DSkImage_Gpu.cpp295 auto surfaceFillContext = GrSurfaceFillContext::MakeWithFallback( in onMakeColorTypeAndColorSpace() local
299 if (!surfaceFillContext) { in onMakeColorTypeAndColorSpace()
303 auto ct = GrColorTypeToSkColorType(surfaceFillContext->colorInfo().colorType()); in onMakeColorTypeAndColorSpace()
312 surfaceFillContext->fillWithFP(std::move(colorFP)); in onMakeColorTypeAndColorSpace()
316 surfaceFillContext->readSurfaceView(), in onMakeColorTypeAndColorSpace()