remove SkBlitMask::PlatformRowProcs
It always returns nullptr. Change-Id: I8d24e0f771f292faba5192cbdd311544153d1f3a Reviewed-on: https://skia-review.googlesource.com/c/170060 Reviewed-by: Mike Klein <mtklein@google.com> Commit-Queue: Mike Klein <mtklein@google.com>
This commit is contained in:
parent
88e15bdaf5
commit
c244c2fbbb
@ -67,12 +67,6 @@ public:
|
||||
* May return nullptr if config or format are not supported.
|
||||
*/
|
||||
static RowProc RowFactory(SkColorType, SkMask::Format, RowFlags);
|
||||
|
||||
/**
|
||||
* Return either platform specific optimized blitmask RowProc,
|
||||
* or nullptr if no optimized routine is available.
|
||||
*/
|
||||
static RowProc PlatformRowProcs(SkColorType, SkMask::Format, RowFlags);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
@ -234,12 +234,6 @@ static void LCD16_RowProc_Opaque(
|
||||
SkBlitMask::RowProc SkBlitMask::RowFactory(SkColorType ct,
|
||||
SkMask::Format format,
|
||||
RowFlags flags) {
|
||||
// make this opt-in until chrome can rebaseline
|
||||
RowProc proc = PlatformRowProcs(ct, format, flags);
|
||||
if (proc) {
|
||||
return proc;
|
||||
}
|
||||
|
||||
static const RowProc gProcs[] = {
|
||||
(RowProc)A8_RowProc_Blend, (RowProc)A8_RowProc_Opaque,
|
||||
(RowProc)LCD16_RowProc_Blend, (RowProc)LCD16_RowProc_Opaque,
|
||||
|
@ -18,9 +18,3 @@ SkBlitMask::BlitLCD16RowProc SkBlitMask::PlatformBlitRowProcs16(bool isOpaque) {
|
||||
return SK_ARM_NEON_WRAP(SkBlitLCD16Row);
|
||||
}
|
||||
}
|
||||
|
||||
SkBlitMask::RowProc SkBlitMask::PlatformRowProcs(SkColorType dstCT,
|
||||
SkMask::Format maskFormat,
|
||||
RowFlags flags) {
|
||||
return nullptr;
|
||||
}
|
||||
|
@ -10,9 +10,3 @@
|
||||
SkBlitMask::BlitLCD16RowProc SkBlitMask::PlatformBlitRowProcs16(bool isOpaque) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
SkBlitMask::RowProc SkBlitMask::PlatformRowProcs(SkColorType dstCT,
|
||||
SkMask::Format maskFormat,
|
||||
RowFlags flags) {
|
||||
return nullptr;
|
||||
}
|
||||
|
@ -94,7 +94,3 @@ SkBlitMask::BlitLCD16RowProc SkBlitMask::PlatformBlitRowProcs16(bool isOpaque) {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
SkBlitMask::RowProc SkBlitMask::PlatformRowProcs(SkColorType, SkMask::Format, RowFlags) {
|
||||
return nullptr;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user