Revert "Remove old version of MakeCrossContextFromPixmap"
This reverts commit 237a95fe7b
.
Reason for revert: Flutter in Google 3.
Original change's description:
> Remove old version of MakeCrossContextFromPixmap
>
> Client code has been updated
>
> Change-Id: Ic6102effc63c0f4f00a47b8876107aa0b2306e32
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/235296
> Reviewed-by: Mike Reed <reed@google.com>
> Commit-Queue: Brian Osman <brianosman@google.com>
TBR=brianosman@google.com,reed@google.com
Change-Id: I0a290030e55987c690b51470a381aca2b6faab2f
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/235397
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
This commit is contained in:
parent
5a5f3e8f31
commit
a0c9d43c20
@ -344,6 +344,12 @@ public:
|
||||
bool buildMips,
|
||||
bool limitToMaxTextureSize = false);
|
||||
|
||||
static sk_sp<SkImage> MakeCrossContextFromPixmap(GrContext* context, const SkPixmap& pixmap,
|
||||
bool buildMips, SkColorSpace*,
|
||||
bool limitToMaxTextureSize = false) {
|
||||
return MakeCrossContextFromPixmap(context, pixmap, buildMips, limitToMaxTextureSize);
|
||||
}
|
||||
|
||||
/** Creates SkImage from backendTexture associated with context. backendTexture and
|
||||
returned SkImage are managed internally, and are released when no longer needed.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user