Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 237a95f

Browse files
brianosmanSkia Commit-Bot
authored andcommitted
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 <[email protected]> Commit-Queue: Brian Osman <[email protected]>
1 parent 7022b77 commit 237a95f

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

include/core/SkImage.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -344,12 +344,6 @@ class SK_API SkImage : public SkRefCnt {
344344
bool buildMips,
345345
bool limitToMaxTextureSize = false);
346346

347-
static sk_sp<SkImage> MakeCrossContextFromPixmap(GrContext* context, const SkPixmap& pixmap,
348-
bool buildMips, SkColorSpace*,
349-
bool limitToMaxTextureSize = false) {
350-
return MakeCrossContextFromPixmap(context, pixmap, buildMips, limitToMaxTextureSize);
351-
}
352-
353347
/** Creates SkImage from backendTexture associated with context. backendTexture and
354348
returned SkImage are managed internally, and are released when no longer needed.
355349

0 commit comments

Comments
 (0)