Skip to content

Commit

Permalink
Make SkConvertPixels() public in the shared version
Browse files Browse the repository at this point in the history
  • Loading branch information
dacap committed Jan 22, 2025
1 parent 2592c36 commit 2742b08
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/core/SkConvertPixels.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@
#ifndef SkConvertPixels_DEFINED
#define SkConvertPixels_DEFINED

#include "include/private/base/SkAPI.h"

#include <cstddef>

struct SkImageInfo;

[[nodiscard]] bool SkConvertPixels(
[[nodiscard]] SK_API bool SkConvertPixels(
const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
const SkImageInfo& srcInfo, const void* srcPixels, size_t srcRowBytes);

Expand Down

0 comments on commit 2742b08

Please sign in to comment.