Fix .fp files
This fixes the failures in https://skia-review.googlesource.com/c/skia/+/112262 (Move internal calls from GrContext to GrContextPriv) TBR=egdaniel@google.com Change-Id: I4b7223f6795a50d8c3848992af6d52812b282db9 Reviewed-on: https://skia-review.googlesource.com/112480 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
This commit is contained in:
parent
ba8feb56c3
commit
8bac928009
@ -38,14 +38,14 @@
|
||||
const SkImageInfo ii = SkImageInfo::Make(kSize, kSize,
|
||||
kRGBA_8888_SkColorType, kPremul_SkAlphaType);
|
||||
|
||||
sk_sp<GrRenderTargetContext> readRTC(context->makeDeferredRenderTargetContext(
|
||||
SkBackingFit::kExact,
|
||||
kSize, kSize,
|
||||
kConfig, nullptr));
|
||||
sk_sp<GrRenderTargetContext> tempRTC(context->makeDeferredRenderTargetContext(
|
||||
SkBackingFit::kExact,
|
||||
kSize, kSize,
|
||||
kConfig, nullptr));
|
||||
sk_sp<GrRenderTargetContext> readRTC(
|
||||
context->contextPriv().makeDeferredRenderTargetContext(SkBackingFit::kExact,
|
||||
kSize, kSize,
|
||||
kConfig, nullptr));
|
||||
sk_sp<GrRenderTargetContext> tempRTC(
|
||||
context->contextPriv().makeDeferredRenderTargetContext(SkBackingFit::kExact,
|
||||
kSize, kSize,
|
||||
kConfig, nullptr));
|
||||
if (!readRTC || !readRTC->asTextureProxy() || !tempRTC) {
|
||||
return false;
|
||||
}
|
||||
|
@ -52,8 +52,10 @@ uniform half blurRadius;
|
||||
key, kBottomLeft_GrSurfaceOrigin));
|
||||
if (!mask) {
|
||||
// TODO: this could be approx but the texture coords will need to be updated
|
||||
sk_sp<GrRenderTargetContext> rtc(context->makeDeferredRenderTargetContextWithFallback(
|
||||
SkBackingFit::kExact, size.fWidth, size.fHeight, kAlpha_8_GrPixelConfig, nullptr));
|
||||
sk_sp<GrRenderTargetContext> rtc(
|
||||
context->contextPriv().makeDeferredRenderTargetContextWithFallback(
|
||||
SkBackingFit::kExact, size.fWidth, size.fHeight,
|
||||
kAlpha_8_GrPixelConfig, nullptr));
|
||||
if (!rtc) {
|
||||
return nullptr;
|
||||
}
|
||||
|
@ -54,9 +54,9 @@ public:
|
||||
if (!mask) {
|
||||
// TODO: this could be approx but the texture coords will need to be updated
|
||||
sk_sp<GrRenderTargetContext> rtc(
|
||||
context->contextPriv().makeDeferredRenderTargetContextWithFallback(
|
||||
SkBackingFit::kExact, size.fWidth, size.fHeight, kAlpha_8_GrPixelConfig,
|
||||
nullptr));
|
||||
context->contextPriv().makeDeferredRenderTargetContextWithFallback(
|
||||
SkBackingFit::kExact, size.fWidth, size.fHeight, kAlpha_8_GrPixelConfig,
|
||||
nullptr));
|
||||
if (!rtc) {
|
||||
return nullptr;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user