Index: src/core/SkColorSpaceXform.h |
diff --git a/src/core/SkColorSpaceXform.h b/src/core/SkColorSpaceXform.h |
index 2696b8582accdca6352fe7c5ef70d4b925e702ed..0a5b35c489b4d24c87cb9f2c2eaffd8c1d9bd5e5 100644 |
--- a/src/core/SkColorSpaceXform.h |
+++ b/src/core/SkColorSpaceXform.h |
@@ -15,7 +15,6 @@ |
public: |
typedef uint32_t RGBA32; |
- typedef uint32_t BGRA32; |
typedef uint64_t RGBAF16; |
/** |
@@ -33,8 +32,7 @@ |
* The src is stored as RGBA (8888) and is treated as opaque. |
* TODO (msarett): Support non-opaque srcs. |
*/ |
- virtual void applyToRGBA(RGBA32* dst, const RGBA32* src, int len) const = 0; |
- virtual void applyToBGRA(BGRA32* dst, const RGBA32* src, int len) const = 0; |
+ virtual void applyTo8888(SkPMColor* dst, const RGBA32* src, int len) const = 0; |
virtual void applyToF16(RGBAF16* dst, const RGBA32* src, int len) const = 0; |
virtual ~SkColorSpaceXform() {} |
@@ -44,8 +42,7 @@ |
class SkColorSpaceXform_Base : public SkColorSpaceXform { |
public: |
- void applyToRGBA(RGBA32* dst, const RGBA32* src, int len) const override; |
- void applyToBGRA(BGRA32* dst, const RGBA32* src, int len) const override; |
+ void applyTo8888(SkPMColor* dst, const RGBA32* src, int len) const override; |
void applyToF16(RGBAF16* dst, const RGBA32* src, int len) const override; |
static constexpr int kDstGammaTableSize = 1024; |