icecat: add release icecat-140.10.1-1gnu1 for ecne
This commit is contained in:
parent
a5f93cb214
commit
ff85d7c623
1256 changed files with 63469 additions and 24141 deletions
|
|
@ -11,8 +11,6 @@
|
|||
|
||||
#include "ipc/EnumSerializer.h"
|
||||
#include "ipc/IPCMessageUtils.h"
|
||||
#include "mozilla/IsEnumCase.h"
|
||||
#include "mozilla/ParamTraits_IsEnumCase.h"
|
||||
#include "mozilla/ParamTraits_TiedFields.h"
|
||||
#include "mozilla/webrender/webrender_ffi.h"
|
||||
#include "mozilla/webrender/WebRenderTypes.h"
|
||||
|
|
@ -178,42 +176,6 @@ inline auto TiedFields<mozilla::wr::FontInstanceOptions>(
|
|||
return std::tie(a.flags, a.synthetic_italics, a.render_mode, a._padding);
|
||||
}
|
||||
|
||||
// -
|
||||
|
||||
#if !(defined(XP_MACOSX) || defined(XP_WIN))
|
||||
|
||||
template <>
|
||||
inline constexpr bool IsEnumCase<wr::FontLCDFilter>(
|
||||
const wr::FontLCDFilter raw) {
|
||||
switch (raw) {
|
||||
case wr::FontLCDFilter::None:
|
||||
case wr::FontLCDFilter::Default:
|
||||
case wr::FontLCDFilter::Light:
|
||||
case wr::FontLCDFilter::Legacy:
|
||||
case wr::FontLCDFilter::Sentinel:
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
template <>
|
||||
inline constexpr bool IsEnumCase<wr::FontHinting>(const wr::FontHinting raw) {
|
||||
switch (raw) {
|
||||
case wr::FontHinting::None:
|
||||
case wr::FontHinting::Mono:
|
||||
case wr::FontHinting::Light:
|
||||
case wr::FontHinting::Normal:
|
||||
case wr::FontHinting::LCD:
|
||||
case wr::FontHinting::Sentinel:
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
#endif // !(defined(XP_MACOSX) || defined(XP_WIN))
|
||||
|
||||
// -
|
||||
|
||||
template <>
|
||||
inline auto TiedFields<mozilla::wr::FontInstancePlatformOptions>(
|
||||
mozilla::wr::FontInstancePlatformOptions& a) {
|
||||
|
|
@ -250,30 +212,6 @@ inline auto TiedFields<mozilla::wr::LayoutPoint>(mozilla::wr::LayoutPoint& a) {
|
|||
return std::tie(a.x, a.y);
|
||||
}
|
||||
|
||||
template <>
|
||||
inline constexpr bool IsEnumCase<wr::OpacityType>(const wr::OpacityType raw) {
|
||||
switch (raw) {
|
||||
case wr::OpacityType::Opaque:
|
||||
case wr::OpacityType::HasAlphaChannel:
|
||||
case wr::OpacityType::Sentinel:
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
template <>
|
||||
inline constexpr bool IsEnumCase<wr::FontRenderMode>(
|
||||
const wr::FontRenderMode raw) {
|
||||
switch (raw) {
|
||||
case wr::FontRenderMode::Mono:
|
||||
case wr::FontRenderMode::Alpha:
|
||||
case wr::FontRenderMode::Subpixel:
|
||||
case wr::FontRenderMode::Sentinel:
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
template <>
|
||||
inline auto TiedFields<mozilla::wr::InternerSubReport>(
|
||||
mozilla::wr::InternerSubReport& a) {
|
||||
|
|
@ -374,11 +312,15 @@ struct ParamTraits<mozilla::wr::FontInstanceOptions>
|
|||
|
||||
template <>
|
||||
struct ParamTraits<mozilla::wr::FontLCDFilter>
|
||||
: public ParamTraits_IsEnumCase<mozilla::wr::FontLCDFilter> {};
|
||||
: public ContiguousEnumSerializer<mozilla::wr::FontLCDFilter,
|
||||
mozilla::wr::FontLCDFilter::None,
|
||||
mozilla::wr::FontLCDFilter::Sentinel> {};
|
||||
|
||||
template <>
|
||||
struct ParamTraits<mozilla::wr::FontHinting>
|
||||
: public ParamTraits_IsEnumCase<mozilla::wr::FontHinting> {};
|
||||
: public ContiguousEnumSerializer<mozilla::wr::FontHinting,
|
||||
mozilla::wr::FontHinting::None,
|
||||
mozilla::wr::FontHinting::Sentinel> {};
|
||||
|
||||
#endif // !(defined(XP_MACOSX) || defined(XP_WIN))
|
||||
|
||||
|
|
@ -451,11 +393,15 @@ struct ParamTraits<mozilla::wr::MemoryReport>
|
|||
|
||||
template <>
|
||||
struct ParamTraits<mozilla::wr::OpacityType>
|
||||
: public ParamTraits_IsEnumCase<mozilla::wr::OpacityType> {};
|
||||
: public ContiguousEnumSerializer<mozilla::wr::OpacityType,
|
||||
mozilla::wr::OpacityType::Opaque,
|
||||
mozilla::wr::OpacityType::Sentinel> {};
|
||||
|
||||
template <>
|
||||
struct ParamTraits<mozilla::wr::FontRenderMode>
|
||||
: public ParamTraits_IsEnumCase<mozilla::wr::FontRenderMode> {};
|
||||
: public ContiguousEnumSerializer<mozilla::wr::FontRenderMode,
|
||||
mozilla::wr::FontRenderMode::Mono,
|
||||
mozilla::wr::FontRenderMode::Sentinel> {};
|
||||
|
||||
template <>
|
||||
struct ParamTraits<mozilla::wr::ExternalImageKeyPair>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue