Add MDB comments to recent kNoPendingIO changes
Bug: skia: Change-Id: I93de3aea986fe64fe536fdf6db8b075c101082b2 Reviewed-on: https://skia-review.googlesource.com/54461 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
This commit is contained in:
parent
af89366cb8
commit
d140fe910e
@ -523,6 +523,8 @@ sk_sp<GrTextureProxy> GrClipStackClip::createSoftwareClipMask(
|
||||
desc.fWidth = maskSpaceIBounds.width();
|
||||
desc.fHeight = maskSpaceIBounds.height();
|
||||
desc.fConfig = kAlpha_8_GrPixelConfig;
|
||||
// MDB TODO: We're going to fill this proxy with an ASAP upload (which is out of order wrt
|
||||
// to ops), so it can't have any pending IO.
|
||||
proxy = GrSurfaceProxy::MakeDeferred(context->resourceProvider(), desc,
|
||||
SkBackingFit::kApprox, SkBudgeted::kYes,
|
||||
GrResourceProvider::kNoPendingIO_Flag);
|
||||
|
@ -169,6 +169,8 @@ static sk_sp<GrTextureProxy> make_deferred_mask_texture_proxy(GrContext* context
|
||||
desc.fWidth = width;
|
||||
desc.fHeight = height;
|
||||
desc.fConfig = kAlpha_8_GrPixelConfig;
|
||||
// MDB TODO: We're going to fill this proxy with an ASAP upload (which is out of order wrt to
|
||||
// ops), so it can't have any pending IO.
|
||||
return GrSurfaceProxy::MakeDeferred(context->resourceProvider(), desc, fit, SkBudgeted::kYes,
|
||||
GrResourceProvider::kNoPendingIO_Flag);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user