Fix GM for preAbandonGpu flag
Change-Id: Ifc0ab9c5c41cf139a5b6f79e29e6c0112d563667 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/274741 Commit-Queue: Michael Ludwig <michaelludwig@google.com> Reviewed-by: Michael Ludwig <michaelludwig@google.com>
This commit is contained in:
parent
1e58c1ab3a
commit
94b928cd7d
@ -201,7 +201,10 @@ DEF_GM(return new SaveLayerWithBackdropGM();)
|
||||
DEF_SIMPLE_GM(imagefilters_effect_order, canvas, 512, 512) {
|
||||
sk_sp<SkImage> image(GetResourceAsImage("images/mandrill_256.png"));
|
||||
if (canvas->getGrContext()) {
|
||||
image = image->makeTextureImage(canvas->getGrContext());
|
||||
sk_sp<SkImage> gpuImage = image->makeTextureImage(canvas->getGrContext());
|
||||
if (gpuImage) {
|
||||
image = std::move(gpuImage);
|
||||
}
|
||||
}
|
||||
|
||||
SkISize kernelSize = SkISize::Make(3, 3);
|
||||
|
Loading…
Reference in New Issue
Block a user